Hello,
I’m trying to add attenuation & effects to my VOIP audio for a multiplayer game, I’ve based my implementation on documentation and tutorials that I’ve found online, but for some reason it fails to work at all. Not only is there no attenuation whatsoever, but there are no effects either.
The way I implement it is simple, I just set the VOIP Configuration variable. In theory, this is all that is needed to get it to work, at least according to all the info I’ve found online.
I also have a push-to-talk radio that adds a bit crush effect and high pass filter. When you press X, it removes the attenuation and adds the effect, when released, it does the opposite.
Here is my full implementation.
(Update: I noticed that this image was compressed beyond readability, here is a link to the raw 500kb image)
It’s a pretty standard thing, in my Player Controller I create the VOIP, register it, set a threhold (based on an int from the game settings), set an origin for attenuation (when a player spawns, it overwrites it with a more accurate location), and tell it to enable speaking via a command. Proximity chat is the default, so push-to-talk is opt-in.
I’ve scoured the whole internet (not very well, since search engines have been useless for the past few years) and found no explanation as to why neither my attenuation or effects aren’t working.
The attenuation is set to 2.5m inner, 25m max. But it seems to be 2D audio…
The effect should also be quite noticeable, but the audio quality does not change when using the in-game radio…