Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Jan 16, 2019 11:25 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Dec 28, 2018 7:35 pm 
Offline
Engineer
Engineer

Joined: Fri Dec 28, 2018 7:29 pm
Posts: 2
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?


Top
   
PostPosted: Fri Dec 28, 2018 8:42 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 395
Location: Denmark
I think these are the principal functions of interest:
GroundVehicle<>::GetAcceleration()
Train::GetCurveSpeedLimit()


Top
   
PostPosted: Fri Dec 28, 2018 9:00 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7260
DrCplKlinger wrote:
But not only is it a mess, the model it presents doesn't even give me accurate results!
i'm fairly sure the code got changed after that page was written.

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Sat Dec 29, 2018 2:22 pm 
Offline
Tycoon
Tycoon

Joined: Tue Feb 22, 2011 6:34 pm
Posts: 2666
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


Top
   
PostPosted: Sat Dec 29, 2018 5:20 pm 
Offline
Engineer
Engineer

Joined: Fri Dec 28, 2018 7:29 pm
Posts: 2
Thanks Everyone!!!
:D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.