path_track
Last edited 5 months ago2024-06-29 17:28:59 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
Multiple
path_tracks
form a path that can be followed by a
func_tracktrain
. Paths can contain switchable branches, similar to real-world railroad switches. The corresponding entity for
func_train
is
path_corner
.
Attributes
- Name (targetname) - Property used to identify entities.
- Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.
- Next stop target (target) - The name of the next path_track in the path.
- Fire on pass (message) - When a train passes this path_track it will trigger this event.
- Branch path (altpath) - The name of a secondary path_track (see notes).
- Fire on dead-end (netname) - If this path_track is a dead-end (see notes), activate this event on reaching.
- New Train Speed (speed) - As the train passes this point, this speed will be assigned to it.
Flags
- Disabled (1) - start disabled
- Fire once (2) - target fired only once
- Branch reverse (4) - branch path reachable when going backwards
- Disable train (8) - the
func_train
on track becomes non-controllable as it passes this path_track
Notes
- When a
path_track
is triggered, its Next Stop Target is replaced by its Branch Path value.
- If a
path_track
's Next Stop target is not defined, or if it has been triggered but has no branch path, it is considered a dead end.
- To make a
func_tracktrain
disabled at start of the map, do not disable the path_track
on its First stop Target (target). Instead, disable the next path_track
(i.e. the first stop target's next stop target).
Comments
You must log in to post a comment.
You can login or register a new account.