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

Tr_SMS (
	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			Distance ( 1000 )
		)
		Deactivation (
			CabCam ()
			PassengerCam ()
			Distance ( 1000 )
		)

		Streams ( 16

			Skip ( 1. motorhang )
			Stream (
			Priority ( 6 )
			Triggers ( 14
				Variable_Trigger ( Speed_Inc_Past   19.45 SetStreamVolume ( 0.80 ) )
				Variable_Trigger ( Speed_Inc_Past   17.45 SetStreamVolume ( 0.75 ) )
				Variable_Trigger ( Speed_Inc_Past   16.45 SetStreamVolume ( 0.70 ) )
				Variable_Trigger ( Speed_Inc_Past   12.45 SetStreamVolume ( 0.40 ) )
				Variable_Trigger ( Speed_Inc_Past   10.45 SetStreamVolume ( 0.10 ) )
				Variable_Trigger ( Speed_Inc_Past    0.01 SetStreamVolume ( 0.0  ) )
				Variable_Trigger ( Speed_Dec_Past    0.01 SetStreamVolume ( 0.0  ) )
				Variable_Trigger ( Speed_Dec_Past   10.45 SetStreamVolume ( 0.10 ) )
				Variable_Trigger ( Speed_Dec_Past   12.45 SetStreamVolume ( 0.40 ) )
				Variable_Trigger ( Speed_Dec_Past   16.45 SetStreamVolume ( 0.70 ) )
				Variable_Trigger ( Speed_Dec_Past   17.45 SetStreamVolume ( 0.75 ) )
				Variable_Trigger ( Speed_Dec_Past   19.45 SetStreamVolume ( 0.80 ) )
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "BVmot_motorhangX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 7
						  -50.0		18000
						  -36.0		15000
						  -23.0		8000
						    0.0		5000
						   23.0		8000
						   36.0		15000
						   50.0		18000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				Variable2Controlled
				CurvePoints ( 9
					    0	0.00
					   15	0.35
					   30	0.50
					   40	0.70
					   50	0.80
					   60	0.80
					   75	0.80
					   90	0.90
				          100	0.95
				            )
				 Granularity ( 0.01 )
				)
			)


			Skip ( 2. motorhang 60ig )
			Stream (
				Priority ( 6 )
  			        Volume ( 2.00 )
				Triggers ( 6
				Variable_Trigger ( Speed_Inc_Past   0.01  StartLoop ( 1 File ( "BVmot_motorhang1X.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past   24.45 ReleaseLoop ()	)
				Variable_Trigger ( Variable2_Inc_Past 24.45 SetStreamVolume ( 0.6 ) )
				Variable_Trigger ( Variable2_Inc_Past 0.01 SetStreamVolume ( 0.0 ) )
				Variable_Trigger ( Variable2_Dec_Past 0.01 SetStreamVolume ( 0.0 ) )
				Variable_Trigger ( Variable2_Dec_Past 24.45 SetStreamVolume ( 0.6 ) )
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 7
					     -24.45	26000	
				             -18.45	23000
					      -8.50	14000
					       0.00	6000
					       8.50	14000
	       				      18.45	23000
					      24.45	26000
	  			            )
					Granularity ( 25 )
					)
					VolumeCurve (
					SpeedControlled
					CurvePoints ( 10
					  0.00	0.00
					  0.10	0.4
					  5.00	0.55
					  5.56	0.70
					  9.73	0.70
					11.12	0.80
					12.50	0.90
					13.89	0.85
					15.28	0.60
					24.45	0.00
					)
					Granularity ( 0.05 )
					)
				)



			Skip ( 3. indulasi alaphang )
			Stream (
				Priority ( 6 )
  			        Volume ( 2.00 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past   0.01 StartLoop ( 1 File ( "BVmot_ind_m1X.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past  0.01 ReleaseLoop ()	)
					Variable_Trigger ( Speed_Dec_Past  0.01 SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past  0.01 SetStreamVolume ( 0.50 ) )
					)
					VolumeCurve (
					SpeedControlled
					CurvePoints ( 7
						 0.00	0.00
						 0.28	0.20
						 0.56	0.40
						 0.84	0.50
						 1.12	0.55
						 2.10	0.50
						 2.12	0.10
					           )
					 Granularity ( 0.05 )
					)
				)

			Skip ( 4. fordulatvaltas hang )
			Stream (
				Priority ( 6 )
				Triggers ( 1
				Variable_Trigger ( Speed_Inc_Past  2.10 PlayOneShot ( 1 File ( "BVmot_ind_mvaltasX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					)
				)
			Skip ( 3b. fordulatvaltas hang )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.40 )
				Triggers ( 1
				Variable_Trigger ( Speed_Dec_Past  2.90 PlayOneShot ( 1 File ( "BVmot_ind_mvaltasle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					)
				)


			Skip ( 5. fordulatvaltas utani hang )
			Stream (
				Priority ( 6 )
				Triggers ( 4
				Variable_Trigger ( Speed_Inc_Past   2.10  StartLoop ( 1 File ( "BVmot_ind_mvutanX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past   19.45 ReleaseLoop ()	)
				Variable_Trigger ( Speed_Dec_Past   19.45 StartLoop ( 1 File ( "BVmot_ind_mvutanX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past   2.10 ReleaseLoop ()	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 12
				             -19.45	10200
				             -18.06	10400
				             -15.28	10600
				             -12.50	10800
				              -9.73	11025
	 			              -5.00  	11025
	        			       5.00  	11025
	        			       9.73	11025
	      				      12.50	10800
	      				      15.28	10600
	     				      18.06	10400
	       				      19.45	10200
	  			            )
					Granularity ( 25 )
					)
					VolumeCurve (
					SpeedControlled
					CurvePoints ( 11
					  2.80	0.10
					  3.00	0.65
					  5.56	0.65
					  9.73	0.60
					11.12	0.55
					12.50	0.50
					13.89	0.40
					15.28	0.30
					16.67	0.20
					18.06	0.10
					19.45	0.00
					)
					Granularity ( 0.05 )
					)
				)


			Skip ( 6. Aramszedo vezerles hangjai )
			Stream (
				Priority ( 7 )
				Triggers ( 3
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "BVmot_aramszedo_felX.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "BVmot_aramszedo_leX.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)					


			Skip ( 7.Legsurito hangja )
			Stream (
				Priority ( 5 )	
				Volume ( 0.30 )		
				Triggers ( 5				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "BVmot_kompresszorX.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopReleaseWithJump () )
					Skip ( Ha az aramszedo leereszkedik, a legsurito leall )
					Discrete_Trigger ( 46	ReleaseLoopReleaseWithJump () )	
					Discrete_Trigger ( 46	DisableTrigger ( 1 ) )	
					Skip ( Ha az aramszedo felmegy, akkor a legsurito ujra engedelyezve )
					Discrete_Trigger ( 45	EnableTrigger ( 1 ) )	
				)
			)


			Skip ( 8. Sip lejatszasa )
			Stream (
				Priority ( 5 )
				Triggers ( 2
					Discrete_Trigger ( 10	PlayOneShot ( 1	File ( "BVmot_sipX.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)


			Skip ( 9. Fomegszakito hangjai )
			Stream (
				Priority ( 5 )	
				Volume ( 0.55 )		
				Triggers ( 4				
					Discrete_Trigger ( 151	PlayOneShot ( 1 File ( "BVmot_fomeg_beX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 152	StartLoopRelease ( 1 File ( "BVmot_fomeg_uzembX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 150	ReleaseLoopRelease () ) 
					Discrete_Trigger ( 150	PlayOneShot ( 1 File ( "BVmot_fomeg_kiX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)


			Skip ( 10. Kurt lejatszasa )
			Stream (
				Priority ( 5 )
  			        Volume ( 3.00 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "BVmot_kurtX.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)


			Skip ( 11. Szellozo hangok )						
  			Volume ( 0.60 )
			Stream(
				Priority ( 5 )
				Triggers( 4
					Discrete_Trigger ( 6	PlayOneShot ( 1 File ( "BVmot_szell_beX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 6	StartLoopRelease ( 1 File ( "BVmot_szell_uzembX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 7	ReleaseLoopRelease() ) 
					Discrete_Trigger ( 7	PlayOneShot ( 1 File ( "BVmot_szell_kiX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)				
			)


			Skip ( 12. hutes hangok )
			Stream (
			Priority ( 6 )						
  			Volume ( 0.35 )
			Triggers ( 1
					Dist_Travelled_Trigger ( Dist_Min_Max ( 7000 9000 )  Volume_Min_Max ( 1.0 1.0 )
						PlayOneShot ( 1
							File ( "BVmot_hutesX.wav" -1 )

							SelectionMethod ( RandomSelection )
						)
					)
				)	
			)

			
			Skip ( 16. vonatfek )
			Stream (
				Priority ( 6 )
				Volume( 2.00 )			
				Triggers ( 8
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "Bvmot_fek1_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "Bvmot_fek2be_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 DisableTrigger( 2 ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "Bvmot_fek2_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )


					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "Bvmot_fek2_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "Bvmot_fek2ki_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger (  54 EnableTrigger( 2 ) )

					Discrete_Trigger (  54 StartLoop ( 1 File ( "Bvmot_fek1_b.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-55.000	11500
						-0.500	11500
						0.000	10000
						0.500	11500
						55.000	11500
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -100.0	0.5
					       -9.00	0.5
					       -1.50	0.2
                                     		0.000	0.00
					     	1.50	0.2
					     	9.00	0.5
					        100.0	0.5 
					)
					Granularity ( 0.05 )
				)				
			)

			
			Skip ( 13. menethangok )
			Stream (
			Priority ( 6 )	
  			Volume ( 0.60 )
			Triggers( 2
 			        Variable_Trigger ( Speed_Inc_Past    0.01 StartLoop ( 2 File ( "BVmot_menet120_71X.wav" -1 )
							         File ( "BVmot_menet120_60X.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past   0.01 ReleaseLoop ()   )
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
				             -47.23    19000
				             -27.78    11025
				                0.00          0
				              27.78    11025
				              47.23    19000
				              )
				Granularity  ( 25 )
				)
				VolumeCurve (
				SpeedControlled
				CurvePoints ( 11
				            0.00    0.00
				            2.78    0.10
				            8.34    0.20
				          13.89    0.30
				          19.45    0.40
				          25.00    0.50
				          30.56    0.60
				          33.34    0.65
				          36.12    0.70
				          38.89    0.75
				          47.23    0.75
				           )
				Granularity ( 0.05 )
				)
			)



			Skip ( 14. Kocsi kapcsolasi hangok )
			Stream (
				Priority ( 6 )
				Volume ( 0.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   ()   CabCam  ()	PassengerCam	()	Distance  ( 500 )	)
		Deactivation	(                       					Distance  ( 500 )	)
		Streams ( 5								
			Stream (
				Priority ( 8 )
				Triggers ( 3
				Variable_Trigger ( Speed_Inc_Past   0.01  PlayOneShot ( 1 File ( "BVmot_AI_szellX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past   0.01 SetStreamVolume ( 1.00 ) )
				Variable_Trigger ( Speed_Dec_Past 0.00 SetStreamVolume ( 1.00 ) )
				)
			)
			Stream (
				Priority ( 8 )
				Triggers ( 3
				Variable_Trigger ( Speed_Inc_Past   0.01  PlayOneShot ( 1 File ( "BVmot_ind_AIX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past   0.01 SetStreamVolume ( 1.00 ) )
				Variable_Trigger ( Speed_Dec_Past 0.01 SetStreamVolume ( 0.00 ) )
				)
			)
			Stream (
				Priority ( 8 )
				Triggers ( 2
				Variable_Trigger ( Speed_Inc_Past   0.01 StartLoop ( 1 File ( "BVmot_ind_m1_AIX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past  0.01 ReleaseLoop ()        )
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
				          -47.23	16000
				           -8.34	11025
				            0.00        11025
				            8.34	11025
				          47.23	16000
				          )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 9
					  0.00	0.00
					  0.56	0.20
					  1.12	0.40
					  1.67	0.60
					  2.23	0.70
					  9.73	0.70
					16.67	0.60
					27.78	0.50
					47.23	0.50
				            )
				 Granularity ( 0.05 )
				)
			)
			Stream (
				Priority ( 8 )
				Triggers ( 2
				Variable_Trigger ( Speed_Inc_Past   0.01 StartLoop ( 1 File ( "BVmot_motorhang1X.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past  0.01 ReleaseLoop ()        )
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 3
				       -47.23	18000
				        0.00        0
	              			47.23	18000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 7
					  0.00	0.00
					  0.56	0.20
					  1.12	0.40
					  1.67	0.60
					  2.23	0.80
					  2.78	1.00
					47.23	1.00
				            )
				 Granularity ( 0.05 )
				)
			)
		)
	)
)