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 02-05-08, 02:57 PM   #1
warlimont
Helmsman
 
Join Date: Mar 2007
Location: Nevada
Posts: 104
Downloads: 122
Uploads: 0
Help with the Station Slide-out Buttons

Could someone tell me:

1. Can the order of the top-2-bottom station slide-out buttons be re-arranged
from top to bottom?
2. what file i need to hack?
3. what i need to change and how?

the order i want is;

free view
flak gun
deck gun
bridge
attack periscope
command room
navigation map
tdc
radio & sonar
crew
mission objectives

i'm running
gwx2 with few options added, sh3 cdr, and sh3gen.
__________________
USN 1963-1966
USS Estes AGC-12
USS Oriskany CVA-34
warlimont is offline   Reply With Quote
Old 02-07-08, 04:44 AM   #2
Turm
Engineer
 
Join Date: Mar 2007
Location: Midlands, UK
Posts: 210
Downloads: 17
Uploads: 0
Default

I'm not a modder by any stretch of the imagination, but I would take a best guess at the following:

1) Yes, they can

2) menu_1024_768.ini in the "SH3\data\Menu folder" + Shortcuts.tga in the "SH3\data\Menu\Layout" folder

3) Although the image for the buttons appears in one TGA file (which you would need to edit in a graphics app to your desired order), the entries to change in menu_1024_768.ini appear to be this range (taken from the SH3 v1.4b file, as my default GWX file is rather modified by OLC's GUI and my own changes):

Code:
[G3F I21]
Name=Group shortcuts
Type=1026;Menu group
ItemID=0x3F020000
ParentID=0x3F000000
Pos=-1,761,56,474
Color=0xFFFFFFFF
HorizSlide=-30

[G3F I22]
Name=&Free camera
Type=1032;Button
ItemID=0x3F02000B
ParentID=0x3F020000
Pos=1,-431,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.841797,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.841797,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.841797,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.841797,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2720

[G3F I23]
Name=&Cycle flak cameras
Type=1032;Button
ItemID=0x3F020006
ParentID=0x3F020000
Pos=1,-388,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.421875,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.421875,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.421875,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.421875,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2715

[G3F I24]
Name=&Deckgun camera
Type=1032;Button
ItemID=0x3F020005
ParentID=0x3F020000
Pos=1,-345,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.337891,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.337891,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.337891,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.337891,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2714

[G3F I25]
Name=&Radio room
Type=1032;Button
ItemID=0x3F020007
ParentID=0x3F020000
Pos=1,-302,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.505859,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.505859,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.505859,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.505859,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2716

[G3F I26]
Name=&Mission orders
Type=1032;Button
ItemID=0x3F02000A
ParentID=0x3F020000
Pos=1,-259,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.757813,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.757813,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.757813,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.757813,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2719

[G3F I27]
Name=&Crew control
Type=1032;Button
ItemID=0x3F020008
ParentID=0x3F020000
Pos=1,-216,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.589844,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.589844,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.589844,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.589844,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2717

[G3F I28]
Name=&TDC
Type=1032;Button
ItemID=0x3F020009
ParentID=0x3F020000
Pos=1,-173,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.673828,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.673828,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.673828,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.673828,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2718

[G3F I29]
Name=&Navigation map
Type=1032;Button
ItemID=0x3F020002
ParentID=0x3F020000
Pos=1,-130,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.0859375,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.0859375,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.0859375,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.0859375,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2711

[G3F I30]
Name=&Bridge
Type=1032;Button
ItemID=0x3F020004
ParentID=0x3F020000
Pos=1,-87,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.253906,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.253906,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.253906,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.253906,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2713

[G3F I31]
Name=&Periscope
Type=1032;Button
ItemID=0x3F020003
ParentID=0x3F020000
Pos=1,-44,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.169922,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.169922,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.169922,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.169922,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2712

[G3F I32]
Name=&Command room
Type=1032;Button
ItemID=0x3F020001
ParentID=0x3F020000
Pos=1,-1,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.00195313,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.00195313,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.00195313,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.00195313,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2710
Taking one as an example, the first one (free cam), you'll need to change this number, for the vertical position of the button - I reckon all other numbers can remain the same:

[G3F I22]
Name=&Free camera
Type=1032;Button
ItemID=0x3F02000B
ParentID=0x3F020000
Pos=1,-431,40,41
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/Shortcuts.tga
Crop 0=0.0078125,0.841797,1,1
Mat 1=data/menu/gui/layout/Shortcuts.tga
Crop 1=0.0078125,0.841797,1,1
Mat 2=data/menu/gui/layout/Shortcuts.tga
Crop 2=0.0078125,0.841797,1,1
Mat 3=data/menu/gui/layout/Shortcuts.tga
Crop 3=0.0078125,0.841797,1,1
MatFlags=0x1
TexFmt=0x9
Font=1
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2720

I'm not sure what you should change them to exactly, though

However, with a little care it shouldn't be too hard. If you want the free cam at the top, enter the position information from the section describing what's currently at the top (Command Room I think).

Take a little time noting all the positions for each station then change them as necessary, and edit the TGA file to match, and that should be all there is to it to the best of my understanding.

This might not work, but it should be enough to get you started.

Anybody with experience please jump in with further info if I am sending this poor fellow off in completely the wrong direction :rotfl:

Good luck
Turm is offline   Reply With Quote
Old 02-07-08, 09:56 AM   #3
warlimont
Helmsman
 
Join Date: Mar 2007
Location: Nevada
Posts: 104
Downloads: 122
Uploads: 0
Default

Turm,
Thanks for your reply and the info. i'll have a look in the above.

"poor fellow"?
how do you know my financial situation?
__________________
USN 1963-1966
USS Estes AGC-12
USS Oriskany CVA-34
warlimont is offline   Reply With Quote
Old 02-07-08, 01:19 PM   #4
warlimont
Helmsman
 
Join Date: Mar 2007
Location: Nevada
Posts: 104
Downloads: 122
Uploads: 0
Default

Turm,
your quite right regarding the "-" number in the pos line.
the upper-most button is listed as "-1", the lower-most "-431".
Changing the button positions is merely a matter of re-
shuffling these position settings among the eleven buttons.

thanks
__________________
USN 1963-1966
USS Estes AGC-12
USS Oriskany CVA-34
warlimont is offline   Reply With Quote
Old 02-07-08, 01:33 PM   #5
latemail
Gunner
 
Join Date: May 2006
Location: Germany
Posts: 92
Downloads: 14
Uploads: 0
Default

Quote:
Originally Posted by warlimont
Could someone tell me:

1. Can the order of the top-2-bottom station slide-out buttons be re-arranged
from top to bottom?
2. what file i need to hack?
3. what i need to change and how?
Quote:
Originally Posted by Turm
1) Yes, they can

