Voice chat
OPP works with Simple Voice Chat (SVC) when it's installed. SVC is optional. Without it, the voice conditions are false.
| Id | Kind | Needs SVC? |
|---|---|---|
voice_installed | entity condition | yes |
voice_mic_disabled | entity condition | yes |
is_talking | entity condition | yes |
is_whispering | entity condition | yes |
in_voice_group | entity condition | yes |
in_same_voice_group | bi-entity condition | yes |
in_voice_range_of | bi-entity condition | yes |
is_broadcasting_voice | entity condition | no (it reads OPP's own state) |
is_muted_voice | entity condition | no (it reads OPP's own state) |
is_deafened_voice | entity condition | no (it reads OPP's own state) |
start_broadcast_voice | entity action | to be heard, yes |
stop_broadcast_voice | entity action | no |
/oppvc | command | to have an effect, yes |
How it works:
- What OPP knows. OPP listens to SVC on the server: who is connected, who sent microphone audio recently, and who is in which group. SVC settings and group membership stay under the players' control.
- Broadcast sends a player's voice, as non-positional audio, straight to chosen listeners anywhere on the server. Listeners also hear normal nearby and group audio.
- Forced mute drops a player's microphone audio before SVC passes it on, so nobody hears them nearby, in groups, or through a broadcast.
- Forced deafen stops all voice audio from reaching a player.
- Broadcasts, mutes and deafens end when the server restarts.
All of these are also attributes (is_whispering is is_whispering_voice), so client-side checks can use origins:attribute.