TrainTypes: Difference between revisions
Jump to navigation
Jump to search
(Created page with ';ID :(int) :Automatically increments. ;TrainTypeDescription :(string) :Defines the name of the train type. ;TrainTypeMaxAcceleration :(string) :Maximum acceleration of a tra…') |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{DeveloperNav}} | |||
TrainTypes defines various physics models for use with different trains. | |||
;ID | ;ID | ||
:(int) | :(int) | ||
| Line 8: | Line 13: | ||
;TrainTypeMaxAcceleration | ;TrainTypeMaxAcceleration | ||
:( | :(float) | ||
:Maximum acceleration of a train in m/s² | :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. | |||
{{ | {{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