func_tracktrain

XashXT

func_tracktrain

Spawnflag

SF_TRACKTRAIN_NO_FIRE_ON_PASS 16 (ignore target activation for path_track entities specified in the message field)

Options

soundstart Path to the custom train start sound.
soundstop Path to the custom train stop sound.
master Blocks train control.

Usage Details

  • Do not attach func_traincontrols using the parent system, because this is not needed.
  • Note that train_setspeed supports the *locus keyword for changing the speed of the train that crosses a specific path_track.