How to add a new skin:
First of all you would need 2 xmls, one like "Mini Geb Skin" and another one called "Mini Geb".
The Mini Geb Skin XML goes into dat1.xml, and the Equipments in Client.
The Mini Geb XML Goes into dat1.xml, and the Skins in Client.
Mini Geb Skin XML
Code:
<Object type="0x2581" id="Mini Geb Skin">
<Class>Equipment</Class>
<Item/>
<AnimatedTexture>
<File>playerskins</File>
<Index>98</Index>
</AnimatedTexture>
<SlotType>10</SlotType>
<Description>
{equip.Customize_your_Priest_with_the_Mini_Geb_Skin.}
</Description>
<Activate skinType="29842">UnlockSkin</Activate>
<Consumable/>
<Soulbound/>
<BagType>4</BagType>
<feedPower>5000</feedPower>
<DisplayId>{equip.Mini_Geb_Skin}</DisplayId>
</Object>
Mini Geb XML:
Code:
<Object type="0x7492" id="Mini Geb">
<Skin/>
<Class>Skin</Class>
<AnimatedTexture>
<File>playerskins</File>
<Index>98</Index>
</AnimatedTexture>
<PlayerClassType>0x0310</PlayerClassType>
<NoSkinSelect/>
<DisplayId>{skins.Mini_Geb}</DisplayId>
</Object>
Also make sure your skin uses the sprite of yours, and make sure to use a type="ID" that is not already used, the ones i took from here is taken from prod, so should just work by copy+pasting the xmls into your server, and change the names, textures.
Also to figure out the "<Activate skinType="29842">UnlockSkin</Activate>" you need to take the "Mini Geb" type id, go to google, type hexadecimal to decimal, and you have it. (The one here, should work just fine)
If you plan on using the 16x16 skins make sure to put <scalesize>8<scalesize> into the "Mini Geb Skin" xml, to make it fit into a 8x8 box.