DayZ
MedicalAttention
The Player  [开发者] 2019 年 8 月 9 日 下午 2:58
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
最后由 The Player 编辑于; 2019 年 9 月 3 日 下午 2:10
< >
正在显示第 1 - 4 条,共 4 条留言
Max Mozin 2020 年 5 月 24 日 上午 1:00 
Wasnt there a parameter for % chanse of fuelstations could be open after a serverrestart?
c0verfire 2020 年 5 月 28 日 下午 7:45 
引用自 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 2020 年 5 月 29 日 上午 7:30 
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 :)
最后由 Max Mozin 编辑于; 2020 年 5 月 29 日 上午 7:32
引用自 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.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50