User:MAF-Saulc-/Tuto TMW2
From The Mana World
The Mana World 2
Discord: https://discord.gg/dN2ZvCW
GitLab: https://gitlab.com/TMW2
Trello: https://trello.com/devtmw2
Youtube: https://www.youtube.com/channel/UCp-aVxXfcQWFvQde6kGvYcg
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
Add sprite
in TMW2/client-data/graphics/sprites/equipment/head put the file warlordhelmet.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