Frictional Games Forum (read-only)
HELP Light and entities - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: HELP Light and entities (/thread-16866.html)



HELP Light and entities - str4wberrypanic - 07-10-2012

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.


RE: HELP Light and entities - Obliviator27 - 07-10-2012

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.


RE: HELP Light and entities - str4wberrypanic - 07-10-2012

(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?


RE: HELP Light and entities - Streetboat - 07-10-2012

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.


RE: HELP Light and entities - str4wberrypanic - 07-10-2012

(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. =)