• 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!

Custom item in items.xml :|

Wiw3K

New Member
Joined
Apr 16, 2008
Messages
371
Reaction score
3
take a look what i did:

Modified Native Armor in items.xml to this:
Lua:
	<item id="2508" article="a" name="native armor">
		<attribute key="armor" value="14"/>
		<attribute key="slotType" value="body"/>
		<attribute key="weight" value="6900"/>
		<attribute key="skillDist" value="3"/>
	</item>

added in movements.xml

Lua:
<movevent type="Equip" itemid="2508" slot="armor" event="function" value="onEquipItem">
       	<vocation name="Paladin"/>
        <vocation name="Royal Paladin" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2508" slot="armor" event="function" value="onDeEquipItem"/>
then i go in game i do /i 2508 & thats my item...

Lua:
15:56 You see a native armor (Arm:1).
It weighs 50.00 oz.
ItemID: [2508].
Position: [X: 32961] [Y: 32074] [Z: 7].

Whats wrong?
 
Wath is the problem? item description?

Code:
        <item id="2508" article="a" name="native armor">
                <attribute key="armor" value="14"/>
                <attribute key="slotType" value="body"/>
                <attribute key="weight" value="6900"/>
                <attribute key="skillDist" value="3"/>
                <attribute key="showattributes" value="1"/>
        </item>
 
Wath is the problem? item description?

Code:
        <item id="2508" article="a" name="native armor">
                <attribute key="armor" value="14"/>
                <attribute key="slotType" value="body"/>
                <attribute key="weight" value="6900"/>
                <attribute key="skillDist" value="3"/>
                <attribute key="showattributes" value="1"/>
        </item>
nooo, it doesnt add 3 dist after i wear it T_T
 
Back
Top