Difference between revisions of "IRC:Tunnels"
From #openttdcoop wiki
(Initial Version) |
m |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | A formula to calculate the required amount of tunnels or bridges required to cross terrain, without disrupting the flow of the Mainline. | + | A formula to calculate the required amount of tunnels or bridges required to cross terrain, without disrupting the flow of the Mainline. It can be queried via [[IRC]]. |
[[Image:Tunnel_Flow.png|280px|right|thumb|Example of Mainline Tunnel splits]] | [[Image:Tunnel_Flow.png|280px|right|thumb|Example of Mainline Tunnel splits]] | ||
Line 14: | Line 14: | ||
'''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 /> | |
+ | <pre width=40%><@Mark_> you shouldnt use pbs or presignalling at tunnel entrances | ||
+ | <@Mark_> just regular signals | ||
+ | <@Mark_> YAPF will do the rest</pre> | ||
− | + | On IRC you can use a command to calculate this for you using the following: | |
+ | |||
+ | !tunnels <TrainLength> <TunnelLength> | ||
+ | |||
+ | You can also see the calculations step by step by using [http://www.narc.ro/ottd-tun-calc.php Narc's Page] | ||
<small>for reference, the bot command is:<br /> | <small>for reference, the bot command is:<br /> | ||
"math calc ceil(max( 2, $2 / ( $1 + 2 )))"</small> | "math calc ceil(max( 2, $2 / ( $1 + 2 )))"</small> | ||
+ | |||
+ | [[Category:IRC]] |
Latest revision as of 23:15, 2 August 2014
A formula to calculate the required amount of tunnels or bridges required to cross terrain, without disrupting the flow of the Mainline. It can be queried via IRC.
The formula is;
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 a command to calculate this for you using the following:
!tunnels <TrainLength> <TunnelLength>
You can also see the calculations step by step by using Narc's Page
for reference, the bot command is:
"math calc ceil(max( 2, $2 / ( $1 + 2 )))"