From The Mana World
(Created page with "<div style="font-size:250%" class="center">'''TUTO TMW 2'''</div> =Add item= dfgdfg ==Add generic item== sdfsdfsd")
 
Line 1: Line 1:
<div style="font-size:250%" class="center">'''TUTO TMW 2'''</div>
The Mana World 2
=Add item=
 
dfgdfg
Discord: https://discord.gg/dN2ZvCW
==Add generic item==
 
sdfsdfsd
GitLab: https://gitlab.com/TMW2
 
Trello: https://trello.com/devtmw2
 
== Add Stuff ==
 
<br />
=== in Client data ===
Fort this exemple we will use the warlord helmet
====Add icon ====
in TMW2/client-data/graphics/items/equipment/head  put the file warlordhelmet png  [[Image:Armor-head-warlordhelm.png]]
 
==== Add sprite ====
in TMW2/client-data/graphics/'''sprites'''/equipment/head put the file warlordhelmet.png [[Image:Sprite-Armor-head-warlordhelm.png]]
<br />
at same location add warlordhelmet.xml
 
==== Add ingame description====
In TMW2/client-data change the file items.xml
like:
    <item id="2929"
        image="equipment/head/warlordhelmet.png"
        name="Warlord Helmet"
        description="Worn by great warriors."
        defense="200"
        level="40"
        type="equip-head"
        weight="900">
        <sprite>equipment/head/warlordhelmet.xml</sprite>
        <replace sprite="hair"/>
    </item>
 
=== In Server data ===
in TMW2/client-data/db/re/ chage the file item_db.conf
like:
{
    Id: 2920
    AegisName: "WarlordHelmet"
    Name: "Warlord Helmet"
    Type: "IT_ARMOR"
    Buy: 1600
    Sell: 300
    Weight: 22
    Atk: 0
    Matk: 0
    Def: 110
    Range: 0
    Slots: 0
    Job: {
        All: true
    }
    Gender: "SEX_ANY"
    Loc: "EQP_HEAD_TOP"
    WeaponLv: 0
    EquipLv: 8
    Refine: false
    ViewSprite: 2920
    BindOnEquip: false
    BuyingStore: true
    Delay: 0
    Sprite: 0
},
 
== Add monsters ==
wait plz xd

Revision as of 02:29, 14 January 2018

The Mana World 2

Discord: https://discord.gg/dN2ZvCW

GitLab: https://gitlab.com/TMW2

Trello: https://trello.com/devtmw2

Add Stuff


in Client data

Fort this exemple we will use the warlord helmet

Add icon

in TMW2/client-data/graphics/items/equipment/head put the file warlordhelmet png Armor-head-warlordhelm.png

Add sprite

in TMW2/client-data/graphics/sprites/equipment/head put the file warlordhelmet.png Sprite-Armor-head-warlordhelm.png
at same location add warlordhelmet.xml

Add ingame description

In TMW2/client-data change the file items.xml like:

   <item id="2929"
       image="equipment/head/warlordhelmet.png"
       name="Warlord Helmet"
       description="Worn by great warriors."
       defense="200"
       level="40"
       type="equip-head"
       weight="900">
       <sprite>equipment/head/warlordhelmet.xml</sprite>
       <replace sprite="hair"/> 
   </item>

In Server data

in TMW2/client-data/db/re/ chage the file item_db.conf like: {

   Id: 2920
   AegisName: "WarlordHelmet"
   Name: "Warlord Helmet"
   Type: "IT_ARMOR"
   Buy: 1600
   Sell: 300
   Weight: 22
   Atk: 0
   Matk: 0
   Def: 110
   Range: 0
   Slots: 0
   Job: {
       All: true
   }
   Gender: "SEX_ANY"
   Loc: "EQP_HEAD_TOP"
   WeaponLv: 0
   EquipLv: 8
   Refine: false
   ViewSprite: 2920
   BindOnEquip: false
   BuyingStore: true
   Delay: 0
   Sprite: 0

},

Add monsters

wait plz xd