ConsistTemplates: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 21: Line 21:
;LoadedMass
;LoadedMass
:(int)  
:(int)  
:'optional - used as part of Freight Management system'
:''optional - used as part of Freight Management system''
:Only for freight cars. Mass in tonnes for the load (not the vehicle tare mass).
:Only for freight cars. Mass in tonnes for the load (not the vehicle tare mass).


;LoadedType
;LoadedType
:(int)  
:(int)  
:'optional - used as part of Freight Management system'
:''optional - used as part of Freight Management system''
:Defines the type of load as defined in the LoadTypes table.
:Defines the type of load as defined in the LoadTypes table.


;Destination
;Destination
:(string)  
:(string)  
:'optional - used as part of Freight Management system'
:''optional - used as part of Freight Management system''
:Defines the final destination of a vehicle.
:Defines the final destination of a vehicle.


{{DeveloperNavBottom}}
{{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