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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-21-07, 01:23 PM   #1
Herr Trigger
Electrician's Mate
 
Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
Default Sliding Compass

Hi everyone,
I've installed GWX 2.0 along with OLC GUI and all is fine,
but I do miss the big sliding compass that was included in
GWX 2.0. Does anyone know if it's available as a standalone
download somewhere or, if failing that, is there anyway I can
retrieve it from some dark hidden data folder?
Many Thanks & a merry christmas to you all.

Herr Trigger.
Herr Trigger is offline   Reply With Quote
Old 12-21-07, 05:58 PM   #2
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

To do it yourself:

1. BAck up your OLCGUI mod (or make sure you still have the original download file somehwere.

2. Go to GWX2.0/data/menu/menu_1024_768 and do a search for [G3F I300]

Copy the entire section from that line to the end. It should look like this:

[G3F I300]
Name=FLB Sale`s 6 Anzeigen, Kompass
Type=1026;Menu group
ItemID=0x3F0C0000
ParentID=0x3F000000
Pos=678,476,344,344
Color=0xFFFFFFFF
HorizSlide=344

[G3F I301]
Name=Group feedback
Type=1026;Menu group
ItemID=0x3F010020; 0x3F010000
ParentID=0x3F000000
Pos=678,476,344,344
Color=0xFFFFFFFF
HorizSlide=344

[G3F I302]
Name=Heading; FLB Sale`s 6 Anzeigen, Kompass
Type=1026;Menu group
ItemID=0x3F010021; 0x3F1D0000
ParentID=0x3F010020; 0x3F010000
Pos=0,0,344,344
Color=0xFFFFFFFF

[G3F I303]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3F010022; 0x3F1D0001
ParentID=0x3F010021; 0x3F1D0000
Pos=6,-6,332,332
Color=0xFFFFFF00
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/com_direction.tga
Crop 0=0.002994011,0.002994011,0.9940119761,0.994011976 1
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I304]
Name=Glas1
Type=1030;Static bmp
ItemID=0x3F010023; 0x3F1D0005
ParentID=0x3F010021; 0x3F1D0000
Pos=0,0,344,344
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Layout/Glas1.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9

[G3F I305]
Name=Center
Type=1030;Static bmp
ItemID=0x3F010024; 0x3F1D0004
ParentID=0x3F010021; 0x3F1D0000
Pos=44,-44,256,256
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/Lage.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I306]
Name=New val
Type=1031;Stat bmp array
ItemID=0x3F010025; 0x3F1D0003
ParentID=0x3F010021; 0x3F1D0000
Pos=162,-20,20,304
Color=0xFFFFFFFF
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/ZeigerKompass.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I307]
Name=Crt val
Type=1031;Stat bmp array
ItemID=0x3F010026; 0x3F1D0002
ParentID=0x3F010021; 0x3F1D0000
Pos=8,-8,328,328
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/Richtung.tga
Crop 0=0.002994011,0.002994011,0.9940119761,0.994011976 1
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF


3. Now go to the same file in the OLC mod folder. It should be in

SH3GWX/mod/OLC_GUI/data/menu/menu_1024_768

Now scroll to the end and paste the copied section there

4. Now you need to renumber the entries. In the section that YOU HAVE JUST PASTED IN, look at the first line of each block of text.

Where you see [G3F I300] renumber it [G3F I386]
and the next line from [G3F I301] to [G3f I387]
and so on until the end.

5. Now go back to the main GWX files and open sh3GWX2.0/data/menu/cfg/dials.cfg

copy the last entry which should look like this

[Dial52]
Name=CompassFdbk
Type=12; DIAL_GYROCOMPASS
Cmd=Set_course,Crew
Dial=0x3F010022
CrtVal=0x3F010026
NewVal=0x3F010025
DialVal=-180,180
RealVal=-180,180; degrees
Circular=Yes
Dynamic=Yes

6. Now go back to the OLCGUI mod file and open the same file, data/menu/cfg/dials.cfg

Paste the copied section at the end of this file.

7.Renumber the first line of the section THAT YOU HAVE JUST PASTED so that [Dial52] now reads [Dial74]

8. Now scroll to the top of this file and change the first line from

DialsNo=74 to DialsNo=75

9. Save both your newly modded files

That should do it. I haven't actually tested it and it's possible this could have some negative effects elsewhere. If so post and tell me and i'll write down the necessary fix

NOTE: edited to reflect Turm's observation below

joe
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill

Last edited by joegrundman; 12-22-07 at 08:58 PM.
joegrundman is offline   Reply With Quote
Old 12-22-07, 04:16 AM   #3
Herr Trigger
Electrician's Mate
 
Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
Default

Many Thanks joegrundman,
I shall give that a go and with fingers crossed.
Much obliged for your response.

Herr Trigger
Herr Trigger is offline   Reply With Quote
Old 12-22-07, 12:28 PM   #4
Turm
Engineer
 
Join Date: Mar 2007
Location: Midlands, UK
Posts: 210
Downloads: 17
Uploads: 0
Default

Joe, I've just followed your method and found that the new numbers didn't quite match on my installation.

For example, I had to rename [G3F I300] to [G3F I386], and [Dial52] to [Dial74]. I am using v1.1.3 of OLC's GUI, not v1.1.4, so maybe that's why. (I think 1.1.4 only fixed a problem that some users had, but I never saw it so didn't get the update). I don't have any other GUI mods installed, just a fresh install of GWX 2.0.

Just about to go and try it; fingers crossed, and thanks for the info! Seems like it should work.

I rather like the regular, small GWX2.0 compass, in particular the static internal ring with the bearings on. It's much clearer to see than OLC's. But I see OLC uses separate texture files for each dial and they are larger than the GWX dials, so no way to easily swap those over. Still, if I have the large slide-out compass, I don't really need the little one!
Turm is offline   Reply With Quote
Old 12-22-07, 08:56 PM   #5
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

Gruesse Turm,

you are right and thank you, i was looking in a very old OLC GUI file when i made my suggestion above. I'll edit my post above.

Apart from that, it works fine, right?
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill
joegrundman is offline   Reply With Quote
Old 12-23-07, 05:00 AM   #6
Herr Trigger
Electrician's Mate
 
Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 211
Uploads: 0
Default

Hi Joe,
Tried the changes you suggested, to no avail, Mr. Turm is correct about the renumbering but once I sorted that out and then run the program the biggest
problem was the OLC conversion sheets that slide out from the right, as does
the Big Compass. But no worries, I can live without the compass, I thought it was
just kind of sexy.
Many Thanks,

Herr Trigger
Herr Trigger 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 08:16 PM.


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.