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
Point Lights not showing
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
RE: Point Lights not showing

This is not a straight answer to your question, but this video shows how to connect more than 1 point/spot light into lamp entity and start a slight flicker of color.

If you want to make it without the flicker (easier and quicker to make), just create pitch black point lights and use
FadeLightTo(string& asLightName, float afR, float afG, float afB, float afA, float afRadius, float afTime);
to adjust the radius and colors. float afTime looks fine with 0.5f.

candles entity properties should be like this:
uncheck lit (obviously)
check PlayerInteractCallbackAutoRemove (so you cant press mouse on the candle more than once)
and put what you want to use as the functions name into the PlayerInteractCallback

If this seems too complicated or anything, just ask for better explanation!
(This post was last modified: 06-27-2011, 05:23 PM by Khyrpa.)
06-27-2011, 05:19 PM

Messages In This Thread
Point Lights not showing - by JD Zombie - 06-27-2011, 06:31 AM
RE: Point Lights not showing - by Khyrpa - 06-27-2011, 05:19 PM

Users browsing this thread: 1 Guest(s)