SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and naval simulations since 1997

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

Reply
 
Thread Tools Display Modes
Old 11-01-2008, 10:21 PM   #1
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,332
Downloads: 180
Uploads: 7


Default [rel] Sliderule For The Olc Gui !

hello to everybody (forgive my english because is not my language)

first of all i have to say that my knowledge at editing programmes is very poor and i made this mod for my pleasure (and because i liked this tool very much and it was missing from olc gui).i would like to share it with all of you because this community has given me so much gifts(and keep giving...)so ,let say ,that this is my little gift for the community.

this is a DIY mod so be very carefull at the steps .first of all you have to download the U-jagd1.3.1_GWX and U-jagd_alt_sliderule2 (look for it at joegrundman 's page).now we have three steps to go....

1.create a folder at data/menu/ and name it U-jagd.inside this folder put all the tga from U-jagd1.3.1_GWX AND all from U-jagd_alt_sliderule2 (inside them there are folders with the same name,find them copy and paste all the tga in our folder)

for the next two steps we will edit the dials.cfg (data/menu/cfg/) and menu.ini (data/menu/) so make a back-up for theese two files first before proceed(in case that something going wrong)

2.open dials.cfg and at the end of the file copy and paste this:

[Dialxx]
Name=zeitrad
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value
Dial=0x3F070012;3B200002
CrtVal=0x3F070011;3B200001
NewVal=0x0
DialVal=-180,180
RealVal=-180,180; degrees
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes


[Dialxx]
Name=circularsliderule
Type=16; DIAL_TORP_DEPTH
Cmd=Set_torpedo_depth
Dial=0x0x3F070015
CrtVal=0x0x3F070014
NewVal=0x0
DialVal=0,360
RealVal=5,5.2; meters
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes

You have to number each dial so that it continues onwards from the current last entry and
Then go to the top of the dials.cfg page and look for this line
DialsNo=xx
Replace this so that the number is 1 more than the last numbered dial that you added (because there is a dial0).

3.open menu.ini and search for the G3F I--- pages.find the last entry of theese pages ,leave a line and then copy and paste this:

[G3F Ixxx]
Name=sliderule
Type=1026;Menu group
ItemID=0x3F070010
ParentID=0x3F060000
Pos=-420,650,600,600
Color=0xFFFFFFFF
HorizSlide=600

[G3F Ixxx]
Name=sliderule centreknob
Type=1031;Stat bmp array
ItemID=0x3F070015
ParentID=0x3F070010
Pos=279,-276,46,46
Materials=1
Display=0
Mat 0=data/menu/U-jagd/kmcentreknob.tga
MatFlags=0x29
TexFmt=0x9
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=sliderule zeitrad
Type=1031;Stat bmp array
ItemID=0x3F070011;3B200001
ParentID=0x3F070010;3B200000
;Pos=144,-1,316,596
Pos=136,11,327,617
Materials=1
Display=5;Linear&Rotation
;Mat 0=data/menu/U-jagd/sliderulezeitrad.tga
Mat 0=data/menu/U-jagd/sliderulezeitradHitman.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF


[G3F Ixxx]
Name=sliderule zeitrad user
Type=1031;Stat bmp array
ItemID=0x3F070012;3B200002
ParentID=0x3F070010;3B200000
Pos=144,-142,316,316
Materials=1
Display=2
Mat 0=data/menu/U-jagd/bkgr.tga
Crop 0=0,0,1,1
MatFlags=0x1
TexFmt=0x0
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=circularsliderule
Type=1031;Stat bmp array
ItemID=0x3F070014;3B200004
ParentID=0x3F070010;3B200000
Pos=0,0,600,600
Materials=1
Display=5;Linear&Rotation
;Mat 0=data/menu/U-jagd/circularsliderule.tga
Mat 0=data/menu/U-jagd/HItmanslideruleouter.tga
Crop 0=0,0,1,1
MatFlags=0x29;21
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=circularsliderule user
Type=1031;Stat bmp array
ItemID=0x3F070015
ParentID=0x3F070010
Pos=0,0,600,600
Materials=1
Display=2
Mat 0=data/menu/U-jagd/bkgr.tga
Crop 0=0,0,1,1
MatFlags=0x1
TexFmt=0x0
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=sliderule Peilung wheel
Type=1031;Stat bmp array
ItemID=0x3F070016;3B200003
ParentID=0x3F070010;3B200000
;Pos=73,-73,454,454
Pos=57,-57,486,486
Materials=1
Display=0; no stretch
;Mat 0=data/menu/U-jagd/sliderulepeilungwheel.tga
Mat 0=data/menu/U-jagd/Hitmanmidring.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

don't forget to number each G3F Ixxx so that it continues onwards from the current last entry.

edit: this is the correct sequence for the menu.ini (thanks to mikhayl for pointing this,now the problem with the outer ring is ...gone)

that's all my friends we are ready to use the new tool !

some screens:

in this image you will see that the new tool is atached to NaO officer,clic the officer and at the right of the screen you will now see the edge of the wheel (look the pointer),simply move your cursor there and it will pop-up !





for some reason that i can't figure out the outer ring of the wheel is fuctional only on the places that are marked in the next picture (if anyone can solve this problem it will be great....)edit:problem is solved



ps1 : for the unlimited uses of this tool you will find a very good manual inside the joegrundman's U-jagd1.3.1_GWX mod

ps2: i must say a big thank to joegrundman (not only for his amazing mod) because without him i will never suceed to make this mod.his directions make me understand(a little bit) the logic of the menu-ini .thank you joegrundman

ps3: also i thank deeply hitman (his alternative plates for the wheel are simply fantastic) .thank you hitman (everytime i needed you ...you was there)

ps4: and of course i must thank olc for his amazing gui!thank you olc

ps5:i have to say for one last time that i am not a modder so this mod is only setted with your responsibility..

enjoy it

Last edited by makman94; 11-10-2008 at 04:07 AM.
makman94 is offline   Reply With Quote
Old 11-03-2008, 05:50 AM   #2
asanovic7
Captain
 
Join Date: Mar 2008
Posts: 515
Downloads: 52
Uploads: 0
Default One little question

Can I add with the same procedure the sextant to olc ubermod from real nav mod? Without messing up maps(minefields etc.) in the maps screen?
asanovic7 is offline   Reply With Quote
Old 11-03-2008, 06:37 AM   #3
asanovic7
Captain
 
Join Date: Mar 2008
Posts: 515
Downloads: 52
Uploads: 0
Default hey

Thanks Mikh.. And thanks to makman94.. Will try it..

I have one question for you, Mikhayl on the seabed mod page.. :rotfl:

Cheers
asanovic7 is offline   Reply With Quote
Old 11-09-2008, 12:49 AM   #4
UberTorpedo
Planesman
 
Join Date: Jun 2006
Location: Southern California
Posts: 194
Downloads: 78
Uploads: 0
Little follow-up

Just for the record you can download everything for the sliderule here ==> http://hosted.filefront.com/joegrundman . Hitman doesn't seem to have it on his Filefront page.

Cheers,
UberTorpedo
UberTorpedo is offline   Reply With Quote
Old 11-10-2008, 04:05 AM   #5
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,332
Downloads: 180
Uploads: 7


Default

right UberTorpedo ! thank for mentioning that (fixed)
makman94 is offline   Reply With Quote
Reply

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 08:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 1995- 2018 Subsim