Thread: unit icons
View Single Post
  #2  
Old 11-14-2012, 06:58 PM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Now, the second image you showed is the "Portrait" of the unit.

That is located in

Resource/interface/scene/portrait

Its best if you find an already created portrait from the game and simply edit over it to make sure you do not make it to big and what not.

The unit portraits must be saved as .tga files for the game to read them.

TO then get the portrait and icon to work, refer to the unit's breed file and in there you will see

{portrait "***"}

Then for the Unit icon, also in the breed file you should see something like

{icons "***"}

You simply name the portrait the same as the file name in the portrait folder.

For unit icons you name it only the first part of whatever you saved the icon as..

So, if you saved the icons as

cole_00

in the unit icons, you would simply put

"cole"
Reply With Quote