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
Level Editor Help Smoke thing
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#11
RE: Smoke thing

How did he make the light show up when the "Explosive" went off?

(This post was last modified: 04-08-2012, 04:10 PM by Xanthos.)
04-08-2012, 04:10 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#12
RE: Smoke thing

I dont think he made any light.

04-08-2012, 05:35 PM
Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#13
RE: Smoke thing

I'm talking about in the script.

I seen the video the thingy shook and it made light for a second.

What script activates the light?

04-08-2012, 06:15 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#14
RE: Smoke thing

FadeLightTo maby?

Or SetLightVisible

(This post was last modified: 04-08-2012, 06:21 PM by SilentStriker.)
04-08-2012, 06:16 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#15
RE: Smoke thing

Or just SetEntityActive () on the Point light.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

04-08-2012, 07:27 PM
Website Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#16
RE: Smoke thing

I have a totally new version of the explosion, I can film it for you. Wait 5 min
I will also tell you how I made the light!

I actually used FadeLightTo(string& asLightName, float afR, float afG, float afB, float afA, float afRadius, float afTime);
to make the explosion light, but the red thing over the bottle was a particle, I used CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
to make the particle appear Smile

http://www.youtube.com/watch?v=A5BqXmtpT...e=youtu.be

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
(This post was last modified: 04-09-2012, 08:12 PM by GoranGaming.)
04-09-2012, 08:02 PM
Website Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#17
RE: Smoke thing

Okay thanks, SetEntityActive Doesn't work with lights, they don't act as entities.

I knew the particle system script,

Big Grin

04-09-2012, 10:24 PM
Find




Users browsing this thread: 2 Guest(s)