My changes to zombie spawns have made DayZ better IMHO, but have not achieved everything that I wanted. My changes so far include: increased number of zombies per spawn, increased spawn radius, elimination of multiple players increasing the number spawned, "safe zone" around a player once cleared, and zombies spawning while players are in vehicles.
With these changes one issue I am having is delayed spawning of zombies. I think this might be caused by the player_spawnCheck.sqf using timers and "spawn buildings_spawnZombies". I want to simplify the code by removing all of the timer, waitUntil's, and the change from SPAWN to CALL on the buildings_spawnZombies.
Instead I want a check on the "building" to see if the number of zombies within a certain radius is less than a certain amount, and, if so, call buildings_spawnZombies (assuming a player is within range).
It looks like I can just comment out most of the stuff relating to zombies in buildings_spawnZombies, add a line to check the number of zombies in whatever radius, and do an if/then based on that number. I would appreciate any input on this from a scripting standpoin.
With these changes one issue I am having is delayed spawning of zombies. I think this might be caused by the player_spawnCheck.sqf using timers and "spawn buildings_spawnZombies". I want to simplify the code by removing all of the timer, waitUntil's, and the change from SPAWN to CALL on the buildings_spawnZombies.
Instead I want a check on the "building" to see if the number of zombies within a certain radius is less than a certain amount, and, if so, call buildings_spawnZombies (assuming a player is within range).
It looks like I can just comment out most of the stuff relating to zombies in buildings_spawnZombies, add a line to check the number of zombies in whatever radius, and do an if/then based on that number. I would appreciate any input on this from a scripting standpoin.