func_tracktrain

keyvalues

• targetname (string) - name

• renderfx (integer) - render fx

• rendermode (integer) - render mode (0 - 5)

• renderamt (integer) - fx amount (1 - 255)

• rendercolor (color255) - fx color (rgb value)

• globalname (string) - global entity name

• sounds (integer) - sounds

0 = none

1 = rail 1

2 = rail 2

3 = rail 3

4 = rail 4

5 = rail 6

6 = rail 7

• wheels (integer) - distance between wheels

• height (integer) - height above track

• startspeed (integer) - initial speed

• speed (integer) - speed in units per second

• target (string) - first stop target

• dmg (integer) - damage on crush

• volume (integer) - volume (0 - 10)

• bank (string) - bank angle on turns

flags

• no pitch (x rotation) (1)

• no user control (2)

• passable (8)

notes

• you must include an origin brush as part of this entity. an origin brush is a brush with a texture of 'origin' on each side. it determines what point the entity rotates around

related topics

func_trackchange

func_trackautochange

func_train

func_traincontrols

Overview of func_ entities

Entity Guide Overview