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 ( "../../DF7/Sound/x_DF7_Power0.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.0		11025
						0.2		12000
					)
					Granularity ( 25 )
                                )      
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                               -0.20            0.0
                                               -0.05            1.0
						0.05 		1.0
						0.20		0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.01	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	0.35	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	0.35	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.01	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.00		10000
						0.35		12500
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.00		0.0
						0.15		1.0
                                                0.20            1.0
                                                0.35             0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.15	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	0.70	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	0.70	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power2.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.15	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.15		10500
						0.70		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.15		0.0
						0.30		1.0
                                                0.55            1.0
                                                0.70            0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 4
					Variable_Trigger 	( Variable2_Inc_Past	0.50	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Inc_Past	1.00	ReleaseLoopRelease () )
					Variable_Trigger 	( Variable2_Dec_Past	1.00	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.50	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.50		11000
						1.00		12500
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
						0.50		0.0
						0.65		1.0
                                                0.85            1.0
                                                1.0             0.0
					)
					Granularity ( 0.05 )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers ( 3
					Variable_Trigger 	( Variable2_Inc_Past	0.80	StartLoop ( 1 File ( "../../DF7/Sound/x_DF7_Power4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.80	ReleaseLoopRelease () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.80 		10000
						1.00		11025
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.80		0.0
						0.95		1.0
					)
					Granularity ( 0.05 )
				)
			)
                        Stream (
				Priority ( 6 )
				Triggers ( 11
					Initial_Trigger  (   StartLoop   ( 1 File ( "../../DF7/Sound/x_DF7_turbo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                                
                                )
                                FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.1		7000
                                                1.0		24000  
					)
					Granularity ( 0.01 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.0		0.0
                                                 0.5            1.0
					)
					Granularity ( 0.01 )
				)				
			)

                        Stream (			
				Priority ( 6 )			
				Triggers ( 9				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "../../DF7/Sound/x_DF7_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 ( "../../DF7/Sound/x_DF7_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopRelease ()	)
				)                                
			)
			Stream (
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "../../DF7/Sound/x_DF7_bell.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)                           
			)
			Stream (			
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "../../DF7/Sound/x_DF7_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)                           
			)
			Stream (			
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "../../DF7/Sound/x_DF7_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)                           
			)
			Stream (
				Priority ( 5 )
				Triggers ( 3				 
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "../../DF7/Sound/x_DF7_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 ( "../../DF7/Sound/x_DF7_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 ( "../../DF7/Sound/x_DF7_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../DF7/Sound/x_DF7_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../DF7/Sound/x_DF7_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../DF7/Sound/x_DF7_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../DF7/Sound/x_DF7_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../DF7/Sound/x_DF7_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)                           
			)
			Stream (
				Priority ( 5 )
					Triggers ( 13
	  	 			     Initial_Trigger ( SetStreamVolume ( 0.00 ) )
				             Variable_Trigger ( Speed_Inc_Past 3.0 SetStreamVolume ( 0.25 ) )
				             Variable_Trigger ( Speed_Inc_Past 5.0 SetStreamVolume ( 0.50 ) )
				             Variable_Trigger ( Speed_Inc_Past 6.0 SetStreamVolume ( 0.75 ) )
				             Variable_Trigger ( Speed_Inc_Past 8.0 SetStreamVolume ( 1.00 ) )
      				             Variable_Trigger ( Speed_Inc_Past 16.0 SetStreamVolume ( 0.75 ) )
      				             Variable_Trigger ( Speed_Dec_Past 16.0 SetStreamVolume ( 1.00 ) )
				             Variable_Trigger ( Speed_Dec_Past 8.0 SetStreamVolume ( 0.75 ) )
				             Variable_Trigger ( Speed_Dec_Past 6.0 SetStreamVolume ( 0.50 ) )
				             Variable_Trigger ( Speed_Dec_Past 5.0 SetStreamVolume ( 0.25 ) )
				             Variable_Trigger ( Speed_Dec_Past 3.0 SetStreamVolume ( 0.00 ) )
	  	 			     Variable_Trigger ( Speed_Inc_Past 3.0  StartLoopRelease ( 1 File ( "../../DF7/Sound/x_DF7_Traction_Motor.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
         				     Variable_Trigger ( Speed_Dec_Past 3.0  ReleaseLoopRelease ()	 )
					)
				FrequencyCurve(
				            SpeedControlled
				            CurvePoints ( 8
			                            -28    13000
                                                    -22    11500
			                            -11    9000
							-3.0	6600
							3.0	6600
			                             11    9000
                                                     22    11500
			                             28    13000
                        					     )
				            Granularity  ( 25 )
					)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.000     	0.0
						1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		)
	)

	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 ( "../../DF7/Sound/x_DF7_horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 PlayOneShot ( 1 File ( "../../DF7/Sound/x_DF7_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 ( "../../DF7/Sound/x_DF7_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 0.3 ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Inc_Past 0.31 StartLoop   ( 1 File ( "../../DF7/Sound/x_DF7_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 ( "../../DF7/Sound/x_DF7_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.3 StartLoop   ( 1 File ( "../../DF7/Sound/x_DF7_Power0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)				
			)
		)
	)
)

