#Parent Light entities to a func door

1 messages · Page 1 of 1 (latest)

cedar sundial
#

I want the light to move with the door

dusky shard
#

You will need to use light dynamic if you want parented lights

cedar sundial
dusky shard
#

The light quality won't be the same for sure

cedar sundial
dusky shard
#

Compiled static light have better quality but can't be parented

#

Dynamic light can be parented but it's dynamic light

cedar sundial
#

Or can I do anything?

dusky shard
#

You could spam light along the path of the elevator

#

Might look bad

#

But they would be static

dusky shard
#

Play around with the dynamic light parameters
You could get a mostly correct result

severe imp
#

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

cedar sundial
cedar sundial
#

well how could I even make that work

severe imp
#

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

cedar sundial
frail moat
#

why not use env_sprite

#

perant sprite to the door and it'll move with the door

severe imp
#

They don't make actuall light, but it's cool solution

cedar sundial
frail moat
#

if you set them as additive and not world space glow they kinda do

burnt wasp
#

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.

burnt wasp
cedar sundial
#

👍

pulsar sparrow
#

I mean... projected lights can move with parents and light the world, but they are incredibly expensive

burnt wasp
#

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.

pulsar sparrow