[FSOD] ST Skins (Updated)

Posts 1–11 of 11 · Page 1 of 1
[FSOD] ST Skins (Updated)
Step 1: Adding the items xml's to the server.
Go to db.data.dat1.xml and add the items. After that you will add this:

Code:
 setType="0x0007" setName="Name of your set">

You will add that to all the items of your set.

Step 2: Adding the items xml's to the client.
Open your client with jpexs or with any other swf decompiler and go to:

Then:

Export it:

Select Raw and the location and then open the file with notepad++.
Then past the xml of the items:

IN THIS PIC THE SET TYPE (0X0005) IS ALREADY USED, USE 0X007.
Go to your swf decompiler and replace the file we exported (dont forget to save the file):

And select the file we exported:


And then you have finished the items.


Step 3: Adding the skin to the server and client.
Go to db.data.dat1.xml and add this (first put the texture on playersSkins16, I don't have time to make a skin):


Code:
   <Object type="0x9021" id="Tutorial Set Skin">
      <Skin/>
      <Class>Skin</Class>
      <AnimatedTexture>
         <File>playerskins16</File>
         <Index>10</Index> //your index should be 07 not 10
      </AnimatedTexture>
      <PlayerClassType>0x0323</PlayerClassType>
      <UnlockSpecial>Set Skin</UnlockSpecial>
      <NoSkinSelect/>
      <DisplayId>Tutorial Set Skin</DisplayId>
   </Object>

Now in with the swf decompiler go to BinaryData and export the file 42 (Skins):

Open it with Notepad++ and add the xml that we puted in VS (Visual Studio):

Save it and replace it like we did with the items.

Then we have finished the skin.

Step 4: Adding the set xml into the server.




In the slots you will put the type of the items. For Example: in the slot 3, you will put the type of the ring, or in the slot 0, the type of the weapon.

In this part

You can change the stats and the numbers, and to make it easy for you, here is the list of stats:
Defense: 21
Vitality: 26
Speed: 22
Wisdom: 27
Dexterity: 28
Attack: 20
Life: 0
Mana: 3

If you want to change or add the stats, change this part:


Step 5: Adding the set into the client.
On your swf decompiler go to BinaryData and export this (file number 37, EquipmentSets):

Open the exported file and open it with Notepad++, and paste the set xml of visual studio:

Save it and replace it like we did with the items and the skin.

Well I hope this works, If it does, please hit the
buttom

Some tutorials that can help with this:
How to make a custom item [FSOD] [BEGINNER] By FinnishFX http://www.mpgh.net/forum/showthread.php?t=1183702
[Beginner] How to add items to your server! [Detailed] By Luverdark's Cute Daughter http://www.mpgh.net/forum/showthread.php?t=1082623
[Fab] Placing XML's into dat1 and in the client By Desire http://www.mpgh.net/forum/showthread.php?t=1114813

Cool tutorial, now I just need sprites
You can get them pretty easy.
I forgot to put this on the step 4:
Code:
   <EquipmentSet type="0x0007" id="Tutorial Set">     
     <Setpiece slot="0" itemtype="WEAPON">Equipment</Setpiece>
     <Setpiece slot="1" itemtype="ABILITY">Equipment</Setpiece>
     <Setpiece slot="2" itemtype="ARMOR">Equipment</Setpiece>
     <Setpiece slot="3" itemtype="RING">Equipment</Setpiece>
     <ActivateOnEquipAll skinType="0x9021" size="130" color="0x92A9BA">ChangeSkin</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="0" amount="250">IncrementStat</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="3" amount="2500">IncrementStat</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="20" amount="10">IncrementStat</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="21" amount="15">IncrementStat</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="28" amount="5">IncrementStat</ActivateOnEquipAll>
     <ActivateOnEquipAll stat="22" amount="5">IncrementStat</ActivateOnEquipAll>

   </EquipmentSet>

Just copy that (edit it the itemtypes) and paste in equipmentsets.xml and in the client

Where can i find playerskins16 ?
Quote Originally Posted by Littlizard View Post
Where can i find playerskins16 ?
In the client under Images, the number of the image is 121.

To open up the client use JPEXS decompiler.
Um so what do i put in the Oject type= instead of ext= true
Quote Originally Posted by Filisha View Post
Um so what do i put in the Oject type= instead of ext= true
any id of your choice, that is not used. For example 0x460 or anything else you want (just make sure it is not used)
i cant find playerskin 16 in jpex (there is no image 121)
Quote Originally Posted by Filisha View Post
i cant find playerskin 16 in jpex (there is no image 121)
This tutorial doesn't work on client 27.7.X2 (meaning that the process in that client is different). And I can find playerSkins16 (num. 110)



Sorry for late response
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Talk with us