Modding Resource Header
Title: How to - Edit Unit CardsPosted by: MyrddraalModding area: Units (appearance)Required programmes: Vercingetorix's X-Pak, An image editor capable of editing .tga format, Notepad (or other text editor)
Related links: xpak Tutorial
Summary: The unit card is the image that appears at the bottom of the screen in battle and when an army is selected in campaign, and also is the image used on the recruitment page. If your unit card is the 'grey peasant', then you have not created a unit card for your unit. Here's how:
__________________________________________________
How to - Edit Unit Cards
Units cards are found in the following directory:
Data\UI\UNITS
If this directory does not exist, you need to extract if using X-Pak
Here you should see a list of folders named after all the factions.
Open the folder for the faction you want to edit. Here you should see TGA files with the names of the units as declared in export_descr_units.txt but with a # in front.
For example: in Data\UI\UNITS\ARMENIA, for Armenian_Legionaries you should see:
#ARMENIAN_LEGIONARIES.TGA
This is the format you should use to name your unit card.
I suggest you open a unit card to better understand its format.
You will see that the image of the unit is generally in the bottom right hand corner, leaving the top left blank. In this blank space, the unit info will appear, so you shouldn't spill into it.
Now edit your unit card and save it using the above name format. It should be 44 by 64 pixels in size, should be compressed (in PSP click options in the save dialog) and should be 32 bit.
Bookmarks