From 64216297f85e960f772165c98062d9e845303ea3 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Thu, 23 Jul 2020 16:00:58 +0200 Subject: [PATCH] Increase the range of zombie checks Currently zombies can spawn directly next to the player or in the line of sight. --- SQF/dayz_code/compile/zombie_generate.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/zombie_generate.sqf b/SQF/dayz_code/compile/zombie_generate.sqf index 5151d253c..3bc40745a 100644 --- a/SQF/dayz_code/compile/zombie_generate.sqf +++ b/SQF/dayz_code/compile/zombie_generate.sqf @@ -9,7 +9,7 @@ _isWreck = _this select 3; if (surfaceIsWater _position) exitWith { diag_log "Zombie_Generate: Location is in Water Abort"; }; -if (([_position, 15, 10, 70] call fnc_fieldOfView) || {_isWreck}) then { +if (([_position, 30, 10, 200] call fnc_fieldOfView) || _isWreck) then { if (count _unitTypes == 0) then { _unitTypes = getArray (missionConfigFile >> "CfgLoot" >> "Buildings" >> "Default" >> "zombieClass");