Difference between revisions of "SignalWaitTimes"

From TTWiki
Jump to navigationJump to search
m (1 revision)
 
(Reformat and update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Adjust the time a train waits at a red signal.
   
 
==Switch==
'''''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
 
Configuration file: signal1waittime
Line 16: Line 11:
 
Command line: -X2
 
Command line: -X2
   
-=Description=-
+
==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.
+
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.
+
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.
 
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.