path_tracks
. Unlike func_trains
, func_tracktrains
will turn to face the next path_track
, similar to how real world trains behave.
info_target
.path_track
to start at.plats/ttrain1.wav
)plats/ttrain2.wav
)plats/ttrain3.wav
)plats/ttrain4.wav
)plats/ttrain6.wav
)plats/ttrain7.wav
)path_track
that the train will ride, based on the location of the train's origin brush.path_track
settings.func_tracktrain
requires an origin brush to align itself with the path_tracks
.(← )
180 on the Yaw compass).path_track
referenced in First Stop Target and orient itself to face the second path_track
(first target's Next stop target).func_tracktrain
faces in-game, unless First Stop Target is invalid or blank (in which case it will rotate in place). The degrees in the yaw circle in the path_track
don't change anything either.func_traincontrols
entity allows the player to set the area on the train where they are able to control or drive the train. They are not part of the func_tracktrain
and their placement only determines the area of use. They will automatically stay in that area relative to the train as it moves.zhlt_noclip
.trigger_relay
etc.game_counter_set
. Value 1
throttles up one position (i.e. +25% speed); value -1
throttles down one position (-25%).path_track
with Disable train (8) flag checked can be used to disable user control of the train, producing a runaway train effect such as the one at the start of Blast Pit.You must log in to post a comment. You can login or register a new account.
I'll make a tutorial on my channel if I figure it out.
[2024-05-12] While I am a proponent of the origin at the back axle, more realistically moving trains, I can see how it is totally incompatible with track [auto]changers. Gotta have to pick your poison, I guess.
[2024-05-13] Also, a tutorial for track trains is needed.
[2024-07-10] You can control a
func_tracktrain
remotely usinggame_counter_set
entities. Value1
throttles up one notch,-1
down a notch.