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

Tr_SMS (
	ScalabiltyGroup( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams (   20
                     Stream (
				Priority ( 6 )	
				Triggers ( 7				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "..\\..\\SS7E\\sound\\x_SS7E_Bremse.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.2	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 1.0	ReleaseLoopRelease ()	)
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
                                                                                       -7.0                    0.0
                                                                                       -4.0                    1.0
						   -1.0		 1.0
						    0.0		 0.0
						    1.0		 1.0
                                                                                        4.0                    1.0
                                                                                        7.0                    0.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 10
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "..\\..\\SS7E\\sound\\x_SS7E_dynb_dyn1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					Variable3Controlled
					CurvePoints ( 2
						  0.0		21800
						  1.0		21800
					)
					Granularity ( 100 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger (  45	StartLoopRelease ( 1	File ( "x_SS7D_wind.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  46	ReleaseLoopRelease () )	
				)
			)			
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_SS7D_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1 File ( "x_SS7D_horn_low.wav" -1 )	SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\SS7E\\sound\\x_SS7E_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (			
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "..\\..\\SS7E\\sound\\x_SS7E_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopReleaseWithJump () )	
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 3				
					Discrete_Trigger (  54	PlayOneShot ( 1	 File ( "..\\..\\SS7E\\sound\\x_SS7E_shache.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54   DisableTrigger ( 1 ) )
					Discrete_Trigger ( 14   EnableTrigger ( 1 ) )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_pantot_up.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 46 PlayOneShot ( 1 	File ( "..\\..\\SS7E\\sound\\x_SS7E_pantot_down.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Priority ( 5 )
					Triggers ( 15
	  	 			     Initial_Trigger ( SetStreamVolume ( 0.00 ) )
				             Variable_Trigger ( Speed_Inc_Past 3.0 SetStreamVolume ( 0.10 ) )
				             Variable_Trigger ( Speed_Inc_Past 5.0 SetStreamVolume ( 0.25 ) )
				             Variable_Trigger ( Speed_Inc_Past 8.0 SetStreamVolume ( 0.50 ) )
				             Variable_Trigger ( Speed_Inc_Past 10.0 SetStreamVolume ( 0.75 ) )
				             Variable_Trigger ( Speed_Inc_Past 12.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 12.0 SetStreamVolume ( 0.75 ) )
				             Variable_Trigger ( Speed_Dec_Past 10.0 SetStreamVolume ( 0.50 ) )
				             Variable_Trigger ( Speed_Dec_Past 8.0 SetStreamVolume ( 0.25 ) )
				             Variable_Trigger ( Speed_Dec_Past 5.0 SetStreamVolume ( 0.10 ) )
				             Variable_Trigger ( Speed_Dec_Past 5.0 SetStreamVolume ( 0.00 ) )
	  	 			     Variable_Trigger ( Speed_Inc_Past 3.0  StartLoopRelease ( 1 File ( "..\\..\\SS7E\\sound\\x_SS7E_Traction_Motor.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
         				     Variable_Trigger ( Speed_Dec_Past 3.0  ReleaseLoopReleaseWithJump ()	 )
					)
				FrequencyCurve(
				            SpeedControlled
				            CurvePoints ( 8
			                            -45    14000
                                                    -24    11500
			                            -13    9000
							-3.0	6400
							3.0	6400
			                             13    9000
                                                     24    11500
			                             45    14000
                        					     )
				            Granularity  ( 25 )
					)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.0     	0.0
						1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		)
	)

	ScalabiltyGroup( 0
		Activation (	ExternalCam ()	CabCam	()	PassengerCam	()       Distance    	(500)	)
		Deactivation ( )
		Streams ( 2
			Stream (
				Priority ( 4 )
				Triggers ( 2
					Variable_Trigger ( Distance_Dec_Past 120 PlayOneShot ( 1 File ( "x_SS7D_horn.wav" -1 )
					SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 PlayOneShot ( 1 File ( "x_SS7D_horn.wav" -1 )
					SelectionMethod ( SequentialSelection ) ) )
				)
		    VolumeCurve( SpeedControlled CurvePoints ( 2 0.0 0 0.1 1 ) Granularity ( 0.01 ) )
			)
			Stream (
				Priority ( 4 )
				Triggers ( 1
					Initial_Trigger ( StartLoopRelease   ( 1 File ( "x_SS7D_wind.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)				
			)
		)
	)
)


