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

Can't usecustom armor

Lasky

New Member
Joined
Nov 10, 2010
Messages
72
Reaction score
2
Hello i created some new sprites and i added them into the game.

The problem is that i can't take them... i can move them anywhere but i cant wear em or carry them.... i dont know why it doesnt even show weight...


Items.xml

Code:
    <item id="12768" article="a" name="Magician robe">
        <attribute key="weight" value="2100" />
        <attribute key="armor" value="14" />
        <attribute key="slotType" value="body" />
        <attribute key="magiclevelpoints" value="3" />
    </item>


Movements.xml

Code:
<movevent type="Equip" itemid="12768" slot="armor" level="75" event="function" value="onEquipItem">
        <vocation id="1"/>
        <vocation id="7" showInDescription="0"/>
    </movevent>
    <movevent type="DeEquip" itemid="12768" slot="armor" event="function" value="onDeEquipItem"/>
 
Go to object builder and find your recently added sprite, right click on it and choose edit, after that click properties and check the option "Equip" then select the slot in which it will be equiped, also click on the option "pickupable", after that compile the .spr and reload the item attributes in ItemEditor.
 
Last edited:
Back
Top