![]() |
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? |
Quote:
I know this sounds dumb. But what is a font? And what doe's it do ? |
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 |
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. |
This thread might help.
http://www.subsim.com/radioroom/show...highlight=font although it's not about colour.:damn: I'll keep looking. |
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
|
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 |
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: |
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.
|
Quote:
|
Thx Guys, I learned something new today.:D
|
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: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 Code:
[Fonts] 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] 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/1...0071215sy4.jpg |
All times are GMT -5. The time now is 11:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.