Fixed bots not being able to aim or or down.
Added check to make sure bots are actually pointing their weapon towards where they are aiming or shooting.
When a bot has pointed their weapon towards an enemy and has started aiming, the smoothing value is reduced to assist with target tracking of enemies.
Fixed bots pushing enemies while reloading or out of ammo.
Previous patch notes for SAIN 3.4.0
New:
Silky Smooth bot turning.
Added smoothing to bot movement, leaning, speed changes, and posed changes.
Fixed flashlight detection not working.
Moved all bots in combat to use sain's pathfinder for walking instead of just sprinting.
Greatly increased the amount of suppressing fire from bots. (Not configurable yet)
Added "Strafe Speed" Config option for bot settings. Depending on bot type and difficulty bots will strafe faster or slower.
Rewrote how bots are ticked and initialized.
Fixed a vanilla behavior not being removed from scavs and overwriting sain behavior.
Optimized and refined path visibility system and other multithreaded functions.
Optimized a bunch of random functions based on profiling data.
Added new Hearing sensor that should* both run better and expand functionality.
Added Bot deafening system from gunfire. If a shot goes off close to a bot, they will be partially deaf to quieter sounds such as footsteps.
Added audio masking system (wip) where bots will be unable to hear a sound if they heard something louder than that sound very recently.
The intent is to allow players to use voicelines to cover up the sounds of them healing, but I haven't tested enough to know if this happens consistently.
Added new path visibility system that is multi-threaded. Bots should no longer stare into walls if their enemy is on the other side of it, but rather will look to the place that enemy would appear. (still needs some work, but is mostly functional)
Added multi-threading for bots checking vision and distance to enemy Last Known Positions.
Added new system for bullet fly-by detection on bots that tracks each bullet's real position to see if it comes close to them. (wip)
Fixed:
Everything.
Multiple patches were targeting the wrong methods, and a few were entirely outdated.
Fixed bots teleporting.
Fixed integrated suppressors not counting as being suppressed for bot hearing.
Simplified a bunch of systems that were not working correctly.
And a lot more.