Help with the font files

zulu9812

The Newbie Nightmare
Joined
Jan 29, 2002
Messages
6,388
Location
Athens of the North
I have added some religions to a mod, and I've updated the font files with new religion icons. You can download my font files here, if you want to take a look:

http://www.mediafire.com/?5dx3lmnzyw5

The problem I have is that icons further down the file are not being used correctly. For example, the icon that indicates that a city is connected to your trade network is usually a triangle of yellow arrows, but in my games it is a slice of bread with bit taken out of it. Another example is that the resistance icon (also in the city bar) does not display at all.

This implies that adding the religion icons (which necessarily involved shifting the corporation icons as well) created this problem. Does anyone have any idea how to fix this?
 
There were threads on this where you could look for more details, but i.g. the problem is messing up the boarders between the icons - if the pink boarder or the cyan doy between the icons is off by just a tiiiny bit from it's original colour the game will not recognize the boarder.

Same goes to the alpha chanel. The boarders between icons must be full black. Any deviation - even invisible to the eye - will cause tha game to miss icons.

You need to prevent P from any antialiasing, smoothing brushes and similar stuff, because it will mess up the font without you even knowing it.

Best is allways create the icons in a separate file with the needed size (21x20 and 16x16) and then paste it in the font grafic.
 
Thanks for your reply. It does appear to be a problem with the alpha icons. I'm now working on it.

By the way, does anyone which file the citybar icons come from - gamefonts or gamefonts75?
 
Back
Top Bottom