Digital Rails

HomeContentavr_ns_gp38-40HH.zip

File: avr/avr_ns_1388_gp40/ns_1388_gp40.eng

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

Wagon ( ns_1388_gp40
 Type ( Engine )
 Comment (Locomotive Physics V4.7 by Bob Boudoin)
#(==== Edit shape file as needed ====)
 WagonShape ( ns_1388_gp40.s )
#(==== Edit shape file as needed ====)
 Size ( 3.1m 4.768m 18.0m )
 comment( 276700lbs US )
 Mass ( 125.5t )
 WheelRadius ( 20in )
 InertiaTensor ( Box (3.1m 4.7m 18.0m) )
 Coupling (
  Type ( Automatic )
  Spring (
   Stiffness ( 1.2e6N/m 4.8e6N/m )
   Damping ( 3.4e6N/m/s 1.2e6N/m/s )
   Break ( 1.6e7N 1.6e7N )
   r0 ( 0.3cm 14.6cm )
   )
  comment( CouplingHasRigidConnection () )
  Velocity ( 0.1m/s )
  )
      Coupling (
  Type ( Automatic )
  Spring (
   Stiffness ( 4.8e6N/m 1.2e6N/m )
   Damping ( 3.4e6N/m/s 1.2e6N/m/s )
   Break ( 1.6e7N 1.6e7N )
   r0 ( 0.3cm 14.6cm )
   )
  comment( front coupler )
  Velocity ( -0.5m/s )
  )
 
 Adheasion ( 0.29 0.53 2.0 0 )
 DerailRailHeight ( 5cm )
 DerailRailForce ( 2.5*125.5t )
 DerailBufferForce ( 312kN )
 NumWheels ( 8 )
 Friction (
  1315.9N/m/s      -0.10   1.3mph      15.639N/m/s 1.825
  5.1N/rad/s   1  -1rad/s      0    1
  )

 BrakeSystemType( "Air_single_pipe" )
 BrakeEquipmentType( "Triple_valve, Emergency_brake_reservoir, Auxilary_reservoir" )
 TripleValveRatio( 2.5 )
 EmergencyBrakeResMaxPressure ( 90 )
 EmergencyResCapacity( 2.0631 )
 EmergencyResChargingRate ( 0.23 )
 EmergencyResVolumeMultiplier ( 1.461 )
 MaxAuxilaryChargingRate( 0.23 )
 MaxBrakeForce ( 58.6kN )
 BrakeCylinderPressureForMaxBrakeBrakeForce ( 50 )
 MaxApplicationRate( 0.49 )
 MaxReleaseRate( 0.93 )

#(==== Edit shape file as needed ====)
 FreightAnim ( ns_1388_gp40B.s 1 1 )
#(==== Edit shape file as needed ====)

 IntakePoint ( -3.33 0.4 FuelDiesel )
 IntakePoint ( 3.33 0.4 FuelDiesel )
     
  Lights  ( 44

#(+++++++++++++++++++++++++++++ Headlights Beam 2/2 +++++++++++++++++++++++++++)
  Light (
  #( Sphere of Lights Bright )
   	Type ( 1 )
   		Conditions (
    			Headlight ( 2 )
    			Unit   ( 2 )
    			Control  ( 0 )
    			)
   		Cycle ( 0 )
    			FadeIn ( 0.7 )
    			FadeOut ( 0.7 )
   		States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( ffffffca )
     				Position ( 0.0 4.3 9 )
     				Transition ( 0 )
     				Radius ( 400.0 )
     				Angle ( 15.0 )
     			)
    		)
   	)
  Light (
  #( Rear Sphere of Lights Bright )
	Type ( 1 )
   		Conditions (
    			Headlight ( 3 )
    			Unit   ( 3 )
    			Control ( 0 )
    			)
   		Cycle ( 0 )
    			FadeIn ( 0.7 )
    			FadeOut ( 0.7 )
   		States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( ffffffca )
     				Position ( 0.0 4.3 -190 )
     				Transition ( 0 )
     				Radius ( 150.0 )
     				Angle ( 15.0 )
     			)
    		)
   	)

#(==== Edit the lighting following section as needed ====)
#(+++++++++++++++++++++++++++ Front Headlights Standard 2/2 +++++++++++++++++++++++++++++++++)
   Light (
      #( Front Hi Right Headlight )
	Type ( 0 )
     		Conditions      (
    			Headlight ( 2 )
     			Unit   ( 2 )
     			Control ( 0 )
               	)
    		Cycle ( 0 )
      		FadeIn  ( 0.7 )
               	FadeOut ( 0.8 )
   		States ( 1
      		State   (
                  	Duration ( 0.0 )
                        LightColour ( ffffffca )
				Position ( 0.125632 3.94194 8.46 )
				Azimuth ( -10 -10 -10 )
                       Transition ( 0 )
                        Radius ( 0.3 )
                 		)
              	)
           	)
   Light (
         #( Front Hi Left Headlight )
 	Type ( 0 )
      	Conditions (
            	Headlight ( 2 )
             	Unit   ( 2 )
     			Control ( 0 )
              	)
    		Cycle ( 0 )                  
 			FadeIn  ( 0.5 )
        		FadeOut ( 0.5 )
 		States ( 1
            	State (
                		Duration ( 0.0 )
              		LightColour ( ffffffca )
				Position ( -0.125632 3.94194 8.46 )
				Azimuth ( 10 10 10 )
                		Transition ( 0 )
                		Radius ( 0.3  )
                     	)
           		)
           	)
#(+++++++++++++++++++++++++++ Front Headlights Standard Flipped 2/2 +++++++++++++++++++++++++++++++++)
   Light (
      #( Front Hi Upper Top Headlight )
	Type ( 0 )
     		Conditions      (
    			Headlight ( 3 )
     			Unit   ( 4 )
     			Control ( 0 )
               	)
    		Cycle ( 0 )
      		FadeIn  ( 0.7 )
               	FadeOut ( 0.8 )
   		States ( 1
      		State   (
                  	Duration ( 0.0 )
                        LightColour ( ffffffca )
				Position ( 0.125632 3.94194 8.46 )
				Azimuth ( -10 -10 -10 )
                       Transition ( 0 )
                        Radius ( 0.3 )
                 		)
              	)
           	)
   Light (
         #( Front Hi Lower Headlight )
 	Type ( 0 )
      	Conditions (
            	Headlight ( 3 )
             	Unit   ( 4 )
     			Control ( 0 )
              	)
    		Cycle ( 0 )                  
 			FadeIn  ( 0.5 )
        		FadeOut ( 0.5 )
 		States ( 1
            	State (
                		Duration ( 0.0 )
              		LightColour ( ffffffca )
				Position ( -0.125632 3.94194 8.46 )
				Azimuth ( 10 10 10 )
                		Transition ( 0 )
                		Radius ( 0.3  )
                     	)
           		)
           	)

#(++++++++++++++++++++++++++++++ Headlights Rear 2/2 lights ++++++++++++++++++++++++++++)
     Light (
      #( Rear Right Headlight )
   	Type ( 0 )
   		Conditions (
    			Headlight ( 3 )
    			Unit   ( 3 )
    			Control ( 0 )
    			)
    		Cycle ( 0 )
    			FadeIn ( 0.6 )
    			FadeOut ( 0.6 )
         	States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( fffedf93 )
				Position ( 0.125632 3.94194 -8.49368 )
				Azimuth ( -170 -170 -170 )
     				Transition ( 0 )
     				Radius ( 0.3 )
     			)
    		)
   	)
     Light (
      #( Rear Left Headlight )
   	Type ( 0 )
   		Conditions (
    			Headlight ( 3 )
    			Unit   ( 3 )
    			Control ( 0 )
    			)
    		Cycle ( 0 )
    			FadeIn ( 0.6 )
    			FadeOut ( 0.6 )
         	States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( fffedf93 )
				Position ( -0.125632 3.94194 -8.49368 )
				Azimuth ( 170 170 170 )
     				Transition ( 0 )
     				Radius ( 0.3 )
     			)
    		)
   	)

#(++++++++++++++++++++++++++++++ Headlights Rear Flipped 2/2 lights ++++++++++++++++++++++++++++)
     Light (
      #( Rear Right Headlight )
   	Type ( 0 )
   		Conditions (
    			Headlight ( 2 )
    			Unit   ( 5 )
    			Control ( 0 )
    			)
    		Cycle ( 0 )
    			FadeIn ( 0.6 )
    			FadeOut ( 0.6 )
         	States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( fffedf93 )
				Position ( 0.125632 3.94194 -8.49368 )
				Azimuth ( -170 -170 -170 )
     				Transition ( 0 )
     				Radius ( 0.3 )
     			)
    		)
   	)
     Light (
      #( Rear Left Headlight )
   	Type ( 0 )
   		Conditions (
    			Headlight ( 2 )
    			Unit   ( 5 )
    			Control ( 0 )
    			)
    		Cycle ( 0 )
    			FadeIn ( 0.6 )
    			FadeOut ( 0.6 )
         	States ( 1
    			State (
     				Duration ( 0.0 )
     				LightColour ( fffedf93 )
				Position ( -0.125632 3.94194 -8.49368 )
				Azimuth ( 170 170 170 )
     				Transition ( 0 )
     				Radius ( 0.3 )
     			)
    		)
   	)
#(++++++++++++++++++++++++++++++++ Ditch Lights [upper] 4/4 Lights ++++++++++++++++++++++)
			Light	(
			comment( Ditch Light Front right )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffca )
					Position ( -0.75 1.37 8.75 )
					Azimuth ( 0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)
		Light	(
			comment( Ditch Light Front left )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffca )
					Position ( 0.75 1.37 8.75 )
					Azimuth ( 0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)
		Light	(
			comment( Ditch Light Rear right )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 3 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0)
					LightColour ( ffffffca )
					Position ( -0.75 1.37 -8.75 )
					Azimuth ( 0 180.0 180.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)
		Light	(
			comment( Ditch Light Rear left )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 3 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffca )
					Position ( 0.75 1.37 -8.75 )
					Azimuth ( 0 180.0 180.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)
#(++++++++++++++++++++++++++++++ Pilot step Lights Front unit  4/4 lights +++++++++++++++++++++++++)
  Light (
          #( Front right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 8.08822 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Front Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 8.08822 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 -8.055 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 -8.055 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++++++ Pilot step Lights Mid unit  4/4 lights +++++++++++++++++++++++++)
  Light (
          #( Front right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 1 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 8.08822 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Front Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 1 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 8.08822 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 1 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 -8.055 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 1 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 -8.055 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++++++ Pilot step Lights Rear unit  4/4 lights +++++++++++++++++++++++++)
  Light (
          #( Front right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 3 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 8.08822 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Front Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 3 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 8.08822 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 3 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 -8.055 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 3 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 -8.055 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++++++ Pilot step Lights Front unit Flipped  4/4 lights +++++++++++++++++++++++++)
  Light (
          #( Front right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 8.08822 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Front Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 8.08822 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 -8.055 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 -8.055 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++++++ Pilot step Lights Rear unit Flipped  4/4 lights +++++++++++++++++++++++++)
  Light (
          #( Front right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 4 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 8.08822 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Front Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 4 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 8.08822 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear right Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 4 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.07 1.054 -8.055 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Pilot Step Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 4 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.07 1.054 -8.055 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++ Front Truck Lights  2/2 lights +++++++++++++++++++++++++++++)
  Light (
          #( Rear right Truck Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.258 0.949 5.241 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Truck Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 2 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.258 0.949 5.241 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++ Front Truck Lights Flipped  2/2 lights +++++++++++++++++++++++++++++)
  Light (
          #( Rear right Truck Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( 1.258 0.949 5.241 )
				Azimuth ( 90 90 90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
  Light (
          #( Rear Left Truck Light )
	Type ( 0 )
		Conditions (
			Headlight ( 4 )
			Unit   ( 5 )
    			TimeOfDay  ( 2 )
			)
    		Cycle ( 0 )
			FadeIn  ( 0.5 )
                	FadeOut ( 0.5 )
		States ( 1
			State (
                     	Duration ( 0.0 )
                  	LightColour ( ffFEDF93 )
				Position ( -1.258 0.949 5.241 )
				Azimuth ( -90 -90 -90 )
                     	Transition ( 0 )
                        Radius ( .25 )
        		)
      	)
    	)
#(++++++++++++++++++++++++++++++++++ AI Lighting ++++++++++++++++++++++++++++)
   Light (
      #( Front Hi Upper Top Headlight )
	Type ( 0 )
     		Conditions      (
    			Control ( 1 )
     			Unit   ( 2 )
     			Service ( 2 )
			TimeOfday ( 0 )
               	)
    		Cycle ( 0 )
      		FadeIn  ( 0.7 )
               	FadeOut ( 0.8 )
   		States ( 1
      		State   (
                  	Duration ( 0.0 )
                        LightColour ( ffffffca )
				Position ( 0.0 4.376 6.764 )
				Azimuth	( 0 0 0 )
 				Elevation ( 10 10 10 )
                       Transition ( 0 )
                        Radius ( 0.3 )
                 		)
              	)
           	)
   Light (
         #( Front Hi Lower Headlight )
 	Type ( 0 )
      	Conditions (
    			Control ( 1 )
     			Unit   ( 2 )
     			Service ( 2 )
			TimeOfday ( 0 )
              	)
    		Cycle ( 0 )                  
 			FadeIn  ( 0.5 )
        		FadeOut ( 0.5 )
 		States ( 1
            	State (
                		Duration ( 0.0 )
              		LightColour ( ffffffca )
				Position ( 0.0 4.144 6.774 )
				Azimuth	( 0 0 0 )
  				Elevation ( -10 -10 -10 )
                		Transition ( 0 )
                		Radius ( 0.3  )
                     	)
           		)
           	)

#(++++++++++++++++++++++++++++++++++ End of Lighting Section ++++++++++++++++++++++++++++)
 )     

  Sound ( "..\\..\\Common.Snd\\SD40\\sd40eng.sms" )
 )

Engine ( ns_1388_gp40
 Effects
  (
  DieselSpecialEffects
   (
    comment
    (
     the format of these little blocks is as follow:

     offset.x offset.y offset.z
     normal.x normal.y normal.z
     width in metres

     defining the offset from the shape pivot point
     where steam / smoke should appear, the direction
     it should go and the width of the nozzle
    )

    Exhaust1
    (
     0.2 5 1.8
                         0 1 0
                         0.18
    )
    Exhaust2
    (
     -0.2 5 1.8
                         0 1 0
                         0.18
    )
   )
         )
        
 Wagon ( ns_1388_gp40 )
	Type ( Diesel )
	MaxPower ( 1856.7kW )
	comment( 3,000 HP x 83% eff. )
	MaxForce ( 305.3kN )	
	MaxContinuousForce ( 243.4kN )
	MaxVelocity ( 65mph )
	MaxCurrent ( 1500A ) 
	WheelRadius ( 20in )
	comment( sanding system is switched off when faster than given velocity )
	Sanding ( 16mph )
	NumWheels ( 4 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )

 	CabView ( ..\\..\\Common.cab\\EMD\\NS-HN\\sd402.cvf )
	HeadOut ( 1.8 3.6 5.19 )

	MaxDieselLevel ( 3000gal )
	DieselUsedPerHourAtMaxPower ( 164.4gal )
	DieselUsedPerHourAtIdle ( 4.2gal )

	AirBrakesAirCompressorPowerRating( 3.8 )
	AirBrakesMainMinResAirPressure( 14.7 )
	AirBrakesMainMaxAirPressure( 140 )
	AirBrakesMainResVolume( 11 )
	AirBrakesAirCompressorWattage( 19000 )
	AirBrakesCompressorRestartPressure( 134 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.44 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	EngineBrakesControllerMinPressureReduction( 6 )
	TrainBrakesControllerMinPressureReduction( 6 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.45 )
	EngineBrakesControllerMaxApplicationRate( 7 )
	TrainBrakesControllerMaxApplicationRate( 3 )
	EngineBrakesControllerMaxReleaseRate( 10 )
	TrainBrakesControllerMaxReleaseRate( 2.4 )
	EngineBrakesControllerEmergencyApplicationRate( 8 )
	TrainBrakesControllerEmergencyApplicationRate( 7 )
	EngineBrakesControllerMinSystemPressure( 15 )
	TrainBrakesControllerMinSystemPressure( 15 )
	EngineBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
	EngineBrakesControllerFullServicePressureDrop( 26 )
	TrainBrakesControllerFullServicePressureDrop( 26 )

	DynamicBrakesMinUsableSpeed( 3 )
	DynamicBrakesMaximumEffectiveSpeed( 23 )
	DynamicBrakesMaximumForce( 178kN )
	DynamicBrakesResistorCurrentLimit ( 700 )
	DynamicBrakesCutInSpeed( 5 )
	DynamicBrakesMaxAirBrakePressure ( 50 )
	DynamicBrakesFadingSpeed( 19 )
	DynamicBrakesDelayTimeBeforeEngaging ( 8 )
	DynamicBrakesMaximumSpeedForFadeOut ( 530 )
	DynamicBrakesEffectAtMaximumFadeOut( 0 )
	DynamicBrakesHigherSpeedCurveExponent( 10.5 )
	DynamicBrakesLowerSpeedCurveExponent( 1.6 )
	DynamicBrakesNumberOfControllerNotches( 1 )
      DynamicBrakeHasAutoBailOff ( 0 ) 


	BrakesEngineBrakeType( "Air_single_pipe"  )
	BrakesTrainBrakeType( "Air_single_pipe" )
      BrakesEngineControllers( "Independent, Train, Dynamic" )
        
      EngineBrakesControllerDirectControlExponent( 1 )

	MaxDieselLevel ( 3600gal )
	DieselUsedPerHourAtMaxPower ( 164.4gal )
	DieselUsedPerHourAtIdle ( 4.2gal )

	DieselSmokeEffectInitialMagnitude( 1.6 )
	DieselSmokeEffectMaxMagnitude( 1.7 )
	DieselSmokeEffectInitialSmokeRate( 0.6 )
	DieselSmokeEffectMaxSmokeRate( 3.6 )	
	
	DieselEngineIdleRPM( 310 )
	DieselEngineMaxRPM( 905 )
	DieselEngineSpeedOfMaxTractiveEffort( 11.3mph )        
      DieselEngineMaxRPMChangeRate( 45 )

	DoesHornTriggerBell( 0 )

	EmergencyStopMonitor(
    		MonitoringDeviceMonitorTimeLimit( 0 )
    		MonitoringDeviceAlarmTimeLimit( 0 )
    		MonitoringDevicePenaltyTimeLimit( 0 )
    		MonitoringDeviceCriticalLevel( 0 )
    		MonitoringDeviceResetLevel( 0 )
    		MonitoringDeviceAppliesFullBrake( 0 )
    		MonitoringDeviceAppliesEmergencyBrake( 1 )
    		MonitoringDeviceAppliesCutsPower( 0 )
    		MonitoringDeviceAppliesShutsDownEngine( 0 )
    		)

	AWSMonitor(
		MonitoringDeviceMonitorTimeLimit( -1 )
		MonitoringDeviceAlarmTimeLimit( 5 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 0 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 0 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
		)
	
	EngineVariables( 3600 )
   
        EngineControllers (
            Throttle ( 0 1 0.04 0.
                NumNotches ( 9
                    Notch ( 0       0 Dummy )
                    Notch ( 0.04    0 Dummy )
                    Notch ( 0.12    0 Dummy )
                    Notch ( 0.24    0 Dummy )
                    Notch ( 0.36    0 Dummy )
                    Notch ( 0.48    0 Dummy )
                    Notch ( 0.60    0 Dummy )
                    Notch ( 0.80    0 Dummy )
                    Notch ( 1       0 Dummy )
                )
            )
            Brake_Engine ( 0 0.8 0.025 0.8
                NumNotches ( 2
                    Notch( 0      0 EngineBrakesControllerReleaseStart )
                    Notch( 0.012  1 EngineBrakesControllerApplyStart )
                )
            )
            Brake_Train ( 0 1 0.0125 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 )
                  )
             )
            Brake_Dynamic ( 0 1 0.11 0 
                NumNotches ( 10 
                	Notch ( 0       0 Dummy )
                    	Notch ( 0.11    0 Dummy )
                  	Notch ( 0.22    0 Dummy )
                   	Notch ( 0.33    0 Dummy )
                   	Notch ( 0.44    0 Dummy )
                   	Notch ( 0.55    0 Dummy )
                   	Notch ( 0.66    0 Dummy )
                   	Notch ( 0.77    0 Dummy )
                   	Notch ( 0.88    0 Dummy )
                   	Notch ( 1       0 Dummy )
                )
            )
            DirControl ( -1 0 1 1 )
            BellToggle( 0 1 0 )
            AWS ( 0 1 0 )
            Sanding ( 0 1 0 )
            Horn ( 0 1 0 )
            Wipers ( 0 1 0 )
            EmergencyStopResetToggle( 0 1 0 )
            EmergencyStopToggle( 0 1 0 )
            Vigilance ( 0 1 0 )
            Headlights ( 0 0.25 1 0 )
            BailOffButton( 0 1 0 )
        )
        
  Sound ( "..\\..\\Common.Snd\\SD40\\sd40cab.sms" )
     Name ("avr NS 1388 GP40")
     Description (
 "The GP40 diesel-electric locomotive, a popular and versatile performer capable of tasks ranging "+
 "from fast freight and merchandise freight to commuter traffic.\n\n"+
 "Locomotive type: Diesel-Electric\n\n"+
 "Power source: Diesel engine\n\n"+
 "Power: 3,000 hp\n\n"+
 "Max. speed: 71 mph (115 km/h)\n\n"+
 "Gear ratio: 62:15\n\n"+
 "Alternator (rectified output): AR10\n\n"+
 "Traction motors: Four model D77 DC, series wound, axle-hung\n\n"+
 "Max. continuous tractive effort: 55,350 lb (23,586.8 kg)\n\n"+
 "Wheel configuration: Eight 40-in (15.75 cm), tapered tread in B-B configuration (two sets of two "+
 "driven axles)\n\n"+
 "Height: 15 ft. 4 in. (4.7 m)\n\n"+
 "Weight: 138.25 U.S. tons (124.4 metric tons)\n\n"+
 "Length: 59 ft. 2 in. (18 m)\n\n"+
 "Width: 10 ft. 4 in. (3.1 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."
     ) 
)

Valid XHTML 1.0 Strict