Difference between revisions of "Max Curve Speed"

From #openttdcoop wiki

Jump to: navigation, search
(Note)
m
Line 6: Line 6:
 
This is fairly simple - if you turn on the counting in game interface
 
This is fairly simple - if you turn on the counting in game interface
  
Advanced settings -> Interface -> Display Options -> Display measurement tooltip...
+
'''Advanced settings -> Interface -> Display Options -> Display measurement tooltip...'''
  
 
Then we just use those values the game says. An exception however comes when the used curves are in between - one from each. In that case when for example between 1 and 2, we call it CL1.5 as the picture below demonstrates.
 
Then we just use those values the game says. An exception however comes when the used curves are in between - one from each. In that case when for example between 1 and 2, we call it CL1.5 as the picture below demonstrates.
Line 14: Line 14:
 
==Travel speed mechanism==
 
==Travel speed mechanism==
  
Here is how it is declared whether a train will slow down on a curve and eventually how:
+
Here is how it is declared whether a train will slow down on a curve and eventually how. Getting Curve Speed value is shown below.
  
 
[[Image:Curve_mechanism.png|600px]]
 
[[Image:Curve_mechanism.png|600px]]
Line 23: Line 23:
 
Easiest way to test how fast a train can go through a curve is to simply test it, but it can also be counted by taking:
 
Easiest way to test how fast a train can go through a curve is to simply test it, but it can also be counted by taking:
  
the base curve speed table, and multiplying it by monorail or maglev bonus (50 or 100%)  and/or tilt bonus (20%), and eventually also short wagons need to be considered as they can travel through curves faster. The short wagon bonus is about the same as tilt for NUTS short wagons (half the length of full length wagon)
+
'''[http://wiki.openttd.org/Game_mechanics#Trains Base Curve Speed]''', multiplied by:
  
The base curve speed can be found on the openttd wiki, but this graph demonstrates it too (plus monorail and maglev as well)
+
• monorail bonus - x1,5
 +
 
 +
• maglev bonus - x2
 +
 
 +
• tilt - x1,2
 +
 
 +
• short wagons - about x1,2 for "half-length wagons"
 +
 
 +
 
 +
The base curve speed can be found on the [http://wiki.openttd.org/Game_mechanics#Trains OpenTTD wiki], but this graph demonstrates it too (plus monorail and maglev as well)
  
 
[[Image:curve_speeds1.png]]
 
[[Image:curve_speeds1.png]]
Line 36: Line 45:
 
[[Image:slow_corners.png|frame|none|An example showing which corners are affected]]
 
[[Image:slow_corners.png|frame|none|An example showing which corners are affected]]
  
==Note==
+
==Side Notes==
The real calculation OpenTTD does is counting wagons (vehicles) between curves, meaning that shorter wagons can travel through curves faster.
+
'''The real calculation OpenTTD does is counting wagons''' (vehicles) between curves, meaning that shorter wagons can travel through curves faster.
  
 
However, because the actual outpuf of all the curve counting for us is setting up a convention how to build in a specific game,
 
However, because the actual outpuf of all the curve counting for us is setting up a convention how to build in a specific game,
Line 43: Line 52:
  
 
From observation, half length wagons get about 20% bonus so it is something like if they had tilt. Those two bonuses stack however, so the combined bonus can be around 40%.
 
From observation, half length wagons get about 20% bonus so it is something like if they had tilt. Those two bonuses stack however, so the combined bonus can be around 40%.
 +
 +
 +
 +
'''In the newGRF code''', railtypes can allow higher speeds. The smallest possible is what normal and electrified rail has. [http://newgrf-specs.tt-wiki.net/wiki/NML:Railtypes#Base_speeds_for_curves.]
 +
  
 
== See Also ==
 
== See Also ==
 
* For some more detailed information see {{User|Mark}}'s blog post: http://www.openttdcoop.org/blog/2009/05/13/about-curve-lengths/
 
* For some more detailed information see {{User|Mark}}'s blog post: http://www.openttdcoop.org/blog/2009/05/13/about-curve-lengths/
 
* [[User:KenjiE20/Webster#Curve Length Calculator|Webster's helper function]]
 
* [[User:KenjiE20/Webster#Curve Length Calculator|Webster's helper function]]

Revision as of 10:12, 25 May 2013

Making trains keep their speed at maximum is key for keeping traffic fluent.

Numbering Convention

First of all it is necessary to realize how do we name curves by numbers. This is fairly simple - if you turn on the counting in game interface

Advanced settings -> Interface -> Display Options -> Display measurement tooltip...

Then we just use those values the game says. An exception however comes when the used curves are in between - one from each. In that case when for example between 1 and 2, we call it CL1.5 as the picture below demonstrates.

Curve convention.png

Travel speed mechanism

Here is how it is declared whether a train will slow down on a curve and eventually how. Getting Curve Speed value is shown below.

Curve mechanism.png


Curve Speed

Easiest way to test how fast a train can go through a curve is to simply test it, but it can also be counted by taking:

Base Curve Speed, multiplied by:

• monorail bonus - x1,5

• maglev bonus - x2

• tilt - x1,2

• short wagons - about x1,2 for "half-length wagons"


The base curve speed can be found on the OpenTTD wiki, but this graph demonstrates it too (plus monorail and maglev as well)

Curve speeds1.png

Special Curves

There are not always just full curves, but also Sbends and such. Counting their maximum speed is quite complicated so it is easier to just try it in game if the train slows down in the specific curve or not.

An example showing which corners are affected

Side Notes

The real calculation OpenTTD does is counting wagons (vehicles) between curves, meaning that shorter wagons can travel through curves faster.

However, because the actual outpuf of all the curve counting for us is setting up a convention how to build in a specific game, it is most useful to use counting by curve lengths (as shown in the beginning of this page) instead of counting vehicles.

From observation, half length wagons get about 20% bonus so it is something like if they had tilt. Those two bonuses stack however, so the combined bonus can be around 40%.


In the newGRF code, railtypes can allow higher speeds. The smallest possible is what normal and electrified rail has. [1]


See Also

Powered by MediaWiki