Adding Real Lightning

Credits

Submitter
  • P3: Peasant
    Points: 21,043
  • C1: Member
  • A5: Veteran
    Account Age: 4 years
TDDKami (Creator/Co-creator)
Key Authors
TDDKami

Rating

9.9/10
Based off 9 rating(s)

Additional Info

Genre
Mapping
Difficulty Level
Intermediate

Stats

Post Count
37
ViewCount
6,367
Date Added
4 years ago
Date Modified
6 months ago

Well i wrote this Tutorial after i read the tutorial about how to add a thunderstorm in your map. After reading it i still thought there was something missing so i added some real lightning my self.

StarCraft BBQ This is a 6 Step Plan

1. Tools 2. Sound 3. Light 4. Lightning 5. Target 6. Timers

1. First off: Add 2 "Logic Timers", 1 "Ambientgeneric", 1 "Infotarget", & 1 "Env_Laser" in your map

2. We start with the "Ambient_generic"

This will play the thunder sound when the "Logic Timer" fires it. "Name" Thunder I made my "Ambient_generic" play "Sound Name" ambient/atmosphere/thunder1.wav With a "Volume" of 10 Then under "Flags" everything ticked so tick "Play everywhere", "Start Silent", "Is NOT Looped"

3. Now we start adding the "Light" Just place 1 "Light" on the "Skybox" give it the "Name" Light_Thunder And as "Appearance" Fast Strobe Now copy and paste the "Light" several times across the whole "Skybox"

4. Its time to add the lightning now.

Place an "EnvLaser" where you want to have your lightning starting give it the "Name" Lightning "Render FX" Faster Strobe "Target of Laser" StrikePoint "Width of Beam" 5 "Amount of noise" 200 "Damage / second" 10000 "Dissolve Type" Heavy electrical and under "Flags" only tick "EndSparks" when it hits something

5. Now add the "InfoTarget" where you want to have your lightning stop ( i made mine hit the top of a church tower) give the the "Name" StrikePoint

Those "Logic Timers" will regulate the time that the lightning plays.

6.

screenshot B

On the first "LogicTimer" I made the "Refire Interval" 20 because i want my lightning to play every 20 seconds. After that I went to "Outputs" and i "Add..." 3 things first off: "OnTimer" "LightThunder" "TurnOn" none none "No" "OnTimer" "Thunder" "PlaySound" none none "No" "OnTimer" "Lightning" "TurnOn" none none "No"

screenshot C

On the second "LogicTimer" I made the "Refire Interval" 3 because i want my Lightning to stop flashing after 3 seconds. "OnTimer" "LightThunder" "TurnOff" none none "No" "OnTimer" "Lightning" "TurnOff" none none "No"

Thats all have fun and don't try to get hit by it :)

( I suggest you to don't let the lightning play too much or too long, you don't want any one suing you for giving them a seizure :P) Well thats all just Recompile and check it out :)

  • You must be a member

Comments

    • P1: Beggar
      Points: 644
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Aw thanks.

    To play, or not to play?
    • P3: Peasant
      Points: 21,043
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by MrCheeseman Pros: Oh my god, this is a must have for scary maps. Cons: Nothing. Improvements: Maybe make a movie showing it? Notes: Well done! Just what I've been looking for.

    I rehosted the image :)

    (6)©
    • P1: Beggar
      Points: 644
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Pros: Oh my god, this is a must have for scary maps. Cons: Nothing. Improvements: Maybe make a movie showing it? Notes: Well done! Just what I've been looking for.

    To play, or not to play?
    • P3: Peasant
      Points: 21,043
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by Trond 1-6 shortcut links doesnt work. Firefox v3 problem?

    I guess :S it worked for me before but actually haven't tried it since Firefox 3 :S

    (6)©
    • P1: Beggar
      Points: 25
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    1-6 shortcut links doesnt work.

    Firefox v3 problem?

    Bananite
    • P2: Drudge
      Points: 2,202
    • E1: Helper
      EF: 5
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Pros: Tutorial is easy to read. Very detailed and very useful. Well done!!! Cons: Your picture at the top of the tut (StarCraft BBQ) has a broken link. But that has nothing to do with the tutorial. Improvements: none Notes: Thanks to you, I am working my computer to the limit of its power as I have constructed a render test map that includes darkness, fire, rain and lightning =D I might upload it sometime.

    Dulce et decorum est pro patri
    • P1: Beggar
      Points: 5
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by TDDKami
    Posted by poopoop Would i be able to do this except smaller and inside a room? cuz im trying to get a body being electrecuted
    yes :)

    thanks ill try it

    diareah power
    • P3: Peasant
      Points: 21,043
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by poopoop Would i be able to do this except smaller and inside a room? cuz im trying to get a body being electrecuted

    yes :)

    (6)©
    • P1: Beggar
      Points: 5
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    Would i be able to do this except smaller and inside a room? cuz im trying to get a body being electrecuted

    diareah power
    • P1: Beggar
      Points: 261
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Pros: Works Perfectly and easy to understand Cons: none Improvements: none

    Bananite
  • You must be a member