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) 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
To send a pack in azip file, the ZIP contents
Eg. you want to give a pack of a new pack named "Eastern"
in zip you will have
NN__eastern__RARE <- directory (where NN is the pack ID, i will add the id, ! note the double underscore character!)
- OVERLAPPERS <- directory (it will contain the ones that as skin are double heighted units eg. 32x64 in AOS/AOF or 64x128 in AOW,AOMW..)
-- 32_unit_archer_poison.png <- unit-skin file, exactly same image NOT exactly same image size as originally skinned unit, as this is 2 tile heighted while original unit is not.
... many other (double sized) image files
- unit_human_cataphract.png <- unit-skin file, exactly same image name and size as originally skinned unit
... many other files exact sized image files