Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spoiler How To Create A Thunder And Lightning Storm Tutorial!!!
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#1
How To Create A Thunder And Lightning Storm Tutorial!!!

Okay everyone, I have been looking for a way to make a decent thunder and lightning storm with scripts for a while now and figured out a way to do so, without scripts!!!

First you need to set up a spotlight and change the following values:

-General-

☑ Active

Diffuse color:
R=0
G=0
B=0
A=1



_____________________________________________________________

-Flicker-

☑ Flicker Active

On Sound=general_thunder.snt

Off Color:
R=1
G=1
B=1
A=0

The name of the spotlights, the on and off times and sounds and other values are all up to you for the desired effect you are seeking. For example, this is my setup:

-General-

Name=PointLight_1

☑ Active

Position
X=0
Y=0
Z=0

Gobo=None

Anim Mode/Frame Time
None /0

Falloff Map=None

Diffuse color:
R=0
G=0
B=0
A=1



_____________________________________________________________

-Point-

Rotation
X=0
Y=0
Z=0

Radius
25



_____________________________________________________________

-Flicker-

☑ Flicker Active

On Min time/On Max time
5 /15

On Sound=general_thunder.snt
On PS=None

Off Min time/Off Max time
0 /0

Off Sound=None
OffPS=None

Off Radius
15

Off Color:
R=1
G=1
B=1
A=0

☑Fade

On Min time/On Max time
0.1 /0.5

Off Min time/Off Max time
01. /0.5


This is simply what I'm using for my map and as I stated anything can be changed for a specific requirement for their map. If you have any questions comment or shoot me a message.

Here a couple of photos if the above was not clear enough.


Attached Files
.gif   PointLight General Tab.gif (Size: 262.09 KB / Downloads: 288)
.gif   PointLight Point Tab.gif (Size: 266.62 KB / Downloads: 241)
.gif   PointLight Flicker Tab.gif (Size: 267.88 KB / Downloads: 257)

-Grind to the Gore-
07-27-2013, 09:41 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

Good one,
Just some things..
Add a script for people who wants a RANDOM lightning\lights.
This is only good for a couple of times but will never been random!
If you can't create that script ask here, or let me know..
i have one here that is... quite long and .. it works goos, but it's a bit complicated!
Good job here.
07-28-2013, 12:00 AM
Find
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#3
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

(07-28-2013, 12:00 AM)DnALANGE Wrote: Good one,
Just some things..
Add a script for people who wants a RANDOM lightning\lights.
This is only good for a couple of times but will never been random!
If you can't create that script ask here, or let me know..
i have one here that is... quite long and .. it works goos, but it's a bit complicated!
Good job here.

It's rather random if you choose the right minimum and maximum start time. You can have a minimum start of 0.1 and a maximum of say 60 if you wish and all the time between will be random, of a time between 0.1 seconds and 60 seconds.

But I do see what you mean though by not being completely random.

-Grind to the Gore-
07-28-2013, 12:29 AM
Find
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#4
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

I have to say the way that FG did thunder/lightning in Amnesia was better as it was set to run at a random time (between two values anyway) and the lightning colour faded out instead of just on/off, however this is definitely another way of approaching it in a simpler way!

(07-28-2013, 12:29 AM)goregrinder99 Wrote:
(07-28-2013, 12:00 AM)DnALANGE Wrote: Good one,
Just some things..
Add a script for people who wants a RANDOM lightning\lights.
This is only good for a couple of times but will never been random!
If you can't create that script ask here, or let me know..
i have one here that is... quite long and .. it works goos, but it's a bit complicated!
Good job here.

It's rather random if you choose the right minimum and maximum start time. You can have a minimum start of 0.1 and a maximum of say 60 if you wish and all the time between will be random, of a time between 0.1 seconds and 60 seconds.

But I do see what you mean though by not being completely random.

The problem with this way of doing it is that you can only have one spotlight, if there's multiple they won't all light up/go dark at the same time.

Closure ModDB page:

[Image: 16LO8Sx]
(This post was last modified: 07-28-2013, 01:12 AM by ExpectedIdentifier.)
07-28-2013, 01:10 AM
Find
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#5
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

(07-28-2013, 01:10 AM)sonataarctica Wrote: I have to say the way that FG did thunder/lightning in Amnesia was better as it was set to run at a random time (between two values anyway) and the lightning colour faded out instead of just on/off, however this is definitely another way of approaching it in a simpler way!

(07-28-2013, 12:29 AM)goregrinder99 Wrote:
(07-28-2013, 12:00 AM)DnALANGE Wrote: Good one,
Just some things..
Add a script for people who wants a RANDOM lightning\lights.
This is only good for a couple of times but will never been random!
If you can't create that script ask here, or let me know..
i have one here that is... quite long and .. it works goos, but it's a bit complicated!
Good job here.

It's rather random if you choose the right minimum and maximum start time. You can have a minimum start of 0.1 and a maximum of say 60 if you wish and all the time between will be random, of a time between 0.1 seconds and 60 seconds.

But I do see what you mean though by not being completely random.

The problem with this way of doing it is that you can only have one spotlight, if there's multiple they won't all light up/go dark at the same time.

They all do go on and off at different times which is sort of a flaw but if arranged and used properly will do wonders and does just that for my map. I have one set on each wall at a good distance enough to light through the windows a tad but not enough to blur through the walls.

There is a fade option for the light, the Min and Max On and Off times at the bottom of the Flicker tab. Make sure it is active and you can make it fade in as slow or fast as you please.

-Grind to the Gore-
07-28-2013, 01:25 AM
Find
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#6
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

Thanks. Very helpful.
08-12-2013, 12:27 PM
Find
Zokrar Offline
Member

Posts: 85
Threads: 16
Joined: May 2013
Reputation: 0
#7
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

Cool stuff

12-31-2013, 07:04 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#8
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

I don't have a link to it right now, but somewhere here in the articles section I know Palistov has already created one of these, one that does activate on random aswell.
12-31-2013, 06:14 PM
Find
Skyy Offline
Member

Posts: 60
Threads: 5
Joined: Dec 2013
Reputation: 3
#9
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

(12-31-2013, 06:14 PM)Traggey Wrote: I don't have a link to it right now, but somewhere here in the articles section I know Palistov has already created one of these, one that does activate on random aswell.
Do you mean this one?

http://www.frictionalgames.com/forum/thread-8156.html
12-31-2013, 06:54 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#10
RE: How To Create A Thunder And Lightning Storm Tutorial!!!

Looks like it!
(This post was last modified: 12-31-2013, 08:10 PM by Traggey.)
12-31-2013, 08:10 PM
Find




Users browsing this thread: 1 Guest(s)