Difference between revisions of "TrainCarts/Acceleration"

From BergerHealer Wiki
Jump to navigation Jump to search
Bergerhealer Wiki>Bergerkiller
 
m (1 revision imported)
 
(No difference)

Latest revision as of 21:36, 17 November 2020

« Go back

Introduction

Acceleration is the rate at which trains speed up or slow down. This is an important metric when launching or stopping trains. TrainCarts supports various ways of specifying acceleration in both metric and imperial units.

As a base unit TrainCarts uses blocks/tick2 This can be understood as: Increase the speed by <value> blocks/tick every tick. A single tick is 1/20 second. All units are case-insensitive. Some mix-matching of units is possible, for example, you can use 20m/hh even though it is not listed.

Syntax

Input blocks/tick2 Explanation
0.2
0.2/tt
0.2 When no unit is specified, the value is in blocks/tick2
20m/ss
20/ss
20/s2
20/s/s
0.05 Unit in blocks/second2 (or m/s2). Can be specified with 2x s, or s2. The m before the unit is optional.
30km/h/s
30kmh/s
30kmph/s
0.020833 Unit in kilometers/hour per second. Can be specified as km/h, kmh or kmph.
3.28ft/s/s
3.28ft/ss
0.0025 Unit in feet/second2
1.0mi/h/s
1.0mph/s
0.0011176 Unit in miles/hour per second. mi/h can be specified as mph.
1.5G 0.0367875 Unit based on G-forces. 1G is assumed to be 9.81m/s2