1. #1

    How do you create a lightning/ thunder effect?

    How do you do that? Not an actual lightning bolt but just where the world lights up like 2 times quickly. Like 2witchy did on his track tough mudder: http://www.youtube.com/watch?v=XzkuuwTZ2MU
    Share this post

  2. #2
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How do you create a lightning/ thunder effect?

    you first need a work light 2. attach a light source to it and put the source on toggle.. then,what i do is ,attach 2 interval triggers to the light source,but remember to disable after 2 impulses.uncheck the enable so they are off... i then place area triggers at the point i want the flashes to happen.and attach this to a state event.(on).just fiddle with the interval times to get realistic lightning, and also the work lights will need adjusting....the light intensity in the propeties needs to be at 50 and the range should be higher..maybe change the colour too.
    if you wanted the thunder sound too, then just use the sound source to the thunder sound...you should attach the sound source event/filter to the light srource,or vice versa.


    there are other ways,nut this works fine for me...check out my track' up the creek 'to see...

    i hope you can understand my method..im not the best at explaining...
    Share this post

  3. #3
    Morfyboy's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    UK
    Posts
    8,183

    Re: How do you create a lightning/ thunder effect?

    area trigger----state event(0n) ----- 2 times interval triggers(enabled off) max impulse count to 2----sound event on(slect event/filter) and attach to light event(toggle and enabled) ---- attach to a work lamp...also attach the soung source to the thunder strike near.
    Share this post

  4. #4

    Re: How do you create a lightning/ thunder effect?

    Thanks dude I'll try that.
    But just a question. Can I not use the work light but rather the area condition?
    Share this post

  5. #5

    Re: How do you create a lightning/ thunder effect?

    Originally Posted by cristan10
    Thanks dude I'll try that.
    But just a question. Can I not use the work light but rather the area condition?
    Changing the lighting for the whole game world quick enough to look like a lightning strike could cause performance issues, but it's worth a try.
    Share this post

  6. #6

    Re: How do you create a lightning/ thunder effect?

    It's an Area Conditioner in the common section you need, and you need to make the area bigger than the whole track and everything has to be white, and enabled off so when you use state events it turns it on and off twice by using delay events, you need an angle X linked to the rider and a randomiser set from 5 to 15 so it turns the effect on and off at random times between then so it's not the same. I'll go look at it properly soon. I have it in a couple of my tracks already.
    Share this post

  7. #7

    Re: How do you create a lightning/ thunder effect?

    Originally Posted by NovaDarkStorm
    It's an Area Conditioner in the common section you need, and you need to make the area bigger than the whole track and everything has to be white, and enabled off so when you use state events it turns it on and off twice by using delay events, you need an angle X linked to the rider and a randomiser set from 5 to 15 so it turns the effect on and off at random times between then so it's not the same. I'll go look at it properly soon. I have it in a couple of my tracks already.
    What is an angle x and a randomizer ?
    Share this post

  8. #8
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: How do you create a lightning/ thunder effect?

    Originally Posted by cristan10
    Originally Posted by NovaDarkStorm
    It's an Area Conditioner in the common section you need, and you need to make the area bigger than the whole track and everything has to be white, and enabled off so when you use state events it turns it on and off twice by using delay events, you need an angle X linked to the rider and a randomiser set from 5 to 15 so it turns the effect on and off at random times between then so it's not the same. I'll go look at it properly soon. I have it in a couple of my tracks already.
    What is an angle x and a randomizer ?
    Angle X: Object info data source angle X targeting the rider
    Randomizer: Random data source
    Share this post

  9. #9

    Re: How do you create a lightning/ thunder effect?

    I got everything except the position x and data source thing, can you explain a bit more? Where im at now is that I have an area trigger that I connected to a state event, connected to a interval trigger then to a delayed impulses then to another state event that is connected the area condition ( Which bigger then the track) The result is lightning about 4 sec after hitting the area trigger. So how do I make it random? And how do I connect the sound to it if it's random?
    Share this post

  10. #10
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: How do you create a lightning/ thunder effect?

    The (angle X) object info data source simulates at which (global) degree the rider is and this is now just used for the seed of the random data source to have it FULL radom, but it's not really necessary.

    The random data source makes random values, and you'll need it from 5 to 15 (the interval time, you can also turn both up if you want longer delays), as Nova said.

    1. Choose the target by the Object info data source to the rider
    2. Connect the seed by the Random data source to the Object info data source.
    3. Connect the interval by the Interval trigger to the random data source.

    This should produce random lightning flashes.
    Share this post