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 03-13-10, 05:52 AM   #1
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default Anyone know where this bg texture file is? (messages)

I have been looking through the files for the texture that can be seen just below here, with lines that does not match the messages as they cascade.

Wanted to change the line spacing, but I can't find that damn texture file.

Perhaps it is a tiny file that is repeated. Anyway, if anyone know where to find this, please tell me.




The texture should probably look like this, with 19 pixels between the lines.


The devs should concider making this window resizable, and introduce some proper indent for when text start on a new line. The first line being shifted to the right by the time stamp.

Last edited by Decoman; 03-13-10 at 06:10 AM.
Decoman is offline   Reply With Quote
Old 03-13-10, 07:03 AM   #2
Drifter
Frogman
 
Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
Default

Hello Decoman. The file you are looking for is called Hud3.dds and is located in your Layout folder. The path to the folder would be C:\Ubisoft\Silent Hunter 5\data\Menu\Gui\Layout

I circled in red the area of the image that you are looking for. Please see picture below:



Good luck with your mod.
__________________

Drifter is offline   Reply With Quote
Old 03-13-10, 07:14 AM   #3
Drifter
Frogman
 
Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
Default

Another, easier way might be through the menu editor. The path in the menu editor would be:

Page Default Hud-> Messages-> List-> Background (lined paper image)

You can stretch and adjust the Background image to your liking. Not sure how it affects the text, though. I hope this helps.
__________________

Drifter is offline   Reply With Quote
Old 03-13-10, 09:22 AM   #4
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

Ugh, those numbers are weird. I can't make any sense of it.
Decoman is offline   Reply With Quote
Old 03-13-10, 09:42 AM   #5
Drifter
Frogman
 
Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
Default

Quote:
Originally Posted by Decoman View Post
Ugh, those numbers are weird. I can't make any sense of it.
I don't understand. What numbers?
__________________

Drifter is offline   Reply With Quote
Old 03-13-10, 09:56 AM   #6
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

There are something called "crop" in the files. With weird numbering like 0.1523452.

Quote:
[G0A I186]
Name=Background
Type=1031;Stat bmp array
ItemID=0xA180006
ParentID=0xA180000
Pos=5,-20,38,24
Zone= 214 29 38 24 1 1 0xA180000 0.5 -1 0xA180006 -0.5 1 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.00488281,0.205078,0.0371094,0.0234375
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=6310

---

[G0A I195]
Name=Background
Type=1031;Stat bmp array
ItemID=0xA160006
ParentID=0xA160000
Pos=0,-20,50,24
Zone= 5 232 50 24 1 1 0xA160000 0.5 -1 0xA160006 -0.5 1 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.00488281,0.237305,0.0488281,0.0234375
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=6312

---

[G0A I241]
Name=Background
Type=1031;Stat bmp array
ItemID=0xA1F0009
ParentID=0xA1F0000
Pos=0,-4,134,26
Zone= 280 80 134 26 1 1 0xA1F0000 0.5 -0.5 0xA1F0009 -0.5 0.5 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.600586,0.0107422,0.130859,0.0253906
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

---

[G0A I258]
Name=Background
Type=1031;Stat bmp array
ItemID=0xA2B0003
ParentID=0xA2B0001
Pos=1,-1,280,42
Zone= 714 46 280 42 2 1 0xA2B0001 0.5 -0.5 0xA2B0003 -0.5 0.5 0 0
Materials=1
Display=6;Tile
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.884766,0.0136719,0.09375,0.0166016
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0x767676FF, 0xE1BF6CFF, 0xE7E5D8FF, 0xE1BF6CFF

---

[G0A I269]
Name=BackgroundMaximize
Type=1031;Stat bmp array
ItemID=0xA1B000F
ParentID=0xA1B0000
Pos=593,-6,40,40
Zone= 650 466 40 40 0 1 0xA1B0009 1 0 0xA1B000F -1 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.212891,0.166016,0.0390625,0.0390625
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

---

[G0A I271]
Name=BackgroundSetWaypoint
Type=1031;Stat bmp array
ItemID=0xA1B0013
ParentID=0xA1B0000
Pos=6,-376,36,36
Zone= 63 96 36 36 0 1 0xA1B0004 0 -1 0xA1B0013 0 1 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.21875,0.212891,0.0351563,0.0351563
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

---

[G0A I308]
Name=Background
Type=1031;Stat bmp array
ItemID=0xA170001
ParentID=0xA170000
Pos=0,0,88,46
Zone= 881 766 88 46 0 1 0xA170000 0.5 -0.5 0xA170001 -0.5 0.5 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/hud3.dds
Crop 0=0.856445,0.0917969,0.0859375,0.0449219
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Decoman is offline   Reply With Quote
Old 03-13-10, 10:07 AM   #7
Drifter
Frogman
 
Join Date: Mar 2010
Posts: 308
Downloads: 75
Uploads: 0
Default

Ok. Now I understand. You are viewing the menu files directly. You need to use the included menu editor. Do you know how to activate it?
__________________

Drifter is offline   Reply With Quote
Old 03-13-10, 10:10 AM   #8
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

Oh. I'll have a new look at it. Thanks!

Edit: Lol, apparantly it is abit complicated. But I now understand that there is a design philosophy of sorts, explained here for anyone coming across this thread:

http://www.subsim.com/radioroom/showthread.php?t=163118
http://www.subsim.com/radioroom/showthread.php?t=162702

Last edited by Decoman; 03-13-10 at 11:18 AM.
Decoman 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 10:13 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.