Difference between revisions of "IRC:Tunnels"

From #openttdcoop wiki

Jump to: navigation, search
(Initial Version)
 
m (signalling clarification)
Line 13: Line 13:
 
'''Train Length''' is the minimum TL expected on that line<br />
 
'''Train Length''' is the minimum TL expected on that line<br />
 
'''Signal Gap''' is the same as the setting in the 'Signal GUI' --(This defaults to 2 for openttdcoop and is fixed as such in the bot calculations)
 
'''Signal Gap''' is the same as the setting in the 'Signal GUI' --(This defaults to 2 for openttdcoop and is fixed as such in the bot calculations)
 +
 +
'''Of worthy note;'''<br />
 +
<@Mark_> you shouldnt use pbs or presignalling at tunnel entrances<br />
 +
<@Mark_> just regular signals<br />
 +
<@Mark_> YAPF will do the rest<br />
  
 
On IRC you can use our bot JJ to calculate this for you using the following command:
 
On IRC you can use our bot JJ to calculate this for you using the following command:

Revision as of 23:08, 12 March 2009

A formula to calculate the required amount of tunnels or bridges required to cross terrain, without disrupting the flow of the Mainline.

Example of Mainline Tunnel splits

The formula is;
Tunnel Formula.png
where x is TrainLength, y is TunnelLength and z is SignalGap

or in a simpler form:
"Tunnels Needed = TunnelLength / (TrainLength+SignalGap)"

Tunnel Length is the average span ( a good value would be the tiles between split and join)
Train Length is the minimum TL expected on that line
Signal Gap is the same as the setting in the 'Signal GUI' --(This defaults to 2 for openttdcoop and is fixed as such in the bot calculations)

Of worthy note;
<@Mark_> you shouldnt use pbs or presignalling at tunnel entrances
<@Mark_> just regular signals
<@Mark_> YAPF will do the rest

On IRC you can use our bot JJ to calculate this for you using the following command:

@tunnels <TrainLength> <TunnelLength>

for reference, the bot command is:
"math calc ceil(max( 2, $2 / ( $1 + 2 )))"

Powered by MediaWiki