mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Configure DZE_SafeZonePosArray by default
Zeds and loot should not spawn in trader cities by default, regardless
of whether the server uses safe zones.
For servers that do not use safezones, the only other things affected
are salvage and instant kill for vehicle explosions in trader cities.
Neither is a significant issue. Most servers use safezones anyway.
Following d750f57, changed to exitWith so the check is only called once
instead of multiple times. Also no need to call again in
zombie_generate, since that function is only called by
building_spawnZombies which already checks it.
This commit is contained in:
@@ -61,6 +61,7 @@ DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
DZE_PlotPole = [30,45]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases.
|
||||
DZE_BuildingLimit = 150; // Max number of built objects allowed in DZE_PlotPole radius
|
||||
DZE_SafeZonePosArray = [[[1388,6950,0],100],[[3937,875,0],100],[[4799,3072,0],60],[[1198,1898,0],60],[[1793,3663,0],100],[[3564,6030,0],60],[[4800,7336,0],60],[[5346,2305,0],60],[[2389,7535,0],60]]; // Format is [[[3D POS],RADIUS],[[3D POS],RADIUS]]; Stops loot and zed spawn, salvage and players being killed if their vehicle is destroyed in these zones.
|
||||
DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
|
||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount given, infection chance %, cooldown in seconds]
|
||||
MaxDynamicDebris = 250; // Max number of random road blocks to spawn around the map
|
||||
|
||||
Reference in New Issue
Block a user