SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-01-14, 05:41 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sjizzle View Post
heya tdw is any posibilty to make to resize only 1 chart ?
i mean the map grind chart what i made cos they doesn't fit for each screen resolution... if we can make to be resize only that chart will be awesome
Yes there is. Though I hate 'hard-coding' things so I made this definable in the user chart file

from a new version of a userchart file:

; User Charts
; Category= the category where the chart will fall under (can be anything!) - if left blank will default to Default category
; Name= specifies the name to be shown in the charts listbox
; Filename= name of the DDS file of the chart (including .dds extension!) - user charts can ONLY be DDS files!
; Size= if you specify -1 then the DLL will get the size needed (width and/or height) from the image itself else you can specify custom size for the chart (image)
; Position= specifies the position on screen relative to upper left corner of game screen
; Draggable= valid values are 1 (yes) or 0 (no). If a 1 then you will be able to drag the chart anywhere on screen
; ToolTip= the tooltip displayed when the mouse is placed over the visible chart (image)
; Sizeable= valid values are 1 (yes) or 0 (no). If a 1 then you will be able to resize the chart by scrolling the mousewheel
; max number of charts that can be defined is 20. Anything after 20 will be ignored!
; [ENDCHART] must be the last line in the file!

[Chart]
Category=Speed conversions
Name=Knots in meters per minute
Filename=TabelleMin_English.dds
Size=-1,-1
Position=40,20
Draggable=1
ToolTip=conversion chart for knots in meters per minute
Sizeable=1

[Chart]
Category=Speed conversions
Name=Knots in kilometers per hour
Filename=TabelleStd_English.dds
Size=-1,-1
Position=60,20
Draggable=1
ToolTip=conversion chart for knots in kilometers per hour
Sizeable=1

[ENDCHART]

Notice the new entry: Sizeable=

If set to 1 then the chart is sizeable my moving the mouse into it and using the mousewheel to either increase it's size or decrease it's size

Note: if you resize the chart using the mousewheel it's size WILL NOT be saved when you exit the game or return to the main menu.

This will be available in test version 17 of v7.5.0

Last edited by TheDarkWraith; 04-01-14 at 05:55 PM.
TheDarkWraith is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.