Nosti21 Posted January 20, 2015 Posted January 20, 2015 Hello guys. i have this http://www.maxcheaters.com/topic/177914-fantasy-island-crateis-cubes-underground-coliseum-interlude-from-lindvior/ and i want all this area to be peacefull zone.. How i can do it?? i know from zones.xml but i dont know what more to do.. help me one please. thanks..
0 Tessa Posted January 21, 2015 Posted January 21, 2015 (edited) Let me show you how to create an Cuboid type zone: First go to Town of Giran and get the coordinates of the first node http://prntscr.com/5vakf7 Then get the coordinates of the second node http://prntscr.com/5vaklr Now you should put these coordinates in zone.xml <zone name="Giran northern coridor west" type="PeaceZone" shape="Cuboid" minZ="-3400" maxZ="-3550"> <node X="81153" Y="147906" /> <node X="82706" Y="149306" /> </zone> Congratulations, you have set up a new Cuboid zone. There are one more thing... if you use a pack that stores the zones in zone_vertices table, you should put the x and y coordinates in it: INSERT INTO `zone_vertices` (`id`,`order`,`x`,`y`) VALUES (20000,0,81153,147906), (20000,1,82706,149306); Then in zone.xml <zone id='20000' type='PeaceZone' shape='Cuboid' minZ='-3400' maxZ='-3550' /> The id in zone.xml equals to the id in zone_vertices Edited January 21, 2015 by Tessa
0 Extreamer Posted January 20, 2015 Posted January 20, 2015 Set as a town zone ID, add zone vertices and done, set peaceful = true, done
0 Nosti21 Posted January 20, 2015 Author Posted January 20, 2015 Set as a town zone ID, add zone vertices and done, set peaceful = true, done where i can find them???
0 Nosti21 Posted January 21, 2015 Author Posted January 21, 2015 Using the /loc command. yeah and i will go one click right and left and i will do /loc?? if you know what i mean..
0 Tessa Posted January 21, 2015 Posted January 21, 2015 By the "/loc" command you will see the coordinates that you should set up in zone_vertices and zone.xml (depends on the pack you use). There are 3 types of zones (l2jserver's documentation): Cuboid Zones: ------------- Require 2 nodes (vertices), in order to make a Square, for example: O . . . . . . . . . . . . . . O O = Node (vertice) NPoly Zones: ------------ Require 3 or more nodes (vertices), in order to make a Polygon or another geometrical model, for example: O / \ / \ / \ O - - - O O = Node (vertice) Cylinder Zones: --------------- Require 1 node (vertice) and radius, in order to make a Cylinder. * * * * * * * * * * * * * * * * O * * * * * * * * * * * * * * * * O = Node (vertice) * = Radius Some examples: Cuboid <zone name="Giran northern coridor west" type="NoStoreZone" shape="Cuboid" minZ="-3400" maxZ="-3550"> <node X="81446" Y="143530" /> <node X="81635" Y="147720" /> </zone> NPoly (takes AT LEAST 3 nodes, but you can set as many as you want in order to set up more precise zones) <zone name="dion_monster_race1" type="DerbyTrackZone" shape="NPoly" minZ="-3652" maxZ="-3452"> <!-- [20_23] --> <node X="11714" Y="181568" /> <node X="14406" Y="181571" /> <node X="14405" Y="182673" /> <node X="11714" Y="182673" /> </zone> Cylinder <zone name="Den of Evil 11" type="EffectZone" shape="Cylinder" minZ="-3400" maxZ="-3200" rad="750"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="71543" Y="-128820" /> </zone>
0 Nosti21 Posted January 21, 2015 Author Posted January 21, 2015 By the "/loc" command you will see the coordinates that you should set up in zone_vertices and zone.xml (depends on the pack you use). There are 3 types of zones (l2jserver's documentation): Cuboid Zones: ------------- Require 2 nodes (vertices), in order to make a Square, for example: O . . . . . . . . . . . . . . O O = Node (vertice) NPoly Zones: ------------ Require 3 or more nodes (vertices), in order to make a Polygon or another geometrical model, for example: O / \ / \ / \ O - - - O O = Node (vertice) Cylinder Zones: --------------- Require 1 node (vertice) and radius, in order to make a Cylinder. * * * * * * * * * * * * * * * * O * * * * * * * * * * * * * * * * O = Node (vertice) * = Radius Some examples: Cuboid <zone name="Giran northern coridor west" type="NoStoreZone" shape="Cuboid" minZ="-3400" maxZ="-3550"> <node X="81446" Y="143530" /> <node X="81635" Y="147720" /> </zone> NPoly (takes AT LEAST 3 nodes, but you can set as many as you want in order to set up more precise zones) <zone name="dion_monster_race1" type="DerbyTrackZone" shape="NPoly" minZ="-3652" maxZ="-3452"> <!-- [20_23] --> <node X="11714" Y="181568" /> <node X="14406" Y="181571" /> <node X="14405" Y="182673" /> <node X="11714" Y="182673" /> </zone> Cylinder <zone name="Den of Evil 11" type="EffectZone" shape="Cylinder" minZ="-3400" maxZ="-3200" rad="750"> <stat name="reuse" val="9000" /> <stat name="targetClass" val="L2Character" /> <node X="71543" Y="-128820" /> </zone> i do the same with the Cylinder shape but didnt work.. its not peacefully zone.. what can i do???
0 SweeTs Posted January 21, 2015 Posted January 21, 2015 (edited) There is no "what can I do".. You simply did it wrong. Do it again. Edited January 21, 2015 by SweeTs
0 Nosti21 Posted January 21, 2015 Author Posted January 21, 2015 <zone id='11038' type='Town' shape="Cylinder" minZ="-2037" maxZ="-3200" rad="1750"> <stat name='name' val='Main Town'/> <stat name='townId' val='112121'/> <stat name='taxById' val='5'/> <stat name='Peace Zone' val='true'/> <spawn X='-59511' Y='-57543' Z='-2064'/> i have do this. is this right?? maybe not. :/
0 SweeTs Posted January 21, 2015 Posted January 21, 2015 It's not.. Ehhh.. You got plenty of examples.. Try to manage it.. Even you can "teleport" to those locations and you will find out how it works..
0 Nosti21 Posted January 21, 2015 Author Posted January 21, 2015 Let me show you how to create an Cuboid type zone: First go to Town of Giran and get the coordinates of the first node http://prntscr.com/5vakf7 Then get the coordinates of the second node http://prntscr.com/5vaklr Now you should put these coordinates in zone.xml <zone name="Giran northern coridor west" type="PeaceZone" shape="Cuboid" minZ="-3400" maxZ="-3550"> <node X="81153" Y="147906" /> <node X="82706" Y="149306" /> </zone> Congratulations, you have set up a new Cuboid zone. There are one more thing... if you use a pack that stores the zones in zone_vertices table, you should put the x and y coordinates in it: INSERT INTO `zone_vertices` (`id`,`order`,`x`,`y`) VALUES (20000,0,81153,147906), (20000,1,82706,149306); Then in zone.xml <zone id='20000' type='PeaceZone' shape='Cuboid' minZ='-3400' maxZ='-3550' /> The id in zone.xml equals to the id in zone_vertices da best answer.. thank you tessa.!! love you.. zone_vertices helped me.. thanks a lot lock it and give promo to this guy.. @sweets you are here to help not to say just one "manage to do it alone again and again and you will find the solution" ... *friendly suggestion* kkthnxbye!!
0 SweeTs Posted January 21, 2015 Posted January 21, 2015 @sweets you are here to help not to say just one "manage to do it alone again and again and you will find the solution" ... *friendly suggestion* I am here to help, not to do the job for you. Back in the days I had the same problem as you, so I looked at few zones how they are created, ArenaZone for example, it's easiest, 2 nodes. Then I was like "miracle".. Anyway.. locked
Question
Nosti21
Hello guys. i have this http://www.maxcheaters.com/topic/177914-fantasy-island-crateis-cubes-underground-coliseum-interlude-from-lindvior/
and i want all this area to be peacefull zone.. How i can do it?? i know from zones.xml but i dont know what more to do.. help me one please. thanks..
13 answers to this question
Recommended Posts