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

Making an item

sibbe

New Member
Joined
Oct 28, 2007
Messages
51
Reaction score
0
I'm trying to make a teleporter that you can push around and carry with you.

I created the teleporter in-game and gave it coordinates to the temple, but I cannot pick it up or move it around.

Items.xml
<item id="5023" article="a" name="magic forcefield">
<attribute key="description" value="It's portable."/>
<attribute key="type" value="teleport"/>
<attribute key="allowpickupable" value="1"/>
<attribute key="moveable" value="1"/>
</item>

Another question.
I don't want the attributes of this amulet to be shown in game, but they do anyways, why?
<item id="2130" article="a" name="superman's amulet">
<attribute key="description" value="It protects you against all elements and you won't loose your items."/>
<attribute key="weight" value="500"/>
<attribute key="slotType" value="necklace"/>
<attribute key="armor" value="2"/>
<attribute key="absorbPercentDeath" value="20"/>
<attribute key="absorbPercentEnergy" value="20"/>
<attribute key="absorbPercentPoison" value="20"/>
<attribute key="absorbPercentManaDrain" value="20"/>
<attribute key="absorbPercentPhysical" value="20"/>
<attribute key="absorbPercentLifeDrain" value="20"/>
<attribute key="absorbPercentFire" value="20"/>
<attribute key="absorbPercentEarth" value="10"/>
<attribute key="absorbPercentIce" value="20"/>
<attribute key="speed" value="40"/>
<attribute key="preventDrop" value="1"/>
<attribute key="showattributes" value="1"/>
</item>
PS,
<attribute key="absorbPercentAll" value="20"/>
doesent work.

I'm using The Forgotten Server, version 0.3.5 (Crying Damson)
 
  1. Upload your items.otb and I'll patch it for you.
    Edit; http://uploadhyper.com/se9d1f2358a
  2. Code:
    <item id="2130" article="a" name="superman's amulet">
    	<attribute key="description" value="It protects you against all elements and you won't loose your items."/>
    	<attribute key="weight" value="500"/>
    	<attribute key="slotType" value="necklace"/>
    	<attribute key="armor" value="2"/>
    	<attribute key="absorbPercentDeath" value="20"/>
    	<attribute key="absorbPercentEnergy" value="20"/>
    	<attribute key="absorbPercentPoison" value="20"/>
    	<attribute key="absorbPercentManaDrain" value="20"/>
    	<attribute key="absorbPercentPhysical" value="20"/>
    	<attribute key="absorbPercentLifeDrain" value="20"/>
    	<attribute key="absorbPercentFire" value="20"/>
    	<attribute key="absorbPercentEarth" value="10"/>
    	<attribute key="absorbPercentIce" value="20"/>
    	<attribute key="speed" value="40"/>
    	<attribute key="preventDrop" value="1"/>
    </item>
 
Last edited:
Your items.otb didnt seem to make a difference.
The teleporter still isnt portable and atributes are still shown on the amulet.
I noticed you removed the
<attribute key="showattributes" value="1"/>
but it didnt make any difference either :/
 
Back
Top