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

Tr_SMS (

	ScalabiltyGroup( 3
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()		PassengerCam	()				Distance    	(1000)		)
		Streams ( 14
                       Stream (			
				Priority ( 6 )			
				Triggers ( 9				
					Discrete_Trigger (  14	StartLoopRelease ( 1	File ( "..\\..\\HXD3\\sound\\HXD3_6.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 ( 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 ( 2
					Discrete_Trigger (  45	StartLoopRelease ( 1	File ( "..\\..\\HXD3\\sound\\x_HXD3_wind1.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  46	ReleaseLoopReleaseWithJump () )	
				)
			)
                        Stream (
  				Priority ( 6 )
				Triggers ( 1
					Variable_Trigger ( Variable2_Inc_Past 0.01  PlayOneShot   ( 1 File ( "x_HXD2_wind2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )				
				)
				
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_HXD2_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "X_HXD2_HORN_LOW.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 11 	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger ( 4	StartLoopRelease ( 1	File ( "..\\..\\HXD3\\sound\\X_HXD3_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5	ReleaseLoopRelease () )	
				)
			)
			Stream (			
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger ( 12	StartLoopRelease ( 1	File ( "..\\..\\HXD3\\sound\\x_HXD3_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Priority ( 5 )
				Triggers ( 3				
					Discrete_Trigger ( 54	PlayOneShot ( 1 File ( "..\\..\\HXD3\\sound\\x_HXD3_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 ( "..\\..\\HXD3\\sound\\x_HXD3_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_couple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_uncouple_auto.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_strom_rauf.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 46 PlayOneShot ( 1 	File ( "..\\..\\HXD3\\sound\\x_HXD3_strom_runter.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 ( "..\\..\\HXD3\\sound\\x_HXD3_Traction_Motor.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
         				     Variable_Trigger ( Speed_Dec_Past 3.0  ReleaseLoopReleaseWithJump ()	 )
					)
				FrequencyCurve(
				            SpeedControlled
				            CurvePoints ( 8
			                            -34    13200
                                                    -24    11500
			                            -13    9000
							-3.0	6400
							3.0	6400
			                             13    9000
                                                     24    11500
			                             34    13200
                        					     )
				            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 (				Distance    	(500)	)
		Streams ( 2
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Distance_Dec_Past 120 PlayOneShot ( 1 File ( "x_HXD2_horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past  0.1 PlayOneShot ( 1 File ( "x_HXD2_horn.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
		    VolumeCurve( SpeedControlled CurvePoints ( 2 0.0 0 0.1 1 ) Granularity ( 0.01 ) )
			)
                        Stream (
				Priority ( 6 )
				Triggers ( 1
					Initial_Trigger ( StartLoopRelease   ( 1 File ( "..\\..\\HXD3\\sound\\x_HXD3_wind1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )	
				)				
			)
		)
	)
)


