![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
Font colour question ?
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? |
![]() |
![]() |
![]() |
#2 | |
Eternal Patrol
![]() Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,108
Downloads: 511
Uploads: 0
|
![]() Quote:
I know this sounds dumb. But what is a font? And what doe's it do ? |
|
![]() |
![]() |
![]() |
#3 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
![]()
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 |
![]() |
![]() |
![]() |
#4 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
![]() 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. |
|
![]() |
![]() |
#5 |
Navy Seal
![]() Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
|
![]()
This thread might help.
http://www.subsim.com/radioroom/show...highlight=font although it's not about colour. ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#6 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
![]()
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
|
![]() |
![]() |
![]() |
#7 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
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 |
![]() |
![]() |
#8 |
Navy Seal
![]() Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
|
![]()
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. ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#9 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
![]()
oh well the orange stays
![]() |
![]() |
![]() |
![]() |
#10 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
|
|
![]() |
![]() |
#11 |
Eternal Patrol
![]() Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,108
Downloads: 511
Uploads: 0
|
![]()
Thx Guys, I learned something new today.
![]() |
![]() |
![]() |
![]() |
#12 | |
Loader
![]() Join Date: Feb 2006
Location: Czech rep.
Posts: 90
Downloads: 24
Uploads: 0
|
![]() Quote:
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 ![]() 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 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 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. |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|