How to create a restricted area for certain items.

Deazer

Head Developer
Staff member
Path: data/zone
Format: XML

To limit, we take any zone, for example:
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <polygon>
            <coords loc="-23176 185080 -6000 -5500" />
            <coords loc="-20104 185080 -6000 -5500" />
            <coords loc="-20104 177928 -6000 -5500" />
            <coords loc="-23176 177928 -6000 -5500" />
        </polygon>
    </zone>

Next, we need to add parameters to it that will introduce restrictions:
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <set name="zoneProhibitedItemIds" val="7575;6379" />
        <polygon>
            <coords loc="-23176 185080 -6000 -5500" />
            <coords loc="-20104 185080 -6000 -5500" />
            <coords loc="-20104 177928 -6000 -5500" />
            <coords loc="-23176 177928 -6000 -5500" />
        </polygon>
    </zone>

Where:
<set name="zoneProhibitedItemIds" val="7575;6379" /> - where prohibited items in the zone will be id 7575 (Draconic Bow) and id 6379 (Draconic Leather Armor)

The item in the zone will be unequipped and there will be no opportunity to equip it.
 
Back
Top