Cleanup config variables

This commit is contained in:
ebaydayz
2016-04-09 16:47:51 -04:00
parent 1ba8f46543
commit d229d10b6a
31 changed files with 276 additions and 202 deletions

View File

@@ -172,10 +172,6 @@ if (_randomSpot) then {
private ["_counter","_position","_isNear","_isZero","_mkr"];
if (!isDedicated) then {endLoadingScreen;};
_IslandMap = if (worldName in ["dzhg","panthera2","Sara","Utes","Dingor","namalsk","isladuala","Tavi","dayznogova","tasmania2010"]) then {true} else {false};
//Spawn modify via mission init.sqf
if (isNil "spawnArea") then {spawnArea = 1400;};
if (isNil "spawnShoremode") then {spawnShoremode = 1;};
//spawn into random
_findSpot = true;

View File

@@ -89,7 +89,6 @@ _key call server_hiveWrite;
clearWeaponCargoGlobal _object;
clearMagazineCargoGlobal _object;
// _object setVehicleAmmo DZE_vehicleAmmo;
_object setVariable ["ObjectID", _oid, true];

View File

@@ -68,7 +68,6 @@ if (count AllowedVehiclesList == 0) then {
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
// _veh setVehicleAmmo DZE_vehicleAmmo;
// Add 0-3 loots to vehicle using random loot groups
_num = floor(random 4);

View File

@@ -208,7 +208,7 @@ dayz_reseed = {
};
dze_diag_fps = {
if (DZE_DiagVerbose) then {
if (DZE_DiagObjects) then {
diag_log format["SERVER FPS: %1 PLAYERS: %2 OBJECTS: %3",diag_fps,playersNumber west,count (allMissionObjects "")];
} else {
diag_log format["SERVER FPS: %1 PLAYERS: %2",diag_fps,playersNumber west];

View File

@@ -27,7 +27,7 @@ sched_co_deleteVehicle = {
sched_corpses = {
private ["_delQtyZ","_delQtyP","_addFlies","_x","_deathTime","_onoff","_delQtyAnimal", "_sound", "_deathPos", "_cpos"];
// EVERY 2 MINUTE
if (DZE_DiagFpsFast) then {call dze_diag_fps;};
if (DZE_DiagFps == 2) then {call dze_diag_fps;};
// DELETE UNCONTROLLED ZOMBIES --- PUT FLIES ON FRESH PLAYER CORPSES --- REMOVE OLD FLIES & CORPSES
_delQtyZ = 0;
_delQtyP = 0;

View File

@@ -45,7 +45,7 @@ sched_lootpiles_5m = {
sched_lootpiles = {
private ["_plrBatch","_chunkSize","_imax","_plr","_i","_x", "_changed"];
// EVERY 5 MINUTES, ONE OF THESE TASKS SPACED BY 5 SECONDS:
if (DZE_DiagFpsSlow) then {call dze_diag_fps;};
if (DZE_DiagFps == 1) then {call dze_diag_fps;};
// LOOK FOR OLD LOOTPILES -OR- IGNORE LOOTPILES NEAR _plrBatch PLAYERS -OR- REMOVE REMAINING _chunkSize LOOTPILES
_chunkSize = 50;
_plrBatch = 10;