ConsistTemplates: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:
;Loaded
;Loaded
:(bool)  
:(bool)  
:True when the vehicle is loaded (i.e., has passengers or is loaded with freight)
: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}}
{{DeveloperNavBottom}}

Revision as of 22:37, 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