Unit packs - easy peasy way

Post Reply
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Unit packs - easy peasy way

Post by Stratego (dev) »

This is the easiest way to put in skinpacks for units

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>
!note the double underscore/underline-es!
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
User avatar
Marine25
Posts: 235
Joined: Thu Jul 01, 2021 11:11 am

Re: Unit packs - easy peasy way

Post by Marine25 »

I use apk editor to add my cosmetic skin creations and I installed it but the app didnt work and it forced stop.
User avatar
Harchie Hirondo
Posts: 335
Joined: Mon Nov 04, 2019 1:43 pm
Location: Makati City, Philippines
Contact:

Re: Unit packs - easy peasy way

Post by Harchie Hirondo »

You are not supposed to do that. If I remember correctly, you might get your account terminated if you run an illegally modded version of the app.
Wait for the Dev's reply if you want to help in developing the game.
The war is inevitable! But what if....
User avatar
Marine25
Posts: 235
Joined: Thu Jul 01, 2021 11:11 am

Re: Unit packs - easy peasy way

Post by Marine25 »

Okay thank you for the info, I just want to know. Thank you for awareness💖😇
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit packs - easy peasy way

Post by Stratego (dev) »

new feature:

Building images, normal and 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 from now name ALL occupied image with the "_occ" so it will be easily skinnable (no need to rename any existing unit images though only the skinpack image must be called *_occ.png)
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit packs - easy peasy way

Post by Stratego (dev) »

new feature again:

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.
Post Reply

Return to “Cosmetics”