Team Voice Chat

Been looking around, not sure how i’d do this. I want to make it so anyone on a certain team can hear their teammates voices if they have voice chat enabled, just like a Call of Duty lobby. Is there a way I can do this?

15 Likes

I don’t think thats possible currently… VoiceChatService is a bit barebones right now.

9 Likes

bringing this post back, would this be possible with the new audio instances added in the beta audio api update?

1 Like

That’s seemingly impossible to do maybe you can see it on yourself

As far as I know, when you playtest a game with VoiceChatService enabled, there’s an AudioDeviceInput object on each player, and an AudioDeviceInput.Muted property. Therefore having a channel with specific players might be possible by just muting players via a script.

2 Likes

interesting, is there a range property with the voicechat yet?

I don’t see any properties for range yet in the new Audio objects.

1 Like

You can easily do this with the new Audio API. You can rewire voices to be heard directly into people’s output.

Not a thing (yet?). You can create your own sorta drop-off using your own code, values and equalizers.

1 Like