Skip to main content

path_track

path_track icon
Point entity

A path_track marks a stop on the path of a func_tracktrain, and these paths can branch.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Next stop targettarget

Names the next path_track on the path.

Fire On Passmessage

The path_track fires this target when a train passes it.

Branch Pathaltpath

Names another path_track that the path can branch to, and triggering this path_track switches between Next stop target and the branch.

Fire on dead endnetname

The path_track fires this target when a train stops here because the path ends here or the next path_track is disabled.

New Train Speedspeed

Sets the speed, in units per second, that a train takes when it reaches this point. A func_tracktrain takes this speed only if players can't drive it (the No User Control flag), but a func_train always takes it.

If you leave this key empty or set 0, the speed doesn't change.

Default 0

Flags​

1Disabled

The path is blocked here, so trains stop at this point, and triggering a path_track without a Branch Path switches this on and off

2Fire once

Fire On Pass only fires the first time a train passes

4Branch Reverse

A train uses the Branch Path when it travels backward along the path, instead of forward

8Disable train controls

Once a train passes this point, players can't drive it

See also​