SIMISA@@@@@@@@@@JINX0x1t______


Tr_SMS (
	
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()		PassengerCam	()		Distance    	(1000)		)
		Deactivation (		CabCam			()					Distance    	(1000)		)
		Streams ( 17
			Stream (
				Priority ( 6 )
				Triggers ( 5

					Initial_Trigger  ( StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.300 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.300 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.010		11000
						0.041		11600
						0.300		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.000		1.0
						 0.200		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.020 StartLoop   ( 1 File ( "x_m62_engine2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.365 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.365 StartLoop   ( 1 File ( "x_m62_engine2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.020 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.020		10500
						0.200		11000
						0.300		12500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
						 0.000		0.0
						 0.020		0.2
						 0.100		1.0
						 0.200		0.6
						 0.365		0.0

					)
					Granularity ( 0.05 )
				)				
			)

			
			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.100 StartLoop   ( 1 File ( "x_m62_engine3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.528 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.528 StartLoop   ( 1 File ( "x_m62_engine3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.100 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.100		10000
						0.330		11000
						0.528		13000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.100		0.0
						 0.330		1.0
						 0.528		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.300 StartLoop   ( 1 File ( "x_m62_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.650 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.650 StartLoop   ( 1 File ( "x_m62_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.300		10000
						0.530		11000
						0.610		13500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.250		0.0
						 0.530		1.0
						 0.550		0.4
						 0.650		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.500 StartLoop   ( 1 File ( "x_m62_engine5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.700 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.700 StartLoop   ( 1 File ( "x_m62_engine5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.500 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.500		10000	
						0.610		11000
						0.650		11500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.500		0.0
						 0.550		0.8
						 0.610		1.0
						 0.700		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.550 StartLoop   ( 1 File ( "x_m62_engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.000 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.000 StartLoop   ( 1 File ( "x_m62_engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.550 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.500		9500
						0.650		10500
						0.730		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
						 0.500		0.0
						 0.610		0.3
						 0.650		0.9
						 0.730		1.0
						 1.000		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.750 StartLoop   ( 1 File ( "x_m62_engine7.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.000 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.000 StartLoop   ( 1 File ( "x_m62_engine7.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.750 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.750		9500
						1.000		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
						 0.650		0.0
						 0.730		0.3
						 0.810		0.8
						 0.890		0.9
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)



			

		Stream (
				Priority ( 6 )
				Triggers ( 4
					
					Variable_Trigger ( Variable2_Inc_Past 0.410 StartLoop   ( 1 File ( "turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.000 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.000 StartLoop   ( 1 File ( "turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.410 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.400		9000
						1.000		17000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.410		0.0
						 1.000		0.3
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "X_M62_Clack1.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.10 StartLoop   ( 1 File ( "X_M62_clack1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  100.0 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past  100.0 StartLoop   ( 1 File ( "X_M62_clack1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.10 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	30000
						0.000		10000
						100.000	30000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -100.0		1.0	
						 -80.0		0.8
						 0.000		0.0
						 80.0			0.8
						 100.0            1.0
					)
					Granularity ( 0.05 )					
				)				

			)
		Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "x_M62_Gear.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.050 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "x_M62_Gear.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.150 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Dec_Past  0.150 StartLoop   ( 1 File ( "x_M62_Gear.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )


				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	25000
						0.000		5000
						100.000	25000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 
						 
						 -100.0		0.4
						 0.000		0.0
						 100			0.4
						 
					)
					Granularity ( 0.05 )					
				)				

			)


		Stream (
				Priority ( 6 )
				Triggers ( 2
					
					Variable_Trigger ( Speed_Dec_Past  2.0	PlayOneShot ( 1 File ( "X_M62_BrkSq.wav" -1 ) SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.1	ReleaseLoopRelease ()	)
				)
				VolumeCurve(			
						SpeedControlled	
						CurvePoints ( 4	
				            0.0 		0.0
						0.1 		1.0
					      0.2		1.0
						3.0 		0.0 )

						
							Granularity  ( 0.05 )	)
				
				FrequencyCurve(
						   SpeedControlled
							CurvePoints ( 2	
							
							0.0 		11000
							3.0 		10500	)	
						
							Granularity  ( 0.05 )	)

			)


			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_m62_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
						
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_m62_horn2.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
						
				)
			)
			Stream (
							
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_m62_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
						
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "x_m62_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake & Independant Brakes to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 5
									
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_m62_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				 	Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_m62_airb_auto1.wav" -1 ) File ( "x_m62_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_m62_airb_auto1.wav" -1 ) File ( "x_m62_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				 	Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_m62_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_m62_airb_ind1.wav" -1 ) File ( "x_m62_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)

	ScalabiltyGroup( 0
		Activation 	(	ExternalCam 	()	PassengerCam	()	 CabCam		()	Distance		(500)	)
		Streams ( 3
			Stream (
			Skip ( **** Motor **** )
			Priority ( 8 )
			Volume ( 0.8 )
			Triggers ( 2
			Initial_Trigger  ( StartLoop ( 1 File ( "X_M62_engine1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Inc_Past 0.1 StartLoopRelease ( 1 File ( "X_M62_engine1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    VolumeCurve(
     Variable2Controlled
     CurvePoints ( 3
      0.00  1.0
      0.10  0.5
	0.20  0.2
     )
     Granularity ( 0.05 )
    )
   )
Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past		1.0	StartLoopRelease  ( 1 File ( "X_M62_engine2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Speed_Dec_Past	1.0	ReleaseLoopRelease () ) 
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-35.0		13000
						   0.0		10000
						 35.0		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						-3.0		1.0
						-1.0		0.5
						 1.0		0.5
						 3.0		1.0
					)
					Granularity ( 0.05 )
				)

			)

		Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past   	0.1 	PlayOneShot   ( 1 File ( "x_m62_horn.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger 	( Speed_Dec_Past  2.23  PlayOneShot ( 1 File ( "X_M62_BrkSq.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)


