"Consists" container: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
imported>James moody
No edit summary
 
Pcas1986 (talk | contribs)
m Added sort criterion
 
(2 intermediate revisions by one other user not shown)
Line 43: Line 43:




[[Category:Config Container]]
[[Category:Config Container|C]]

Latest revision as of 02:54, 12 February 2014

The consists container is a top-level config.txt file entry used by Scenarios.

Supported Tags

The consists container has one or more sub-entries for named consists. Each consist entry consists of one or more numbered vehicles, and some tags to set the coupling and decoupling masks, and the ability to show or hide the consist in the consist menu. The tags are shown here with their default values.

handbrake 0
show-in-consist-menu 1
coupling-mask 3
decoupling-mask 3


handbrake

Type: Choice
Desc: Whether or not to apply handbrake on consist initially.
0 - do not apply handbrake initially. Note: if consist is placed on a hill, it may roll away.
1 - do apply handbrake initially.

show-in-consist-menu

Type: Choice
Desc: Controls whether the player should be able to see this consist in the consist menu.
0 - not visible in menu
1 - visible in menu

coupling-mask

Type: Choice
Desc: Coupling mask that applies to the consist.
0 - Neither coupler permitted to couple
1 - Front coupler permitted to couple
2 - Rear coupler permitted to couple
3 - Both couplers permitted to couple

decoupling-mask

Type: Choice
Desc: Decoupling mask that applies to the consist.
0 - Neither coupler permitted to decouple
1 - Front coupler permitted to decouple
2 - Rear coupler permitted to decouple
3 - Both couplers permitted to decouple