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


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

					Initial_Trigger  ( StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.800 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.800 StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.010		11000
						0.600		15000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.000		1.0
						 0.600		0.0
						 
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4

					Variable_Trigger ( Variable2_Inc_Past 0.050 StartLoop   ( 1 File ( "x_6341_engine3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.240 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.240 StartLoop   ( 1 File ( "x_6341_engine3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.050 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.050		10800
						0.600		13300
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.050		0.0
						 0.400		1.0
						 0.600		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4

					Variable_Trigger ( Variable2_Inc_Past 0.050 StartLoop   ( 1 File ( "x_6341_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.460 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.460 StartLoop   ( 1 File ( "x_6341_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.050 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.050		9000
						0.800		13300
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.000		0.0
						 0.500		0.7
						 0.600		1.0
						 0.800		0.0
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (
				Priority ( 6 )
				Triggers ( 4

					Variable_Trigger ( Variable2_Inc_Past 0.300 StartLoop   ( 1 File ( "x_6341_engine5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.680 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.000 StartLoop   ( 1 File ( "x_6341_engine5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.300		10000
						0.950		13000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.300		0.0
						 0.600		0.5
						 0.800		1.0
						 1.000		0.3
					)
					Granularity ( 0.05 )
				)				
			)

			


			Stream (
				Priority ( 6 )
				Triggers ( 4

					Variable_Trigger ( Variable2_Inc_Past 0.600 StartLoop   ( 1 File ( "x_6341_engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.900 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.900 StartLoop   ( 1 File ( "x_6341_engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.600 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.600		9200
						1.000		11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.600		0.0
						 0.800		0.8
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			

			Stream (
				Priority ( 6 )
				Triggers ( 5

					Initial_Trigger  ( StartLoop   ( 1 File ( "x_6341_turbo.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoop   ( 1 File ( "x_6341_turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 1.000 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 1.000 StartLoop   ( 1 File ( "x_6341_turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.000		6000
						1.000		15000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.000		0.0
						 0.300		0.3
						 1.000		1.0
					)
					Granularity ( 0.05 )
				)				
			)

			

			Stream (
				Priority ( 6 )
				Triggers ( 2
					
					Variable_Trigger ( Speed_Dec_Past  2.0	StartLoop ( 1 File ( "X_6341_brake.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 ( 5
				Initial_Trigger  ( StartLoop   ( 1 File ( "6341_track1.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.005 StartLoop   ( 1 File ( "6341_track1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.050 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "6341_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 ( "6341_track2.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.010 StartLoop   ( 1 File ( "6341_track2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.020 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.020 StartLoop   ( 1 File ( "6341_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 ( "6341_track3.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.020 StartLoop   ( 1 File ( "6341_track3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.030 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.030 StartLoop   ( 1 File ( "6341_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 ( "6341_track4.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.030 StartLoop   ( 1 File ( "6341_track4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.040 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.040 StartLoop   ( 1 File ( "6341_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 ( "6341_track5.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.040 StartLoop   ( 1 File ( "6341_track5.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.050 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "6341_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 ( "6341_track6.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				Variable_Trigger ( Variable2_Inc_Past  0.050 StartLoop   ( 1 File ( "6341_track6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past  0.100 ReleaseLoopRelease () )
				Variable_Trigger ( Variable2_Inc_Past  0.100 StartLoop   ( 1 File ( "6341_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 ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_6341_bell.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump ()	)
				)
			)



			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_6341_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
						
				)
			)

			Stream (
				
				Priority ( 6 )
				Triggers ( 5
									
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_6341_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				 	Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_6341_airb_auto1.wav" -1 ) File ( "x_6341_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_6341_airb_auto1.wav" -1 ) File ( "x_6341_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				 	Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_6341_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_6341_airb_ind1.wav" -1 ) File ( "x_6341_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	

			

		)
	)		

		                       
	ScalabiltyGroup( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 1
			Stream (
				Priority ( 6 )
				Triggers ( 7
					
					Initial_Trigger  ( StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.010 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past 0.300 StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.700 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Dec_Past 0.700 StartLoop   ( 1 File ( "x_6341_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.300 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past 0.010 StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		11000
						0.300		10025
						0.700		13000
					)
					Granularity ( 100 )
				)				
			)
		)	
	)
	
	ScalabiltyGroup( 1
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 1
			Stream (
				Priority ( 6 )
				Triggers ( 5
					
					Initial_Trigger  ( StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past  0.01 ReleaseLoopRelease () )
					Variable_Trigger ( Variable2_Inc_Past  0.01 StartLoop   ( 1 File ( "x_6341_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past  0.01 ReleaseLoopRelease () )					
					Variable_Trigger ( Variable2_Dec_Past  0.01 StartLoop   ( 1 File ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.000		11000
						0.300		13000
						1.000		15000
					)
					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_6341_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 ( "x_6341_engine1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 StartLoop   ( 1 File ( "x_6341_engine4.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  50.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past  49.0 StartLoop   ( 1 File ( "x_6341_engine6.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  49.0 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past   1.0 ReleaseLoopRelease () )					
				)				
			)
		)
	)
)	
