New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPCs responding to sounds. #22710

kevingranade opened this Issue Jan 7, 2018 · 0 comments


2 participants

kevingranade commented Jan 7, 2018

Currently NPCs are effectively deaf, they only respond to visible threats ( see npc::assess_danger() ).

Expected behavior

NPCs respond to sounds, generally treating them as unknown threats. In particular, a large number of unknown sounds should result in the NPC fleeing.

Actual behavior

NPCs are totally unaware of sounds.

Steps to reproduce the behavior

(for convinience consider making player undetectable with debug menu).
Spawn a NPC near a wall.
Spawn one or more hostile zombies on the other side of the wall.
Observe the NPC not reacting to the zombies unless they break through the wall.

This is spawned from #21282, which raises valid issues, but is a bit too broad. It was also derailed by an argument about implementation details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment