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


Tr_SMS (
	
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 22
			
			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		10000
						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.700 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.700 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.700		10000
						1.000		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.700		0.0
						 0.900		1.0
						 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		5000
						1.000		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.410		0.0
						 1.000		0.1
					)
					Granularity ( 0.05 )
				)				
			)

			 Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track1.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.005 StartLoop   ( 1 File ( "track1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.050 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "track1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.005 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	40000
						0.000		10000
						100.000	40000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -50			0.0	
						 -6.0			0.5
						 0.000		0.0
						 6.0			0.5
						 50            	0.0
					)
					Granularity ( 0.05 )					
				)				

			)

                   Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track2.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.010 StartLoop   ( 1 File ( "track2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.020 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.020 StartLoop   ( 1 File ( "track2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.010 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	40000
						0.010		10000
						100.000	40000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -20.0		0.0	
						 -15.0		0.5
						 0.0			0.0
						 15.0			0.5
						 20.0             0.0
					)
					Granularity ( 0.05 )					
				)				

			)
 
			Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track3.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.020 StartLoop   ( 1 File ( "track3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.030 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.030 StartLoop   ( 1 File ( "track3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.020 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	40000
						0.020		10000
						100.000	40000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -30.0		0.0	
						 -25.0		0.5
						 0.000		0.0
						 25.0			0.5
						 30.0             0.0
					)
					Granularity ( 0.05 )					
				)				

			)
  
 
			Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track4.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.030 StartLoop   ( 1 File ( "track4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.040 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.040 StartLoop   ( 1 File ( "track4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.030 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	30000
						0.030		10000
						100.000	30000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -40.0		0.0	
						 -35.0		0.5
						 0.000		0.0
						 35.0			0.5
						 40.0             0.0
					)
					Granularity ( 0.05 )					
				)				

			)

			Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track5.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.040 StartLoop   ( 1 File ( "track5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.050 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "track5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.040 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	30000
						0.040		10000
						100.000	30000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -50.0		0.0	
						 -45.0		0.5
						 0.000		0.0
						 45.0			0.5
						 50.0             0.0
					)
					Granularity ( 0.05 )					
				)				

			)

			Stream (
				Priority ( 6 )
				Triggers ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "track6.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "track6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.100 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.100 StartLoop   ( 1 File ( "track6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past  0.050 ReleaseLoopRelease () )
				
				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	20000
						0.050		10000
						100.000	20000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 
						 -100.0		1.0	
						 -55.0		0.5
						 0.000		0.0
						 55.0			0.5
						 100.0            1.0
					)
					Granularity ( 0.05 )					
				)				

			)

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


				)
				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.000	10000
						-20		9000
						0.000		5000
						20		9000
						100.000	10000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 
						 
						 -80.0		0.8
						 0.000		0.0
						 80			0.8
						 
					)
					Granularity ( 0.05 )					
				)				

			)


		Stream (
				Priority ( 6 )
				Triggers ( 2
					
					Variable_Trigger ( Speed_Dec_Past  2.0	StartLoop ( 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_szabvanykurt.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 ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_m62_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
						
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "x_m62_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_m62_fekezes.wav"   -1 ) SelectionMethod ( SequentialSelection ) ) )
				  	Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "x_m62_fekezes.wav"   -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 1 File ( "x_m62_oldas.wav"     -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_m62_oldas.wav"     -1 ) SelectionMethod ( SequentialSelection ) ) )
				 	

				)
			)	

			
			Stream (
				Priority ( 6 )
				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( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 7
			Stream (
				Priority ( 6 )
				Triggers ( 7
					Skip( **** The engine/current related sounds - Stream 1 {Xfade}         **** )
					Initial_Trigger  ( 							            StartLoop   ( 1 File ( "x_d9_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.010 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 0.300 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.700 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.700 StartLoop   ( 1 File ( "x_m62_engine2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.010 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		14000
						0.300		14000
						0.700		17000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Skip( **** The engine/current related sounds - Stream 2 {Xfade}         **** )
					Variable_Trigger ( Variable2_Inc_Past 0.004 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.350 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Inc_Past 0.650 StartLoop   ( 1 File ( "x_m62_engine2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.650 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.350 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.004 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 6
						0.000		13000
						0.005		13000
						0.350		11000
						0.400		11000
						0.650		12000
						1.000		14000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_m62_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	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 ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "x_m62_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				
				Priority ( 5 )
				Triggers ( 5
					Skip ( **** NOTE: Need to check if correct waves used for apply/release  	**** )
					Skip ( ****       Assumes 3 = Release, 1 & 2 = Apply  	                  **** )
				  
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_m62_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					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 ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_m62_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_m62_airb_ind1.wav" -1 ) File ( "x_m62_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			
		)
	)

	
	ScalabiltyGroup( 1
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 2
			Stream (
				Priority ( 6 )
				Triggers ( 5
					Skip( **** The engine/current related sounds **** )
					Initial_Trigger  ( 							           StartLoop   ( 1 File ( "x_d9_power_cruise1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		9000
						0.010		9000
						1.000		11000
					)
					Granularity ( 100 )
				)				
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_m62_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
		)
	)

	

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	Distance    	(500)	)
		Deactivation (CabCam	()			PassengerCam	()	Distance    	(500)	)
		Streams ( 1
			Stream (
				Priority ( 4 )
				Triggers ( 6
					Variable_Trigger ( Speed_Inc_Past   1.0 StartLoop   ( 1 File ( "../../MAV_M62-127/Sound/x_m62_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 StartLoop   ( 1 File ( "../../MAV_M62-127/Sound/x_m62_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  49.0 StartLoop   ( 1 File ( "../../MAV_M62-127/Sound/x_m62_engine7.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  49.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past   1.0 ReleaseLoopRelease () )					
				)				
			)
		)
	)
)

