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

Tr_SMS (
	
	
ScalabiltyGroup( 5
	Activation (
	ExternalCam ()
	Distance (1000)	)
	Deactivation (
	CabCam ()
	PassengerCam ()
	Distance (1000)	)
	Volume ( 1.0 )
	Streams ( 18
			Stream (
				Priority ( 2 )
				Volume ( 1.0 )
				Triggers ( 1
					Initial_Trigger (
						StartLoop ( 2
							File ( "tsrSound-x_6stuk.wav" -1 )
							File ( "tsrSound-x_6stuk2.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-30.000		45050
						0.000		7050
						30.000		45050
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 
						 -32.5		0.0
  					 	 -22.0		0.45
						 -5		0.45
						 0.000		0.0
						 5		0.45
						 22.0		0.45
						 32.5		0.0				
					)
					Granularity ( 0.05 )					
				)				
			)
			Stream (
				Priority ( 2 )
				Triggers ( 2
					
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoopRelease   ( 1 File ( "tsrsound-x-14d40-81.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.020		15625
						0.200		19055
						0.48		22050
						1.0		27155
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.08		0.0
						 0.12		0.3
						 0.48		1.0
						 1.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)
		Stream (		
			Priority ( 3 )
			Triggers ( 20
	  	 				Initial_Trigger ( SetStreamVolume ( 0.20 ) )
	  	 				Initial_Trigger ( StartLoopRelease ( 2 File ( "tsrSound-x-14d40u-cvs2.wav" -1 ) File ( "tsrSound-x-14d40u-cvs22.wav" -1 )   SelectionMethod ( RandomSelection ) ) )
						Variable_Trigger ( Variable2_Inc_Past 0.12 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.16 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.20 SetStreamVolume ( 0.30 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.24 SetStreamVolume ( 0.40 ) )
      			Variable_Trigger ( Variable2_Inc_Past 0.32 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.40 SetStreamVolume ( 0.60 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.48 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.56 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.64 SetStreamVolume ( 0.90 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.64 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.56 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.48 SetStreamVolume ( 0.60 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.40 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.32 SetStreamVolume ( 0.40 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.24 SetStreamVolume ( 0.30 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.20 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.16 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.12 SetStreamVolume ( 0.20 ) )
			)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
					0.00        21500
                                    	1.00        33000
					)
					Granularity ( 0.01 )
				)
			VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		0.6
		 		 		30.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
		Stream (		
			Priority ( 3 )
			Triggers ( 20
	  	 				Initial_Trigger ( SetStreamVolume ( 0.20 ) )
	  	 				Initial_Trigger ( StartLoopRelease ( 1 File ( "tsrSound-x-14d40u-porsh2.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
						Variable_Trigger ( Variable2_Inc_Past 0.12 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.16 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.20 SetStreamVolume ( 0.30 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.24 SetStreamVolume ( 0.40 ) )
      						Variable_Trigger ( Variable2_Inc_Past 0.32 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.40 SetStreamVolume ( 0.60 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.48 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.56 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Variable2_Inc_Past 0.64 SetStreamVolume ( 0.90 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.64 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.56 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.48 SetStreamVolume ( 0.60 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.40 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.32 SetStreamVolume ( 0.40 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.24 SetStreamVolume ( 0.30 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.20 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.16 SetStreamVolume ( 0.20 ) )
						Variable_Trigger ( Variable2_Dec_Past 0.12 SetStreamVolume ( 0.20 ) )
			)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
					0.0        20500
                                    	1.00        33000
					)
					Granularity ( 0.01 )
				)
			VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		20.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
		Stream (
			Skip ( ** TURBINE ** )
			Priority ( 2 )
			Triggers ( 2
               	 	Variable_Trigger ( Variable2_Inc_Past 0.08 StartLoopRelease ( 2 File ( "tsrsound-x-14d40u-turbo1.wav" -1 ) File ( "tsrsound-x-14d40u-turbo11.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
                		Variable_Trigger ( Variable2_Dec_Past 0.08 ReleaseLoopRelease () )
			)
                	VolumeCurve(	
                		Variable2Controlled  
                			CurvePoints ( 5
		 				 0.00		0.00
		 				 0.04		0.00
		 				 0.08		0.0
		 				 0.48		0.1
		 				 1.00		0.2
					)  
                			Granularity  ( 0.001 )
               		)
                	FrequencyCurve(
                		Variable2Controlled	 
                			CurvePoints ( 3
                        			 0.00	        17250
						 0.72		22000
                        			 1.00	        26550
					)
                			Granularity  ( 20 )
                		          ) 
			)
		Stream (
			Skip ( ** DIESEL ** )
			Priority ( 2 )
			Triggers ( 1
				Initial_Trigger ( StartLoopRelease ( 1 File ( "tsrsound-x-14d40-xx.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
			)
			FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 2
		 				 0.00		22025
						 1.00		35525
					)
					Granularity ( 45 )
			)
			VolumeCurve(
				Variable2Controlled
					CurvePoints ( 5
						 0.00		0.80
						 0.04		0.75
						0.08		0.4
						0.16		0.2
						 1.00		1.0
					)
					Granularity ( 0.01 )
				)
			)
			Stream (
				Priority ( 2 )
				Triggers ( 2
					
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoopRelease   ( 1 File ( "tsrsound-x-14d40-2.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.080		22625
						1.0		38155
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						 0.04		0.2
						 0.08		0.8
						 0.45		0.3
						 1.0		0.9
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 2 )
				Triggers ( 2
					
					Variable_Trigger ( Variable2_Inc_Past 0.010 StartLoopRelease   ( 2 File ( "tsrSound-x-2d49-lowfon.wav" -1 ) File ( "tsrSound-x-2d49-lowfon2.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 ReleaseLoopRelease () )					
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 3
						0.020		15625
						0.48		22050
						1.0		33155
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.04		0.0
						 0.80		0.8
						 1.0		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 2 )
					Triggers ( 23
	  	 				Initial_Trigger ( SetStreamVolume ( 0.00 ) )
						Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.10 ) )
						Variable_Trigger ( Speed_Inc_Past 1.000 SetStreamVolume ( 0.40 ) )
						Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.60 ) )
      						Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Speed_Inc_Past 2.400 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Speed_Inc_Past 4.800 SetStreamVolume ( 1.00 ) )
						Variable_Trigger ( Speed_Inc_Past 6.200 SetStreamVolume ( 1.00 ) )
						Variable_Trigger ( Speed_Inc_Past 8.600 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Speed_Inc_Past 20.000 SetStreamVolume ( 0.40 ) )

						Variable_Trigger ( Speed_Dec_Past 20.000 SetStreamVolume ( 0.40 ) )
						Variable_Trigger ( Speed_Dec_Past 8.600 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Speed_Dec_Past 6.200 SetStreamVolume ( 1.0 ) )
						Variable_Trigger ( Speed_Dec_Past 4.800 SetStreamVolume ( 1.00 ) )
						Variable_Trigger ( Speed_Dec_Past 2.400 SetStreamVolume ( 0.80 ) )
						Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.70 ) )
						Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.60 ) )
						Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.50 ) )
						Variable_Trigger ( Speed_Dec_Past 1.000 SetStreamVolume ( 0.40 ) )
						Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )
	  	 				Variable_Trigger ( Variable2_Inc_Past   0.08  StartLoopRelease ( 1 File ( "tsrsound-x_ed118a.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
         					Variable_Trigger ( Variable2_Dec_Past  0.08  ReleaseLoopReleaseWithJump ()	 )
					)
				FrequencyCurve(
				            SpeedControlled
				            CurvePoints ( 7
			                            -38.89    20000
							-9.0	12000
							-3.0	5000
                        			       0.00       100
							3.0	5000
							9.0	12000
			                             38.89    20000
                        					     )
				            Granularity  ( 5 )
					)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.000     	0.0
						0.08		0.2
						0.20		0.45
						1.00		0.7
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
				Skip ( ********	sound of brake	************* )
				Priority ( 6 )
				Volume ( 0.6 )
				Triggers ( 14
					Variable_Trigger ( Speed_Dec_Past 2.0
						StartLoop ( 1
							File ( "X_2M62U_d49_skrip.wav" -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 0.1
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Variable3_Dec_Past 0.03
						SetStreamVolume ( 0.10 )
					)
					Variable_Trigger ( Variable3_Dec_Past 0.02
						SetStreamVolume ( 0.20 )
					)
					Variable_Trigger ( Variable3_Dec_Past 0.01
						SetStreamVolume ( 0.40 )
					)
					Variable_Trigger ( Variable3_Dec_Past 0.008
						SetStreamVolume ( 0.55 )
					)
					Variable_Trigger ( Variable3_Dec_Past 0.005
						SetStreamVolume ( 0.65 )
					)
					Variable_Trigger ( Variable3_Inc_Past 0.005
						SetStreamVolume ( 0.55 )
					)
					Variable_Trigger ( Variable3_Inc_Past 0.008
						SetStreamVolume ( 0.40 )
					)
					Variable_Trigger ( Variable3_Inc_Past 0.01
						SetStreamVolume ( 0.25 )
					)
					Variable_Trigger ( Variable3_Inc_Past 0.02
						SetStreamVolume ( 0.10 )
					)
					Variable_Trigger ( Variable3_Inc_Past 0.03
						SetStreamVolume ( 0.00 )
					)
					Variable_Trigger ( Speed_Dec_Past 0.2
						ReleaseLoopReleaseWithJump (  )
					)
					Variable_Trigger ( Variable2_Inc_Past 0.5
						ReleaseLoopReleaseWithJump (  )
					)
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 5 -4 11185 -2.5 10985 -2 10800 0.0 11485 2 10800 2.5 10985 4 11185 )
					Granularity ( 1 )
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 11 -4.0 0.0 -3.0 0.2 -2.6 0.3 -1.5 0.4 -0.5 0.6 0.0 0.0 0.5 0.6 1.5 0.4 2.6 0.3 3.0 0.2 4.0 0.0 )
					Granularity ( 0.05 )
				)
			)
			Stream (						
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "X_2M62U_d49_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (			
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "X_2M62U_d49_tifon.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)			
				)
			)	
     Stream (
				Skip ( **** BELL	**** )
				Priority ( 6 )
				Volume(0.5)
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "X_2M62U_d49_svist.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( sprężarka )
				Priority ( 8 )
				Volume ( 0 )
				Triggers ( 4
					Discrete_Trigger ( 12	SetStreamVolume ( .6 )	)
					Discrete_Trigger ( 12
						StartLoopRelease ( 1
							File ( "sprezarka.wav" -1 )
							SelectionMethod ( SequentialSelection  )
						)
					)
				Discrete_Trigger ( 13	SetStreamVolume ( 0 )	)
				Discrete_Trigger ( 13	ReleaseLoopRelease ()	)
				)
			)
Stream (
				Skip ( sprężarka - stop )
				Priority ( 8 )
				Volume ( .6 )
				Triggers ( 1
					Discrete_Trigger ( 13
						PlayOneShot ( 1
							File ( "spr-stop.wav" -1 )
							SelectionMethod ( SequentialSelection  )
						)
					)
				)
			)	
			Stream (
				Priority ( 5 )			
				Volume ( 0.5 )
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "X_2M62U_d49_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
			)
                	VolumeCurve(	
                		Variable2Controlled  
                			CurvePoints ( 12
		 				 0.00		0.05
		 				 0.05		0.10
		 				 0.10		0.15
		 				 0.20		0.20
		 				 0.30		0.25
		 				 0.40		0.30
		 				 0.50		0.35
						 0.60		0.40
		 				 0.70		0.45
		 				 0.80		0.50
		 				 0.90		0.45
		 				 1.00		0.40
					)  
                			Granularity  ( 0.05 )
               		)
                	FrequencyCurve(
                		Variable2Controlled	 
                			CurvePoints ( 12
                        			 0.00	       11050
                       				 0.05	       11250
                        			 0.10	       11450
					 0.20	       11550
                        			 0.30	       11650
                        			 0.40	       11750
                        			 0.50	       11850
                        			 0.60	       11950
                        			 0.70	       11050
                        			 0.80	       12450
                        			 0.90	       13850
                        			 1.00	       14250
					)
                	              	Granularity  ( 0.05 )
                		           ) 
	                      )
       Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "X_2M62U_d49_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "X_2M62U_d49_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
	                                    )
                                  ) 
        Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "X_2M62U_d49_BRAKE1.wav" -1 ) File ( "X_2M62U_d49_BRAKE1.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "X_2M62U_d49_BRAKE1.wav" -1 ) File ( "X_2M62U_d49_BRAKE1.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
    )
	) 
)


