Editing Fonts .tga

seasnake

Conquistador
Joined
Apr 21, 2006
Messages
2,002
Location
California, United States
Hey there,

I was hoping to add three early corporations: East India Company, North West Company, and Hudson Bay Company and have them obsolete in the modern industrial era. However, I cannot for the life of me figure out how you deal with the icon that appears on the city bar. I've tried adding the pictures I want to the font files but I don't know how to get the game to realize they're there. Worse, it seems to screw up the other icons.

Any thoughts/suggestions/tutorials that could be recommended?
 
Worse, it seems to screw up the other icons.

Then you've screwed somehow the borders between the icons.
What do you use for editing the gamefonts? Because i think it's hard in Photoshop, because you can't see the pink borders like you can in DXTBmp.
 
They exist, but are invisible due to having a 0 alpha channel value (i.e. 0% opaque = 100% transparent). So around each glyph in the font is a fully transparent magenta border. There are also fully transparent cyan dots at various locations which are apparently used to align the symbols vertically (I'm pretty sure they mark the location of the baseline).

If you copy the image into another layer (assuming you are using some image editing software that uses layers, like gimp) and remove the alpha channel from the new layer (which you may have to look up how to do somewhere for whatever program you are using) then you will have it without any transparency so you can see the borders and dots. I do this and have that layer be on the bottom (so I can see it through the transparent parts of the regular version) when I am editing the thing. That makes it easier to avoid overwriting any part of the border, which is bad.
 
Back
Top Bottom