Jump to content
  • 0

[Request]Guide for making pvp zone


Question

5 answers to this question

Recommended Posts

  • 0
Posted

if you want to make some town PvP Zone make it like this :)

 

Example : I will use Giran Castle Town

 

In L2J_DataPack_INT\L2J_gameserver\data\zones\zone.xml  You have some types of zones ( Jail , Towns , Arenas and etc. )

 

Like

<!-- Arenas -->
<zone id='11010' type='Arena' shape='Cuboid' minZ='-3800' maxZ='-3600'>
	<stat name='name' val='Giran Arena'/>
	<stat name='spawnX' val='73890'/>
	<stat name='spawnY' val='142656'/>
	<stat name='spawnZ' val='-3778'/>
</zone>

And

<!-- Towns -->
<zone id='11020' type='Town' shape='NPoly' minZ='-3800' maxZ='-3300'>
	<stat name='name' val='Giran Castle Town'/>
	<stat name='townId' val='9'/>
	<stat name='redirectTownId' val='11'/>
	<stat name='taxById' val='3'/>
	<stat name='spawnX' val='81236'/>
	<stat name='spawnY' val='148638'/>
	<stat name='spawnZ' val='-3469'/>
</zone>

 

So all you need to do is to Cut Zone id 11020 ( Giran castle town ) and put it into Arenas

 

And it will look like

 

<!-- Arenas -->
<zone id='11010' type='Arena' shape='Cuboid' minZ='-3800' maxZ='-3600'>
	<stat name='name' val='Giran Arena'/>
	<stat name='spawnX' val='73890'/>
	<stat name='spawnY' val='142656'/>
	<stat name='spawnZ' val='-3778'/>
</zone>
<zone id='11011' type='Arena' shape='Cuboid' minZ='-3700' maxZ='-3500'>
	<stat name='name' val='Gludin Arena'/>
	<stat name='spawnX' val='-86979'/>
	<stat name='spawnY' val='142402'/>
	<stat name='spawnZ' val='-3643'/>
</zone>
<zone id='11012' type='Arena' shape='Cuboid' minZ='-3500' maxZ='-3300'>
	<stat name='name' val='Collusieum'/>
	<stat name='spawnX' val='147451'/>
	<stat name='spawnY' val='46728'/>
	<stat name='spawnZ' val='-3410'/>
</zone>
<zone id='11013' type='Arena' shape='Cuboid' minZ='-3600' maxZ='-3500'>
	<stat name='name' val='Monster Track'/>
	<stat name='spawnX' val='12312'/>
	<stat name='spawnY' val='182752'/>
	<stat name='spawnZ' val='-3558'/>
</zone>
<zone id='11020' type='Town' shape='NPoly' minZ='-3800' maxZ='-3300'>
	<stat name='name' val='Giran Castle Town'/>
	<stat name='townId' val='9'/>
	<stat name='redirectTownId' val='11'/>
	<stat name='taxById' val='3'/>
	<stat name='spawnX' val='81236'/>
	<stat name='spawnY' val='148638'/>
	<stat name='spawnZ' val='-3469'/>
</zone>

<!-- Towns -->
<zone id='11021' type='Town' shape='Cuboid' minZ='-4700' maxZ='-3600'>
	<stat name='name' val='DE Village'/>
	<stat name='townId' val='1'/>
	<stat name='taxById' val='4'/>
	<stat name='spawnX' val='12181'/>
	<stat name='spawnY' val='16675'/>
	<stat name='spawnZ' val='-4580'/>
</zone>
<zone id='11022' type='Town' shape='Cuboid' minZ='-3800' maxZ='-3700'>
	<stat name='name' val='Talking Island'/>
	<stat name='townId' val='2'/>
	<stat name='taxById' val='1'/>
	<stat name='spawnX' val='-84176'/>
	<stat name='spawnY' val='243382'/>
	<stat name='spawnZ' val='-3126'/>
</zone>
<zone id='11023' type='Town' shape='Cuboid' minZ='-3600' maxZ='-2750'>
	<stat name='name' val='Elven Village'/>
	<stat name='townId' val='3'/>
	<stat name='taxById' val='4'/>
	<stat name='spawnX' val='45525'/>
	<stat name='spawnY' val='48376'/>
	<stat name='spawnZ' val='-3059'/>
</zone> ..............
......

 

then you must Change the type of the place :)

 

So make it arena ...

 

	<zone id='11020' type='Arena' shape='NPoly' minZ='-3800' maxZ='-3300'>
	<stat name='name' val='Giran Castle Town'/>
	<stat name='redirectTownId' val='7'/>
	<stat name='spawnX' val='81236'/>
	<stat name='spawnY' val='148638'/>
	<stat name='spawnZ' val='-3469'/>
</zone>

 

<stat name='redirectTownId' val='7'/>

Whit this you show that when you die you will be spawned in  Dion Castle Town

 

I`m not test it but i think this is the way to do it :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...