View Single Post
Old 01-22-07, 06:09 AM   #19
geralt
Loader
 
Join Date: Feb 2006
Location: Czech rep.
Posts: 90
Downloads: 24
Uploads: 0
Default

Quote:
Originally Posted by _Gabriel_
@geralt

would be great when you do a german labels too

Greetings

Gabriel
well, doesn't matter if german or english labels...
may be it's my poor english, I'll try to explain it the most simple way:

- the original files have the labels written in german directly in the TGA
- the game doesn't know it and it uses the default labels (black) as it's specified in the menu.ini
- that's why the black text covers the german labels (not a big deal but I do mind it)... you can see it on pics posted by Gabriel

my solution (I admit not the easiest):
- I removed the german texts from tga's to make place for the default text labels from menu.ini
- but they are black so appear invisible and in bad position
- this can be solved in tne menu.ini file
example:
[G26 I105] ;group periscope
Name=Speed
Type=1032;Button ; this is the button speed
ItemID=0x26040044
ParentID=0x26040000
;Pos=33,-184,130,16
Pos=55,-184,130,16 ;changed position a bit to right
Color=0xFFFFFF00
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
Mat 1=data/menu/gui/layout/bkgr.tga
Mat 2=data/menu/gui/layout/bkgr.tga
Mat 3=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=2004 ; this says the game looks in the en_menu/de_menu.txt depends which languege is selected in options so the dispalyed text is 'SPHI/GEGNERFAHRT' or whatever is specifeied in *menu.txt on the line 2004='some text'
TextFlags=0x4
;StatesColors=0x111111FF, 0x111111FF, 0x774411FF, 0x774411FF ; original colors black 111111FF and orange 774411FF
StatesColors=0xFF0000FF, 0xB4B4B4FE, 0xFF0000BB, 0xFF0000FF; changed colors to white B4B4B4FE and dark red FF0000BB

the result of all these changes you can see on my pics posted above
the main reason I chose this way is that the dispalyed text depends on your prefered languege not the used tga
geralt is offline   Reply With Quote