## Train Window Mod Request

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

kucings
Engineer Posts: 1
Joined: 29 Apr 2021 18:22

### Train Window Mod Request

Hi, sorry for my bad English,
every time I buying train and wagons(or cars), I have this problem:
does my locomotive carry too many wagons?
-will the train acceleration on top capability?
-will the train climb the hill(s) at top speed/acceleration?
or
-does the train carry too few? so the train missing some revenue?

Code: Select all

``https://www.tt-forums.net/viewtopic.php?t=71726``
first formula:

Code: Select all

``````i = Weight of full individual car (in tons)
e = Weight of engine (in tons)
h = Horsepower of engine
s = Desired speed (in Kph)

Maximum cars a given engine can pull (round down) = ((((h / 1.3) / .27778s) / .335) - e) / i
``````
and second formula for GOOD acceleration:

Code: Select all

``````i = Weight of full individual car (in tons)
e = Weight of engine (in tons)
h = Horsepower of engine
s = Desired speed (in Kph)
x = # of cars
y = length of biggest hill on rail line in tiles
z = length of single car
b = length of engine

(((35(ix+e) + (300(ix+e))(y/(xz+b)))*(.001)) * .27778s) * 1.3 = h
``````
they are nice formulas, BUT I too lazy to calculate all of the formula each time I buying a new train,
it will be nice if we can put that formula to the train information window,
and give a caution text based on the calculation:
-this train speed will reduce at accelerating(not climbing),
-this train speed will reduce at climbing a "tile" of a hill,
-this train speed will reduce at climbing 2 or more tiles of hill straight,

does this mod exist? if not: I hope somebody can make my idea into a mod / download-able "online content",

sorry again for my bad English,