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 08-21-21, 12:56 PM   #1
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

SH4 is missing this whole section in the menu_1024_768.ini
Below is from SH3

[G25 I36]
Name=Length val
Type=1029;Static text
ItemID=0x25030001
ParentID=0x25030000
Pos=57,2,85,16
Color=0xFE
Font=5
Text=955
TextFlags=0x6

[G25 I37]
Name=Length
Type=1029;Static text
ItemID=0x25030011
ParentID=0x25030000
Pos=16,2,85,16
Color=0xFE
Font=5
Text=2016
TextFlags=0x4
Jeff-Groves is offline   Reply With Quote
Old 08-21-21, 01:13 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,246
Downloads: 466
Uploads: 4


Default

"Doh!!!" Where is a face-plant smilie when you need one? I forgot about that Jeff, and that CapnScurvy was the one that put those sections back in the SH4 game with his Optical Targeting Correction mod... I am relatively certain the fields are in the KSDII mod also, though I am not on a computer with the mod on it to look for it... I would imagine that Niume can't find it due to the language.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-21-21, 01:40 PM   #3
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Jeff-Groves is offline   Reply With Quote
Old 08-21-21, 03:45 PM   #4
Mork_417
Lieutenant Commander
 
Mork_417's Avatar
 
Join Date: Nov 2002
Location: DB-15
Posts: 656
Downloads: 263
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
SH4 is missing this whole section in the menu_1024_768.ini
Below is from SH3

[G25 I36]
Name=Length val
Type=1029;Static text
ItemID=0x25030001
ParentID=0x25030000
Pos=57,2,85,16
Color=0xFE
Font=5
Text=955
TextFlags=0x6

[G25 I37]
Name=Length
Type=1029;Static text
ItemID=0x25030011
ParentID=0x25030000
Pos=16,2,85,16
Color=0xFE
Font=5
Text=2016
TextFlags=0x4

That's what I discovered, and so I tried to add it in with this below using Mast, Draft, and Speed sections as reference.

[G25 I53]
Name=Length val
Type=1029;Static text
ItemID=0x25070009
ParentID=0x25070000
Pos=55,-22,40,22
Zone= 98 142 43 22 0 1 0x25070019 1 -0.5 0x25070009 0 0.5 20 0
Color=0xFE
Font=19
Text=955
TextFlags=0x8

[G25 I54]
Name=Length
Type=1029;Static text
ItemID=0x25070019
ParentID=0x25070000
Pos=0,-22,50,22
Zone= 43 142 50 22 0 1 0x25070000 0 -1 0x25070019 0 1 -11 22
Color=0xFE
Font=19
Text=2016
TextFlags=0xA

Don't bash me too hard for all the mistakes I'm sure i made with this. It's a learning adventure.
__________________
Heading to AM49.(U-553)
Mork_417 is offline   Reply With Quote
Old 08-22-21, 09:41 AM   #5
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,246
Downloads: 466
Uploads: 4


Default



much better, Jeff... lol - and like a bunch of stuff in FotRSU and other mods, blatantly copied off of you without proper credit. Thank you!...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-22-21, 10:25 AM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Why
TextFlags=0x8
TextFlags=0xA

Try
TextFlags=0x4
TextFlags=0x6


I found 1475 occurrences of TextFlag= in the Stock menu_1024_768.ini
(010 is your Friend for stuff like that!)

Not a single one uses a Letter such as 0xA 0xB and so forth.
Could be an invalid statement.

Last edited by Jeff-Groves; 08-22-21 at 10:43 AM.
Jeff-Groves is offline   Reply With Quote
Old 08-22-21, 03:18 PM   #7
Mork_417
Lieutenant Commander
 
Mork_417's Avatar
 
Join Date: Nov 2002
Location: DB-15
Posts: 656
Downloads: 263
Uploads: 0


Default

Valid point, and corrected. Thx!

I'm still unable to get the value of the length to pull from the ship.cfg and displayed. Only getting the zero value. I'm able to get the OTC mod to work in a stock version of SH4.



Using that Menu.ini file as a reference for the length sections, I still get no value from the KSDII version.

Could it be because I'm using a text editor, and re-launching the game to see test results instead of maybe using a menu editor of some type?
__________________
Heading to AM49.(U-553)
Mork_417 is offline   Reply With Quote
Old 08-22-21, 03:25 PM   #8
Mork_417
Lieutenant Commander
 
Mork_417's Avatar
 
Join Date: Nov 2002
Location: DB-15
Posts: 656
Downloads: 263
Uploads: 0


Default

Hey Niume, my attempts have not been successful on adding the length value to the recognition manual, but I have added the text field, made an adjustment to the speed value positioning, and edited some of the ship image files to get these... Could this be useful to your cause?







__________________
Heading to AM49.(U-553)
Mork_417 is offline   Reply With Quote
Old 08-22-21, 03:35 PM   #9
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Maybe if I could see your menu_1024_768 I could try it.
Send me a DL link by PM.
Jeff-Groves 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 01:06 AM.


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.