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


Tr_SMS (
	ScalabiltyGroup( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
	        Streams ( 20
			Stream (
				Priority ( 6 )
				Triggers ( 1
					Initial_Trigger  (	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.00		11025
						0.25		12000
					)
					Granularity ( 25 )
                                )      
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                               -0.25            0.0
                                               -0.05            1.0
						0.05 		1.0
						0.25		0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.01	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	0.5	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	0.5	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.01	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.00		10250
						0.50		12000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.00		0.0
						0.20		1.0
                                                0.30            1.0
                                                0.50            0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.3	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	0.7	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	0.7	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.3	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.30		10250
						0.70		12000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.25		0.0
						0.45		1.0
                                                0.55            1.0
                                                0.75            0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.5	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	1.0	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	1.0	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.5	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.50		10250
						1.00		12000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.50		0.0
						0.70		1.0
                                                0.80            1.0
                                                1.00            0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 3
					Variable_Trigger 	( Variable2_Inc_Past	0.75	StartLoop ( 1 File ( "../../DFH5/Sound/x_DFH5_Power4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.75	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.75 		10250
						1.00		11025
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.75		0.0
						0.95		1.0
					)
					Granularity ( 0.05 )
				)
			)
                        Stream (
				Priority ( 6 )
				Triggers ( 11
					Initial_Trigger  (   StartLoop   ( 1 File ( "../../DFH5/Sound/x_DFH5_turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                
                                )
                                FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.1		7000
                                                1.0		15000  
					)
					Granularity ( 0.01 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 3
						 0.0		0.0
						 0.5		0.3
                                                 1.0            1.0
					)
					Granularity ( 0.01 )
				)				
			)

                        Stream (			
				Priority ( 6 )			
				Triggers ( 9				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "../../DFH5/Sound/x_DFH5_brake.wav" -1 )
                                SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Discrete_Trigger (  54	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 0.1	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 0.1	ReleaseLoopRelease ()	)
					Discrete_Trigger ( 14   DisableTrigger ( 1 ) )
					Discrete_Trigger ( 54   EnableTrigger ( 1 ) )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 8
                                                   -5.6          0.0
                                                   -2.7          1.0
						   -0.8  	 1.0
						   -0.1		 0.0
						    0.1		 0.0
						    0.8		 1.0
                                                    2.7          1.0
                                                    5.6          0.0
					)
					Granularity ( 0.05 )
				)				
			)			

                        Stream (
				Priority ( 6 )                               
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_DFH21_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopRelease ()	)
				)   
			)
			Stream (
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_DFH21_bell.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
			)
			Stream (			
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "../../DFH5/Sound/x_DFH5_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (			
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "../../DFH5/Sound/x_DFH5_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 3				 
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "../../DFH5/Sound/x_DFH5_airb_Auto_TB.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14   DisableTrigger ( 1 ) )
					Discrete_Trigger ( 54   EnableTrigger ( 1 ) )		
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 3				 
					Discrete_Trigger ( 54 	PlayOneShot ( 1 File ( "../../DFH5/Sound/x_DFH5_airb_ind_TB.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	
					Discrete_Trigger ( 54   DisableTrigger ( 1 ) )
					Discrete_Trigger ( 14   EnableTrigger ( 1 ) )		
				)
			)		
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../DFH5/Sound/x_DFH5_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	PassengerCam () CabCam () Distance (500)	)
		Deactivation (	)
		Streams ( 2
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Distance_Dec_Past 120 PlayOneShot ( 1 File ( "x_DFH21_horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 PlayOneShot ( 1 File ( "x_DFH21_horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
		                VolumeCurve( SpeedControlled CurvePoints ( 2 0.0 0 0.1 1 ) Granularity ( 0.01 ) )
			)
			Stream (
				Priority ( 6 )
				Triggers ( 7
					Initial_Trigger  ( StartLoop   ( 1 File ( "../../DFH5/Sound/x_DFH5_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 0.3 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past 0.31 StartLoop   ( 1 File ( "../../DFH5/Sound/x_DFH5_Power2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.31 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 5.61 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past 5.6 StartLoop   ( 1 File ( "../../DFH5/Sound/x_DFH5_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.3 StartLoop   ( 1 File ( "../../DFH5/Sound/x_DFH5_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)				
			)
		)
	)
)

