Jump to content

Question

Posted

Can i add to 2 zone types for the same Zone?

<zone id="11037" type="CustomPvP" shape="NPoly" minZ="-2000" maxZ="-4000">
		<stat name="name" val="xxx"/>
		<stat name="townId" val="19"/>
		<stat name="taxById" val="8"/>
		<stat name="isPeaceZone" val="false"/>
		<stat name="spawnX" val="xxx"/>
		<stat name="spawnY" val="-xxx"/>
		<stat name="spawnZ" val="-xxx"/>
	</zone>
	<zone id="11037" type="KillZone" shape="NPoly" minZ="-2000" maxZ="-4000">
		<stat name="name" val="xxx"/>
		<stat name="townId" val="19"/>
		<stat name="taxById" val="8"/>
		<stat name="isPeaceZone" val="false"/>
		<stat name="spawnX" val="xxx"/>
		<stat name="spawnY" val="-xxx"/>
		<stat name="spawnZ" val="-xxx"/>
	</zone>

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

 

Can i add to 2 zone types for the same Zone?

<zone id="11037" type="CustomPvP" shape="NPoly" minZ="-2000" maxZ="-4000">
		<stat name="name" val="xxx"/>
		<stat name="townId" val="19"/>
		<stat name="taxById" val="8"/>
		<stat name="isPeaceZone" val="false"/>
		<stat name="spawnX" val="xxx"/>
		<stat name="spawnY" val="-xxx"/>
		<stat name="spawnZ" val="-xxx"/>
	</zone>
	<zone id="11037" type="KillZone" shape="NPoly" minZ="-2000" maxZ="-4000">
		<stat name="name" val="xxx"/>
		<stat name="townId" val="19"/>
		<stat name="taxById" val="8"/>
		<stat name="isPeaceZone" val="false"/>
		<stat name="spawnX" val="xxx"/>
		<stat name="spawnY" val="-xxx"/>
		<stat name="spawnZ" val="-xxx"/>
	</zone>

 

With different ids, yup. Otherwise you break the matrix.

 

Easiest would be to move content of the zone to the other zone, notably if all zones work the same. If only few zones work the same you can add a boolean to activate / desactivate features (similar to multifunction zone)

 

        <stat name="townId" val="19"/>

        <stat name="taxById" val="8"/>

        <stat name="isPeaceZone" val="false"/>

 

got probably no use, if your zone isn't a TownZone (which definitively shouldn't according custom zone name). It should be at minimum a SpawnZone.

Edited by Tryskell
Guest
This topic is now closed to further replies.


×
×
  • Create New...