Fizzlers On/Off Question

Avatar
lotsafish
17 Posts
Posted Aug 09, 2011
Hi All,

I am currently trying to make a room where there are fizzlers that turn on for a few seconds and then turn off for a few secs and so on. I suspect it needs to be done with a logic_branch or logic_timer but I'm not sure how to set it up. I also dont know if I should use the Fizzler Instance or make it up myself with the props and a fizzler brush...

Lets imagine four fizzlers in a row. Fizzler on = 1 Fizzler off = 2

The first state of the four should be: 1 2 1 2 and the second state should be: 2 1 2 1

and they should start this from the start of the map, so logic_auto - onmapspawn I assume.

Any help would be appreciated. :notworthy:

Fish

Advertisement
Registered users don’t see ads! Register now!
Avatar
Vordwann
767 Posts
Posted Aug 09, 2011
Replied 9 minutes later
so if you want them to oscillate, say, every 2 seconds, then just set up the four fizzers. Make two of the four start enabled and 2 of the four start disabled. Then, make a logic timer. In the flags, click the only one, oscillate. Set it's time to 2 in the keyvalues and then have it toggle the states of all four fizzlers every time the timer relays.
Avatar
lotsafish
17 Posts
Posted Aug 09, 2011
Replied 4 minutes later
Excellent - thanks! I'll give this a go when I get home.
Avatar
ChickenMobile
2,460 Posts
Posted Aug 09, 2011
Replied 4 hours later
You could use a logic Timer that 'tests' a logic branch with a value of 1 or 0.

If there is a 'toggle' input for the fizzler, then even better.

Avatar
Vordwann
767 Posts
Posted Aug 09, 2011
Replied 13 minutes later
Yeah I'm hoping there's a toggle.
Avatar
iWork925
1,080 Posts
Posted Aug 09, 2011
Replied 5 hours later
It sure does.
Avatar
Brainstone
401 Posts
Posted Aug 10, 2011
Replied 21 hours later
You could also use "onTimerHIgh" and "onTimerLow".
Set onTimerHigh: FizzlerA +C turnOff; FizzlerB + D turnOn
onTImerLow: FizzlerA +C turnON: FizzlerB + D turnOff

And set "StartActive" to yes.

Avatar
Vordwann
767 Posts
Posted Aug 10, 2011
Replied 15 minutes later
That is EXACTLY what I meant. I even had a setup like that in my map. lol
Avatar
lotsafish
17 Posts
Posted Aug 17, 2011
Replied 7 days later
I've tried playing around with the above and it doesn't seem to work for me -I've attached the VMF if someone has the time to check it out and see what I'm doing wrong?

Cheers all.

Attachments
test_room.vmf
0.02 MB 38 downloads
Avatar
Vordwann
767 Posts
Posted Aug 17, 2011
Replied 2 hours later
if someone, by chance, can't get it to work in 2 days, i'll be able to help you.
Avatar
Skotty
671 Posts
Posted Aug 18, 2011
Replied 14 hours later
There your corrected fizzlers are.

You made a mistake: You didn't disable the fizzlers. Once they were on, they kept being enabled.

Attachments
test_room.vmf
0.03 MB 38 downloads
Advertisement
Registered users don’t see ads! Register now!
Avatar
lotsafish
17 Posts
Posted Aug 18, 2011
Replied 20 minutes later
Good man! thanks very much - I'll give it a shot after work