Script_Thunder

Author Topic: Script_Thunder  (Read 3460 times)

Script_Thunder

This is a script I made that adds thunder to your server!
Preview:

The sound is taken from General Nick's thunder sound pack on rtb.


Futur plans
  • Make it toggleable
  • Maybe add visible lightning in the sky
  • Big flashes followed by smaller ones
« Last Edit: August 20, 2012, 02:57:45 PM by Aide33 »

Now all we need is lightning!

I know there's a function for it, but idk if it actually works.

AWSOME!  :cookieMonster: How do you use it?


    • Maybe add visible lightning in the sky

    fixed :)

    anyways

    gj bro i love

    Looks neat, might download.


    I forgot to add something redownload to fix it
    Now all we need is lightning!

    I know there's a function for it, but idk if it actually works.
    What's the function?
    « Last Edit: August 20, 2012, 10:19:50 AM by Aide33 »

    From the little animation it seems to be one flash every set amount of time. Is that just the animation, or is the pattern more random?

    Also, you should add an intensity slider to make the Thunder/Lightning more and less intense.

    You're "resetting" the light level to 0 0 0.

    function resetlight()
    {
       serverCmdEnvGui_SetVar(bob, DirectLightColor, %x);
       serverCmdEnvGui_SetVar(bob, AmbientLightColor, %z);
    }

    You're "resetting" the light level to 0 0 0.

    function resetlight()
    {
       serverCmdEnvGui_SetVar(bob, DirectLightColor, %x);
       serverCmdEnvGui_SetVar(bob, AmbientLightColor, %z);
    }

    got any idea how I can reset the light back to what it was before?

    You need to have more than just one flash.  Lightning would be like a big flash with a bit of smaller, quick flashes afterwords.

    You need to have more than just one flash.  Lightning would be like a big flash with a bit of smaller, quick flashes afterwords.

    This.

    Watch this video for reference.

    http://www.youtube.com/watch?v=Ibbl6TewkHo

    From the little animation it seems to be one flash every set amount of time. Is that just the animation, or is the pattern more random?

    Also, you should add an intensity slider to make the Thunder/Lightning more and less intense.
    It flashes every 15 to 25 seconds


    It doesn't make noise does it?

    Cause it should..