1. Under gfx folder u have or u can make a folder called cosm_units
2. you can make a folder in it with a skinpack you want:
eg: 50__tempest__UNCOMMON
Code: Select all
<packid>__<packname>__<rarity>
packID must be unique so be sure to use unique one
3. you can copy any number of images into that folder that has
a) EXACTLY the same image name as the unit image that you want to skin here.
b) the image pixel size is EXACTLY the same as the unit image it wants to skin.
Building images (normal / occupied)
As occupied images must be in separate image (combined images got deprecated in about 2021 - though AOF still has many..) you can still make the skinning the above mentioned way:
- put both images (normal and occupied) to the skinpack folder
- important: name the occupied image *_occ.png so like:
unit_und_bld_soulforge.png
and
unit_und_bld_soulforge_occ.png
naturally this naming needed for the original images too in the gfx folder
so in the future name ALL occupied image with the "_occ" so it will be easily skinnable without confusion.
(no need to rename any existing unit images though, but the skin image must be called *_occ.png!)
Differing sized skin as original unit
I made a hacky solution for this special case too:
when you want to put in a skin that is double sized as the original image (eg. in AOS a 32x32px unit image would be skinned wit ha 64x32 skin-image)
Solution is making a directory called "OVERLAPPERS" inside the skinpack directory,
so all files you put in there will automagically turn to be a overlapping image definition for that skin.
it will work for single unit images, and animated images too.
Possible Rarities
COMMON, UNCOMMON, RARE, EPIC, LEGENDARY