Lighting Not Affecting Panels

Avatar
Piggy
4 Posts
Posted May 25, 2011

Anyone know whats up with this? My Panels aren't getting affected by lighting, also this is a func_instance.

http://imgur.com/a/UTosY

Advertisement
Registered users don’t see ads! Register now!
Avatar
Piggy
4 Posts
Posted May 26, 2011
Replied 21 hours later
Anyone ?
Avatar
Will T.
163 Posts
Posted May 26, 2011
Replied 2 hours later
They're in an odd position when the map begins, aren't they? That causes lighting weirdness unfortunately - starting the robot arms in any animation state other than pulled into the wall causes this to happen since the lighting where the panels start is different from the lighting where they end up (Source lighting isn't all that dynamic... :).

Luckily there's a work-around: if you start the robot arms in their final, pulled-in state when the map starts, then have a logic_auto move them to where you want them (presumably sticking out from the wall limp-like) after about 1 second after the map starts. That way the lighting works, and they're where you want them when you first see them.

A little tricky, but it works. :smile:

You can still (presumably, I haven't tried this) hook up logic entities to get them to do this as an instance, just targeting the entities within the instance rather than within the map.

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 26, 2011
Replied 2 hours later
What about using an info_target (or a path_corner) to set the lighting origin to a lighted area?