how to make a train (hazard)?

Shisho

L1: Registered
Mar 12, 2023
17
0
i assume the train hazard is a seperate entity or something but im not sure, is it just like a track train connected to a dynamic prop or something? would appreciate help on this lol
 
Solution
trains are made out of multiple parts:
the func_tracktrain
the model
the track_paths
and the kill trigger

basically you wanna parent the model to the func_tracktrain and also parent a kill trigger on the front with damage type set to train. then make the tracktrain follow a path and youre set.
note that youll also have to add a logic_timer if you want the train to show up randomly or in a set time interval. lastly, make the last pice of track teleport the func_tracktrain back to the start and also pauses it.

you can also download maps like well or freight to see how they made their trains, or just copy them:

zythe_

✖ ✖ ✖
aa
Feb 20, 2018
517
305
trains are made out of multiple parts:
the func_tracktrain
the model
the track_paths
and the kill trigger

basically you wanna parent the model to the func_tracktrain and also parent a kill trigger on the front with damage type set to train. then make the tracktrain follow a path and youre set.
note that youll also have to add a logic_timer if you want the train to show up randomly or in a set time interval. lastly, make the last pice of track teleport the func_tracktrain back to the start and also pauses it.

you can also download maps like well or freight to see how they made their trains, or just copy them:
 
Solution

Shisho

L1: Registered
Mar 12, 2023
17
0
trains are made out of multiple parts:
the func_tracktrain
the model
the track_paths
and the kill trigger

basically you wanna parent the model to the func_tracktrain and also parent a kill trigger on the front with damage type set to train. then make the tracktrain follow a path and youre set.
note that youll also have to add a logic_timer if you want the train to show up randomly or in a set time interval. lastly, make the last pice of track teleport the func_tracktrain back to the start and also pauses it.

you can also download maps like well or freight to see how they made their trains, or just copy them:
aight, thanks!