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

Reply
 
Thread Tools Display Modes
Old 04-17-12, 05:32 PM   #1
pabbi
Subsim Overlord
 
pabbi's Avatar
 
Join Date: Jul 2007
Location: On the top of the world
Posts: 235
Downloads: 574
Uploads: 0
Default

Forgot to tell you, i'm using SH4 v.1.4

So here is what i'm looking at:


Code:
[G3E I53]
Name=Sample functional subsystem
Type=1026;Menu group
ItemID=0x3E090000
ParentID=0x3E010000
Pos=75,-154,150,46
Zone= 437 537 150 46 2 1 0x3E010000 0.25 -0.77 0x3E090000 0 0 0 0
Color=0xFFFFFFFF

[G3E I54]
Name=Text
Type=1029;Static text
ItemID=0x3E090001
ParentID=0x3E090000
Pos=40,-1,100,44
Zone= 477 536 100 44 2 1 0x3E090000 1 -0.5 0x3E090001 -1 0.5 -10 0
Font=19
Text=5300
TextFlags=0x15

[G3E I55]
Name=Ico
Type=1031;Stat bmp array
ItemID=0x3E090005
ParentID=0x3E090000
Pos=10,-7,32,32
Zone= 447 530 32 32 0 1 0x3E090000 0 -0.5 0x3E090005 0 0.5 10 0
Color=0xFFFFFFFF
Materials=22
Display=0;No stretch
Mat 0=data/menu/gui/layout/subsystem icons.tga
Crop 0=0.0078125,0.0078125,0.125,0.125
Mat 1=data/menu/gui/layout/subsystem icons.tga
Crop 1=0.148438,0.0078125,0.125,0.125
Mat 2=data/menu/gui/layout/subsystem icons.tga
Crop 2=0.289063,0.0078125,0.125,0.125
Mat 3=data/menu/gui/layout/subsystem icons.tga
Crop 3=0.429688,0.0078125,0.125,0.125
Mat 4=data/menu/gui/layout/subsystem icons.tga
Crop 4=0.570313,0.0078125,0.125,0.125
Mat 5=data/menu/gui/layout/subsystem icons.tga
Crop 5=0.851563,0.0078125,0.125,0.125
Mat 6=data/menu/gui/layout/subsystem icons.tga
Crop 6=0.0078125,0.0078125,0.125,0.125
Mat 7=data/menu/gui/layout/subsystem icons.tga
Crop 7=0.0078125,0.148438,0.125,0.125
Mat 8=data/menu/gui/layout/subsystem icons.tga
Crop 8=0.148438,0.148438,0.125,0.125
Mat 9=data/menu/gui/layout/subsystem icons.tga
Crop 9=0.289063,0.148438,0.125,0.125
Mat 10=data/menu/gui/layout/subsystem icons.tga
Crop 10=0.429688,0.148438,0.125,0.125
Mat 11=data/menu/gui/layout/subsystem icons.tga
Crop 11=0.570313,0.148438,0.125,0.125
Mat 12=data/menu/gui/layout/subsystem icons.tga
Crop 12=0.851563,0.148438,0.125,0.125
Mat 13=data/menu/gui/layout/subsystem icons.tga
Crop 13=0.0078125,0.148438,0.125,0.125
Mat 14=data/menu/gui/layout/subsystem icons.tga
Crop 14=0.0078125,0.292969,0.125,0.125
Mat 15=data/menu/gui/layout/subsystem icons.tga
Crop 15=0.148438,0.292969,0.125,0.125
Mat 16=data/menu/gui/layout/subsystem icons.tga
Crop 16=0.289063,0.292969,0.125,0.125
Mat 17=data/menu/gui/layout/subsystem icons.tga
Crop 17=0.429688,0.292969,0.125,0.125
Mat 18=data/menu/gui/layout/subsystem icons.tga
Crop 18=0.570313,0.292969,0.125,0.125
Mat 19=data/menu/gui/layout/subsystem icons.tga
Crop 19=0.710938,0.292969,0.125,0.125
Mat 20=data/menu/gui/layout/subsystem icons.tga
Crop 20=0.851563,0.292969,0.125,0.125
Mat 21=data/menu/gui/layout/subsystem icons.tga
Crop 21=0.0078125,0.4375,0.125,0.125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3E I56]
Name=BackgroundPartOfSubsystem
Type=1030;Static bmp
ItemID=0x3E090004
ParentID=0x3E090000
Pos=0,-1,150,44
Zone= 437 536 150 44 2 1 0x3E090000 0.5 -0.5 0x3E090004 -0.5 0.5 0 0
Color=0xFFFFFF46
Materials=1
Display=2;Linear
Mat 0=data/menu/data/yellow.tga
Crop 0=0,0,0.03125,0.03125
MatFlags=0x1
TexFmt=0x0

