Search logic [1.5.1/1.5.2]
This mod will fix the behavior of NPCs when they don't see a hidden sniper.
Testing the Ghillie Suit Overhaul mod, I found an unpleasant feature in the behavior of NPCs, when they do not see the shooter, they get into the animation of looking around and even after receiving a bullet continue to play it.
To correct this misunderstanding, I changed/deleted the lines associated with this animation(threat_danger) and removed the auto-targeting of the sight on the player(by chance, they can still immediately look in the right direction) As a result, now, if the NPC does not see the shooter, he will be constantly on the move and inspect the area around him.
It works without additional mods, but Stealth or Ghillie Suit Overhaul can be a great addition.
A new game is not required.
*If you use Ghillie Suit Overhaul, I recommend setting the range to 80, and FOV to 100 in the MCM settings.