TrainTypes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{DeveloperNav}} | |||
TrainTypes defines various physics models for use with different trains. | TrainTypes defines various physics models for use with different trains. | ||
| Line 34: | Line 37: | ||
{{ | {{DeveloperNavBottom}} | ||
Latest revision as of 12:07, 13 July 2011
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers
TrainTypes defines various physics models for use with different trains.
- ID
- (int)
- Automatically increments.
- TrainTypeDescription
- (string)
- Defines the name of the train type.
- TrainTypeMaxAcceleration
- (float)
- Maximum acceleration of a train of this type, in m/s².
- TrainTypeNormalAcceleration
- (float)
- The typical acceleration of a train of this type, in m/s².
- TrainTypeMaxDeceleration
- (float)
- Maximum deceleration of a train of this type, in m/s².
- TrainTypeAccelerationCorner
- (float)
- Value between 0 and 1 - defines the point at which acceleration drops off at higher speeds.
- TrainTimeReleaseBrakes
- (int)
- Time in seconds that it takes the brakes to release after a normal brake application.
- TrainTimeReleaseEmergencyBrake
- (int)
- Time in seconds that it takes the brakes to release after an emergency brake application.
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers