View previous topic :: View next topic |
Author |
Message |
Jad On a Rampage!
Joined: 14 Jan 2007 Location: Heck
|
Posted: Fri Jan 22, 2021 1:50 am Post subject: Playing VOX in a script |
|
|
Is there a way to play a sound as the announcer for a custom gamemode?
Currently I'm using AmbientSound() but it's volume is dependent on the sound slider in options, and there is a separate slider for the announcer.
Perhaps a certain channel is used in PlaySound()? |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Sat Jan 23, 2021 5:00 pm Post subject: |
|
|
I like the idea, but I think there is no chance to do that at the moment.
It's possible to read CVars client-side, but float values are just truncated integer. So a value 0.0-1.0 does not work yet.
I think we can provide a solution for 1.11.
With that it will be possible to do it. |
|
Back to top |
|
|
|