Vehicles: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{DeveloperNav}}
The Vehicles table defines car-specific properties.
The Vehicles table defines car-specific properties.


Line 60: Line 63:
:Defines the type of shunt radio in use, if any.
:Defines the type of shunt radio in use, if any.


{{TimetableNav}}
{{DeveloperNavBottom}}

Revision as of 12:08, 13 July 2011

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers



The Vehicles table defines car-specific properties.

VehicleID
(int)
Automatically increments.
VehicleDescription
(string)
Defines a name for the type of vehicle.
VehicleLength
(int)
Length of the vehicle, in metres.
VehicleMaxSpeed
(int)
The maximum allowed speed of the vehicle, in km/h.
VehiclePower
(int)
Defines the maximum possible power output of the vehicle, in kW.
VehicleCanCarryPassenger
(bool)
True when this is a passenger vehicle.
VehicleWeightUnloaded
(int)
Mass of the car (unloaded) in tons.
VehicleWeightLoaded
(int)
Mass of the car when loaded, in tons.
VehicleHasTraction
(bool)
True when the vehicle can provide locomotion.
VehicleWeightCoupleType
(int)
Defines the coupler on the vehicle.
-1 = NoCoupler,
0 = General : coupler is compatible with all (coupler car)
1 = UIC : standard UIC chain and buffers
2 = AutomaticHigh : automatic coupler type high
3 = AutomaticLow : automatic coupler type low
4 = AutomaticDB : automatic coupler type Bundesbahn (for VT605)
Any value other than -1, 0, 1, 2, 3, or 4 is automatically interpreted as "NoCoupler".
VehicleHasPantoGraph
(bool)
True when the vehicle has one or more pantographs.
VehicleIsSteamLoco
(bool)
True when the vehicle is a steam locomotive. This enables some interesting sound effects.
HasShuntRadio
(string)
Defines the type of shunt radio in use, if any.

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers