User Tools

Site Tools


Sidebar

Translations of this page:
en

Index

en:traffic:documentation:maximaltrainlength
[MP: <Simple> ] Maximum length of the train in pixels.
[MI: <Simple> ] Maximum length of the train in number of vehicles.

Both global modifiers limit only the part they are acting on. If you write, for example,

[MP:6000]2*LOCO,40*(WAGON1|WAGON2|WAGON3),LOCO

where WAGON1 is 100 pixel long, WAGON2 160 pixel and WAGON3 240 pixel, then possibly the freight train will be longer than 6000 pixels.  The train will be cut (of course, only whole vehicles will be discarded). It also means that the banking/pushing loco will be missing too, as it is defined after the length limit is exceeded.

A more useful variation of the expression is:

2*LOCO,([MP:5300]40*(WAGON1|WAGON2|WAGON3)),LOCO

which limits only the part of the freight wagons, the banking/pushing locomotive will always appear. In this case, only the lengths of the freight wagons are counted, therefore the length limit is set lower than in the previous example.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.
More information
en/traffic/documentation/maximaltrainlength.txt · Last modified: 2018/09/09 17:51 (external edit)