ConsistTemplates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{DeveloperNav}} | |||
Defines templates from which to create trains. These templates are referenced from both the Timetable table and external scenarios. Be advised that undesired behaviour can occur when a scenario references consist template that does not exist. A good rule of thumb is to only add or modify templates. | Defines templates from which to create trains. These templates are referenced from both the Timetable table and external scenarios. Be advised that undesired behaviour can occur when a scenario references consist template that does not exist. A good rule of thumb is to only add or modify templates. | ||
| Line 15: | Line 17: | ||
;Loaded | ;Loaded | ||
:(bool) | :(bool) | ||
:True when the vehicle is loaded (i.e., has passengers | :True when the vehicle is loaded (i.e., has passengers) | ||
;LoadedMass | |||
:(int) | |||
:''optional - used as part of Freight Management system'' | |||
:Only for freight cars. Mass in tonnes for the load (not the vehicle tare mass). | |||
;LoadedType | |||
:(int) | |||
:''optional - used as part of Freight Management system'' | |||
:Defines the type of load as defined in the LoadTypes table. | |||
;Destination | |||
:(string) | |||
:''optional - used as part of Freight Management system'' | |||
:Defines the final destination of a vehicle. | |||
{{ | {{DeveloperNavBottom}} | ||
Latest revision as of 22:38, 23 August 2012
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers
Defines templates from which to create trains. These templates are referenced from both the Timetable table and external scenarios. Be advised that undesired behaviour can occur when a scenario references consist template that does not exist. A good rule of thumb is to only add or modify templates.
- ID
- (int)
- Automatically incremented.
- TemplateID
- (int)
- Entries with the same value belong to the same consist.
- VehicleID
- (int)
- References a vehicle type from the Vehicles table.
- Loaded
- (bool)
- True when the vehicle is loaded (i.e., has passengers)
- LoadedMass
- (int)
- optional - used as part of Freight Management system
- Only for freight cars. Mass in tonnes for the load (not the vehicle tare mass).
- LoadedType
- (int)
- optional - used as part of Freight Management system
- Defines the type of load as defined in the LoadTypes table.
- Destination
- (string)
- optional - used as part of Freight Management system
- Defines the final destination of a vehicle.
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers