What scripts effect zombie aggro and spawn rate?

I found a number of script in my DayZ_Code.pbo and was wondering which ones effect the aggro range and spawn rate of zombies. Mostly curious about the spawn rate because they are swarming the second anyone shoots a weapon.
 
The "rate of zombies" is determined by the local players in the area.
It's fairly easy to edit, for it's just in the variables.sqf inside dayz_code.
Code:
dayz_maxLocalZombies = x;
The aggro, I'm not to sure with exactly off the top of my head.
But it may be in the variables.sqf as well, or something similar to effect zombie aggro.
 
It is currently at the following;
Code:
dayz_zSpawnDistance = 1000;
dayz_maxLocalZombies = 40;
Is that 40 zombies per player?
And is dayz_zspawnDistance mean that they will spawn 1000 meters out?! That's absurd, if so.
 
Yes, that means in that local area, if there is one player there will be 40 zombies. if 2 players then 80 zombies.
If I remember correctly, that is the maximum distance zeds can begin spawning
 
Yes, that means in that local area, if there is one player there will be 40 zombies. if 2 players then 80 zombies.
If I remember correctly, that is the maximum distance zeds can begin spawning

So in player_spawnCheck.sqf there is a string in there;
Code:
switch (_nearbytype) do {
    case "NameVillage": {
        //_radius = 100;
        _maxZombies = 10;
    };
    case "NameCity": {
        //_radius = 175;
        _maxZombies = 25;
    };
    case "NameCityCapital": {
        //_radius = 250;
        _maxZombies = 35;
    };
};
Is this relevant at all? Because I don't want one player to have 10 zombies if they are in a large city compared to in a small village. Make sense?
 
So in player_spawnCheck.sqf there is a string in there;
Code:
switch (_nearbytype) do {
    case "NameVillage": {
        //_radius = 100;
        _maxZombies = 10;
    };
    case "NameCity": {
        //_radius = 175;
        _maxZombies = 25;
    };
    case "NameCityCapital": {
        //_radius = 250;
        _maxZombies = 35;
    };
};
Is this relevant at all? Because I don't want one player to have 10 zombies if they are in a large city compared to in a small village. Make sense?


That is the max amount of zombies that will spawn there is no minimum in that, you can further edit the amounts in cfgbuildingloot if you are using custom loot tables as well as the variables starting at line 405.
 
Back
Top