Page MenuHomeFeedback Tracker

Mostly female infected in towns (DayZ 1.06)
Assigned, NormalPublic

Description

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.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
AI Issues
Steps To Reproduce

Observe the infected in any larger town. The only males you'll see will be industrial, military or police. The civilians are all females...

Additional Information

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

Event Timeline

Beavis created this task.Dec 6 2019, 10:16 AM

This is still the case in the latest stable build, 1.06.152859.

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.

Beavis changed Severity from Minor to Major.Jan 13 2020, 12:08 PM

Changed Severity since I suspect this bug applies anywhere something is randomly picked from a list.

Beavis added a subscriber: Geez.Jan 28 2020, 11:10 AM

@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.

Beavis added a comment.EditedApr 25 2020, 8:30 PM

@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.

Geez changed the task status from New to Assigned.Apr 27 2020, 3:14 PM