Jump to content

Recommended Posts

Posted

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

Posted

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

 

 

 

Posted

You are really creative

 

For example this rectangular

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

|

|

|

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

 

This is a real guide :) Good job dude !

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

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...

Posted

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.

 

Posted

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

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock