SIMISA@@@@@@@@@@JINX0D0t______

Wagon ( OMB_Md_4_Slut
	Type ( Engine )
	WagonShape ( OMB_Md_4.s )
	Size ( 3.3m 4.2m 21.02m )
	Mass ( 55t )
	WheelRadius ( 0.5m )
	InertiaTensor ( Box(3.3m 4.2m 21.02m) )
	Coupling (
		Type ( Chain )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 5.1e7N 5.1e7N )
			r0 ( 20cm 30cm )
		)
		Velocity ( 0.2m/s )
	)
	Buffers (
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			r0 ( 0m 1e9m )
		)
		Centre ( 0.5m )
		Radius ( 1m )
		Angle ( 0.5deg )
	)
	
	Adheasion ( 0.2 0.4 2 0 )
	DerailRailHeight ( 50cm )
	DerailRailForce ( 2.5*250e3lbs )
	DerailBufferForce ( 200kN )
	NumWheels (	1 )
	Friction (
		100N/m/s		1		-1mph		0		1
		5.1N/rad/s		1		-1rad/s		0		1
	)
	AntiSlip ()

	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )

	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce ( 55kN )
	
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 10 )
	MaxApplicationRate( 12 )
	MaxAuxilaryChargingRate( 10 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

    	Sound (	"md2eng.sms" )

	FreightAnim ( Slutplader_Md12.s 1 1 )

	ORTSFreightAnims
	(
	MSTSFreightAnimEnabled (1)           
	FreightAnimStatic
		(
		SubType(Default)
		Shape(Tr3_bund.s)
		Offset(0, 0, 0)
		)
	)

	IntakePoint ( 7 1 FuelDiesel )

	Lights	(	6
		Light	(
			comment( Sphere of light dim)
			Type	( 1 )
			Conditions (
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffdd )
					Position ( 0.0 3.5 18 )
					Transition ( 0 )
					Radius ( 100.0 )
					Angle ( 15.0 )
					)
				)
			)

		Light	(
			comment( Sphere of light bright )
			Type	( 1 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.0 3.5 18 )
					Transition ( 0 )
					Radius ( 300.0 )
					Angle ( 25.0 )
					)
				)
			)
		comment ( ---- The following lights are player controlled ---- )

		Light	(
			comment( Front low dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ffffbb )
					Position ( 0.0 1.85 10.12 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4m )
					Elevation ( 0.0 0.0 0.0 )
					)
				)
			)
		Light	(
			comment( Front low bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffbb )
					Position ( 0.0 1.85 10.12 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45m )
					Elevation ( 0.0 0.0 0.0 )
					)
				)
			)
			
		Light	(
			comment( Front top bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffbb )
					Position ( 0.0 3.24 10.05 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.25m )
					Elevation ( 0.0 0.0 0.0 )
					)
				)
			)

		Comment ( ----- The following light is AI controlled ----- )

		Light	(
			comment( Front low bright )
			Type( 0 )
			Conditions ( 
				Control ( 1 ) 
				Unit ( 2 ) 
				Service ( 2 ) 
				TimeOfDay ( 0 ) 
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffbb )
					Position ( 0.0 1.85 10.12 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45m )
					Elevation ( 0.0 0.0 0.0 )
					)
				)
			)
		
		)
	)

Engine ( OMB_Md_4_Slut
	Effects
		(
		DieselSpecialEffects
			(
			Exhaust1
			(
                                -0.4 3.8 -0.55
				0 0 -1
				0.1
			)
			)
        	)
        
	Wagon ( OMB_Md_4_Slut )
	Type ( Diesel )
	MaxPower ( 400hp )
	MaxForce ( 80kN )
	MaxContinuousForce ( 60kN )
	MaxVelocity ( 45mph )
	MaxCurrent ( 700A ) 
	WheelRadius ( 0.5m )

	NumWheels ( 1 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )

	
 	CabView ( Md_mg.cvf )
	HeadOut ( 1.65 2.65 8.75 )
	
	AirBrakesAirCompressorPowerRating( 3 )
	AirBrakesMainMinResAirPressure( 50 )
	AirBrakesMainMaxAirPressure( 100 )
	AirBrakesMainResVolume( 10 )
	AirBrakesAirCompressorWattage( 10000 )
	AirBrakesCompressorRestartPressure( 90 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1 )     
	AirBrakesHasLowPressureTest( 1 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	TrainBrakesControllerMinPressureReduction( 4 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 1 )
	EngineBrakesControllerMaxApplicationRate( 10 )
	TrainBrakesControllerMaxApplicationRate( 10 )
	EngineBrakesControllerMaxReleaseRate( 10 )
	TrainBrakesControllerMaxReleaseRate( 10 )
	TrainBrakesControllerEmergencyApplicationRate( 25 )
	EngineBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMinSystemPressure( 0 )
	EngineBrakesControllerMaxSystemPressure( 72 )
	TrainBrakesControllerMaxSystemPressure( 72 ) 
	TrainBrakesControllerFullServicePressureDrop( 26 )

	BrakesEngineBrakeType( "Air_single_pipe"  )
	BrakesTrainBrakeType( "Air_single_pipe" )
        BrakesEngineControllers( "Independent, Train" )

	EngineBrakesControllerDirectControlExponent( 1 )  
        
	MaxDieselLevel ( 300gal )
	DieselUsedPerHourAtMaxPower ( 40gal )
	DieselUsedPerHourAtIdle ( 5gal )

	DieselSmokeEffectInitialMagnitude( 0.5 )
	DieselSmokeEffectMaxMagnitude( 1 )
	DieselSmokeEffectInitialSmokeRate( 0.15 )
	DieselSmokeEffectMaxSmokeRate( 1.2 )
	
	DieselEngineIdleRPM( 150 )
	DieselEngineMaxRPM( 650 )
	DieselEngineSpeedOfMaxTractiveEffort( 13mph )        
        DieselEngineMaxRPMChangeRate( 90 )

	EngineVariables( 300 )
			
        EngineControllers (
            Throttle ( 0 1 0.05 0 0
                NumNotches ( 1
                    Notch ( 0  1 Dummy )
                )
            )
            Brake_Engine ( 0 1 0.03 0 
                NumNotches ( 1
                    Notch ( 0  1 Dummy )
                )
            )
            Brake_Train ( 0 1 0.03 0.75 
                NumNotches ( 5
                    Notch( 0    0 TrainBrakesControllerReleaseStart )
                    Notch( 0.3  1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                    Notch( 0.85 0 TrainBrakesControllerSuppressionStart )
                    Notch( 0.9  0 TrainBrakesControllerContinuousServiceStart )
                    Notch( 0.95 0 TrainBrakesControllerEmergencyStart )
                )
            )
  
            DirControl ( -1 0 1 1 )
            Sanding ( 0 1 0 )
            Horn ( 0 1 0 )
            Wipers ( 0 1 0 )
            Headlights ( 0 0.25 1 0 )
        )
   
    	Sound (	"md2cab.sms" )
    	Name ("OMB_Md_4_Slut")
    	Description (
	   "Bygget af: Triangel 1932\nByggenr.: 1358\nEffekt: 335 hk.\nAkselflge: 2-B-2\nHastighed: 70 km/t.\n"+
                   "Tjenestevgt: 55 tons\nLngde over puffer: 20,93 m."
	)
    	EngineOperatingProcedures (
    	"To move forward\n"+
	"1.	Press the W key to move the Reverser to Forward.\n"+
	"2.	Press the ; (SEMICOLON) key to release the train brakes.\n"+
	"3.	Press the [ (LEFT BRACKET) key to release the locomotive brake.\n"+
	"4.	Press the D key to move the throttle from Idle to Notch 1.\n"+
	"5.	Gradually increase power (D key), one notch at a time, until your train reaches the desired speed.\n\n"+
	"To slow the train\n"+
	"1.	Press the A key to move the throttle to a lower setting.\n"+
	"2.	Use the brakes to further reduce speed if desired.\n\n"+
	"To apply the dynamic brakes\n"+
	"1.	Press the A key to move the throttle to the Idle position.\n"+
	"2.	Wait for 10 seconds, then press the . (PERIOD) key to advance the Dynamic Brake handle from Off to the Setup position. After allowing a few seconds for braking circuit setup, press the . (PERIOD) key again to set the desired level of dynamic braking (Levels 1 - 8).\n\n"+
	"To release the dynamic brakes\n"+
	"1. Press the D key to move the throttle towards Idle.\n\n"+
	"To apply the train brakes\n"+
	"1.	Press the ' (APOSTROPHE) key to apply the train brakes.\n\n"+
	"To bail off the train brakes on the locomotive\n"+
	"1. Press the / (FORWARD SLASH) key.\n\n"+
	"To release the train brakes\n"+
	"1. Press the ; (SEMICOLON) key to release the train brakes.\n\n"+
	"To apply the locomotive brake\n"+
	"1.	Press the ] (RIGHT BRACKET) key to apply the locomotive brake.\n\n"+
	"To release the locomotive brake\n"+
	"1. Press the [ (LEFT BRACKET) key to release the locomotive brake.\n\n"+
	"To activate emergency braking\n"+
	"1.	Press the A key to reduce the throttle to Idle.\n"+
	"2.	Press the BACKSPACE key to activate emergency braking.\n\n"+
	"To back up\n"+
	"1.	Bring your train to a full stop.\n"+
	"2.	Press the S key to move the Reverser to the Reverse position.\n"+
	"3.	Release the brakes.\n"+
	"4.	Slowly advance the throttle lever (D key).\n\n"+
	"To couple to a car or locomotive\n"+
	"1. Coast into the unit at a very slow speed, about 2 mph.\n"+
	"TIP: To use the Coupling view, press the 6 key.\n"+
	"2. Press F9 to open the Train Operations window.\n"+
	"3. If the icon for the unit you coupled to is red, the handbrake is on. Double-click the car to release the handbrake.\n"+
	"4. Close the Train Operations window.\n\n"+
	"To uncouple from a car or locomotive\n"+
	"1. Press F9 to open the Train Operations window.\n"+
	"2. Double-click a unit in the part of the train you want to uncouple from the locomotive, to set the handbrake.\n"+
	"3. Double-click the coupler between the units you want to uncouple and the rest of the train.\n"+
	"4. Close the Train Operations window."
    	) 
)





