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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thunder and Lightning
Nuclearbones Offline
Junior Member

Posts: 45
Threads: 19
Joined: May 2012
Reputation: 0
#1
Thunder and Lightning

So, I'm almost done making the map before my map with the teleporting doorways. And while going through a few of the sketches of what the level would look like, I had a couple of sketches where there were dark clouds, lightning, and a particular symbol which I will post with this thread. The symbol glows red across the sky. I know that I need to create a particle system for the cloud. But I don't know what I would do for the lightning and the symbol. I would like some feedback on this to see what all of you have to say.
By the way, if somebody knows of a tutorial on the particle editor can you link that on this thread or PM the link to me?
Thanks


Attached Files
.jpg   symbol 2.JPG (Size: 55.05 KB / Downloads: 132)
07-12-2012, 06:14 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Thunder and Lightning

The symbol could be a billboard. Isn't there any particles you can use that is already made? Smile

07-12-2012, 08:31 PM
Find
Nuclearbones Offline
Junior Member

Posts: 45
Threads: 19
Joined: May 2012
Reputation: 0
#3
RE: Thunder and Lightning

(07-12-2012, 08:31 PM)SilentStriker Wrote: The symbol could be a billboard. Isn't there any particles you can use that is already made? Smile
I don't think right at all sometimes...
07-21-2012, 05:59 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Thunder and Lightning

CreateParticleSystemAtEntity("ThunderParticle_1", "ps_electro_bolt.ps", "ThunderScriptArea_1", false);

Here ya go Wink

Trying is the first step to success.
07-21-2012, 12:53 PM
Find
Nuclearbones Offline
Junior Member

Posts: 45
Threads: 19
Joined: May 2012
Reputation: 0
#5
RE: Thunder and Lightning

(07-21-2012, 12:53 PM)beecake Wrote: CreateParticleSystemAtEntity("ThunderParticle_1", "ps_electro_bolt.ps", "ThunderScriptArea_1", false);

Here ya go Wink
Is this so that the lightning happens at random times?
07-21-2012, 02:26 PM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#6
RE: Thunder and Lightning

(07-21-2012, 02:26 PM)Nuclearbones Wrote: Is this so that the lightning happens at random times?

void OnStart()
{
AddTimer("", RandInt(10, 30), "Lightning_FX");
}

void Lightning_FX(string &in asTimer)
{
AddTimer("", RandInt(10, 30), "Lightning_FX");

CreateParticleSystemAtEntity("ThunderParticle_1", "ps_electro_bolt.ps", "ThunderScriptArea_1", false);
}


Fun with random integers! It will randomly pick a time (in seconds) between 10 and 30 seconds. Truly random. You can adjust those intervals if you think its too long/short a time.

I rate it 3 memes.
07-21-2012, 02:42 PM
Find
Nuclearbones Offline
Junior Member

Posts: 45
Threads: 19
Joined: May 2012
Reputation: 0
#7
RE: Thunder and Lightning

(07-21-2012, 02:42 PM)andyrockin123 Wrote:
(07-21-2012, 02:26 PM)Nuclearbones Wrote: Is this so that the lightning happens at random times?

void OnStart()
{
AddTimer("", RandInt(10, 30), "Lightning_FX");
}

void Lightning_FX(string &in asTimer)
{
AddTimer("", RandInt(10, 30), "Lightning_FX");

CreateParticleSystemAtEntity("ThunderParticle_1", "ps_electro_bolt.ps", "ThunderScriptArea_1", false);
}


Fun with random integers! It will randomly pick a time (in seconds) between 10 and 30 seconds. Truly random. You can adjust those intervals if you think its too long/short a time.
Thanks for the tip broski
07-21-2012, 06:09 PM
Find




Users browsing this thread: 1 Guest(s)