Question, how can I drastically reduce zombie spawn rate?

DangerRuss

OpenDayZ Rockstar!
To anyone who has played dayz 1.8.0.3 you'll know how annoying and sensitive the zombies are. At this time its so hard to even complete a mission with in 1km of zombie spawn locations without being swarmed by zombies in no time flat. Ive already customized my loot tables, and Ive drastically lowered the max amount of zombies per each type of building, but that doesn't seem to stop them from constantly generating when players start shooting. Any help with this would be huge, I also think it would help server performance somewhat. Thanks.

As a side note, I do have the zombie_generate.sqf in my mission file but it is currently unedited and I don't know how to edit it properly, or if this is even what Im looking for.
 
You said you lowered per building, but have you lowered per game client?

I lowered them by adjusting variables.

I literally kept having this scene:
051412_0230_ForrestGump1.png


Tons of zombies, no wayto get away lol

If you already have a custom variables.sqf, find these lines:

Code:
//Max local
   dayz_maxLocalZombies = 30; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z
//Current NearBy
   dayz_CurrentNearByZombies = 0;
//Max NearBy
   dayz_maxNearByZombies = 60; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z

dayz_maxLocalZombies = 30 is how many zombies will spawn by each player. I lowered mine to 8, much more playable.
MaxNearByZombies doesn't seem to do anything for me, but i lowered it to 10.


Keep in mind though that this is how many zombies per player. So if you have 3 players running together, they're still going to spawn 3x8=24 zombies.

There are also other variables around those which may control spawn rate and such, but i havent messed with them.

Code:
dayz_monitorPeriod = 0.6; // number of seconds between each player_zombieCheck calls
seems like something to look at. maybe adjust this number to be higher, and see if that increases the time before they respawn.


If you do not already have a customized variables, pull it out of dayz_code/init/variables.sqf
and link to it properly in ini.sqf in the mission folder.
 
Last edited:
You said you lowered per building, but have you lowered per game client?

I lowered them by adjusting variables.

I literally kept having this scene:
051412_0230_ForrestGump1.png


Tons of zombies, no wayto get away lol

If you already have a custom variables.sqf, find these lines:

Code:
//Max local
   dayz_maxLocalZombies = 30; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z
//Current NearBy
   dayz_CurrentNearByZombies = 0;
//Max NearBy
   dayz_maxNearByZombies = 60; // max quantity of Z controlled by local gameclient, used by player_spawnCheck. Below this limit we can spawn Z

dayz_maxLocalZombies = 30 is how many zombies will spawn by each player. I lowered mine to 8, much more playable.
MaxNearByZombies doesn't seem to do anything for me, but i lowered it to 10.

Keep in mind though that this is how many zombies per player. So if you have 3 players running together, they're still going to spawn 3x8=24 zombies.

If you do not already have a customized variables, pull it out of dayz_code/init/variables.sqf
and link to it properly in ini.sqf in the mission folder.

lmfao that picture somes it up. Actually I figured this part out myself, what Im struggling with is their spawn rate and how easily they agro. Someone fires a gun in the woods and zombies from a mile away come a running. Then as soon as you kill one it respawns right away.
 
lmfao that picture somes it up. Actually I figured this part out myself, what Im struggling with is their spawn rate and how easily they agro. Someone fires a gun in the woods and zombies from a mile away come a running. Then as soon as you kill one it respawns right away.


i edited the post since i posted, but maybe you replied sooner.

Have you tried messing with
dayz_monitorPeriod = 0.6; // number of seconds between each player_zombieCheck calls

? Maybe making this a higher number can increase the time before they respawn.
 
Back
Top