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

Reply
 
Thread Tools Display Modes
Old 08-03-13, 07:02 PM   #1
Feuer Frei!
Navy Seal
 
Join Date: Sep 2009
Location: Valhalla
Posts: 5,295
Downloads: 141
Uploads: 17
Default

Thank you for the replies Gents.

So, i tinkered with changing a font style yesterday, the load\save game screen and edited the page chooseloadsave file, example:

[G56 I4]
Name=SaveGame Button
Type=1032;Button
ItemID=0x56010001
ParentID=0x56010000
Pos=0,-218,300,36
Zone= 362 384 300 36 3 1 0x56010007 0.5 -1 0x56010001 -0.5 0 0 0
Color=0xFFFFFFFF
Materials=4
Display=0;No stretch
Font=10 <<<<<changed this to another number, according to menu.ini file
Text=3502 <<<<<< i assume this is the position of text on screen???
TextFlags=0x5
StatesColors=0x8B8989FF, 0xEBCF99FF, 0xDD5800FF, 0xDD5800FF

However, no change appeared ingame?

What exactly do i need to edit\change etc to get a different font appear in say, this particular screen?

If i want to introduce a new font, what file do i need to edit? The off file only or the off file and the tga file?

Obviously i need to add the new font to the menu ini file which is easy.

A step-by-step guide would be good\helpful.

PS: I use Gimp as my image editor.

Thank you.
__________________
"History is the lies that the victors agree on"- Napoleon

LINK TO MY SH 3 MODS
Feuer Frei! is offline   Reply With Quote
Old 08-04-13, 01:44 AM   #2
divingbluefrog
Medic
 
Join Date: Jan 2006
Posts: 164
Downloads: 63
Uploads: 1
Default

Quote:
Originally Posted by Feuer Frei! View Post
Text=3502 <<<<<< i assume this is the position of text on screen???
No, it's not. It's the entry 3502 = SAVE GAME text in the \Silent Hunter 5\data\Menu\menu.txt file.
Position on page is given by Pos= and zone= lines above.
divingbluefrog is offline   Reply With Quote
Old 08-04-13, 06:50 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Feuer Frei! View Post
What exactly do i need to edit\change etc to get a different font appear in say, this particular screen?
I think everything gets much more intuitive when you edit game menues using the inbuildt Menu Editor.

A bit of theory about menu ini format (esp. object resizing and placing):
http://www.subsim.com/radioroom/show...713#post496713

A couple of good Menu Editor tutorials:
http://www.subsim.com/radioroom/show...98#post1292498
http://www.subsim.com/radioroom/show...34#post1330634

Quote:
Originally Posted by Feuer Frei! View Post
If i want to introduce a new font, what file do i need to edit? The off file only or the off file and the tga file?

Obviously i need to add the new font to the menu ini file which is easy.

A step-by-step guide would be good\helpful.
You better start from a stock font.

You need to redo the alpha channel of its tga/dds file (RGB channel only used for font color). Editing off and/or txt files is only needed if you need to add new characters (cyrillic for instance) and/or if character spacing for the new font doesn't match you stock template.
gap is offline   Reply With Quote
Old 08-04-13, 07:11 AM   #4
Feuer Frei!
Navy Seal
 
Join Date: Sep 2009
Location: Valhalla
Posts: 5,295
Downloads: 141
Uploads: 17
Default

@gap

thanks very much for your informative post.

It will get me started in the right direction
__________________
"History is the lies that the victors agree on"- Napoleon

LINK TO MY SH 3 MODS
Feuer Frei! is offline   Reply With Quote
Old 08-04-13, 08:03 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Feuer Frei! View Post
@gap

thanks very much for your informative post.

It will get me started in the right direction
My pleasure.

Please note that the first tutorial I have linked in my previous post is relative to SHIV, but it still applies to SH5. In that respect, the only diffrence between the two games is the presence of a Menu Editor in the latter.

Let me know if you need for any further assistance
gap 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 12:26 AM.


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.