I think it would be pretty cool to have a VOIP attached to player characters with the ability to communicate would really help out teamwork and make it more fun. I was thinking this could probably be modded in using steam API, but why not add it as part of the base experience
partner.steamgames.com
Steam Voice (Steamworks Documentation)
- Capture the audio input stream
- Compress the stream
- Send the compressed audio over the network (peer-to-peer) to all player agents in range. (unless that player has muted you, or has VOIP off)
- Decompress the audio on the other end and create a sound source at the agents head bone in game.
- Set the sound source volume based on the distance from the player
- Teamwork!
