Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thunder and Lightning
Author Message
Nuclearbones Offline
Junior Member

Posts: 45
Joined: May 2012
Reputation: 0
Post: #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 File(s)
.jpg  symbol 2.JPG (Size: 55.05 KB / Downloads: 8)
07-12-2012 06:14 PM
Find all posts by this user Quote this message in a reply
SilentStriker Offline
Posting Freak

Posts: 939
Joined: Jul 2011
Reputation: 39
Post: #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 all posts by this user Quote this message in a reply
Nuclearbones Offline
Junior Member

Posts: 45
Joined: May 2012
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
BeeKayK Offline
Posting Freak

Posts: 1,941
Joined: Mar 2012
Reputation: 75
Post: #4
RE: Thunder and Lightning
CreateParticleSystemAtEntity("ThunderParticle_1", "ps_electro_bolt.ps", "ThunderScriptArea_1", false);

Here ya go Wink

What happens when two mind readers read each others mind?
Do they get... mindblown? BADAM TSH!
07-21-2012 12:53 PM
Find all posts by this user Quote this message in a reply
Nuclearbones Offline
Junior Member

Posts: 45
Joined: May 2012
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Adny Offline
Posting Freak

Posts: 1,754
Joined: Mar 2012
Reputation: 169
Post: #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.

Timorem and Friends are Hungryâ„¢
07-21-2012 02:42 PM
Find all posts by this user Quote this message in a reply
Nuclearbones Offline
Junior Member

Posts: 45
Joined: May 2012
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)