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

Items problem.

jaku77

New Member
Joined
Feb 14, 2009
Messages
42
Reaction score
0
I was wondering how can i make like item is only for 30+ paladins or something ?
Please help ;)
 
Equipments like boots, legs, armor, helmet you add in: Movements.xml

Equipment sample (just edit analogy..):
XML:
	<movevent type="Equip" fromid="8905" toid="8909" slot="shield" level="100" event="function" value="onEquipItem"> -- function onEquip (if player trying to equip item), - fromid toid - items from id to id are for level 100 - slot: shield
		<vocation id="4"/> -- number of vocation who can equip this
		<vocation id="8" showInDescription="0"/> - showindescription - if you look on item it will say: ex: Only Elite Knights can wear it.)
	</movevent>
	<movevent type="DeEquip" fromid="8905" toid="8909" slot="shield" event="function" value="onDeEquipItem"/> - on deEquip

Weapons like swords, axes, clubs, spears, ammunition you add in: Weapons.xml

Example of distance weapon:
XML:
	<distance id="8854" level="80" unproperly="1" event="function" value="default"> <!-- Warsinger Bow -->
		<vocation id="3"/>
		<vocation id="7" showInDescription="0"/>
	</distance>

Example of melee weapon (sword,axe,club):
XML:
	<melee id="7883" level="50" unproperly="1" event="function" value="default">
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
	</melee>


Have fun.
 
open items.xml in notepad then press ctrl+f and then write in the white box soft boots(in some OTS its Pair of soft boots) and you will see it everything you need there.
 
Back
Top