SignalWaitTimes

From TTWiki
Jump to: navigation, search

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.