How to add new location to PvP Events

Deazer

Разработчик
Команда форума
#1
Location of Instances for pvp events:
gameserver\data\instances and marked like [801] PvP Instance.xml - or some else id.
You can add unlimit zones count for event

Format inside:


<!DOCTYPE list SYSTEM "instances.dtd">
<list>
<instance id="801" name="Bayou Fortress" maxChannels="20" collapseIfEmpty="10" timelimit="30" dispelBuffs="false" respawn="60">
<geodata map="25_19"/>
<reuse resetReuse="* * * * *" setUponEntry="true" sharedReuseGroup="0"/>
<doors>
<door id="25190002" opened="true"/>
<door id="25190003" opened="true"/>
<door id="25190004" opened="true"/>
<door id="25190005" opened="true"/>
<door id="25190010" opened="true"/>
<door id="25190011" opened="true"/>
</doors>
<spawns/>
<doors/>
<level min="80" max="85"/>
<return loc="42760 -48248 -800"/>
<teleport loc="42760 -48248 -800"/>
<collapse on-party-dismiss="false" timer="60"/>
<quest id="0"/>
<remove itemId="0" count="0" necessary="false"/>
<give itemId="0" count="0"/>
<zones>
<zone name="[pvp_801_tvt_default]" active="true"/>
<zone name="[pvp_801_tvt_spawn_red]" active="true"/>
<zone name="[pvp_801_tvt_spawn_blue]" active="true"/>
<zone name="[pvp_801_dm_default]" active="true"/>
<zone name="[pvp_801_dm_spawn]" active="true"/>
<zone name="[pvp_801_ctf_default]" active="true"/>
<zone name="[pvp_801_ctf_spawn_red]" active="true"/>
<zone name="[pvp_801_ctf_spawn_blue]" active="true"/>
</zones>

</instance>
</list>

For your event you need create new zones on your custom location for all events like DM/TvT/CtF
in gameserver\data\zone

Example of format:

<zone name="[pvp_801_tvt_default]" type="battle_zone" >
<set name="default" val="false" />
<polygon>
<coords loc="116755 203413 -5089 -89" />
<coords loc="117740 202835 -5089 -89" />
<coords loc="118832 202803 -5089 -89" />
<coords loc="119957 203389 -5089 -89" />
<coords loc="120538 204340 -5089 -89" />
<coords loc="120585 205449 -5089 -89" />
<coords loc="120080 206382 -5089 -89" />
<coords loc="119147 206966 -5089 -89" />
<coords loc="118041 207027 -5089 -89" />
<coords loc="116923 206444 -5089 -89" />
<coords loc="116328 205460 -5089 -89" />
<coords loc="116293 204354 -5089 -89" />
</polygon>
</zone>
 
Вверх