Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upReduce noise from other z-levels #21400
Conversation
This comment has been minimized.
This comment has been minimized.
|
20 is quite a lot. I was thinking more like 5 or so. |
nornagon
force-pushed the
nornagon:sound-z-levels
branch
to
13119c3
Jul 10, 2017
This comment has been minimized.
This comment has been minimized.
|
Updated to 10. |
This comment has been minimized.
This comment has been minimized.
|
Rationale [copied from #14123]: Since the sound code doesn't take into account any terrain at all, there's not any obvious place to differentiate between "an NPC on the 2nd floor of a building with an open window" and "a soldier ant with 6 feet of dirt between it and the surface". Given almost all sounds from another level right now are in the latter category, more or less, would it make sense to simply count each Z level difference between the source of the sound and the player as something like 20 tiles of X/Y distance? |
nornagon commentedJul 9, 2017
Closes #14123.