Shadows on my func_tracktrain

Shadows on my func_tracktrain

Re: Shadows on my func_tracktrain Posted by m0nk33 on Mon Jan 24th 2005 at 11:46pm
m0nk33
2 posts
Posted 2005-01-24 11:46pm
m0nk33
member
2 posts 0 snarkmarks Registered: Jan 24th 2005 Occupation: Student Location: United Kingdom
I have a func_tracktrain that comes out from underneath a set of brushes and then goes back in. Problem is that the part of it that was under cover appears shadowed.

I'm guessing it's getting shadowed by the other brushes but I can't stop it. I have searched everywhere for anything that's at all relevant and come up with nothing. I have also tried a number of things with cubemaps and disabling shadows but it always comes out with the same result.

Please help - this is the final piece to a puzzle that I've been labouring over for ages!
Re: Shadows on my func_tracktrain Posted by satchmo on Mon Jan 24th 2005 at 11:51pm
satchmo
2077 posts
Posted 2005-01-24 11:51pm
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
In this case, a screenshot would be tremendously helpful in illustrating your problem.
Re: Shadows on my func_tracktrain Posted by Tracer Bullet on Tue Jan 25th 2005 at 12:00am
Tracer Bullet
2271 posts
Posted 2005-01-25 12:00am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
Tracktrains are odd. When you compile the map, the train stays where you placed it in Hammer, and gets lit accordingly. Then, when you load the map, it gets moved to it's "first stop target". The result of this is that it does not matter where you put the train in hammer. You can put it where ever you want for purposes of getting the lighting on it right, and then when you load the map it will be teleported to the correct path _track. I hope that was clear enough. Just put your train someplace where it won't be shadowed.
Re: Shadows on my func_tracktrain Posted by Rof on Tue Jan 25th 2005 at 12:19am
Rof
210 posts
Posted 2005-01-25 12:19am
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Concurring with Tracer Bullet here, and also add that it seems that
tracktrains' lighting can be faked by having switching lights in the
area that you build it in Hammer, then switching the lights on or off
depending on where the train is (triggered from the path_tracks,
probably). That's the way it was done a lot in HL1, and it seems
that you do the same thing in HL2, as well.
Re: Shadows on my func_tracktrain Posted by m0nk33 on Tue Jan 25th 2005 at 8:51am
m0nk33
2 posts
Posted 2005-01-25 8:51am
m0nk33
member
2 posts 0 snarkmarks Registered: Jan 24th 2005 Occupation: Student Location: United Kingdom
Cheers very much guys. Hopefully I can show you what I'm up to soon!
Re: Shadows on my func_tracktrain Posted by Emoo on Tue Jan 25th 2005 at 4:34pm
Emoo
10 posts
Posted 2005-01-25 4:34pm
Emoo
member
10 posts 1 snarkmarks Registered: Jul 31st 2004
I thought HL2 had dynamic lighting so shouldent it change as it moves?