Enum FuncTrackTrain.SpawnFlag ​
Namespace: ValveResourceFormat.Renderer.Entities
Assembly: Renderer.dll
What a func_tracktrain's spawnflags mean.
csharp
[Flags]
public enum FuncTrackTrain.SpawnFlag : uintFields ​
NoPitch = 1
It does not pitch to follow the path.
NoUserControl = 2
The player cannot drive it, and it takes the speed of every node it passes.
Passable = 8
Things pass straight through it.
FixedOrientation = 16
It does not turn to follow the path. Toggled by LockOrientation.
LegacyTrain = 128
It collides as a plain brush rather than a physics mesh, Hammer's "HL1 Train", so turning pushes the player by the motion of their origin.
UseMaxSpeedForPitch = 256
Its move sound scales with speed against its own top speed rather than 1000.
UnblockableByPlayer = 512
Nothing the player does stops it.

