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

Tr_SMS (
	
ScalabiltyGroup( 5
	Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(500)	)
	Deactivation 	(	CabCam		()					Distance    	(500)	)
	Streams ( 11
		Stream (
			Skip ( **** Motor **** )
			Priority ( 8 )
			Volume ( 0.8 )
			Triggers ( 2
			Initial_Trigger  ( StartLoop ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Inc_Past 0.1 StartLoopRelease ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    VolumeCurve(
     Variable2Controlled
     CurvePoints ( 3
      0.00  1.0
      0.10  0.5
	0.20  0.2
     )
     Granularity ( 0.05 )
    )
   )
	
		
		Stream(
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Variable2_Inc_Past	0.01	StartLoopRelease ( 1 File ( "x_288_anfahrt00.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.01	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.0		10000
						1.0		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.1		0.7
						1.0		1.0
					)
					Granularity ( 0.05 )
				)
			)

		Stream (
			Skip ( **** Hochpfeiffen **** )
			Priority ( 6 )
			Triggers ( 1
				Dist_Travelled_Trigger ( Dist_Min_Max ( 0  0 )  Volume_Min_Max ( 1.0 1.0 )
				PlayOneShot ( 1
				File ( "x_Hochpfeiffen.wav" -1 )
				SelectionMethod ( SequentialSelection ) ) )
				)
                     		VolumeCurve(	
                     			Variable2Controlled  
                                  	CurvePoints ( 4
                                                 0.00		0.0
                                                 0.01    	0.3
                                                 0.10    	0.7
                                                 1.00    	1.0
                                        )  
					Granularity  ( 0.05 )
                       		)
                     		FrequencyCurve(
                     			Variable2Controlled	 
                               		CurvePoints ( 12
                                          	0.00       	2500
                                          	0.01       	3000
                                          	0.10       	3500
                                          	0.20       	4000
                                          	0.30       	4500
                                          	0.40       	5000
                                          	0.50       	5500
                                          	0.60       	6000
                                          	0.70       	6500
                                          	0.80       	7000
                                          	0.90       	7500
                                          	1.00       	8000
                                	)
                   			Granularity  ( 0.05 )
                 		) 
			)
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_288_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.2
			 			0.3		0.3
			 			0.4		0.4
			 			0.5		0.7
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
Stream (
	Skip ( ** Lokbremse ** )
	Priority ( 8 )
	Triggers ( 1
	Variable_Trigger ( Speed_Dec_Past  2.23  PlayOneShot ( 1 File ( "x_Bremse.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
            )
	VolumeCurve(
            SpeedControlled
            CurvePoints ( 5
                               0.00    0.00
                               0.28    0.80
                               0.84    0.70
                               1.67    0.50
                               2.23    0.20
                               )
                  Granularity  ( 0.05 )
                  )
)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_su45_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_su45_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)
Stream (
				Priority ( 5 )			
				Triggers ( 1
					Random_Trigger 		( Delay_Min_Max ( 200 300 )  Volume_Min_Max ( 0.9 1.0 )PlayOneShot ( 1 File ( "x_pss.wav" -1 ) SelectionMethod ( RandomSelection )))
					)
				)
		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			Priority ( 5 )
			Triggers ( 6
				Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
		)
	     )
          )
)
ScalabiltyGroup( 3
	Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(1000)	)
	Deactivation 	(	CabCam		()					Distance    	(1000)	)
	Streams ( 8
		Stream (
			Skip ( **** Motor **** )
			Priority ( 8 )
			Volume ( 0.8 )
			Triggers ( 2
			Initial_Trigger  ( StartLoop ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Inc_Past 0.1 StartLoopRelease ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    VolumeCurve(
     Variable2Controlled
     CurvePoints ( 3
      0.00  1.0
      0.10  0.5
	0.20  0.2
     )
     Granularity ( 0.05 )
    )
   )
	
		
		Stream(
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Variable2_Inc_Past	0.01	StartLoopRelease ( 1 File ( "x_288_anfahrt00.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.01	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.0		10000
						1.0		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.1		0.7
						1.0		1.0
					)
					Granularity ( 0.05 )
				)
			)

		
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_288_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.2
			 			0.3		0.3
			 			0.4		0.4
			 			0.5		0.7
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_su45_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_su45_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)
		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			Priority ( 5 )
			Triggers ( 6
				Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
		)
	     )
          )
)

ScalabiltyGroup( 1
		Activation 	(	ExternalCam 	()	PassengerCam	()		Distance		(1000)	)
		Deactivation 	(	CabCam		()					Distance    	(1000)	)
	Streams ( 8
		Stream (
			Skip ( **** Motor **** )
			Priority ( 8 )
			Volume ( 0.8 )
			Triggers ( 2
			Initial_Trigger  ( StartLoop ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Inc_Past 0.1 StartLoopRelease ( 1 File ( "x_288_stand" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    VolumeCurve(
     Variable2Controlled
     CurvePoints ( 3
      0.00  1.0
      0.10  0.5
	0.20  0.2
     )
     Granularity ( 0.05 )
    )
   )
	
		
		Stream(
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Variable2_Inc_Past	0.01	StartLoopRelease ( 1 File ( "x_288_anfahrt00.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Variable2_Dec_Past	0.01	ReleaseLoopReleaseWithJump () )
				)
				FrequencyCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.0		10000
						1.0		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						0.1		0.7
						1.0		1.0
					)
					Granularity ( 0.05 )
				)
			)

		
		Stream (
			Skip ( **** Fahrtwind **** )
			Priority ( 6 )
			Triggers ( 1
				Initial_Trigger  ( 	StartLoop   ( 1 File ( "x_288_fahrt.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
                		)
				FrequencyCurve(
				Variable2Controlled
					CurvePoints ( 10
						0.0	  	8000
						0.2	  	9000
						0.3		10000
						0.4		10300
						0.5		10800
						0.6		11100
						0.7		11600
						0.8		11800
						0.9		12000
						1.0		12200
                      			)
					Granularity ( 0.01 )
				)
				VolumeCurve(
				Variable2Controlled
					CurvePoints ( 10
			 			0.0		0.0
			 			0.2		0.2
			 			0.3		0.3
			 			0.4		0.4
			 			0.5		0.7
			 			0.6		0.9
			 			0.7		0.9
			 			0.8		0.9
			 			0.9		0.95
	                                	1.0		1.0
					)
					Granularity ( 0.01 )
				)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x_su45_syrena_dluga.wav" -1 )	SelectionMethod ( RandomSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)	
					)
			)
		Stream (
				Skip ( ******************** Syrena ******************** )
				Priority ( 6 )
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "x_su45_syrena_krotka.wav" -1 )	SelectionMethod ( SequentialSelection ) )	)
				)
			)
		Stream (
			Skip ( **** Sander **** )
			Priority ( 5 )
			Triggers ( 2
				Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "x_Sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  5	ReleaseLoopRelease () )
				)
			)
		Stream (
			Skip ( **** Bremsleitungen **** )
			Priority ( 5 )
			Triggers ( 5
				Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "x_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "x_airb_auto1.wav" -1 ) File ( "x_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "x_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "x_airb_ind1.wav" -1 ) File ( "x_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)
		Stream (
			Skip ( **** Kupplungen **** )
			Priority ( 5 )
			Triggers ( 6
				Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
		)
	     )
          )
)

ScalabiltyGroup( 0
		Activation 	(	ExternalCam 	()	PassengerCam	()	 CabCam		()	Distance		(500)	)
		Streams ( 4
			Stream (
			Skip ( **** Motor **** )
			Priority ( 8 )
			Volume ( 0.8 )
			Triggers ( 2
			Initial_Trigger  ( StartLoop ( 1 File ( "x_288_stand.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
			Variable_Trigger ( Variable1_Inc_Past 0.1 StartLoopRelease ( 1 File ( "x_288_stand" -1 ) SelectionMethod ( SequentialSelection ) ) )
    )
    VolumeCurve(
     Variable2Controlled
     CurvePoints ( 3
      0.00  1.0
      0.10  0.5
	0.20  0.2
     )
     Granularity ( 0.05 )
    )
   )


			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past		1.0	StartLoopRelease  ( 1 File ( "x_288_anfahrt00.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger 	( Speed_Dec_Past	1.0	ReleaseLoopRelease () ) 
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-35.0		13000
						   0.0		10000
						 35.0		13000
					)
					Granularity ( 25 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						-3.0		1.0
						-1.0		0.5
						 1.0		0.5
						 3.0		1.0
					)
					Granularity ( 0.05 )
				)

			)
Stream (
				Priority ( 5 )			
				Triggers ( 1
					Random_Trigger 		( Delay_Min_Max ( 200 300 )  Volume_Min_Max ( 0.9 1.0 )PlayOneShot ( 1 File ( "x_pss.wav" -1 ) SelectionMethod ( RandomSelection )))
					)
				)

			Stream (
				Priority ( 5 )
				Triggers ( 2
					Variable_Trigger 	( Speed_Inc_Past   	0.1 	PlayOneShot   ( 1 File ( "x_su45_syrena_krotka.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger 	( Speed_Dec_Past  2.23  PlayOneShot ( 1 File ( "x_Bremse.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
		)
	)
)