Difference between revisions of "SignalWaitTimes"

From TTWiki
Jump to navigationJump to search
m (Bot: Automated text replacement (--= +==))
(Reformat and update)
 
Line 1: Line 1:
 
Adjust the time a train waits at a red signal.
 
 
=Signal wait times=
 
 
Adjust the time a train waits at a red signal
 
   
 
==Switch==
 
==Switch==
Line 22: Line 18:
   
 
This patch was contributed by Marcin Grzegorczyk.
 
This patch was contributed by Marcin Grzegorczyk.
  +
[[Category:Patches]][[Category:Infrastructure Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 16:10, 15 June 2011

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.