func_train #
See also: env_spritetrain, env_modeltrain
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 (Onis to start,Offis to stop).- Move sound pitch can be configured.
Collision with corpses- allows to ignore collision with dead monsters. Corpses won’t block this train and won’t get crushed.
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.