Forum

stuffcmd-ing sounds

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

stuffcmd-ing sounds

Postby DusterdooSmock » Mon Feb 07, 2011 6:32 pm

If, a sound is currently being played via stuffcmd, and while the first one is playing, another sound is played via stuffcmd aswell, will the first one get muted and only play the second one, or will it play both sounds?
DusterdooSmock
 
Posts: 170
Joined: Thu Aug 19, 2010 9:58 pm

Re: stuffcmd-ing sounds

Postby Chip » Mon Feb 07, 2011 9:15 pm

DusterdooSmock wrote:If, a sound is currently being played via stuffcmd, and while the first one is playing, another sound is played via stuffcmd aswell, will the first one get muted and only play the second one, or will it play both sounds?


Taking into account it only takes one function to test it by running it twice in the game, after compiling the QC source code, why don't you try it?

I don't know the answer but I'd definitely try it before asking.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby Spike » Mon Feb 07, 2011 9:49 pm

if its played by stuffcmd you can always bind it to a key to test
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: stuffcmd-ing sounds

Postby Nahuel » Mon Feb 07, 2011 9:58 pm

I think it would play the two if they are on different channels. You can put them in different channels in the code
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: stuffcmd-ing sounds

Postby DusterdooSmock » Tue Feb 08, 2011 1:21 am

Chip wrote:
DusterdooSmock wrote:If, a sound is currently being played via stuffcmd, and while the first one is playing, another sound is played via stuffcmd aswell, will the first one get muted and only play the second one, or will it play both sounds?


Taking into account it only takes one function to test it by running it twice in the game, after compiling the QC source code, why don't you try it?

I don't know the answer but I'd definitely try it before asking.


I would have liked to try it, but i was at school at the time this was posted...
DusterdooSmock
 
Posts: 170
Joined: Thu Aug 19, 2010 9:58 pm

Postby Mexicouger » Tue Feb 08, 2011 1:39 am

They do get over ridden
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby leileilol » Tue Feb 08, 2011 2:07 am

stuffcmding sound puts it on CHAN_AUTO iirc. They will not override
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Mexicouger » Tue Feb 08, 2011 2:52 am

Over Rides for me. Has its ups and downs
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Postby DusterdooSmock » Thu Feb 17, 2011 6:26 pm

Mexicouger wrote:Over Rides for me. Has its ups and downs
Like what?
DusterdooSmock
 
Posts: 170
Joined: Thu Aug 19, 2010 9:58 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest