View Full Version : Font colour question ?
Venatore
01-18-07, 04:12 AM
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?
FIREWALL
01-18-07, 04:24 AM
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 know this sounds dumb. But what is a font? And what doe's it do ?
Venatore
01-18-07, 04:27 AM
The Font is the writing size for example New Times Roman Font 8, currently in the game the writing is white, I''m changing it so
A. its not as harsh on the eyes at night,
B. it looks better
Albrecht Von Hesse
01-18-07, 04:29 AM
I know this sounds dumb. But what is a font? And what doe's it do ?
Doesn't sound dumb at all. :)
Font is basically text style/shape/design.
This is Verdana font,
while this is Times New Roman,
and this is Arial.
You can select different ones for your post; at the top, just under where it says 'Message:' you'll see a drop-down box that should have Verdana selected. There is where you can change the font for your messages if you wish.
There are tons of fonts in the world. Including different ones in game for messages, etc.
danlisa
01-18-07, 04:30 AM
This thread might help.
http://www.subsim.com/radioroom/showthread.php?t=103307&highlight=font
although it's not about colour.:damn: I'll keep looking.
Venatore
01-18-07, 04:35 AM
Thanks Danlisa, as soon as I get the answer the mod will be up, like I said its all good to go except I want to change the selection colour from orange to......ah you will have to wait
Albrecht Von Hesse
01-18-07, 04:44 AM
Don't quote me on this, but this might be where you need to look:
menu_1024_768.ini
[G58 I6]
Name=Mission List
Type=1037;List box
ItemID=0x58000007
ParentID=0x58000000
Pos=645,515,300,353
Color=0xFFFFFFFF
Materials=12
Display=4;All directions
Mat 8=DATA/Menu/Data/vtarrow0.tga
Mat 9=DATA/Menu/Data/vtarrow1.tga
Mat 10=DATA/Menu/Data/vtarrow2.tga
Mat 11=DATA/Menu/Data/vtarrow3.tga
MatFlags=0x1
TexFmt=0x9
Font=5
TextFlags=0x4
MaxNumItems=128
VisibleItems=10
NumItems=0
AllocationType=1
AllocationParameter=64
StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF
[G58 I7]
Name=Mission List
Type=1029;Static text
ItemID=0x5800000B
ParentID=0x58000000
Pos=641,551,180,32
Color=0xFFFFFFFF
Font=5
Text=3071
TextFlags=0x4
[G58 I8]
Name=Mission Description
Type=1040;Scroll text
ItemID=0x58000006
ParentID=0x58000000
Pos=66,538,551,260
Color=0xCDB59EFE
Materials=8
Display=4;All directions
Mat 0=DATA/Menu/Data/scrollt.tga
Mat 1=DATA/Menu/Data/scrollt.tga
Mat 2=DATA/Menu/Data/scrollt.tga
Mat 3=DATA/Menu/Data/scrollt.tga
Mat 4=DATA/Menu/Data/scarr0.tga
Mat 5=DATA/Menu/Data/scarr1.tga
Mat 6=DATA/Menu/Data/scarr2.tga
Mat 7=DATA/Menu/Data/scarr3.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=0
TextFlags=0x10
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G58 I9]
Name=Mission Description
Type=1029;Static text
ItemID=0x58000002
ParentID=0x58000000
Pos=78,571,367,32
Color=0xE26522FF
Font=0
Text=3070
TextFlags=0x4
danlisa
01-18-07, 04:46 AM
Color=0xFFFFFFFF & StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF
:hmm: That makes as much sense to me as "kdih gkrughiu erva;k jsdfg;liha esdfg":rotfl:
Are these Hex codes?
I wish you luck my friend.:yep:
Venatore
01-18-07, 04:49 AM
oh well the orange stays :dead: I'm not going to mess with the ini file I've done that before and well lets just very bad things happened.
Albrecht Von Hesse
01-18-07, 04:50 AM
Color=0xFFFFFFFF & StatesColors=0x505050FF, 0xFFFFFFFF, 0xFFA000FF, 0xFF0000FF
:hmm: That makes as much sense to me as "kdih gkrughiu erva;k jsdfg;liha esdfg":rotfl:
Are these Hex codes?
I wish you luck my friend.:yep:
Well, and a fhdh bwrtylk mlt btk zxyklk! back! :p
FIREWALL
01-18-07, 04:59 AM
Thx Guys, I learned something new today.:D
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:damn:...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
[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
[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
http://img216.imageshack.us/img216/1034/barvyan9.jpg
main screen
http://img303.imageshack.us/img303/1508/sh3img18120071215sy4.jpg
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.