func_train

func_train #

TWHL

New parameters #

  • Custom move sound.
  • Custom stop sound.
  • Sound radius - configure platform sounds attenuation.
  • Obey Trigger Mode - make train interpret the use-type when triggered (On is to start, Off is to stop).
  • Move sound pitch can be configured.

New spawnflags #

  • Origin on paths - make the train to position itself on the path entities using its origin instead of geometric center.
  • Initially On.

Reaction to use-type #

Always percieved as Toggle (due to compatibility with Half-Life trains) unless Obey Trigger Mode parameter is enabled. Activates or stops the train.

Bugfixes #

  • Fixed a bug when train did not stop playing its sound when stopped by trigger.