Enemy Territory

Entities

func_train_rotating
Keys
color
constantLight color
dmg
Damage to inflict when blocked (2 default)
light
constantLight radius
model2
Path|name of optional model to include. It will attach itself to the origin brush.
noise
looping sound to play when the train is in motion
scriptname
name for scripting
speed
default 100
target
(If you see doubled target keys, this was done for future coding reasons)
target
Target at an entity for direction of travel
targetname
(If you see doubled targetname keys, this was done for future coding reasons)
targetname
name for being targeted
Spawnflags
BLOCK_STOPS

START_ON
Starts on
TOGGLE
on|off
A train is a mover that moves between path_corner target points.
This train can also rotate along the X Y Z
Trains MUST HAVE AN ORIGIN BRUSH.
The train spawns at the first target it is pointing at.
On the path corner: (? scripting or KEYS ?)
speed departure speed from that corner
rotate angle change for X Y Z to next corner
duration duration for angle change (overrides speed)

©2017 Chruker