Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Custom Peace Zones (https://postpacific.loc-online.com/showthread.php?t=4502)

Haygor 20.05.2006 17:50

Custom Peace Zones
 
I have been working an this all night and can't seem to figure out what I am doing wrong.

Problem: we have players that like to PK while a person is still loading after spawning.

Simple solution: Define the spawn in point as a peace zone

I have gotten one spot working, but can't get the others working and at my wits end to find the problem. Maybe someone else has worked on this and knows a step I am missing.

areadata.txt
Code:

// Spawn in peace locations
// Cave of Trial
area_begin        name=[orc_town_peace2]        type=peace_zone        range = {{9976;-112471;-2464;-1964};{10006;-112471;-2464;-1964};{10006;-112541;-2464;-1964};{9976;-112541;-2464;-1964}}        area_end
// Execution Ground
area_begin        name=[orc_town_peace3]        type=peace_zone        range = {{44529;148542;-3688;-3188};{44569;148542;-3688;-3188};{44569;148502;-3688;-3188};{44529;148502;-3688;-3188}}        area_end
// Dragon Valey Caves
area_begin        name=[orc_town_peace4]        type=peace_zone        range = {{131342;114460;-3712;-3212};{131362;114440;-3712;-3212};{131362;114460;-3712;-3212};{131342;114450;-3712;-3212}}        area_end
// Catacomb of the Apostate
area_begin        name=[orc_town_peace5]        type=peace_zone        range = {{78046;78406;-5128;-4628};{78066;78406;-5128;-4628};{78066;78426;-5128;-4628};{78046;78426;-5128;-4628}}        area_end
// Patriots Necropolis
area_begin        name=[orc_town_peace6]        type=peace_zone        range = {{-21406;77368;-5176;-4676};{-21386;77368;-5176;-4676};{-21386;77388;-5176;-4676};{-21406;77388;-5176;-4676}}        area_end
// Mithril Mines
area_begin        name=[orc_town_peace7]        type=peace_zone        range = {{171936;-173362;3440;2940};{171956;-173362;3440;2940};{171956;-173342;3440;2940};{171936;-173342;3440;2940}}        area_end

Spawn in locations that need to be protected:
Code:

Cave of trial: 9991, -112486, -2464
Execution grounds: 44549, 148522, -3688
Dragon valley caves: 131352, 114450, -3712
Catacomb of the apostate: 78056, 78412, -5128
Patriots necropolis: -21396, 77378, -5176
Mithril Mines: 171946, -173352, 3440

NOTE: the Cave of trails spawn in location is the only one that is working properly.

ateh 20.05.2006 18:27

You should put x,y points in this order:

Code:

1-----2
|    |
|    |
4-----3

And Z values - first deeper one, then upper one

This should work :)

Haygor 20.05.2006 19:31

If you notice, the x/y coords are int he proper order, and the z vlaues are also in the correct order.

Haygor 20.05.2006 21:28

Okay call me newbish, i didn't have the coords in the right order. However, when i did correct the order, they still are not working correctly. Any help would be appreciated.


All times are GMT. The time now is 15:25.