DayZ
MedicalAttention
The Player  [developer] 9 Aug, 2019 @ 2:58pm
ZONE CONFIG GUIDE
Examples:
DeclareZone = 1 = 8289.79 = 2286.63 = 7300 = CAUTION: YOU ARE IN NON-COMBAT ZONE = YOU LEFT THE NON-COMBAT ZONE
DeclareZone = 1 = 13824.98 = 11774.52 = 5200 = CAUTION: YOU ARE IN NON-COMBAT ZONE = YOU LEFT THE NON-COMBAT ZONE
DeclareZone = 2 = 722.0 = 10863.0 = 10500 = NO WELL ZONE
DeclareZone = 3 = 7353.0 = 8115.0 = 10000 = NO FUEL ZONE

First parameter is zone type
0 - harmless
1 - non-combat
2 - no wells
3 - no fuel station
4 - biohazard

Next parameters are X and Y coordinates of the zone center and radius in meters.

Last two parameters are on-enter and on-leave messages (optional)

Example with no messages:
DeclareZone = 2 = 722.0 = 10863.0 = 10500
Last edited by The Player; 3 Sep, 2019 @ 2:10pm
< >
Showing 1-4 of 4 comments
Max Mozin 24 May, 2020 @ 1:00am 
Wasnt there a parameter for % chanse of fuelstations could be open after a serverrestart?
c0verfire 28 May, 2020 @ 7:45pm 
Originally posted by Medic:
Wasnt there a parameter for % chanse of fuelstations could be open after a serverrestart?
That would be amazing if there could be!!
Max Mozin 29 May, 2020 @ 7:30am 
I checked my old files, there was a parameter for it. Dont know if it still works though..
DeclareZone = 3 = 50 = 7353.0 = 8115.0 = 10000 = NO FUEL ZONE
As you see "50" (between 0-100)was the number.You can try, but I dont know if it still works.. Let me know if you test it :)
Last edited by Max Mozin; 29 May, 2020 @ 7:32am
Originally posted by Medic:
Wasnt there a parameter for % chanse of fuelstations could be open after a serverrestart?
It's possible with "DeclareRandomZone" you just need to put the center of zone not on fuelstation and change radius size :

DeclareRandomZone = 1 = 50 = 8289.79 = 2286.63 = 7300 = 7500 = YOU ENTERED = YOU LEFT

First parameter is zone type same as fixed zones. (0, 1, 2, 3 or 4)
Second parameter is chance (in percent) to be activated at each server restart. (50% in this example)
Next two parameters (3rd and 4th) are X and Y coordinates of the zone center: (8289.79 and 2286.63)
5th and 6th parameters are the minimum and maximum radius of the zone. Also randomly generated at server restart. (In this example zone radius will be a random value between 7300 and 7500 meters)
Last parameters are optional on-enter and on-leave messages.
< >
Showing 1-4 of 4 comments
Per page: 1530 50