[SOLVED] Flickering light - sync every entity
Quote from Konke on June 13, 2015, 11:00 amI was wondering if you'd share some knowledge on how to make light flicker correctly. At the moment I use the following entities:
* prop_static (lamp model)
* light_spot
* lightI'd like to sync everything so the entities turn on and off exactly at the same time, perhaps even add some sound effect to it. How would you do that?
I was wondering if you'd share some knowledge on how to make light flicker correctly. At the moment I use the following entities:
* prop_static (lamp model)
* light_spot
* light
I'd like to sync everything so the entities turn on and off exactly at the same time, perhaps even add some sound effect to it. How would you do that?
Quote from josepezdj on June 13, 2015, 2:31 pmA logic_timer will help you out.
A logic_timer will help you out.
Quote from Konke on June 13, 2015, 5:23 pmjosepezdj wrote:A logic_timer will help you out.Thanks! Works exactly as I intended.
Thanks! Works exactly as I intended.
Quote from Konke on June 14, 2015, 6:21 amOh, one more thing. How'd you solve this problem: let the light be lit most of the time with minor flickering at times.
At the moment I've set the oscillator option with high and low values. This makes the light turn on and off randomly. In theory it'll be 50/50 in the long run. I'd want it to be more like 80/20.
Oh, one more thing. How'd you solve this problem: let the light be lit most of the time with minor flickering at times.
At the moment I've set the oscillator option with high and low values. This makes the light turn on and off randomly. In theory it'll be 50/50 in the long run. I'd want it to be more like 80/20.
Quote from Idolon on June 14, 2015, 9:18 amlogic_timers have inputs that let you change the upper/lower bounds of the random value. Have the OnTimerHigh/Low outputs tell itself to change the bounds back and forth between the two random timing ranges you want. I've found that this sometimes acts a bit weird, so you might have to switch some things around before it works the way you want.
logic_timers have inputs that let you change the upper/lower bounds of the random value. Have the OnTimerHigh/Low outputs tell itself to change the bounds back and forth between the two random timing ranges you want. I've found that this sometimes acts a bit weird, so you might have to switch some things around before it works the way you want.