Speed

From Unrailed! Wiki
Jump to navigation Jump to search
Speedometer

Speed is the distance that the train travels in a second. The game measures distance using in-game meters. One meter equals one tile. For example if the train speed is .250 m/s the train advances one tile in four seconds.

The speedometer in the top left corner of the screen shows the initial speed of the train when it leaves the station, calculated by the base speed of your train engine itself and the distance since the last engine upgrade. The speedometer increases every time a station is reached or skipped and increases or decreases proportionate to the number of players in your game. The train speed is automatically adjusted when connecting to and disconnecting from the game. Inside the shop, the speedometer can be reset to the starting speed by upgrading the engine. However, upgrading the engine increases the base speed permanently.

The following table shows speed increase per engine upgrade in different versions:

Version 2 Players 3 Players 4 Players
Current 0.0155 0.0175 0.0185
Legacy 0.0143 0.0175 0.0200

The train speed can be different than what the speedometer shows. The speed can be increased by placing many tracks ahead. The train can be slowed back down to the speed it was before the increase by reducing the amount of tracks in front of the train. The speed can also be slowed by using the Brake Wagon.

The following graph shows the speed in relation to distance without engine upgrades in legacy and current builds with varying player count:

Speed Graph.png

The formula for speed is a polynomial y = ax^2 + bx + c, where y is speed, and x is distance. The following table shows coefficients that fit the curves in the graph above quite closely:

Player Count a b c
2 Players Current 0.000000089397301 0.000315421241811 0.093460656990069
3 Players Current 0.000000127407058 0.00037106459886 0.121522536287242
4 Players Current 0.000000145257097 0.000396842226627 0.140355233002292
2 Players Legacy 0.000000066574598 0.000275799322662 0.104916730328495
3 Players Legacy 0.000000121705155 0.000363289157305 0.131692131398014
4 Players Legacy 0.000000176765302 0.000437183289738 0.153868601986249