#Parent Light entities to a func door
1 messages · Page 1 of 1 (latest)
You will need to use light dynamic if you want parented lights
thank you!!!
Light dynamic entities will not work, google was of no use
The light quality won't be the same for sure
Huh?
Compiled static light have better quality but can't be parented
Dynamic light can be parented but it's dynamic light
Well what do you suggest?
Or can I do anything?
You could spam light along the path of the elevator
Might look bad
But they would be static
brah
Play around with the dynamic light parameters
You could get a mostly correct result
From my testing long time ago light_dynamic didn't work
I guess best option would be 2 static lights on start and end positions and if possible fade out and fade in lights while door moving
It's like it's just disabled until the door is opened and disables again when it closes
AH yeah not a bad idea
well how could I even make that work
You can try to find command for brightness of light (I don't know if something like that exists) and decrease it with few commands with a time interval and increase the second. Source is old, something like that is very tricky or even impossible to achieve.
Also you can just turn off one light and turn on second, it won't be seamless, but at least something like that is possible.
Sorry for poor help, when I was experimenting with moving lights I just gave up, because Source is not supporting this ideas
might just make it so when you open the door it turns off
They don't make actuall light, but it's cool solution
Yeah which is what I need kinda
if you set them as additive and not world space glow they kinda do
Unfortunately what you're asking isn't really in source's toolset
The best (but simultaneously most labor intensive) solution would probably be to have an animated additive overlay or two that can be wrapped into the floor and door frames. You could bake this out in blender and index the door position to the frames. It would probably look decent, but it wouldn't react to new objects in the scene and it would be a static single use solution that couldn't be applied to new light source positions or other door dimensions.
Otherwise, you're stuck with the sloppy dynamic lights, static lights, or non-lighting based solutions.
this is probably your best bet, just time it so that it shuts off as the light completely recedes into the frame and turns on as it emerges.
👍
I mean... projected lights can move with parents and light the world, but they are incredibly expensive
Well, its gmod so it supports eight drawn at a time. If you only have a few in a drawn set of visleafs it's not crazy.
they're not really expensive anymore either, especially if the draw distance isn't high.
8?! Damn. I guess that's your answer @cedar sundial