Jump to content

[Guide]How to make peace zone?


Recommended Posts

For example we have this rectangular

 

1--------------------2

|

|

|

|3-------------------4

 

So ok, go to 1 Point and write /loc, then go to 4 Point and write again /loc... Then we have coordinates, mine is 13818 256426 -2013 and 21550 250005 -1995

go to our zone.xml and create new town, for example:

 

	<zone id="11041" type="Town" shape="Cuboid" minZ="-1900" maxZ="-2050">
	<stat name="name" val="My Cool Town" /> 
	<stat name="townId" val="33" /> 
	<stat name="spawnX" val="19495" /> 
	<stat name="spawnY" val="254006" /> 
	<stat name="spawnZ" val="-2026" /> 
</zone>

 

 

where minZ="-1900" we write our minZ :D i explain. how we see i have Z coordinate -1995 so i write my min -1900... Where maxZ="-2050" i have coord -2013 so i write my max -2050.

 

		<stat name="spawnX" val="19495" /> 
	<stat name="spawnY" val="254006" /> 
	<stat name="spawnZ" val="-2026" /> 

 

These coordinates are respawn coordinates. Then player die, where they will be respawned.

 

and the last thing what to do... Go to zone_vertices.sql

 

koord.png

 

in first table we add town id. mine is 11041. in second table order - 1. And where is x and y we write our x1 and y2 coord. mine is 13818 and 256426... Now create another one line and write again id. orden - 2 (i write 0. mistake :D). and write again other x2 and y2 coord. mine was 21550 250005...

 

ok. done, now you got new town and peace zone :)

 

Moderators correct my mistakes :P

Link to comment
Share on other sites

man u are wrong...

 

Code:

 

<zone id="11041" type="Town" shape="Cuboid" minZ="-1900" maxZ="-2050">

<stat name="name" val="My Cool Town" />

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

<stat name="spawnX" val="19495" />

<stat name="spawnY" val="254006" />

<stat name="spawnZ" val="-2026" />

</zone>

 

 

Thats not correct..... MINZ > MAXZ

This is Correct ........ MINZ < MAXZ

 

 

it should be:

Code:

 

<zone id="11041" type="Town" shape="Cuboid" minZ="-2050" maxZ="-1900">

<stat name="name" val="My Cool Town" />

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

<stat name="spawnX" val="19495" />

<stat name="spawnY" val="254006" />

<stat name="spawnZ" val="-2026" />

</zone>

 

Z is the ground so its invested

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

ok nice share..i did it and works for me...now plz...tell me how i ll do this town ive created...an arena.??i dont want to ppl take pvps-pks...i want this town to work as coliseum...

Link to comment
Share on other sites

Would it be possible to have an exemple of others zones type ? You talk about Cuboid method, but there are 2 others from what I rem (npoly and other type). I think Npoly is more accurate in some situations so I need infos.

 

Link to comment
Share on other sites

ok nice share..i did it and works for me...now plz...tell me how i ll do this town ive created...an arena.??i dont want to ppl take pvps-pks...i want this town to work as coliseum...

Then just change

type="Town"

 

To

 

type="Arena"

 

and here you have Pvp Zone like in Coliseum

Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...