ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Playing VOX in a script

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Wad Editing
View previous topic :: View next topic  
Author Message
Jad
On a Rampage!


Joined: 14 Jan 2007
Location: Heck

PostPosted: Fri Jan 22, 2021 1:50 am    Post subject: Playing VOX in a script Reply with quote

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
View user's profile Send private message Visit poster's website
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Sat Jan 23, 2021 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Wad Editing All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group