2) menu_1024_768.ini in the "SH3\data\Menu folder" + Shortcuts.tga in the "SH3\data\Menu\Layout" folder

3) Although the image for the buttons appears in one TGA file (which you would need to edit in a graphics app to your desired order), the entries to change in menu_1024_768.ini appear to be this range (taken from the SH3 v1.4b file, as my default GWX file is rather modified by OLC's GUI and my own changes)

1) right, you can
2) menu.ini is right, but there is no need for touching the tga!!
SH3 "cuts" the Shortcuts.tga into pieces and use them for the shortcutbar (with the Crop 1=0.0078125,0.841797,1,1)
3) just have to adjust the row Pos=1,-388,40,41 The blue value is the y-posotion on the screen. for details look at the link in my sig ........
__________________


______________________________________

finished
OLC1.1.4/1.2.1-Sale-Kombimod for Stock (Thread)
OLC1.2.1-Sale-Kombimod for GWX 2.0 (Thread)
OLC1.2.3-Sale-Kombimod for GWX 2.0 (Thread)

working on
Modding-Tutorial for menu_1024_768.ini (Thread, presently only german)

latemail is offline   Reply With Quote
Old 02-07-08, 02:10 PM   #6
warlimont
Helmsman
 
Join Date: Mar 2007
Location: Nevada
Posts: 104
Downloads: 122
Uploads: 0
Default

latemail,

love your big dials shown at the following thread:
http://www.subsim.com/radioroom/showthread.php?t=130470

you dont happen to have them for GWX, do you?

thanks
__________________
USN 1963-1966
USS Estes AGC-12
USS Oriskany CVA-34
warlimont is offline   Reply With Quote
Old 02-07-08, 04:12 PM   #7
latemail
Gunner
 
Join Date: May 2006
Location: Germany
Posts: 92
Downloads: 14
Uploads: 0
Default

Quote:
Originally Posted by warlimont
latemail,

love your big dials shown at the following thread:
http://www.subsim.com/radioroom/showthread.php?t=130470

you dont happen to have them for GWX, do you?

thanks

I just updated the thread:

ready for Stock and OLC-GUI 1.1.4
ready for Stock and OLC-GUI 1.2.1

now working on the version for GWX2.0 .............
__________________


______________________________________

finished
OLC1.1.4/1.2.1-Sale-Kombimod for Stock (Thread)
OLC1.2.1-Sale-Kombimod for GWX 2.0 (Thread)
OLC1.2.3-Sale-Kombimod for GWX 2.0 (Thread)

working on
Modding-Tutorial for menu_1024_768.ini (Thread, presently only german)


Last edited by latemail; 02-07-08 at 06:02 PM.
latemail 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 12:34 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.