Unit packs - easy peasy way

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

Unit packs - easy peasy way

Post by Stratego (dev) » Sat Aug 29, 2020 7:23 pm

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 - 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

User avatar
Marine25
Posts: 191
Joined: Thu Jul 01, 2021 11:11 am

Re: Unit packs - easy peasy way

Post by Marine25 » Wed Jul 21, 2021 11:19 am

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: 318
Joined: Mon Nov 04, 2019 1:43 pm
Location: Makati City, Philippines
Contact:

Re: Unit packs - easy peasy way

Post by Harchie Hirondo » Wed Jul 21, 2021 11:34 am

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: 191
Joined: Thu Jul 01, 2021 11:11 am

Re: Unit packs - easy peasy way

Post by Marine25 » Wed Jul 21, 2021 2:10 pm

Okay thank you for the info, I just want to know. Thank you for awareness💖😇

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

Re: Unit packs - easy peasy way

Post by Stratego (dev) » Thu Jan 12, 2023 10:27 am

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: 14949
Joined: Fri Apr 25, 2014 9:28 pm

Re: Unit packs - easy peasy way

Post by Stratego (dev) » Thu Jan 12, 2023 6:49 pm

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”