Log in

View Full Version : olc-gui "add-on" set deep depth more precisely


o3742180
04-26-13, 09:24 AM
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.