Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Adding Real Lightning
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): TDDKami

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 "Ambient_generic", 1 "Info_target", & 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 "Env_Laser" where you want to have your lightning starting
give it the "Name" Lightning
"Render FX" Faster Strobe
"Target of Laser" Strike_Point
"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 "Info_Target" where you want to have your lightning stop
( i made mine hit the top of a church tower)
give the the "Name" Strike_Point

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


6.

screenshot B

On the first "Logic_Timer" 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" "Light_Thunder" "TurnOn" none none "No"
"OnTimer" "Thunder" "PlaySound" none none "No"
"OnTimer" "Lightning" "TurnOn" none none "No"

screenshot C

On the second "Logic_Timer" I made the "Refire Interval" 3 because i want my Lightning to stop flashing after 3 seconds.
"OnTimer" "Light_Thunder" "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 :)


Added: 5 months agoTags: lightning, rain, thunder, laser, light, logic, timer, storm, flashing
Feedback (23)
Page of 3   1 2 3 Next Page
.
(6)©Y2M
Posted 18 days ago
Maybe a problem with the source engine ?
Robsonfire .
Omg i am l33t 4s f4ckY2M
Posted 23 days ago
I have the same problem, but all my drivers are up to date and such, i have a 512mb hd msi graphics card i can assure you that it isnt the problem. lol

Help!!?!?!?
.
(6)©Y2M
Posted 24 days ago
Probably problems with your card never heard of it before try update your video drivers?
Umono .
Hello!Y2M
Posted 28 days ago
Everytime i look at the lightning in game it crashes =( Help please
.
(6)©Y2M
Posted 4 months ago
Posted by -RemiX-

But wouldn't that just make it strike at a certain time in the same spot over and over again?


Depends on how you set it... add me on xfire and ill explain it to you there
.
Need a set?Y2M
Posted 4 months ago
But wouldn't that just make it strike at a certain time in the same spot over and over again?
.
(6)©Y2M
Posted 4 months ago
Posted by -RemiX-

I mean random lightning strikes in different areas around the map instead of hitting the same info_target every time and without having to create 50 different lightning cycles.

That is what i ment to :p
.
Need a set?Y2M
Posted 4 months ago
I mean random lightning strikes in different areas around the map instead of hitting the same info_target every time and without having to create 50 different lightning cycles.
.
(6)©Y2M
Posted 4 months ago
Posted by -RemiX-

Really cool effect. Used wrongly though can really cause people problems.

Maybe you should try to find out how to cause random lightning strikes by giving the info_target a path. Or have you tried using several info_target to see if it cycles between each one?

Use a logic_timer for that :)
.
Need a set?Y2M
Posted 4 months ago
Really cool effect. Used wrongly though can really cause people problems.

Maybe you should try to find out how to cause random lightning strikes by giving the info_target a path. Or have you tried using several info_target to see if it cycles between each one?
Page of 3   1 2 3 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.8/10
bScore
9.8/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Helpful & Comprehensive
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.



Added by...
.
(6)©
Ranked 97th with 22,250 points. 338 points behind .

[+] Donate
Related Tutorials