Log in

View Full Version : Anyone know where this bg texture file is? (messages)


Decoman
03-13-10, 05:52 AM
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.

http://www.decoman.net/linked/lines.jpg


The texture should probably look like this, with 19 pixels between the lines.
http://www.decoman.net/linked/lines2.jpg

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.

Drifter
03-13-10, 07:03 AM
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:

http://img718.imageshack.us/img718/5353/nonamea.jpg

Good luck with your mod. :arrgh!:

Drifter
03-13-10, 07:14 AM
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. :sunny:

Decoman
03-13-10, 09:22 AM
Ugh, those numbers are weird. I can't make any sense of it. :88)

Drifter
03-13-10, 09:42 AM
Ugh, those numbers are weird. I can't make any sense of it. :88)

I don't understand. What numbers?

Decoman
03-13-10, 09:56 AM
There are something called "crop" in the files. With weird numbering like 0.1523452.

[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

Drifter
03-13-10, 10:07 AM
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?

Decoman
03-13-10, 10:10 AM
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