8 Replies Latest reply on May 25, 2016 5:30 AM by Spieleabend

    How to make a flickering light with random on/off?

    MrGrunt261a

      Pretty much what the title says, flickering lights/light that just dosnt go on and off but like flickers fast then stays on then flickers out yadda yadda. could someone send a screenshot with the setup if possible?

      Metal Horns Emote if you do

        • 1.
          Pvt_Warbear

          I was trying to do the same thing. I stumbled on a way by accident. I'll post the logic when I get home.

          • 2.
            Spieleabend

            that's pretty easy:

             

            DOOM_20160524001405.png

             

            Activator is Game start in this case , but can be any other activator. In the Repeater Setting you can configure how fast the light flickers

            If you want a constant on/off  (for alarm lights maybe) instead of a random on/off than you have to take a sequencer instead of the randomizer

             

            you can also take the repeater out of this setup and link both outputs of the randomizer to itself and setup a delay. so the logic get's little bit "smaller"

            The advantage of the second method is, you can do one state a little bit more likely to happen.

             

            for example if you want the light to be ON a little bit more likely than to be OFF then just setup the delay off the output that turns the lights off to 0.1 seconds for example and the other one to 0.2 when you link them back to the randomizer

            • 3.
              MrGrunt261a

              thanks bro, its going in now

              • 4.
                MrGrunt261a

                *Metal Horns*

                • 5.
                  Pvt_Warbear

                  Spieleabend, I tried to reproduce your method, and it didn't seem to work.

                   

                  I stumbled onto a simpler way that produces random flickers:

                   

                  flickering lights.jpg

                   

                  You can adjust the time the light stays on by changing the Delay on the Repeater. More delay equals more time the light is on.

                   

                  All other delays are set to 0.0, except the Disable delay, which is set to 1.0

                  • 6.

                    Here's a video tutorial on how to make a randomly flickering light for a decent effect.

                     

                    Sourced from here: Flickering light tutorial - Doomworld Forums

                     

                     

                    - Hyp3rion

                    • 7.
                      Pvt_Warbear

                      Wow, that's a great video, thanks for doing it.

                      • 8.
                        Spieleabend

                        nice video man, that's also a very good method to do a flickering light with a lot more possibilities to change settings. maybe i will take this into my tutorial map i am currently working at