SignalWaitTimes

From TTWiki
Revision as of 19:10, 12 June 2011 by Orudge (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Adjust the time a train waits at a red signal

Signal wait times

Adjust the time a train waits at a red signal

-=Switch=-

Configuration file: signal1waittime

Command line: -X1

Configuration file: signal2waittime

Command line: -X2

-=Description=-

These two switches allow you to select how long a train waits at a red signal, either a one-way signal or a two-way signal.  Both take a parameter between zero and 254 that is the maximum number of days to wait, or the value 255 for waiting indefinitely.

Normally, a train waits approximately 41 days at a red one-way signal and 15 days at a red two-way signal, after which it turns around and tries to find an alternative route.  If you are sure that the signal will turn green eventually, you can tell all trains to wait a longer time, or to wait forever.

This patch was contributed by Marcin Grzegorczyk.