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

Quote:
Originally Posted by Venatore
Hello,

I'm currently in the process of a mod. I got the idea off a member called "Sober". I'm changing the colour font of certain things, but I've hit a snag. The path way for the changing of the font colour is SH3/data/Menu/Fonts. Thats the easy part, the drama of got; is the changing of the seclected area of the game, what I mean is, at the moment if you select a mission/character etc its orange. In the obve mention path way there are fourteen font file and none of them are related to the selection part, I know this to be correct; because of got the mod 99.99% complete, I just need to find where you change what you have selected in the game?

any takers?
I've tried sometrhing similar using Sober's rig for red mod idea.
I wanted to change color of the main concole text.

Bad news: I haven't found any way to change 'highlighted' text color from orange...I've looked through the menu_1024_768.ini file... nope... maybe it's hardcoded


Good news: you don't need it I found these things
- you can change color of font*.tga
- you can change the color of frames when select an officer and - other ingame texts in the menu*.ini file

small example what I've learnd:
I wanted the main console text not to be white/ornge
I use the the font 'FPHunt15.tga' so I took this file and change the color for red in any photo/graphical editing software and saved as 'FPHunt16.tga' then I added new font to menu.ini and change the font udes in the main concole

Code:
[Fonts]
Fonts=19
Font0=DATA/Menu/Fonts/FPHunt26.tga
Font1=DATA/Menu/Fonts/FPCond14.tga
Font3=DATA/Menu/Fonts/FPHunt38.tga
Font4=DATA/Menu/Fonts/FPHunt12.tga
Font5=DATA/Menu/Fonts/FPHunt15.tga
Font6=DATA/Menu/Fonts/FPSmall.tga
Font7=DATA/Menu/Fonts/FPPencil12.tga
;Font10=DATA/Menu/Fonts/FPArhi24.tga
Font10=DATA/Menu/Fonts/FPHunt15.tga
Font11=DATA/Menu/Fonts/ShellsNr.tga
Font13=DATA/Menu/Fonts/FPCond18.tga
Font14=DATA/Menu/Fonts/FPCond12.tga
Font15=DATA/Menu/Fonts/FPCond9.tga
Font16=DATA/Menu/Fonts/FPBro20.tga
Font17=DATA/Menu/Fonts/FPBro100.tga
Font18=DATA/Menu/Fonts/FPHunt16.tga  ;new red font

[G3F I152]
Name=Messages; FLB Sale`s 6 Anzeigen 
Type=1029;Static text
ItemID=0x3F040002
ParentID=0x3F040000
;Color=0xFF00FFBB
Color=0xFFFFFFBA
Pos=20,-23,700,70; Original Pos=20,-23,385,107
;Font=5; Original Font=13
Font=18 ;new red font
Text=0
TextFlags=0x10
changing color of frames when selecting officers
as you know the color is in hex so it's RRGGBBxx I use orange
(D26400AA) and dark red (CC0000AA), the xx also in hex value means (I hope) the opacity of the color
Code:
[G3F I2]
Name=Highlight
Type=1030;Static bmp
ItemID=0x3F000002
ParentID=0x3F000000
Pos=0,198,40,40
;Color=0xD26400FF
Color=0xD26400AA
Materials=1
Display=4;All directions
Mat 0=data/menu/gui/layout/high.tga
MatFlags=0x1
TexFmt=0x9

[G3F I3]
Name=Selection
Type=1030;Static bmp
ItemID=0x3F000003
ParentID=0x3F000000
Pos=0,246,40,40
;Color=0xD2AA00FF
Color=0xCC0000AA
Materials=1
Display=4;All directions
Mat 0=data/menu/gui/layout/sel.tga
MatFlags=0x1
TexFmt=0x9
and back again to the main console... I found that the orange 'highlighted' color it's not always orange
It depends on the basic color in font*.tga file
when the default text is e.g. blue then the highlighted is dark grey/black I guess it's the defalt (blue) + highlight (orange) = dark grey

hope this will help I'll add some screens later
sorry for my english

edit screens:
ingame


main screen

Last edited by geralt; 01-18-07 at 06:28 AM.
geralt is offline   Reply With Quote