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

Privacy Policy


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Fake lightning
Author Message
JetlinerX Offline
Senior Member

Posts: 601
Joined: Jun 2011
Reputation: 19
Post: #1
Fake lightning
Is it possible to turn OFF a dark box light, turn ON a light box light, then turn OFF the light box light, and turn ON the dark one, to make an effect that would look like lightning?

Just wondering before I start scripting it, dont want to waste time if it isn't possible. Thanks all! Big Grin

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 03-31-2012 07:49 AM by JetlinerX.)
03-30-2012 11:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Obliviator27 Offline
Posting Freak

Posts: 801
Joined: Jul 2011
Reputation: 65
Post: #2
RE: Fake lightning
You could use FadeLightTo, coupled with some timers for one boxlight
OR
Use SetLightVisible, coupled with some timers, to activate and deactivate each boxlight.

03-30-2012 11:37 PM
Find all posts by this user Quote this message in a reply
JetlinerX Offline
Senior Member

Posts: 601
Joined: Jun 2011
Reputation: 19
Post: #3
RE: Fake lightning
I've never used those scripts, so would it be just a

SetLightVisible (true), Timer for 0.1f, SetLightVisible (false)?

----

EDIT: Any timer set under 1.0f does not seem to trigger, help?


----

JK, everything is working, just had to restart the game. Thanks Obv. + feeback for you good sir! Big Grin

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 03-31-2012 12:12 AM by JetlinerX.)
03-30-2012 11:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,242
Joined: Jul 2011
Reputation: 216
Post: #4
RE: Fake lightning
You'd have more flexibility with the flickering feature of the lights.

Tutorials: From Noob to Pro
03-31-2012 12:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
JetlinerX Offline
Senior Member

Posts: 601
Joined: Jun 2011
Reputation: 19
Post: #5
RE: Fake lightning
O_O Applied flicker... and fainted at the awsomeness. <3 Thank you!

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

03-31-2012 01:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




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