• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

new weapon help

Gnat

New Member
Joined
Oct 28, 2012
Messages
10
Reaction score
0
Hi

i try do somethink new weapon, duplicate sprite and change name and attribute

item.otb:
Bez tytułu.jpg

item.xml:
Code:
<item id="18549" article="a" name=" destro two handed sword">
		<attribute key="weight" value="7000" />
		<attribute key="defense" value="25" />
		<attribute key="attack" value="29" />
		<attribute key="weaponType" value="sword" />
		<attribute key="slotType" value="two-handed" />
	</item>

and code

weapon.xml:
Code:
<melee id="18549" level="20" unproperly="1" function="default">
        <vocation name="Knight"/>
        <vocation name="Elite Knight" showInDescription="0"/>
    </melee>

when i run server show me error on weapon.xml. What i do wrong ?
 
I don't see anything wrong, what kind of error do you get? If the error is about a bug in weapons.xml, better show your whole weapons.xml and what kind of server are you using?

Btw, next time post in Support if you need help with something, this is for requests.
 
Last edited:
XML:
<melee id="18549" level="20" unproperly="1" event="function" value="default">
        <vocation id="4"/>
        <vocation id="8" showInDescription="0"/>
    </melee>
 

Similar threads

Back
Top