Set version to be 4.0.0 to reflect the number of changes. from SAIN 3.3
New from previous build:
Presets from previous versions are NOT COMPATIBLE, but I'm too lazy to force it to not load old presets. (if you used 3.4.0 rc1 its probably fine though)
Rewrote pathfinder script. Improved bot sprinting. Fixed a bunch of small issues all over the place.
Fixed issue causing bots to be unable to find cover sometimes.
Fixed (for real this time) bots seeking enemies while they are healing in dogfight mode.
Improved bot reactions to grenades, including their own grenades (not perfect but the entire system should be redone)
Rewrote how audible distance of footstep sounds is calculated, should be more closely aligned with how it sounds to players.
Fixed bots standing still in "Stand and Shoot" layer even when they gun ran out of ammo.
Previous patch notes:
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.