Difference between revisions of "SignalWaitTimes"

From TTWiki
Jump to navigationJump to search
m (1 revision)
 
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Adjust the time a train waits at a red signal'''''
 
   
 
=Signal wait times=
 
=Signal wait times=
Line 6: Line 5:
 
Adjust the time a train waits at a red signal
 
Adjust the time a train waits at a red signal
   
-=Switch=-
+
==Switch==
   
 
Configuration file: signal1waittime
 
Configuration file: signal1waittime
Line 16: Line 15:
 
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.

Revision as of 11:09, 15 June 2011


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.