[HBQ] Light Ambient Zombie Spawner
Reupload: couldn’t upload update
Credits to the owner
Simply sharing this composition with what I use in tandem with either Misery or Vandeanson 3.0. works on other game modes aside from survival sandboxes.
(Lighter composition: will only use Z&D,Necro,Ravage )
Included in the setup: 900 second/15:00 minute wave respawn. low rate probability 0.1/0.4 intended for my potato regular zeds 45, 500. bosses 700, 2500. (configurable) ambiance.
the zombies from ravage & necroplague can be customized; change their outfits,equipment backpacks, ammo, grenades, guns in backpack. this setVariable ["BIS_enableRandomization", false]
Added attachTo command to have the spawner on the player everywhere you go. To give the player the feeling of being hunted. [SP] HBQ_Hunted attachTo [this, [0,0,0]];
Add: this into a (HBQ Spawner Advanced Settings) scroll all the way down and look for Infantry Group init add this in there for randomization of zombie gear. added persistent faces. there’s a bit of a delay when they spawn once they do it should be added. (Z&D,Max Zombies, Ravage, Necroplague, WBK) Z&D attacks get broken when using custom clothing. they walk run but attack breaks them
Added: not perfect zombies from Ravage and WBK don’t target each other mostly and flee from one others zombie walker avoids getting into confrontation and flees preserving it’s likehood of its survival for more worthy flesh
{
private _spawnGearChance = 100;
private _uniforms = ["U_WSCU_BLK"];
private _facewear = ["G_Shades_Black", "G_Bandanna_blk", "G_Aviator"];
private _headgears = ["SCU_ECH_hitam"];
private _vests = ["SCU_CarrierRig_BLK"];
private _backpacks = ["B_AssaultPack_rgr", "B_Kitbag_mcamo", "B_Carryall_oli"];
private _nvgs = ["NVGoggles", "NVGoggles_INDEP", "NVGoggles_OPFOR"];
private _faces = ["female_03", "female_05", "female_01", "female_06", "female_02"];
private _randomFace = selectRandom _faces;
_x setFace _randomFace;
_x setVariable ["zombieFace", _randomFace];
if ((random 100) < _spawnGearChance) then {
private _chanceUniform = 100;
private _chanceFacewear = 55;
private _chanceHeadgear = 30;
private _chanceVest = 40;
private _chanceBackpack = 0;
private _chanceNVG = 1;
if ((random 100) < _chanceUniform) then { _x forceAddUniform (selectRandom _uniforms); };
if ((random 100) < _chanceFacewear) then { _x addGoggles (selectRandom _facewear); };
if ((random 100) < _chanceHeadgear) then { _x addHeadgear (selectRandom _headgears); };
if ((random 100) < _chanceVest) then { _x addVest (selectRandom _vests); };
if ((random 100) < _chanceBackpack) then { _x addBackpack (selectRandom _backpacks); };
if ((random 100) < _chanceNVG) then { _x linkItem (selectRandom _nvgs); };
};
_x addEventHandler ["Killed", {
private _unit = _this select 0;
private _face = _unit getVariable ["zombieFace", ""];
if (_face != "") then {
_unit setFace _face;
};
}];
} forEach units spawnedGroup;
private _zombieClasses = [
"zombie_walker",
"zombie_runner",
"zombie_bolter",
"Zombie_O_Shooter_NATO",
"Zombie_O_Shambler_NATO",
"Zombie_O_RC_NATO"
];
{
private _unit = _x;
private _type = typeOf _unit;
if (_type in _zombieClasses) then {
_unit setCombatMode "RED";
_unit setBehaviour "COMBAT";
_unit setSpeedMode "LIMITED";
_unit setUnitPos "UP";
_unit setVariable ["isZombie", true, true];
[_unit] spawn {
params ["_z"];
while {alive _z} do {
private _dir = random 360;
private _dist = 10 + random 20;
private _pos = _z getPos [_dist, _dir];
_z doMove _pos;
sleep (10 + random 10);
};
};
[_unit] spawn {
params ["_z"];
while {alive _z} do {
private _target = _z findNearestEnemy _z;
if (!isNull _target) then {
if (_target getVariable ["isZombie", false]) then {
_z doTarget objNull;
_z doFire objNull;
_z setVariable ["RVG_zombie_target", objNull, true];
_z setVariable ["WBK_ZombieTarget", objNull, true];
_z setBehaviour "SAFE";
} else {
_z setBehaviour "COMBAT";
};
};
sleep 1;
};
};
};
} forEach units spawnedGroup;
Pick and choose or use them all together:
Max Zombies: https://steamcommunity.com/sharedfiles/filedetails/?id=1453853092&searchtext=Max+Zombies
Ravage Zombies: https://steamcommunity.com/sharedfiles/filedetails/?id=1376636636&searchtext=Ravage
Webknight’s Zombies: https://steamcommunity.com/sharedfiles/filedetails/?id=2789152015&searchtext=Webknight
Devourking’s Necromutants: https://steamcommunity.com/sharedfiles/filedetails/?id=2616555444
Remnants Phantoms: https://steamcommunity.com/sharedfiles/filedetails/?id=2246749181
Blackwatch Prototypes: https://steamcommunity.com/sharedfiles/filedetails/?id=3118356607
Stalker Mutants: https://steamcommunity.com/sharedfiles/filedetails/?id=3381640944
Aftermath Creatures: https://steamcommunity.com/sharedfiles/filedetails/?id=3115574550
Skeletons Wizards: https://steamcommunity.com/sharedfiles/filedetails/?id=2857072858
Zombies and Demons: https://steamcommunity.com/sharedfiles/filedetails/?id=501966277
Required items:
Click the title to search on this site.
HBQ_SpawnSystem — Steam Workshop
CBA_A3 — Steam Workshop