Frictional Games Forum (read-only)

Full Version: HELP Light and entities
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
well, i'm having a big problem with that. how can i extend the radius of the entities lights? ( like torches and candles )
i want the player to use the tinderbox in the entity ( unlit ) and it light a bigger radius than the standard.
sorry for any english mistake, thanks.
What you want to do is create a pointlight of desired radius, and set it's properties to 0, 0, 0, 0.
Then, select the lamp entity.
Go into the entity tab.
Put the name of the pointlight in the "ConnectedLight" box.
And then you're done.
The pointlight will then inherit the light values of the light attached to the entity.
(07-10-2012, 01:20 AM)Obliviator27 Wrote: [ -> ]What you want to do is create a pointlight of desired radius, and set it's properties to 0, 0, 0, 0.
Then, select the lamp entity.
Go into the entity tab.
Put the name of the pointlight in the "ConnectedLight" box.
And then you're done.
The pointlight will then inherit the light values of the light attached to the entity.


0, 0, 0, 0? you refer to general, point or flicker?

and should i set the pointlight unactive, since i want the player to lit the entity?
You want to change the initial color of the light to 0, 0, 0, 0. If you want it to be brighter or reach farther, you can change the radius of said light. Once you connect the two, make sure you change the 'ConnectedAmount' to 0.8 or 0.7, if you leave it at '1' it will look odd.
(07-10-2012, 02:14 AM)Streetboat Wrote: [ -> ]You want to change the initial color of the light to 0, 0, 0, 0. If you want it to be brighter or reach farther, you can change the radius of said light. Once you connect the two, make sure you change the 'ConnectedAmount' to 0.8 or 0.7, if you leave it at '1' it will look odd.

thank you, it's working now. =)