Howdy!
I'm the type of person who enjoys calculating their stuffs before going ahead. However, my issue is I can't find the model used or the corresponding source file to the realistic acceleration for trains.
I've found this page:
https://wiki.openttd.org/OpenTTDDevBlac ... celeration
But not only is it a mess, the model it presents doesn't even give me accurate results!
Can anyone help or direct me in the right direction?
P.S. Is there a page for loading time Calcs?
Help finding and understanding Realistic Acceleration Models
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 12
- Joined: 28 Dec 2018 19:29
Re: Help finding and understanding Realistic Acceleration Models
I think these are the principal functions of interest:
GroundVehicle<>::GetAcceleration()
Train::GetCurveSpeedLimit()
GroundVehicle<>::GetAcceleration()
Train::GetCurveSpeedLimit()
Re: Help finding and understanding Realistic Acceleration Models
i'm fairly sure the code got changed after that page was written.DrCplKlinger wrote:But not only is it a mess, the model it presents doesn't even give me accurate results!
-
- Tycoon
- Posts: 2781
- Joined: 22 Feb 2011 18:34
Re: Help finding and understanding Realistic Acceleration Models
Take a look at the bottom of this page, that seems a little more recent than your source.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
-
- Engineer
- Posts: 12
- Joined: 28 Dec 2018 19:29
Re: Help finding and understanding Realistic Acceleration Models
Thanks Everyone!!!
Who is online
Users browsing this forum: No registered users and 8 guests