PatchNotes_1.20 - ysaroka/InediaInfectedAI GitHub Wiki
☑️ 1) Now infected can hear frequent suppressed gunshots much better. To avoid being heard, shoot with a suppressor no more than once every 5 seconds.
Before this change, infected could barely hear shots from the "MKII" and "AS VAL" and would stop reacting to any suppressed gunfire when in an agitated state because the vanilla suppression irritation mechanic would no longer affect them.
To address this, a new mechanic was added: if a suppressed shot is fired more frequently than once every 5 seconds (adjustable via the SuppressorShotCooldownSeconds parameter), infected will hear it regardless of the weapon type. However, the hearing radius still depends on the weapon type but cannot exceed 120 meters.
The vanilla mechanic of attracting infected by suppressed gunfire still works, so they will react to such shots from powerful weapons even on the first shot. This new mechanic was introduced to eliminate the imbalance of extremely quiet weapons, such as the "MKII" and "AS VAL", while preserving all the advantages of using a suppressor when firing infrequently.
This mechanic can be completely disabled by setting SuppressorShotCooldownSeconds to "0", reverting to the old behavior. However, I do not recommend this, as it creates situations where infected in an agitated state do not react to the player at all when firing suppressed weapons, which can be abused.
https://github.com/ysaroka/InediaInfectedAI/wiki/Description#suppressorshotcooldownseconds
☑️ *) Fixes + Rebalance:
- Now, the character stun animation will not be triggered when the character is swimming or inside a vehicle, and it will also not be triggered when the character is on a horse (DayZ-Horse mod).
- The actions of lighting a campfire and cooking food on a stick have been added to the list of actions that do not cause shock damage when the hands are injured.
- The phrase "You need to remove the bandage first." has been replaced with "You need to remove the bandage first (look down with empty hands)." in all languages to make it clearer for new players how to remove the bandage.
- A minor optimization of the functionality that prevents a bug where an infected starts running in circles, ignoring the player and the navigation mesh. The bug is extremely difficult to reproduce, so I couldn't determine its exact cause. However, it seems to be related to the vanilla obstacle-jumping mechanics, which conflict with something. During testing, I was unable to reproduce this bug, so I hope it's finally resolved.
- Fixed a bug where a player in god mode received pain system debuffs during a car crash and in some other situations.
- Fixed a bug where the player's arms would not break when punching with bare hands or trying to remove handcuffs and other restraining items.
- The pain threshold after which the possibility of receiving a deep wound from explosions is increased from 3% to 10%, which will prevent deep wounds from weak explosions, such as flash grenade explosions.