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

@@ -13,6 +13,7 @@ dayz_sellDistance_air = 40; // Max distance players can sell air vehicles from a
dayz_tameDogs = true; // Allow taming dogs with raw meat
dayz_townGenerator = false; // Spawn vanilla map junk in addition to Epoch DynamicDebris. Only works on Chernarus.
dayz_townGeneratorBlackList = [[4053,11668,0],[11463,11349,0],[6344,7806,0],[1606,7803,0],[12944,12766,0],[5075,9733,0],[12060,12638,0]]; // Town generator will not spawn junk within 150m of these positions.
DayZ_UseSteamID = true; // Use getPlayerUID instead of getPlayerUIDOld
DynamicVehicleDamageLow = 0; // Min damage random vehicles can spawn with
DynamicVehicleDamageHigh = 100; // Max damage random vehicles can spawn with
@@ -20,10 +21,15 @@ DynamicVehicleFuelLow = 0; // Min fuel random vehicles can spawn with
DynamicVehicleFuelHigh = 100; // Max fuel random vehicles can spawn with
DZE_AntiWallLimit = 3; // Number of activations before player_antiWall kills player for glitching attempt. Lower is stricter, but may result in false positives.
DZE_DamageBeforeMaint = 0.09; // Minimum damage built items must have before they can be maintained
DZE_DeathMsgGlobal = false; // Display death messages in global chat
DZE_DeathMsgSide = false; // Display death messages in side chat
DZE_DeathMsgTitleText = false; // Display death messages as title text
DZE_DiagFps = 1; // Log server FPS and player count 0 = Off, 1 = every 5 minutes, 2 = every 2 minutes
DZE_DiagObjects = false; // Also log allMissionObjects count (very intensive)
DZE_HaloJump = true; // Enable halo jumping out of air vehicles above 400m
DZE_modularBuild = true; // Enable Snap building by @raymix
DZE_snapExtraRange = 0; // Increase the default range from which objects can snap by this many meters.
DZE_NameTags = 1; // Name displays when looking at player up close 0 = Off, 1= On, 2 = Player choice
DZE_ForceNameTagsInTrader = false; // Force name display when looking at player up close in traders. Overrides player choice.
DZE_HumanityTargetDistance = 25; // Distance to show name tags (red for bandit, blue for hero, green for friend)
@@ -31,6 +37,8 @@ DZE_HeartBeat = false; // Enable heartbeat sound when looking at bandit (<= -300
DZE_HeliLift = true; // Enable Epoch heli lift system
DZE_PlayerZed = false; // Enable spawning as a player zombie when players die with infected status
DZE_R3F_WEIGHT = false; // Enable R3F weight. Players carrying too much will be overburdened and knocked out.
DZE_RestrictSkins = []; // Clothes that players are not allowed to wear. i.e. ["Skin_GUE_Soldier_CO_DZ","Skin_GUE_Soldier_2_DZ"] etc.
DZE_TRADER_SPAWNMODE = false; // Vehicles purchased at traders will be parachuted in
DZE_UI = "vanilla"; //"vanilla","epoch","dark" UI status icons style. Dark accommodates color blind people.
MaxAmmoBoxes = 3; // Max number of random Supply_Crate_DZE to spawn around the map
MaxMineVeins = 50; // Max number of random mine veins to spawn around the map

View File

