• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

can you change font colours?

Started by jigsaw, April 17, 2010, 05:11:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jigsaw

i my mod project is slowly moving along and i have come to a point where i need some expert advice again.

im wondering if you can change the font colour of the UI? particularly the city names, date, and the mayor region stats, ordinances areas etc.
insert signature here

RippleJet

Quote from: jigsaw on April 17, 2010, 05:11:10 PM
im wondering if you can change the font colour of the UI?

Yes, but not within the UI itself...
You'd have to change the font(s) in the "fonts.ini" file,
which is a SimCity_1.dat internal file at TGI 0x00000000, 0x4A87BFE8, 0x2A87BFFC.

Here's a quote from the explanation/introduction of that file:


;    Color=r,g,b             Requests a font with the given foreground RGB color. Values are in the range of integers of 0-255, inclusive. Example: Color=234,12,0



Note also that different fonts are used for Far Eastern languages.
Thus, any mod you make that includes an override to the fonts.ini file in the western version of SimCity_1.dat, would not be compatible in the Far East.

jigsaw

it's an old topic, but it's the same problem.

im working on a new GUI again, and i have returned to this topic to read it again in full. i have gone to the .ini file that has been mentioned here, read it thoroughly and have attempted to edit it as such, but nothing changes in the game.

- can anyone give this a crack?/has anyone done this at all yet?

assistance/guidance is sought. please PM me if you can help
insert signature here