--> Adding Items.
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
--> Adding Items.
I tried to add my own custom hat, in the items.xml it's Id "91"...
But I added this line to Athena's Item DB, when i try to @item 91 1, It seems not to
work at all.
This is the line:
91,Elder_Hat,Elder Hat,5,,,,99,99,99,,,2,,,,,{},{}
But I added this line to Athena's Item DB, when i try to @item 91 1, It seems not to
work at all.
This is the line:
91,Elder_Hat,Elder Hat,5,,,,99,99,99,,,2,,,,,{},{}
Re: --> Adding Items.
in the item_db.txt
in the item.xml for the client
then you need to make a zip file and place it in the customdata folder in your .tmw dir
if you dont have the customdata folder in you .tmw dir make it
the zip should contain the tmw hierarchy
/graphics/item/item.png
/graphics/sprites/sprite.png
/graphics/sprites/sprite.xml
hope this helps
blame
Code: Select all
1203, RangerHat, Ranger Hat, 5, 1000, 500, 10, , 2, , 0, 10477567, 2, 256, , 0, 21, {}, {}
in the item.xml for the client
Code: Select all
<item id="21">
<sprite>head-rangerhat.xml</sprite>
</item>
<item id="1203"
image="armor-head-rangerhat.png"
name="Ranger hat"
description="A leather hat traditionally worn by Rangers."
effect="Defense: +2"
type="equip-head"
weight="55"
defense="2"
max-per-slot="1">
<sprite>head-rangerhat.xml</sprite>
</item>
then you need to make a zip file and place it in the customdata folder in your .tmw dir
if you dont have the customdata folder in you .tmw dir make it
the zip should contain the tmw hierarchy
/graphics/item/item.png
/graphics/sprites/sprite.png
/graphics/sprites/sprite.xml
hope this helps
blame