Elevator Issues

Elevator Issues

Re: Elevator Issues Posted by sm285 on Tue Nov 14th 2006 at 7:03am
sm285
2 posts
Posted 2006-11-14 7:03am
sm285
member
2 posts 0 snarkmarks Registered: Nov 14th 2006
Hello, I tried my luck today with creating HL2DM elevators and read a tutorial on how its done. I built a lift (func_tracktrain) that moves in a diagnol line with only two path_tracks. My issue is that when it reaches a stop, it will not be level with the floor that its supposed to be at. I don't know why it does that, i've tried to move the track a bit around and see if I get different results, but it stays consistent. Also, the amount it gaps appears to be relevant to the speed (the faster the lift goes, the greater the gap). I downloaded a .vtf (http://users.telenet.be/fnh/hl2/fnh_elevator.vmf) to see what I was doing wrong, but the example had the same problem...
Is this a characteristic of func_tracktrain, or am I doing something wrong?
Re: Elevator Issues Posted by reaper47 on Tue Nov 14th 2006 at 8:04pm
reaper47
2827 posts
Posted 2006-11-14 8:04pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
sigh yea, the tracktrains seem to do what the want most of the time. It's annoying.

logic_relays seemed to help me a lot with this. All they do is being a second, extra-entity to do what the path_tracks should do themselves (for example stop the train).

Make a logic_realay (that is activated by path_track that should stop the elevator) and add a "stop the tracktrain(elevator)" output to the logic_relay. It sounds ridiculous because the path_track has it's own "stop" command but it seemed to help for me over this detour.

Also check the "HL1-train" flag in the properties. Don't know what it does but it turned out to work better with it.

Let me say that I'm 99.9% sure that there's an easier way. But I didn't find another bug-free one yet.

Good luck :smile:
Why snark works.
Re: Elevator Issues Posted by sm285 on Thu Nov 16th 2006 at 3:14am
sm285
2 posts
Posted 2006-11-16 3:14am
sm285
member
2 posts 0 snarkmarks Registered: Nov 14th 2006
Thanks, I'll give that a shot.