There is something up with the mechanic that randomises which zombie model to spawn, in areas where infected of the "city" type spawn you only get female zombies. Elektro, Berezino and Chernogorsk are flooded with very angry women.
- Operating System
- Windows 10 x64
- AI Issues
Observe the infected in any larger town. The only males you'll see will be industrial, military or police. The civilians are all females...
My hobby theory is that the randomisation script for some reason only picks from the first 10-20 infected in the list of zombie models. The city list is by far the longest, and females are listed first (f comes before m), so you only get the ladies. Look at the zombies that come running in the second part of this video. https://www.youtube.com/watch?v=aJ6ThP4ebI8
I have done some more testing concerning this issue, and it seems whatever script/funcion calls for random children to spawn favours the uppermost entries in the list, making the lower entries less and less likely to appear the further down the list you go. The infectedcity list is the longest (62 iirc, 30 female and 32 male) and since all the females are listed first (zmbf comes before zmbm alphabetically) the males will practically never appear. This is the case on all servers, but more apparent where infected count has been increased. When I mixed the list so one line is a zmbf and the next a zmbm, the next a zmbf and so on, I got zombies of both sexes.
@Geez sorry for pinging, but it is almost two months since I wrote this ticket and I'm curious to know if there really is an issue or if I have buggered up my config somehow. I am almost 100% sure there is a problem with whatever function picks random children to an event, but confirmation would be nice.
@Geez This issue is still happening. As I said above I shuffled the infected_city type to get a mix of both genders in towns. I checked the server report with statistics and there it is in plain black and white.
If the min="5" value for each child in the infected_city event is a perecentage that would explain this. Each child is set at 5% but there is much more than 20 children. You see in the log that after the 20th child entry none of the city zombies are spawning. See the attached document.
@Geez Okay, after I changed the min="x" value to other values adding up to exactly 100 across all children listed for each zombie event, I did get all the various children to spawn.
I suppose this is due to a copy/paste error at some point, I suggest the public server files are updated so around 70 percent of the city infected type are not omitted by servers! The same needs to be done with several of the other infected types, they follow the same pattern but it is not as visible due to fewer children to pick from. Once the total sum of the values in min="x" go beyond 100, the children will not spawn.
This bug is still at large in 1.09 experimental, in any area where the zombies are of the "city" type, you will only see female infected, with the exception of other specific types (police, firefighter, medical etc).