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
Inactive lights emitting light
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#14
RE: Inactive lights emitting light

Mini tutorial for connecting lights Big Grin:

You do not need to set the light inactive in neither the level editor, nor in the script.

Set the point light colour to black (0, 0, 0), and write the point light name where it says ConnectedLight in the candle properties.
Spoiler below!

The ConnectionLightAmount is the amount the pointlight will change when the candle is lit. It takes the colour of the candles light, multiplies it by the amount (in this case 0.3), then adds that to the point light. So if you want a candle to significantly increase the point lights colour, then you would put in a high value.
Spoiler below!

For the smaller candle, I put a lower ConnectionLightAmount.
Spoiler below!

In Ruins [WIP]
(This post was last modified: 03-24-2013, 08:50 AM by NaxEla.)
03-24-2013, 08:48 AM
Find


Messages In This Thread
Inactive lights emitting light - by eagledude4 - 03-24-2013, 12:58 AM
RE: Inactive lights emitting light - by NaxEla - 03-24-2013, 08:48 AM



Users browsing this thread: 1 Guest(s)