Ambient_generic ONLY during "waiting for players"?

bkb

L1: Registered
Feb 11, 2008
12
2
Hey all.

I'm trying to get an ambient generic sound to play during the "waiting for players" but then I DON'T want it to play when the round begins..

I can get the sound to play just fine, but I can't get it to NOT play when the round begins. I've tried using setup time inputs to turn it off and it won't work. (I don't want a setup time, but I tried a 1 sec setup to see and it didn't work anyway).

Any ideas? Kinda stuck on this one.. :confused:
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
so...you don't want a setup...so...shouldn't you just be able to have the team_round_timer send an onRoundStart, disable output to the ambient generic?
Or you could try adding a logic relay into that, have the timer trigger the logic relay which disables the ambient generic onRoundStart?
 

bkb

L1: Registered
Feb 11, 2008
12
2
Yeah I tried to stop sound with onroundstart like you mentioned.. but it doesn't work. What happens then is, no sound at all. I guess "waiting for players" is roundstart as well? i dunno.

Logic relay? Haven't used that one yet. :p
 

Uriak

L8: Fancy Shmancy Member
Apr 27, 2008
543
70
Try shutting down the ambient generic via the On1sRemain of tf_timer. (put a 2s setup)

And logic_relay is your best friend. Ever. This baby avoided me at least one hundred ouput typing in snaketemple
 

Apom

L6: Sharp Member
Sep 14, 2008
366
65
My suggestion (entirely not tested, just something I thought about) would be to use a math_counter. Increment it by one on round start (which, as you properly deduced, is activated during the waiting time). Whenever it reaches the value 2, disable the ambient_generic. This could hypothetically work.
 

Big Lou

L3: Member
Mar 17, 2008
120
27
Do this if you aren't using setup time already:

Set it to play on map load. Then, create a setup timer of .1 seconds. Have it disable after setup time.