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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-26-13, 09:24 AM   #1
o3742180
Swabbie
 
Join Date: Nov 2012
Posts: 10
Downloads: 20
Uploads: 0
Default olc-gui "add-on" set deep depth more precisely

this is an "add-on" for olc-gui to set deep depth more precisely.

http://notepad-plus-plus.org/ is quite helpful, and freeware.

it is not a slide-out, rather a click-out.

from "gui_six-dials-simfeeling", i took "Anzeige260.tga".
two files are to be manipulated: "menu_1024_768.ini" and "dials.cfg".

in dials.cfg, of course, the "DialsNo=" has to be adjusted; let´s call the last number: "#number#".
this is to be added:

[Dial#number#]
Name=DeepDepthFdbk
Type=0; DIAL_DEPTH
Cmd=Set_depth,Crew
Dial=0x3F1F0000
CrtVal=0x3F1F0002
NewVal=0x3F1F0003
DialVal=-145,206 ;145
RealVal=0,315; meters ;260
Circular=Yes

in "menu_1024_768.ini", a new group has to be added, let´s call it: "#group_name#".

[#group_name#]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3F1F0001
ParentID=0x3F1F0000
Pos=621,-51,332,332
;Pos=621,191,332,332
;Pos=621,191,96,96
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/add_click-out/Anzeige260.tga
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

the file "Anzeige260.tga" has to be added, and the "menu_1024_768.ini" has to know, where to find that file. i suggest a seperate folder for this:
data/menu/gui/add_click-out/Anzeige260.tga

the button, that has to be cklicked to set aob (among others), then brings up "Anzeige260.tga", yet without pointer, as i find a pointer there quite unnecessary, i do not take the feedback from there, i only use that for more precise deep-depth setting.

credit to:
- olc-gui
- six-dials-simfeeling

if i have to give more elaborated credits, let me know, thanks.
o3742180 is offline   Reply With Quote
Reply


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:52 AM.


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