[G3E I57]
Name=Background
Type=1030;Static bmp
ItemID=0x3E090003
ParentID=0x3E090000
Pos=0,-1,150,44
Zone= 437 536 150 44 2 1 0x3E090000 0.5 -0.5 0x3E090003 -0.5 0.5 0 0
Color=0xFFFFFF46
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/crewsystemsmanagement.tga
Crop 0=0.00732422,0.179688,0.000488281,0.00195313
MatFlags=0x1
TexFmt=0x0
I think i'm on the right way but if any one knows better i would accept all help given.
__________________
On the top of the world
pabbi is offline   Reply With Quote
Old 04-17-12, 06:07 PM   #2
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by pabbi View Post
Forgot to tell you, i'm using SH4 v.1.4
You're on 1.4? Crud, that changes things a bit. 1.5 added several entries to menu_1024, G3E is not the place to look for. Nevertheless, if you search for 0x3E0A0000 you'll find the entries you'll need to delete - that's the code for all the entries related to Hull Damage.
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 04-17-12, 07:36 PM   #3
pabbi
Subsim Overlord
 
pabbi's Avatar
 
Join Date: Jul 2007
Location: On the top of the world
Posts: 235
Downloads: 574
Uploads: 0
Default

Well i have a problem 0x3E0A0000 can not be found in my menu_1024
try'd to serch for hull damages, but no luck. Entry 5308=Hull damage in the text menu can not be found in menu_1024.
It's time for bed now will have to look better at this.
__________________
On the top of the world
pabbi is offline   Reply With Quote
Old 04-17-12, 07:54 PM   #4
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by pabbi View Post
Well i have a problem 0x3E0A0000 can not be found in my menu_1024
try'd to serch for hull damages, but no luck. Entry 5308=Hull damage in the text menu can not be found in menu_1024.
It's time for bed now will have to look better at this.
Yeah, I ran into another kind of problem with this - thought I'd try out my proposed solution, myself, and been getting CTDs for my trouble. Went for a less radical approach (editing out 5308 in menu.txt), but that's not it. I'll dig around the forum to see if I can find a few other relative posts I seem to remember having stumbled upon in the past.

ETA: managed to find an old menu_1024 file from my backup of 1.4-era mods. Well you're right - there ARE no entries for Hull Damage in there! I am baffled...
__________________



Let the Beast inside you free!

Last edited by DrBeast; 04-17-12 at 08:15 PM.
DrBeast is offline   Reply With Quote
Old 04-17-12, 08:31 PM   #5
Traveller
Frogman
 
Join Date: Feb 2011
Posts: 289
Downloads: 89
Uploads: 0
Default

pabbi, in the menu.txt file try deleting line: 589=HULL INTEGRITY %s %

It should read only: 589=

That might work for v1.4
Traveller is offline   Reply With Quote
Old 04-18-12, 09:02 PM   #6
pabbi
Subsim Overlord
 
pabbi's Avatar
 
Join Date: Jul 2007
Location: On the top of the world
Posts: 235
Downloads: 574
Uploads: 0
Default

I tried deleting line 589=HULL INTEGRITY %s % as you said, no go.
I tried to put " ; " in front of
%s %, no go.
I have thougth about this all night, and right now i am very tired and frustrated.
Of to get some sleep now.
__________________
On the top of the world
pabbi is offline   Reply With Quote
Old 04-20-12, 04:33 PM   #7
pabbi
Subsim Overlord
 
pabbi's Avatar
 
Join Date: Jul 2007
Location: On the top of the world
Posts: 235
Downloads: 574
Uploads: 0
Default

Last night i took a look at h.sie's Colored Hull Integrity mod made for SH3. In it he give's a code ItemID=0x67000404, i think it leads to hull code's in menu_1024_768.ini, i tried to look for this code in SH4 menu_1024_768.ini and found this:

Code:
[G67 I683]
Type=1029;Static text
ItemID=0x67000404
ParentID=0x67000000
Pos=805,-168,250,30
Zone= 805 600 250 30 0 1 0x67000000 0.786133 -0.21875 0x67000404 0 0 0 0
Color=0xFF
Font=5
Text=0
TextFlags=0x0
Now my question is, am i on the right way or is this code leftovers from SH3. (I think it is).


Let me remind you my game is SH4 1.4 with

RFB v.1-4 031408 + rfb zone files and rfb torpedo fix.
RSRDC RFBv14_v390 + patch 2
OTC for RFB1.4
and few other small mods.
__________________
On the top of the world
pabbi 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 03:01 PM.


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