Added DZE_StaticConstructionCount

with DZE_StaticConstructionCount you will force the constructioncount
This commit is contained in:
Florian Kinder
2014-02-06 18:51:45 +01:00
parent 6b60d77aaf
commit f999a0f02b
2 changed files with 133 additions and 125 deletions

View File

@@ -56,7 +56,7 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
case "fire": case "fire":
{ {
_isNear = {inflamed _x} count (getPosATL player nearObjects _distance); _isNear = {inflamed _x} count (getPosATL player nearObjects _distance);
if(_isNear == 0) then { if(_isNear == 0) then {
_abort = true; _abort = true;
_reason = "fire"; _reason = "fire";
}; };
@@ -64,7 +64,7 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
case "workshop": case "workshop":
{ {
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]); _isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]);
if(_isNear == 0) then { if(_isNear == 0) then {
_abort = true; _abort = true;
_reason = "workshop"; _reason = "workshop";
}; };
@@ -72,7 +72,7 @@ _needNear = getArray (configFile >> "CfgMagazines" >> _item >> "ItemActions" >>
case "fueltank": case "fueltank":
{ {
_isNear = count (nearestObjects [player, dayz_fuelsources, _distance]); _isNear = count (nearestObjects [player, dayz_fuelsources, _distance]);
if(_isNear == 0) then { if(_isNear == 0) then {
_abort = true; _abort = true;
_reason = "fuel tank"; _reason = "fuel tank";
_distance = 30; _distance = 30;
@@ -147,11 +147,11 @@ if(_IsNearPlot == 0) then {
} else { } else {
// Since there are plots nearby we check for ownership and then for friend status // Since there are plots nearby we check for ownership and then for friend status
// check nearby plots ownership and then for friend status // check nearby plots ownership and then for friend status
_nearestPole = _findNearestPole select 0; _nearestPole = _findNearestPole select 0;
// Find owner // Find owner
_ownerID = _nearestPole getVariable["CharacterID","0"]; _ownerID = _nearestPole getVariable["CharacterID","0"];
// diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID]; // diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID];
@@ -160,7 +160,7 @@ if(_IsNearPlot == 0) then {
if(dayz_characterID == _ownerID) then { //Keep ownership if(dayz_characterID == _ownerID) then { //Keep ownership
// owner can build anything within his plot except other plots // owner can build anything within his plot except other plots
if(!_isPole) then { if(!_isPole) then {
_canBuildOnPlot = true; _canBuildOnPlot = true;
}; };
} else { } else {
@@ -204,21 +204,21 @@ if (_hasrequireditem) then {
}; };
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; _object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
_object attachTo [player,_offset]; _object attachTo [player,_offset];
_position = getPosATL _object; _position = getPosATL _object;
cutText [(localize "str_epoch_player_45"), "PLAIN DOWN"]; cutText [(localize "str_epoch_player_45"), "PLAIN DOWN"];
_objHDiff = 0; _objHDiff = 0;
while {_isOk} do { while {_isOk} do {
_zheightchanged = false; _zheightchanged = false;
_zheightdirection = ""; _zheightdirection = "";
_rotate = false; _rotate = false;
if (DZE_Q) then { if (DZE_Q) then {
DZE_Q = false; DZE_Q = false;
_zheightdirection = "up"; _zheightdirection = "up";
@@ -227,7 +227,7 @@ if (_hasrequireditem) then {
if (DZE_Z) then { if (DZE_Z) then {
DZE_Z = false; DZE_Z = false;
_zheightdirection = "down"; _zheightdirection = "down";
_zheightchanged = true; _zheightchanged = true;
}; };
if (DZE_Q_alt) then { if (DZE_Q_alt) then {
DZE_Q_alt = false; DZE_Q_alt = false;
@@ -259,7 +259,7 @@ if (_hasrequireditem) then {
DZE_6 = false; DZE_6 = false;
_dir = 0; _dir = 0;
}; };
if(_rotate) then { if(_rotate) then {
_object setDir _dir; _object setDir _dir;
_object setPosATL _position; _object setPosATL _position;
@@ -297,7 +297,7 @@ if (_hasrequireditem) then {
_position set [2,((_position select 2)-0.01)]; _position set [2,((_position select 2)-0.01)];
_objHDiff = _objHDiff - 0.01; _objHDiff = _objHDiff - 0.01;
}; };
_object setDir (getDir _object); _object setDir (getDir _object);
if((_isAllowedUnderGround == 0) and ((_position select 2) < 0)) then { if((_isAllowedUnderGround == 0) and ((_position select 2) < 0)) then {
@@ -305,13 +305,13 @@ if (_hasrequireditem) then {
}; };
_object setPosATL _position; _object setPosATL _position;
//diag_log format["DEBUG Change BUILDING POS: %1", _position]; //diag_log format["DEBUG Change BUILDING POS: %1", _position];
_object attachTo [player]; _object attachTo [player];
}; };
sleep 0.5; sleep 0.5;
_location2 = getPosATL player; _location2 = getPosATL player;
@@ -324,19 +324,19 @@ if (_hasrequireditem) then {
//diag_log format["DEBUG BUILDING POS: %1", _position]; //diag_log format["DEBUG BUILDING POS: %1", _position];
deleteVehicle _object; deleteVehicle _object;
}; };
if(_location1 distance _location2 > 5) exitWith { if(_location1 distance _location2 > 5) exitWith {
_isOk = false; _isOk = false;
_cancel = true; _cancel = true;
_reason = "You've moved to far away from where you started building (within 5 meters)"; _reason = "You've moved to far away from where you started building (within 5 meters)";
detach _object; detach _object;
deleteVehicle _object; deleteVehicle _object;
}; };
if(abs(_objHDiff) > 5) exitWith { if(abs(_objHDiff) > 5) exitWith {
_isOk = false; _isOk = false;
_cancel = true; _cancel = true;
_reason = "Cannot move up or down more than 5 meters"; _reason = "Cannot move up or down more than 5 meters";
detach _object; detach _object;
deleteVehicle _object; deleteVehicle _object;
}; };
@@ -371,49 +371,54 @@ if (_hasrequireditem) then {
_classname = _classnametmp; _classname = _classnametmp;
// Start Build // Start Build
_tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; _tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
_tmpbuilt setdir _dir; _tmpbuilt setdir _dir;
// Get position based on object // Get position based on object
_location = _position; _location = _position;
if((_isAllowedUnderGround == 0) and ((_location select 2) < 0)) then { if((_isAllowedUnderGround == 0) and ((_location select 2) < 0)) then {
_location set [2,0]; _location set [2,0];
}; };
_tmpbuilt setPosATL _location; _tmpbuilt setPosATL _location;
cutText [format[(localize "str_epoch_player_138"),_text], "PLAIN DOWN"]; cutText [format[(localize "str_epoch_player_138"),_text], "PLAIN DOWN"];
_limit = 3; _limit = 3;
if(isNumber (configFile >> "CfgVehicles" >> _classname >> "constructioncount")) then { if (DZE_StaticConstructionCount > 0) then {
_limit = getNumber(configFile >> "CfgVehicles" >> _classname >> "constructioncount"); _limit = DZE_StaticConstructionCount;
}
else {
if (isNumber (configFile >> "CfgVehicles" >> _classname >> "constructioncount")) then {
_limit = getNumber(configFile >> "CfgVehicles" >> _classname >> "constructioncount");
};
}; };
_isOk = true; _isOk = true;
_proceed = false; _proceed = false;
_counter = 0; _counter = 0;
while {_isOk} do { while {_isOk} do {
[10,10] call dayz_HungerThirst; [10,10] call dayz_HungerThirst;
player playActionNow "Medic"; player playActionNow "Medic";
_dis=20; _dis=20;
_sfx = "repair"; _sfx = "repair";
[player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_sfx,0,false,_dis] call dayz_zombieSpeak;
[player,_dis,true,(getPosATL player)] spawn player_alertZombies; [player,_dis,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false; r_interrupt = false;
_animState = animationState player; _animState = animationState player;
r_doLoop = true; r_doLoop = true;
_started = false; _started = false;
_finished = false; _finished = false;
while {r_doLoop} do { while {r_doLoop} do {
_animState = animationState player; _animState = animationState player;
_isMedic = ["medic",_animState] call fnc_inString; _isMedic = ["medic",_animState] call fnc_inString;
@@ -450,16 +455,16 @@ if (_hasrequireditem) then {
_isOk = false; _isOk = false;
_proceed = true; _proceed = true;
}; };
}; };
if (_proceed) then { if (_proceed) then {
_num_removed = ([player,_item] call BIS_fnc_invRemove); _num_removed = ([player,_item] call BIS_fnc_invRemove);
if(_num_removed == 1) then { if(_num_removed == 1) then {
cutText [format[localize "str_build_01",_text], "PLAIN DOWN"]; cutText [format[localize "str_build_01",_text], "PLAIN DOWN"];
if (_isPole) then { if (_isPole) then {
[] spawn player_plotPreview; [] spawn player_plotPreview;
}; };
@@ -467,11 +472,11 @@ if (_hasrequireditem) then {
_tmpbuilt setVariable ["OEMPos",_location,true]; _tmpbuilt setVariable ["OEMPos",_location,true];
if(_lockable > 1) then { if(_lockable > 1) then {
_combinationDisplay = ""; _combinationDisplay = "";
switch (_lockable) do { switch (_lockable) do {
case 2: { // 2 lockbox case 2: { // 2 lockbox
_combination_1 = (floor(random 3)) + 100; // 100=red,101=green,102=blue _combination_1 = (floor(random 3)) + 100; // 100=red,101=green,102=blue
_combination_2 = floor(random 10); _combination_2 = floor(random 10);
@@ -489,7 +494,7 @@ if (_hasrequireditem) then {
}; };
_combinationDisplay = format["%1%2%3",_combination_1_Display,_combination_2,_combination_3]; _combinationDisplay = format["%1%2%3",_combination_1_Display,_combination_2,_combination_3];
}; };
case 3: { // 3 combolock case 3: { // 3 combolock
_combination_1 = floor(random 10); _combination_1 = floor(random 10);
_combination_2 = floor(random 10); _combination_2 = floor(random 10);
@@ -498,7 +503,7 @@ if (_hasrequireditem) then {
dayz_combination = _combination; dayz_combination = _combination;
_combinationDisplay = _combination; _combinationDisplay = _combination;
}; };
case 4: { // 4 safe case 4: { // 4 safe
_combination_1 = floor(random 10); _combination_1 = floor(random 10);
_combination_2 = floor(random 10); _combination_2 = floor(random 10);
@@ -511,17 +516,17 @@ if (_hasrequireditem) then {
}; };
_tmpbuilt setVariable ["CharacterID",_combination,true]; _tmpbuilt setVariable ["CharacterID",_combination,true];
PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname]; PVDZE_obj_Publish = [_combination,_tmpbuilt,[_dir,_location],_classname];
publicVariableServer "PVDZE_obj_Publish"; publicVariableServer "PVDZE_obj_Publish";
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5]; cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5];
} else { } else {
_tmpbuilt setVariable ["CharacterID",dayz_characterID,true]; _tmpbuilt setVariable ["CharacterID",dayz_characterID,true];
// fire? // fire?
if(_tmpbuilt isKindOf "Land_Fire_DZ") then { if(_tmpbuilt isKindOf "Land_Fire_DZ") then {
_tmpbuilt spawn player_fireMonitor; _tmpbuilt spawn player_fireMonitor;

View File

@@ -18,26 +18,26 @@ AllPlayers = ["Survivor2_DZ","SurvivorWcombat_DZ","SurvivorWdesert_DZ","Survivor
//Cooking //Cooking
meatraw = [ meatraw = [
"FoodSteakRaw", "FoodSteakRaw",
"FoodmeatRaw", "FoodmeatRaw",
"FoodbeefRaw", "FoodbeefRaw",
"FoodmuttonRaw", "FoodmuttonRaw",
"FoodchickenRaw", "FoodchickenRaw",
"FoodrabbitRaw", "FoodrabbitRaw",
"FoodbaconRaw", "FoodbaconRaw",
"ItemTrout", "ItemTrout",
"ItemSeaBass", "ItemSeaBass",
"ItemTuna" "ItemTuna"
]; ];
exceptionsraw = ["ItemTuna"]; exceptionsraw = ["ItemTuna"];
meatcooked = [ meatcooked = [
"FoodSteakCooked", "FoodSteakCooked",
"FoodmeatCooked", "FoodmeatCooked",
"FoodbeefCooked", "FoodbeefCooked",
"FoodmuttonCooked", "FoodmuttonCooked",
"FoodchickenCooked", "FoodchickenCooked",
"FoodrabbitCooked", "FoodrabbitCooked",
"FoodbaconCooked", "FoodbaconCooked",
"ItemTroutCooked", "ItemTroutCooked",
"ItemSeaBassCooked", "ItemSeaBassCooked",
"ItemTunaCooked" "ItemTunaCooked"
@@ -49,10 +49,10 @@ no_output_food = ["FoodMRE", "FoodPistachio", "FoodNutmix","FoodBioMeat"]+meatco
badfood = ["FoodBioMeat","FoodCanUnlabeled"]; badfood = ["FoodBioMeat","FoodCanUnlabeled"];
food_with_output=[ food_with_output=[
"FoodCanBakedBeans", "FoodCanBakedBeans",
"FoodCanSardines", "FoodCanSardines",
"FoodCanFrankBeans", "FoodCanFrankBeans",
"FoodCanPasta", "FoodCanPasta",
"FoodCanGriff", "FoodCanGriff",
"FoodCanBadguy", "FoodCanBadguy",
"FoodCanBoneboy", "FoodCanBoneboy",
@@ -68,10 +68,10 @@ food_with_output=[
]; ];
food_output = [ food_output = [
"TrashTinCan", "TrashTinCan",
"TrashTinCan", "TrashTinCan",
"TrashTinCan", "TrashTinCan",
"TrashTinCan", "TrashTinCan",
"FoodCanGriffEmpty", "FoodCanGriffEmpty",
"FoodCanBadguyEmpty", "FoodCanBadguyEmpty",
"FoodCanBoneboyEmpty", "FoodCanBoneboyEmpty",
@@ -88,41 +88,41 @@ food_output = [
//Drinking //Drinking
no_output_drink = ["ItemWaterbottle", "ItemWaterbottleBoiled"]; no_output_drink = ["ItemWaterbottle", "ItemWaterbottleBoiled"];
drink_with_output = [ drink_with_output = [
"ItemSoda", //just to define item for ItemSodaEmpty "ItemSoda", //just to define item for ItemSodaEmpty
"ItemSodaRbull", "ItemSodaRbull",
"ItemSodaOrangeSherbet", "ItemSodaOrangeSherbet",
"ItemSodaCoke", "ItemSodaCoke",
"ItemSodaPepsi", "ItemSodaPepsi",
"ItemSodaMdew", "ItemSodaMdew",
"ItemSodaMtngreen", "ItemSodaMtngreen",
"ItemSodaR4z0r", "ItemSodaR4z0r",
"ItemSodaClays", "ItemSodaClays",
"ItemSodaSmasht", "ItemSodaSmasht",
"ItemSodaDrwaste", "ItemSodaDrwaste",
"ItemSodaLemonade", "ItemSodaLemonade",
"ItemSodaLvg", "ItemSodaLvg",
"ItemSodaMzly", "ItemSodaMzly",
"ItemSodaRabbit" "ItemSodaRabbit"
]; ];
drink_output = [ drink_output = [
"ItemSodaEmpty", "ItemSodaEmpty",
"ItemSodaEmpty", "ItemSodaEmpty",
"ItemSodaEmpty", "ItemSodaEmpty",
"ItemSodaCokeEmpty", "ItemSodaCokeEmpty",
"ItemSodaPepsiEmpty", "ItemSodaPepsiEmpty",
"ItemSodaMdewEmpty", "ItemSodaMdewEmpty",
"ItemSodaMtngreenEmpty", "ItemSodaMtngreenEmpty",
"ItemSodaR4z0rEmpty", "ItemSodaR4z0rEmpty",
"ItemSodaClaysEmpty", "ItemSodaClaysEmpty",
"ItemSodaSmashtEmpty", "ItemSodaSmashtEmpty",
"ItemSodaDrwasteEmpty", "ItemSodaDrwasteEmpty",
"ItemSodaLemonadeEmpty", "ItemSodaLemonadeEmpty",
"ItemSodaLvgEmpty", "ItemSodaLvgEmpty",
"ItemSodaMzlyEmpty", "ItemSodaMzlyEmpty",
"ItemSodaRabbitEmpty" "ItemSodaRabbitEmpty"
]; ];
boil_tin_cans = [ boil_tin_cans = [
"TrashTinCan", "TrashTinCan",
"FoodCanGriffEmpty", "FoodCanGriffEmpty",
"FoodCanBadguyEmpty", "FoodCanBadguyEmpty",
"FoodCanBoneboyEmpty", "FoodCanBoneboyEmpty",
@@ -135,19 +135,19 @@ boil_tin_cans = [
"FoodCanPowellEmpty", "FoodCanPowellEmpty",
"FoodCanTylersEmpty", "FoodCanTylersEmpty",
"FoodCanUnlabeledEmpty", "FoodCanUnlabeledEmpty",
"ItemSodaEmpty", "ItemSodaEmpty",
"ItemSodaCokeEmpty", "ItemSodaCokeEmpty",
"ItemSodaPepsiEmpty", "ItemSodaPepsiEmpty",
"ItemSodaMdewEmpty", "ItemSodaMdewEmpty",
"ItemSodaMtngreenEmpty", "ItemSodaMtngreenEmpty",
"ItemSodaR4z0rEmpty", "ItemSodaR4z0rEmpty",
"ItemSodaClaysEmpty", "ItemSodaClaysEmpty",
"ItemSodaSmashtEmpty", "ItemSodaSmashtEmpty",
"ItemSodaDrwasteEmpty", "ItemSodaDrwasteEmpty",
"ItemSodaLemonadeEmpty", "ItemSodaLemonadeEmpty",
"ItemSodaLvgEmpty", "ItemSodaLvgEmpty",
"ItemSodaMzlyEmpty", "ItemSodaMzlyEmpty",
"ItemSodaRabbitEmpty" "ItemSodaRabbitEmpty"
]; ];
dayz_combination = ""; dayz_combination = "";
@@ -245,7 +245,7 @@ dayz_resetSelfActions = {
s_halo_action = -1; s_halo_action = -1;
s_player_SurrenderedGear = -1; s_player_SurrenderedGear = -1;
s_player_maintain_area = -1; s_player_maintain_area = -1;
s_player_maintain_area_preview = -1; s_player_maintain_area_preview = -1;
s_player_heli_lift = -1; s_player_heli_lift = -1;
s_player_heli_detach = -1; s_player_heli_detach = -1;
}; };
@@ -256,7 +256,7 @@ s_player_lastTarget = [objNull,objNull,objNull,objNull,objNull];
s_player_repairActions = []; s_player_repairActions = [];
s_player_lockunlock = []; s_player_lockunlock = [];
// Custom // Custom
s_player_madsci = []; s_player_madsci = [];
s_player_parts = []; s_player_parts = [];
s_player_combi = []; s_player_combi = [];
@@ -417,7 +417,7 @@ dayz_selectedDoor = objNull;
PVDZE_veh_Publish = []; // for vehicle traders PVDZE_veh_Publish = []; // for vehicle traders
PVDZE_obj_Trade = []; // For all traders increment qty PVDZE_obj_Trade = []; // For all traders increment qty
PVDZE_plr_TradeMenu = []; // For all traders PVDZE_plr_TradeMenu = []; // For all traders
PVDZE_plr_DeathB = []; PVDZE_plr_DeathB = [];
//DayZ settings //DayZ settings
@@ -505,6 +505,9 @@ if(isNil "DZE_HeliLift") then {
if(isNil "DZE_DamageBeforeMaint") then { if(isNil "DZE_DamageBeforeMaint") then {
DZE_DamageBeforeMaint = 0.09; DZE_DamageBeforeMaint = 0.09;
}; };
if(isNil "DZE_StaticConstructionCount") then {
DZE_StaticConstructionCount = 0;
};
// needed on server // needed on server
@@ -563,7 +566,7 @@ if(isServer) then {
dayz_players = []; dayz_players = [];
dead_bodyCleanup = []; dead_bodyCleanup = [];
needUpdate_objects = []; needUpdate_objects = [];
DZE_DYN_AntiStuck = 0; DZE_DYN_AntiStuck = 0;
DZE_DYN_AntiStuck2nd = 0; DZE_DYN_AntiStuck2nd = 0;
DZE_DYN_AntiStuck3rd = 0; DZE_DYN_AntiStuck3rd = 0;
@@ -581,38 +584,38 @@ if(isServer) then {
if(isNil "DZE_BackpackGuard") then { if(isNil "DZE_BackpackGuard") then {
DZE_BackpackGuard = true; DZE_BackpackGuard = true;
}; };
if(isNil "DZE_CleanNull") then { if(isNil "DZE_CleanNull") then {
DZE_CleanNull = false; DZE_CleanNull = false;
}; };
DZE_safeVehicle = ["ParachuteWest","ParachuteC"]; DZE_safeVehicle = ["ParachuteWest","ParachuteC"];
}; };
if(!isDedicated) then { if(!isDedicated) then {
dayz_spawnPos = getPosATL player; dayz_spawnPos = getPosATL player;
dayz_buildingMonitor = []; //Buildings to check dayz_buildingMonitor = []; //Buildings to check
dayz_bodyMonitor = []; dayz_bodyMonitor = [];
// weather control var // weather control var
zeroPreviousWeather = [0,0,[0,0],0]; zeroPreviousWeather = [0,0,[0,0],0];
zeroCurrentWeather = [0,0,[0,0],0]; zeroCurrentWeather = [0,0,[0,0],0];
if (DZE_MissionLootTable) then { if (DZE_MissionLootTable) then {
dayz_baseTypes = getArray (missionConfigFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass"); dayz_baseTypes = getArray (missionConfigFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass");
} else { } else {
dayz_baseTypes = getArray (configFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass"); dayz_baseTypes = getArray (configFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass");
}; };
//temperature variables //temperature variables
dayz_temperatur = 36; //TeeChange dayz_temperatur = 36; //TeeChange
dayz_temperaturnormal = 36; //TeeChange dayz_temperaturnormal = 36; //TeeChange
dayz_temperaturmax = 42; //TeeChange dayz_temperaturmax = 42; //TeeChange
dayz_temperaturmin = 27; //TeeChange dayz_temperaturmin = 27; //TeeChange
//player special variables //player special variables
dayZ_lastPlayerUpdate = 0; dayZ_lastPlayerUpdate = 0;
dayZ_everyonesTents = []; dayZ_everyonesTents = [];
@@ -689,7 +692,7 @@ if(!isDedicated) then {
if(isNil "DZE_HaloJump") then { if(isNil "DZE_HaloJump") then {
DZE_HaloJump = true; DZE_HaloJump = true;
}; };
if(isNil "DZE_AntiWallLimit") then { if(isNil "DZE_AntiWallLimit") then {
DZE_AntiWallLimit = 1; DZE_AntiWallLimit = 1;
}; };
@@ -699,14 +702,14 @@ if(!isDedicated) then {
if(isNil "DZE_R3F_WEIGHT") then { if(isNil "DZE_R3F_WEIGHT") then {
DZE_R3F_WEIGHT = true; DZE_R3F_WEIGHT = true;
}; };
DZE_AntiWallCounter = 0; DZE_AntiWallCounter = 0;
DZE_FreshSpawn = false; DZE_FreshSpawn = false;
DZE_myHaloVehicle = objNull; DZE_myHaloVehicle = objNull;
DZE_Friends = []; DZE_Friends = [];
DZE_CanPickup = true; DZE_CanPickup = true;