diff --git a/SQF/dayz_code/Configs/cfgFaces.hpp b/SQF/dayz_code/Configs/cfgFaces.hpp index 46944de00..443b8987f 100644 --- a/SQF/dayz_code/Configs/cfgFaces.hpp +++ b/SQF/dayz_code/Configs/cfgFaces.hpp @@ -77,4 +77,38 @@ class gangsta_faces_mask : Man {}; class HeadMaskWinter : Man {}; class HeadMaskSnow : Man {}; class HeadMaskSkull : Man {}; + + class ZFaces //Epoch player zombies + { + class Default + { + name = "PZombie 1"; + texture = "\dayz\textures\faces\zombie_03_co.paa"; + identityTypes[] = {"PZombie1"}; + disabled = 0; + material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat"; + head = "defaultHead"; + }; + class Zombie1 : Default + { + name = "PZombie 1"; + texture = "\dayz\textures\faces\zombie_03_co.paa"; + identityTypes[] = {"PZombie1"}; + disabled = 0; + }; + class Zombie2 : Default + { + name = "PZombie 2"; + texture = "\dayz\textures\faces\zombie_03_co.paa"; + identityTypes[] = {"PZombie2"}; + disabled = 0; + }; + class Zombie3 : Default { + name = "Zombie 3"; + texture = "z\addons\dayz_communityassets\faces\zombie_03_co.paa"; + material = "z\addons\dayz_communityassets\faces\zombie_03.rvmat"; + identityTypes[] = {"Zombie3"}; + disabled = 0; + }; + }; }; \ No newline at end of file diff --git a/SQF/dayz_code/actions/pzombie/pz_attack.sqf b/SQF/dayz_code/actions/pzombie/pz_attack.sqf index ca6b19362..f0612d20f 100644 --- a/SQF/dayz_code/actions/pzombie/pz_attack.sqf +++ b/SQF/dayz_code/actions/pzombie/pz_attack.sqf @@ -1,26 +1,24 @@ -private ["_ent","_rnd","_move","_isZombie"]; +player removeAction s_player_attack; +s_player_attack = 1; -if (!isNull cursorTarget) then { +private ["_ent","_rnd","_move"]; - _ent = cursorTarget; - _rnd = (round(random 9)) + 1; - _move = "ZombieStandingAttack" + str(_rnd); - player playMoveNow _move; - _isZombie = _ent isKindOf "zZombie_base"; - - if(player distance _ent < 5) then { - - if (_ent isKindOf "Animal" || _isZombie) then { - _ent setDamage 1; - } else { - /* PVS/PVC - Skaronator */ - PVDZ_send = [_ent,"Legs",[_ent,player]]; - publicVariableServer "PVDZ_send"; - }; - - [player,"hit",0,false] call dayz_zombieSpeak; +_ent = _this select 3; +_rnd = (round(random 9)) + 1; +_move = "ZombieStandingAttack" + str(_rnd); +player playMoveNow _move; +if (!isNull _ent && {player distance _ent < 5}) then { + if (_ent isKindOf "Animal" || _ent isKindOf "zZombie_base") then { + _ent setDamage 1; + } else { + /* PVS/PVC - Skaronator */ + PVDZ_send = [_ent,"Legs",[_ent,player]]; + publicVariableServer "PVDZ_send"; }; - uiSleep 1; - player switchmove ""; -}; \ No newline at end of file + [player,"hit",0,false] call dayz_zombieSpeak; +}; + +uiSleep 1; +player switchMove ""; +s_player_attack = -1; \ No newline at end of file diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 4868b2206..8dfbc3d51 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -189,13 +189,12 @@ if (DZE_NameTags > 0) then { }; if (_isPZombie) then { + if (s_player_attack < 0) then { + s_player_attack = player addAction [localize "STR_EPOCH_ACTIONS_ATTACK", "\z\addons\dayz_code\actions\pzombie\pz_attack.sqf", _cursorTarget, 6, false, true]; + }; if (s_player_callzombies < 0) then { s_player_callzombies = player addAction [localize "STR_EPOCH_ACTIONS_RAISEHORDE", "\z\addons\dayz_code\actions\pzombie\call_zombies.sqf",player, 5, true, false]; }; - if (DZE_PZATTACK) then { - call pz_attack; - DZE_PZATTACK = false; - }; if (s_player_pzombiesvision < 0) then { s_player_pzombiesvision = player addAction [localize "STR_EPOCH_ACTIONS_NIGHTVIS", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 4, false, true, "nightVision", "_this == _target"]; }; @@ -207,7 +206,7 @@ if (_isPZombie) then { // Pzombie Gut human corpse or animal if (!alive _cursorTarget && (_isAnimal || _isMan) && !_isZombie && !_isHarvested) then { if (s_player_pzombiesfeed < 0) then { - s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",cursorTarget, 3, true, false]; + s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",_cursorTarget, 3, true, false]; }; } else { player removeAction s_player_pzombiesfeed; diff --git a/SQF/dayz_code/compile/keyboard.sqf b/SQF/dayz_code/compile/keyboard.sqf index be509fdb6..a07a04681 100644 --- a/SQF/dayz_code/compile/keyboard.sqf +++ b/SQF/dayz_code/compile/keyboard.sqf @@ -259,8 +259,7 @@ if (isNil "keyboard_keys") then { r_interrupt = true; }; if (player isKindOf "PZombie_VB") then { - _handled = true; - DZE_PZATTACK = true; + _handled = true; // do not allow player zombies to vault or jump } else { _nearbyObjects = nearestObjects[getPosATL player, dayz_disallowedVault, 8]; if (count _nearbyObjects > 0) then { diff --git a/SQF/dayz_code/compile/player_checkStealth.sqf b/SQF/dayz_code/compile/player_checkStealth.sqf index c73da4bce..b9e119de6 100644 --- a/SQF/dayz_code/compile/player_checkStealth.sqf +++ b/SQF/dayz_code/compile/player_checkStealth.sqf @@ -7,7 +7,12 @@ _scaleMvmt = 0.2; //0.4; _scaleLight = 0.5; //_scaleAlert = 1; _isPZombie = player isKindOf "PZombie_VB"; -if(_isPZombie) exitWith { DAYZ_disAudial = 0; DAYZ_disVisual = 0; }; +if (_isPZombie) exitWith { + DAYZ_disAudial = 0; + DAYZ_disVisual = 0; + player_zombieAttack = {}; // Other zombies don't attack player zombies + player_zombieCheck = {}; +}; //Assess Players Position _anim = animationState player; diff --git a/SQF/dayz_code/configVariables.sqf b/SQF/dayz_code/configVariables.sqf index 553d20614..72bb44922 100644 --- a/SQF/dayz_code/configVariables.sqf +++ b/SQF/dayz_code/configVariables.sqf @@ -34,7 +34,6 @@ DZE_ForceNameTagsInTrader = false; // Force name display when looking at player DZE_HumanityTargetDistance = 25; // Distance to show name tags (red for bandit, blue for hero, green for friend) DZE_HeartBeat = false; // Enable heartbeat sound when looking at bandit (<= -3000 humanity) up close 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 diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index 3c38399fc..48054fe88 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -172,7 +172,6 @@ if (!isDedicated) then { player_unlockVault = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_unlockVault.sqf"; player_upgradeVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_upgradeVehicle.sqf"; player_vaultPitch = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\vault_pitch.sqf"; - pz_attack = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\pzombie\pz_attack.sqf"; dayz_losChance = { private["_agent","_maxDis","_dis","_val","_maxExp","_myExp"]; diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 670fc43fd..625233155 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -200,6 +200,7 @@ dayz_resetSelfActions = { s_player_packvault = -1; s_player_lockvault = -1; s_player_unlockvault = -1; + s_player_attack = -1; s_player_callzombies = -1; s_player_showname = -1; s_player_pzombiesattack = -1; @@ -646,7 +647,6 @@ if (!isDedicated) then { DZE_6 = false; DZE_F = false; DZE_cancelBuilding = false; - DZE_PZATTACK = false; DZE_TEMP_treedmg = 1; DZE_Surrender = false; DZE_Quarantine = false; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 55bd08757..def083fd0 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -13178,6 +13178,15 @@ Ne pas afficher le nom Nezobrazovat jména + + Attack + Attacke + Атака + Ataque + Aanval + Attaque + Záchvat + Raise Horde diff --git a/SQF/dayz_server/compile/server_playerSync.sqf b/SQF/dayz_server/compile/server_playerSync.sqf index e609383fe..6af979045 100644 --- a/SQF/dayz_server/compile/server_playerSync.sqf +++ b/SQF/dayz_server/compile/server_playerSync.sqf @@ -75,7 +75,7 @@ if (_characterID != "0") then { }; if (_isNewGear) then { - if (typeName _magazines == "ARRAY") then { + if ((typeName _magazines == "ARRAY") && !(_character isKindOf "PZombie_VB")) then { _playerGear = [weapons _character,_magazines select 0,_magazines select 1]; }; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index d2d57d546..adc5243b4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index a3be75c68..c9c2800c2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index 8b74968dc..8d8d89165 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index cc4d7853b..f183398ae 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index a5f0d8e6b..d0eace681 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index 69c43ce40..e2c715dc3 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index 6480e172e..884774021 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index 82d006450..23e93569c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index e9791e370..c48606ff7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 803f5dcc1..99800bbad 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index b25c6844d..f98023645 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 6e14508b3..235c14cbe 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index d5371541a..cf1f9a950 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index 3038868d7..8a6921562 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 21d2bbed7..2e49b24e7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 81e31fcf4..8c8630ec2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf index fed498cd8..0d39b0467 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index 1f5a6e13f..50f8231c2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 0ed4a59b2..37ef1c429 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 309e00d69..6f084ed95 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index abb9ff6a7..022bf06ed 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index c69fe6e31..7192b8c5f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index 7fe594ff1..80620d6e4 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -55,6 +55,7 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone DZE_BuildOnRoads = false; // Allow building on roads DZE_ConfigTrader = true; // Use config files for traders instead of database. Loads faster and uses less network traffic DZE_MissionLootTable = false; // Use custom CfgLoot defined in mission file +DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status DZE_slowZombies = false; // Force zombies to always walk DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects. DZE_GodModeBase = false; // Make player built base objects indestructible