Func_tracktrain help

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
So for my KOTH map I'm trying to make a elevator that moves whenever the point is capped. At first it works fine, but whenever it comes back down again its always about 12 HU off the ground despite the fact that the "height above track" option in the entity is set to 0. Help?
 

The ImprovisE!

L1: Registered
Dec 13, 2016
17
8
I used func_movelinear for mine, try doing that.
There also is a blue ball in middle of both func_tracktrain and func_movelinear.
I can only guess that if its off-center it messes with it. A wild guess though.
Also try messing with distance between wheels value on func_tracktrain as it has to do something with stopping.
 
Last edited:
Oct 6, 2008
1,954
446
use a func_door with a trigger multiple coded to ontouchall line up the door - set it to open close whatever works best for your scenario and at the opposite end if needed add some extra length so it will disappear through the floor/ceiling when you don't want it to be seen
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
That won't work because you can't close a door when it's in the middle of opening, or change it's speed or anything. Func_movelinear would be the easiest way to achieve what you're assuming for
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
Oct 6, 2008
1,954
446
1. build a door - name it
2. make a trigger_brush
3. in outputs - onstarttouchingall target your door - select open or close, onstoptouchingall target your door - select the opposite
4. run in game - when you touch the trigger the door will start doing what you said, when you stop touching the door will stop where it is and reverse.
5. if you want it to stop doing that once it's a fully open/close - on the door output - kill trigger multiple