by Hikarikaze » 10 March 2018, 20:18
Gunshot sounds can just be made to be louder or quieter depending on distance with suppressors reducing the minimum range that the weapon can be heard from. It's just a matter of "if player a is b distance from player c, change weapon volume to x%." Audio should also be panned towards the direction of the character shooting to make this work better since all of the audio currently is centered. It's hard to locate someone with centered gunshots. Volume would show distance; audio panning would show direction
Probably not that hard to implement. As for synchronization issues, the game could just keep constantly checking for distances and calling those distances out between clients/entities instead of having a non-constant either-or state like doors (open or closed). The soundscape/audio needs to be reworked first for this idea to work