mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-28 18:51:50 +03:00
Cleanup config variables
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -89,7 +89,6 @@ _key call server_hiveWrite;
|
||||
|
||||
clearWeaponCargoGlobal _object;
|
||||
clearMagazineCargoGlobal _object;
|
||||
// _object setVehicleAmmo DZE_vehicleAmmo;
|
||||
|
||||
_object setVariable ["ObjectID", _oid, true];
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user