@@ -376,18 +376,6 @@ dayz_traps = [];
dayz_traps_active = [];
dayz_traps_trigger = [];
//Remove
if(isNil "dayz_ForcefullmoonNights") then {
dayz_ForcefullmoonNights = false; //force full moon nights.
};
if(isNil "dayz_bleedingeffect") then {
dayz_bleedingeffect = 3; //1= blood on the ground, 2= partical effect, 3 = both.
};
if(isNil "dayz_temperature_override") then {
dayz_temperature_override = false;
};
//Settings Not under dayz_settings
if(isNil "dayz_attackRange") then {
dayz_attackRange = 3;
@@ -490,7 +478,7 @@ DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP
DZE_Lock_Door = "";
DZE_HeliAllowTowFrom = ["CH_47F_EP1_DZE","CH_47F_EP1_DZ","CH_47F_BAF","CH_47F_EP1","BAF_Merlin_DZE","CH53_DZE"];
DZE_HeliAllowToTow = ["hilux1_civil_1_open","HMMWV_Base","Lada_base","Offroad_DSHKM_base","Pickup_PK_base","SkodaBase","tractor","VWGolf","Volha_TK_CIV_Base_EP1","S1203_TK_CIV_EP1","SUV_Base_EP1","ArmoredSUV_Base_PMC","UAZ_Base","LandRover_Base","Ship"];
DZE_REPLACE_WEAPONS = [["Crossbow","DMR","M14_EP1","SVD","SVD_CAMO"],["Crossbow_DZ","DMR_DZ","M14_DZ","SVD_DZ","SVD_CAMO_DZ"]];
DZE_REPLACE_WEAPONS = [["Crossbow","DMR","M14_EP1","SVD","SVD_CAMO"],["Crossbow_DZ","DMR_DZ","M14_CCO_DZ","SVD_DZ","SVD_Gh_DZ"]];
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
DZE_UnLockedStorage = ["VaultStorage","LockboxStorage"];
@@ -513,26 +501,18 @@ s_player_combi = [];
s_player_lockunlock = [];
s_player_lockUnlockInside = [];
s_player_parts = [];
if(isNil "DayZ_UseSteamID") then {DayZ_UseSteamID = true;};
if(isNil "DZE_SelfTransfuse") then {DZE_SelfTransfuse = false;};
if(isNil "DZE_GodModeBase") then {DZE_GodModeBase = false;};
if(isNil "DZE_TRADER_SPAWNMODE") then {DZE_TRADER_SPAWNMODE = false;};
if(isNil "dayz_paraSpawn") then {dayz_paraSpawn = false;};
if(isNil "DZE_BuildingLimit") then {DZE_BuildingLimit = 150;};
if(isNil "DZE_BuildingLimit") then {DZE_BuildingLimit = 200;};
if(isNil "DZE_BuildOnRoads") then {DZE_BuildOnRoads = false;};
if(isNil "DZE_ConfigTrader") then {DZE_ConfigTrader = true;};
if(isNil "DZE_MissionLootTable") then {DZE_MissionLootTable = false;};
if(isNil "DZE_ConfigTrader") then {DZE_ConfigTrader = false;};
if(isNil "DZE_DamageBeforeMaint") then {DZE_DamageBeforeMaint = 0.09;};
if(isNil "DZE_StaticConstructionCount") then {DZE_StaticConstructionCount = 0;};
if(isNil "DZE_selfTransfuse_Values") then {DZE_selfTransfuse_Values = [12000, 15, 300];};
if(isNil "DZE_modularBuild") then {DZE_modularBuild = false;};
if(isNil "DZE_snapExtraRange") then {DZE_snapExtraRange = 0;};
if(isNil "DZE_RestrictSkins") then {DZE_RestrictSkins = [];};
if(isNil "DZE_BackpackAntiTheft") then {DZE_BackpackAntiTheft = false;};
if(isNil "DZE_SelfTransfuse") then {DZE_SelfTransfuse = false;};
if(isNil "DZE_selfTransfuse_Values") then {DZE_selfTransfuse_Values = [12000,15,300];};
if(isNil "DZE_PlotPole") then {DZE_PlotPole = [30,45];};
if(isNil "DZE_maintainRange") then {DZE_maintainRange = ((DZE_PlotPole select 0)+20);};
if(isNil "DZE_UseBloodTypes") then {DZE_UseBloodTypes = false;};
DZE_maintainRange = ((DZE_PlotPole select 0)+20);
if(isNil "DZE_slowZombies") then {DZE_slowZombies = false;};
if(isNil "DZE_UseBloodTypes") then {DZE_UseBloodTypes = false;};
if ((toLower worldName) in ["napf","sauerland","tavi"]) then {
dayz_minpos = if ((toLower worldName) == "tavi") then {-26000} else {-1000};
dayz_maxpos = 26000;
@@ -567,15 +547,13 @@ if (isServer) then {
DZE_safeVehicle = ["ParachuteWest","ParachuteC"];
if(isNil "EpochUseEvents") then {EpochUseEvents = false;};
if(isNil "EpochEvents") then {EpochEvents = [];};
if(isNil "DZE_vehicleAmmo") then {DZE_vehicleAmmo = 0;};
if(isNil "dayz_MapArea") then {dayz_MapArea = 10000;};
if(isNil "DynamicVehicleArea") then {DynamicVehicleArea = dayz_MapArea / 2;};
if(isNil "HeliCrashArea") then {HeliCrashArea = dayz_MapArea / 2;};
if(isNil "DZE_DiagFpsSlow") then {DZE_DiagFpsSlow = false;}; // Log server FPS + player count every 5 minutes
if(isNil "DZE_DiagFpsFast") then {DZE_DiagFpsFast = false;}; // Log server FPS + player count every 2 minutes
if(isNil "DZE_DiagVerbose") then {DZE_DiagVerbose = false;}; // Also log allMissionObjects count (very intensive)
if(isNil "MaxDynamicDebris") then {MaxDynamicDebris = 100;};
if(isNil "MaxVehicleLimit") then {MaxVehicleLimit = 50;};
if (isNil "spawnArea") then {spawnArea = 1400;};
if (isNil "spawnShoremode") then {spawnShoremode = 1;};
};
if (!isDedicated) then {
@@ -696,7 +674,9 @@ if (!isDedicated) then {
Dayz_freefall = [ time, 0, 0.1 ];
// EPOCH ADDITIONS
if(isNil "DZE_requireplot") then {DZE_requireplot = 1;};
if (isNil "DZE_BackpackAntiTheft") then {DZE_BackpackAntiTheft = false;};
if (isNil "DZE_requireplot") then {DZE_requireplot = 1;};
if (isNil "DZE_StaticConstructionCount") then {DZE_StaticConstructionCount = 0;};
autoRunActive = 0;
dayz_combat = 0;
DZE_ActionInProgress = false;