Vehicles: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'The Vehicles table defines car-specific properties. ;VehicleID :(int) :Automatically increments. ;VehicleDescription :(string) :Defines a name for the type of vehicle. ;Vehi…') |
SignalAdmin (talk | contribs) No edit summary |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{DeveloperNav}} | |||
The Vehicles table defines car-specific properties. | The Vehicles table defines car-specific properties. | ||
| Line 15: | Line 18: | ||
;VehicleMaxSpeed | ;VehicleMaxSpeed | ||
:(int) | :(int) | ||
:The maximum allowed speed of the vehicle, in | :The maximum allowed speed of the vehicle, in km/h. | ||
;VehiclePower | ;VehiclePower | ||
| Line 31: | Line 34: | ||
;VehicleWeightLoaded | ;VehicleWeightLoaded | ||
:(int) | :(int) | ||
:Mass of the car when | :Mass of the car when loaded, in tons. | ||
;VehicleHasTraction | ;VehicleHasTraction | ||
| Line 39: | Line 42: | ||
;VehicleWeightCoupleType | ;VehicleWeightCoupleType | ||
:(int) | :(int) | ||
:Defines the coupler on the vehicle. | :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 | ;VehicleHasPantoGraph | ||
:(bool) | :(bool) | ||
:True when the vehicle has | :True when the vehicle has one or more pantographs. | ||
;VehicleIsSteamLoco | ;VehicleIsSteamLoco | ||
| Line 53: | Line 63: | ||
:Defines the type of shunt radio in use, if any. | :Defines the type of shunt radio in use, if any. | ||
{{ | ;VehicleIsPilotCar | ||
:(bool) | |||
:True when the vehicle can act as a pilot car (Steuerwagen) | |||
;VehicleMightHaveLossOfShunt | |||
:(bool) | |||
:True when the vehicle will NOT guarantee proper working on track circuits (works fine with axle counters) (Example: Kleinwagen) | |||
;VehicleHasMagneticBrakes | |||
:(bool) | |||
:True when the vehicle is equipped with magnetic brake shoes (Magnetschienenbremsen) | |||
{{DeveloperNavBottom}} | |||
Latest revision as of 03:32, 10 October 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.
- VehicleIsPilotCar
- (bool)
- True when the vehicle can act as a pilot car (Steuerwagen)
- VehicleMightHaveLossOfShunt
- (bool)
- True when the vehicle will NOT guarantee proper working on track circuits (works fine with axle counters) (Example: Kleinwagen)
- VehicleHasMagneticBrakes
- (bool)
- True when the vehicle is equipped with magnetic brake shoes (Magnetschienenbremsen)
Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers