Configuring Rolling Stock - ENG and WAG File Parameters
Aim -This section describes the structure and layout of Open Rails
Index
Introduction
What are ENG and WAG Files
Filename and Location
Using Include files
File Structure of ENG and WAG files
Wagon (WAG) File Structure and Parameters
Engine (ENG) File Structure and Parameters
Steam Locomotive Example
Diesel Locomotive Example
Electrical Locomotive Example
Examples of ENG and WAG Files
Introduction
This webpage explains how all parameters that are used to configure Rolling Stock in the Open Rails Trail Simulator are to be recorded in
We would appreciate your feedback, so if you have any comments or suggestions regarding the content on this page, please use the contact form.
What are ENG and WAG Files
Filename and Location
Using Include files
An Open Rails
- Separation of MSTS and OR parameters - the original
ENG orWAG files are maintained in a form suitable for operation in MSTS. The file that contains the parameters required specifically for OR operation will include the originalENG orWAG file, which avoids the duplication of the originalENG orWAG file code. - Duplication of common elements - allows common elements used on multiple occassions by different rolling stock to be managed from a
single source file. For example, brakes or couplers could be specified in a single source file, and then inserted (included) into multiple
ENG orWAG files.
To implement an
- Create a folder called
OpenRails that you wish to insert theINCLUDE file to, in one of the following locations:- within the root folder of the route (eg.
../Routes/"my route"/OpenRails ), - in the folder of the rolling stock (eg.
../Trains/Trainset/"my train"/OpenRails ), or - anywhere in the OR file structure, but in this instance the full path name to the folder would be required to refer to the original file.
- within the root folder of the route (eg.
- The
INCLUDE filename must be the same as the "original" filename, for example, the statement:
include ( filename ) .
entered at the start of the Open Rails specificINCLUDE file:
C://Open Rails - CTN Test Route/Trains/Trainset/AU_NSW_1905_Goods_Wagons/OpenRails/~CTN-PT5-Tender-FC.wag
will include "original" file:
C://Open Rails - CTN Test Route/Trains/Trainset/AU_NSW_1905_Goods_Wagons/~CTN-PT5-Tender-FC.wag
File Structure of ENG and WAG files
It is hightly recommended to organize the parameters in the
Each section contains the following information:
- A
Comment statement with:- Section Name: the topic to which the parameters in this section are reated, for instance "General Information", "Couples", "Brakes", "Lights", etc.
- Included in section: description of the type of information found in this section.
- Code - the parameters that may appear in this section. The examples below show the syntax of parameters and ad the preferred formating.
- Link - if available, a link is provided to the appropriate CTN Physics page with related detailed information on the topic in the section.
When building the
- BASIC - Rolling stock can be customized using data and information that is readily available from the Internet. Open Rails
uses default values for a number of parameters, that therefore can be excluded from the
ENG andWAG files. Typically only the information that is relatively unique to the rolling stock is modelled. This configuration type is best suited for users who are more interested in the visual effects of OR without worrying about detailed physics, or where accurate physics information is not easily obtained. - ADVANCED -In Open Rails, rolling stock can be customized closely matching real life performance. Finding the ADVANCED parameter data often requires more in-dept research into information such as test reports, etc. This configuration type is best suited for users who want as accurate representation of train performance as possible.
Wagon (WAG ) File Structure
Click on the section name to see an example of the information grouped in the section.
Copy and Paste the examples into your own
Wagon Section
General Information
Comment ( ******************************* General Information *******************************
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Couplers
Comment ( ******************************* Coupler Information *******************************
Included in this section - Type, Spring, Buffer, Velocity, etc
************************************************************************************ )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN )
Comment ( 0.15MN )
r0 ( 10cm 10cm )
)
)
Links:
Brakes
Comment ( ************************************* Brakes *************************************
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN )
Comment ( Assume weight of 6.3t-uk )
MaxHandbrakeForce ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 )
Comment ( Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft) )
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121 )
Comment ( Cast Iron Brakeshoes )
Links:
Resistance & SuperElevation
Comment ( *************************** Resistance & SuperElevation ***************************
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment ( Assumptions - speed - 65mph (105km/h), Friction Bearing, 4 axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric) )
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Lights
Comment ( ******************************** Lights (If used) ********************************
Included in this section - Type, Colour, Location, Size, Control, etc
********************************************************************************** )
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Wagon Visual Effects
Comment ( ************************* Wagon Visual Effects (If used) *************************
Included in this section - Effect type, etc
********************************************************************************** )
Effects (
SpecialEffects (
Comment ( Wagon Smoke )
WagonSmokeFX (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
)
Links
Freight and Load Animations
Comment ( ********************** Freight and Load Animations (If used) **********************
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims (
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous (
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Links
Passenger View
Comment ( **************************** Passenger View (If used) ****************************
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Wagon Heating
Comment ( **************************** Wagon Heating (If used) ****************************
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
HeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Links
Miscellaneous Information
Comment ( **************************** Miscellaneous Information ***************************
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" )
Comment ( NB: Locomotive names go into the miscellaneous section in the engine section of the file. )
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine ENG File Structure
The
Wagon Section
General Information
Comment ( ******************************* General Information *******************************
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Couplers
Comment ( ******************************* Coupler Information *******************************
Included in this section - Type, Spring, Buffer, Velocity, etc
*********************************************************************************** )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN )
Comment ( 0.15MN )
r0 ( 10cm 10cm )
)
)
Links
Brakes
Comment ( ************************************* Brakes *************************************
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN )
Comment ( Assume weight of 6.3t-uk )
MaxHandbrakeForcev ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 )
Comment ( Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft) )
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121 )
Comment ( Cast Iron Brakeshoes )
Links
Resistance & SuperElevation
Comment ( *************************** Resistance & SuperElevation ***************************
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment ( Assumptions - speed - 65mph (105km/h), Friction Bearing,
4 axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric) )
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Lights
Comment ( ******************************** Lights (If used) ********************************
Included in this section - Type, Colour, Location, Size, Control, etc
********************************************************************************** )
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Freight and Load Animations
Comment ( ********************** Freight and Load Animations (If used) **********************
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims (
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous (
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Links
Passenger View
Comment ( **************************** Passenger View (If used) ****************************
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Wagon Heating
Comment ( **************************** Wagon Heating (If used) ****************************
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
HeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Links
Miscellaneous Information
Comment ( **************************** Miscellaneous Information ***************************
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" )
Comment ( NB: Locomotive names go into the miscellaneous section in the engine section of the file. )
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine Section
Engine Visual Effects
Comment ( ************************** Engine Visual Effects **************************
Included in this section - Steam emissions, etc
*********************************************************************** )
Effects (
SteamSpecialEffects (
Comment ( Cylinder - Left/Rear )
CylindersFX (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
)
Links
General Information
Comment ( ************************ General Information ************************
Included in this section - Wheels, sanding, etc
*********************************************************************** )
ORTSSteamLocomotiveType ( Simple )
Type ( Steam )
WheelRadius ( 0.310m )
NumWheels ( 2 )
Sanding ( 20mph )
ORTSDriveWheelWeight ( 12.0t-uk )
IsTenderRequired( 1 )
Links
Boiler
Comment ( ******************************* Boiler *******************************
Included in this section - Length, volume, heating area, pressure, etc
*********************************************************************** )
ORTSSteamBoilerType ( Saturated )
BoilerVolume ( 70.8ft^3 )
ORTSEvaporationArea ( 236.8ft^2 )
MaxBoilerPressure ( 180psi )
Links
Cylinders
Comment ( ***************************** Cylinders *****************************
Included in this section - Number, Stroke, Diameter, steam usage, etc
*********************************************************************** )
NumCylinders ( 2 )
CylinderStroke ( 11.1875in )
CylinderDiameter ( 8.875in )
Links
Fire
Comment ( ********************************* Fire *********************************
Included in this section - Fuel Quality, Grate Area, Shoveling Rate, etc
*********************************************************************** )
ORTSFuelCalorific ( 13700btu/lb )
ORTSGrateArea ( 4.3ft^2 )
SteamFiremanMaxPossibleFiringRate( 3000 )
Links
Fuel
Comment ( ********************************* Fuel *********************************
Included in this section - Coal, water, etc
*********************************************************************** )
MaxTenderCoalMass ( 355lb )
MaxTenderWaterMass ( 3000lb )
Links
Gearing
Comment ( ************************* Gearing (If used) *************************
Included in this section - Gear type, ratio, etc
*********************************************************************** )
ORTSSteamGearType ( Select )
ORTSSteamGearRatio ( 9.0 4.5 ) Comment ( Equivalent to TE 6,600 lbf 13,200 lbf)
ORTSSteamMaxGearPistonRate ( 450 )
Links
Brakes
Comment ( *************************** Brake System ***************************
Included in this section - Compressor, Reservoir, Application rates, etc
*********************************************************************** )
Comment ( == Compressor, Main Reservoir and General == )
AirBrakesMainMaxAirPressure ( 105.0 )
AirBrakesCompressorRestartPressure ( 90.0 )
Comment (Assume 1 x 9.549 cu ft main reservoir volume)
AirBrakesMainResVolume ( 9.549ft^3 )
Comment (Assume 6.0in Compressor)
ORTSMainResChargingRate ( 0.313 )
ORTSBrakePipeChargingRate ( 40.0 )
Comment ( == Automatic Brake valve - Train == )
TrainBrakesControllerMaxSystemPressure ( 70 )
TrainBrakesControllerMaxReleaseRate ( 1.0 )
TrainBrakesControllerMaxQuickReleaseRate ( 20.0 )
TrainBrakesControllerMaxApplicationRate ( 0.5 )
TrainBrakesControllerEmergencyApplicationRate ( 30.0 )
TrainBrakesControllerFullServicePressureDrop ( 25.0 )
TrainBrakesControllerMinPressureReduction ( 7.0 )
Comment ( == Independent Brake valve - Engine & Tender == )
EngineBrakesControllerMaxSystemPressure ( 70 )
EngineBrakesControllerMaxReleaseRate ( 1.0 )
EngineBrakesControllerMaxQuickReleaseRate ( 20.0 )
EngineBrakesControllerMaxApplicationRate ( 0.5 )
EngineBrakesControllerEmergencyApplicationRate ( 30.0 )
EngineBrakesControllerFullServicePressureDrop ( 25.0 )
EngineBrakesControllerMinPressureReduction ( 7.0 )
Links
Engine Controls
Comment ( ************************** Engine Controls **************************
Included in this section - Controllers for Regulator, Reverser, Brakes, etc
*********************************************************************** )
EngineControllers (
Brake_Engine ( 0 1 0.01 0.25
NumNotches ( 5
Notch ( 0.0 0 EngineBrakesControllerReleaseStart )
Notch ( 0.25 0 EngineBrakesControllerRunningStart )
Notch ( 0.50 0 EngineBrakesControllerHoldStart )
Notch ( 0.75 0 EngineBrakesControllerFullServiceStart )
Notch ( 1.0 0 EngineBrakesControllerEmergencyStart )
)
)
)
Miscellaneous Information
Comment ( ********************** Miscellaneous Information *********************
Included in this section - Alternate Views, Sounds, etc
*********************************************************************** )
Sound ( "jack_cab.sms" )
CabView ( jack.cvf )
HeadOut ( 1.0 2.3 -2.0 )
Stock Description
Comment ( ************************* Stock Description *************************
Included in this section - Stock Description, Operating Procedures, etc
*********************************************************************** )
Description ( "CTN Test Stock Atlantic 4-4-2 - based on PRR Locomotive #5266" )
EngineOperatingProcedures (
"To move forward\n"+
"1. Press the W key several times to move the Reverser to full Forward.\n"+
"2. ...\n"
)
Wagon Section
General Information
Comment ( ******************************* General Information *******************************
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Couplers
Comment ( ******************************* Coupler Information *******************************
Included in this section - Type, Spring, Buffer, Velocity, etc
*********************************************************************************** )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN )
Comment ( 0.15MN )
r0 ( 10cm 10cm )
)
)
Links
Brakes
Comment ( ************************************* Brakes *************************************
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN )
Comment ( Assume weight of 6.3t-uk )
MaxHandbrakeForcev ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 )
Comment ( Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft) )
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121 )
Comment ( Cast Iron Brakeshoes )
Links
Resistance & SuperElevation
Comment ( *************************** Resistance & SuperElevation ***************************
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment ( Assumptions - speed - 65mph (105km/h), Friction Bearing,
4 axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric) )
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Lights
Comment ( ******************************** Lights (If used) ********************************
Included in this section - Type, Colour, Location, Size, Control, etc
********************************************************************************** )
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Freight and Load Animations
Comment ( ********************** Freight and Load Animations (If used) **********************
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims (
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous (
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Links
Passenger View
Comment ( **************************** Passenger View (If used) ****************************
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Wagon Heating
Comment ( **************************** Wagon Heating (If used) ****************************
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
HeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Links
Miscellaneous Information
Comment ( **************************** Miscellaneous Information ***************************
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" )
Comment ( NB: Locomotive names go into the miscellaneous section in the engine section of the file. )
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine Section
Engine Effects
Comment ( ********************************* Engine Effects *********************************
Included in this section - Diesel emissions, etc
********************************************************************************** )
Effects (
DieselSpecialEffects (
Comment ( Exhaust1 - Left/Rear )
Exhaust1 (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
)
General Information
Comment ( ****************************** General Information *******************************
Included in this section - Wheels, sanding, etc
********************************************************************************** )
Type ( Diesel )
WheelRadius ( 0.310m )
NumWheels ( 2 )
Sanding ( 20mph )
ORTSDriveWheelWeight ( 12.0t-uk )
Links
Traction Motors
Comment ( ********************************* Traction Motors *********************************
Included in this section - Information relating to traction motors, etc
********************************************************************************** )
MaxPower ( 1560.0hp )
MaxForce ( 50000lb )
MaxContinuousForce ( 30000lb )
ORTSSpeedOfMaxContinuousForce ( 19.5mph )
MaxVelocity ( 90mph )
MaxCurrent ( 2600A )
Links
Diesel Prime Mover (Engine)
Comment ( *************************** Diesel Prime Mover (Engine) ***************************
Included in this section - Information about the diesel engine, etc
*********************************************************************************** )
MaxDieselLevel( 1180g-uk )
MaxTemperature ( 120degF )
MaxOilPressure ( 90 )
DieselUsedPerHourAtMaxPower ( 75.2g-uk )
DieselUsedPerHourAtIdle ( 25.5g-uk )
DieselEngineIdleRPM( 450 )
DieselEngineMaxRPM( 850 )
Links
Gearing (If used)
Comment ( ******************************* Gearing (If used) ********************************
Included in this section - Gear type, ratio, etc
********************************************************************************** )
GearBoxNumberOfGears ( 2 )
GearBoxOperation ( Manual )
Links
Brakes
Comment ( ************************************* Brakes *************************************
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN )
Comment ( Assume weight of 6.3t-uk )
MaxHandbrakeForcev ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 )
Comment ( Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft) )
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121 )
Comment ( Cast Iron Brakeshoes )
Links
Locomotive Monitoring Systems (If used)
Comment ( ********************* Locomotive Monitoring Systems (If used) *********************
Included in this section - Monitoring of Overspeed, Emergency Braking, Vigilance, etc
*********************************************************************************** )
OverspeedMonitor (
MonitoringDeviceMonitorTimeLimit ( 0 )
MonitoringDeviceAlarmTimeLimit ( 0 )
MonitoringDevicePenaltyTimeLimit ( 0 )
Engine Controls
Comment ( ************************** Engine Controls **************************
Included in this section - Controllers for Regulator, Reverser, Brakes, etc
*********************************************************************** )
EngineControllers (
Brake_Engine ( 0 1 0.01 0.25
NumNotches ( 5
Notch ( 0.0 0 EngineBrakesControllerReleaseStart )
Notch ( 0.25 0 EngineBrakesControllerRunningStart )
Notch ( 0.50 0 EngineBrakesControllerHoldStart )
Notch ( 0.75 0 EngineBrakesControllerFullServiceStart )
Notch ( 1.0 0 EngineBrakesControllerEmergencyStart )
)
)
)
Miscellaneous Information
Comment ( ********************** Miscellaneous Information *********************
Included in this section - Alternate Views, Sounds, etc
*********************************************************************** )
Sound ( "jack_cab.sms" )
CabView ( jack.cvf )
HeadOut ( 1.0 2.3 -2.0 )
Stock Description
Comment ( ************************* Stock Description *************************
Included in this section - Stock Description, Operating Procedures, etc
*********************************************************************** )
Description ( "CTN Test Stock Atlantic 4-4-2 - based on PRR Locomotive #5266" )
EngineOperatingProcedures (
"To move forward\n"+
"1. Press the W key several times to move the Reverser to full Forward.\n"+
"2. ...\n"
)
Wagon Section
TBD
Comment ( ******************************* General Information *******************************
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Electrical )
WagonShape ( ...tbd.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Examples of ENG and WAG files
A number of sample locomotives can be downloaded on the Test Stock and Activities page. Please note that not all the locomotives are up to date including the latest features. If you are searching for a particular feature as an example, you may need to look at a number of the models on this page to find a recent example.
Once the files have been built, make sure that they are tested using some of these performance tests