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

Tr_SMS (
	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			Distance ( 300 )
		)
		Deactivation (
			CabCam ()
			PassengerCam ()
			Distance ( 300 )
		)
		Streams ( 17


			Skip ( 1a. motorhang0-40 )
			Stream (
			Priority ( 6 )
			Triggers ( 4
				Variable_Trigger ( Speed_Inc_Past   0.01 StartLoop ( 1 File ( "BVhmot_motorhang2x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past  13.01 ReleaseLoopRelease ()	)
				Variable_Trigger ( Speed_Dec_Past  13.01 StartLoop ( 1 File ( "BVhmot_motorhang2x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past   0.01 ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -13.5		21000
						   -3.0		4000
						    0.0		2000
						    3.0		4000
						   13.5		21000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					 2.00	0.70
					10.00	0.50
					13.00	0.00
				            )
				 Granularity ( 0.01 )
				)
			)
			

			Skip ( 1c. motorhang80-120 )
			Stream (
			Priority ( 6 )
			Triggers ( 4
				Variable_Trigger ( Speed_Inc_Past  21.01 StartLoop ( 1 File ( "BVhmot_motorhangx.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past  39.01 ReleaseLoopRelease ()	)
				Variable_Trigger ( Speed_Dec_Past  39.01 StartLoop ( 1 File ( "BVhmot_motorhangx.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past  21.01 ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -33.0		11200
						  -24.0		8700
						    0.0		5000
						   24.0		8700
						   33.0		11200
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					21.00	0.00
					24.61	0.60
					33.33	0.70
				            )
				 Granularity ( 0.01 )
				)
			)


			Skip ( 1b. motorhang40-80 )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.7 )
				Triggers ( 4
				Variable_Trigger ( Speed_Inc_Past   9.73 StartLoop ( 1 File ( "BVhmot_motorhang1x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past  25.61 ReleaseLoopRelease ()	)
				Variable_Trigger ( Speed_Dec_Past  25.61 StartLoop ( 1 File ( "BVhmot_motorhang1x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past   9.73 ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
				             -24.00	18000
					     -11.50	8500
					       0.00	2000
					      11.50	8500
	       				      24.00	18000
	  			            )
					Granularity ( 25 )
					)
					VolumeCurve (
					SpeedControlled
					CurvePoints ( 6
					  9.73	0.00
					12.12	0.50
					13.50	0.80
					13.89	0.85
					19.28	0.70
					25.61	0.00
					)
					Granularity ( 0.05 )
					)
				)



			Skip ( 2. indulasi alaphang )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.75 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past   0.01 StartLoop ( 1 File ( "BVhmot_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 ( 3. fordulatvaltas hang )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.40 )
				Triggers ( 1
				Variable_Trigger ( Speed_Inc_Past  2.10 PlayOneShot ( 1 File ( "BVhmot_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 ( "BVhmot_ind_mvaltasle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					)
				)



			Skip ( 4. fordulatvaltas utani hang )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.65 )
				Triggers ( 4
				Variable_Trigger ( Speed_Inc_Past   2.10  StartLoop ( 1 File ( "BVhmot_ind_mvutanX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past   19.45 ReleaseLoop ()	)
				Variable_Trigger ( Speed_Dec_Past   19.45 StartLoop ( 1 File ( "BVhmot_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 ( 5. Aramszedo vezerles hangjai )
			Stream (
				Priority ( 7 )
				Triggers ( 3
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "BVhmot_aramszedo_felX.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "BVhmot_aramszedo_leX.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)					


			Skip ( 7. Fekek levegos hangjai )
			Stream (
				Skip ( 3. fek hangok )
				Priority ( 5 )
				Triggers ( 3
					Discrete_Trigger ( 14 PlayOneShot ( 1 File ( "BVhmot_fekoldx.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18 PlayOneShot ( 1 File ( "BVhmot_fekoldx.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54 PlayOneShot ( 1 File ( "BVhmot_fekoldx.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
        			)
			)


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


			Skip ( 10. Fomegszakito hangjai )
			Stream (
				Priority ( 5 )	
				Volume ( 0.55 )		
				Triggers ( 4				
					Discrete_Trigger ( 151	PlayOneShot ( 1 File ( "BVhmot_fomeg_beX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 152	StartLoopRelease ( 1 File ( "BVhmot_fomeg_uzembX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 150	ReleaseLoopRelease () ) 
					Discrete_Trigger ( 150	PlayOneShot ( 1 File ( "BVhmot_fomeg_kiX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)


			Skip ( 11. Kurt lejatszasa )
			Stream (
				Priority ( 5 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "BVhmot_kurtX.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)


			Skip ( 12. Szellozo hangok )
			Stream(
				Priority ( 5 )
				Triggers( 4
					Discrete_Trigger ( 6	PlayOneShot ( 1 File ( "BVhmot_szell_beX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 6	StartLoopRelease ( 1 File ( "BVhmot_szell_uzembX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 7	ReleaseLoopRelease() ) 
					Discrete_Trigger ( 7	PlayOneShot ( 1 File ( "BVhmot_szell_kiX.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)				
			)


			Skip ( 14. 0-60 menethang )
			Stream (
				Priority ( 6 )
				Triggers ( 2
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "menet60x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 3
						  -19.4		47000
						    0.0		15000
						   19.4		47000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					 2.00	0.30
					18.00	0.80
					19.40	0.00
				            )
				 Granularity ( 0.01 )
				)
			)


			Skip ( 15. 60-120 menethang )
			Stream (
				Priority ( 6 )
				Triggers ( 2
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "menet120x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -33.4		46000
						  -19.4		37000
						    0.0		15000
						   19.4		37000
						   33.4		46000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					16.00	0.00
					19.40	0.60
					33.40	0.90
				            )
				 Granularity ( 0.01 )
				)
			)


			Stream (
	Priority ( 7 )
	Triggers ( 1
	Variable_Trigger ( Speed_Dec_Past  2.50  PlayOneShot ( 1  File ( "BVhmot_fekcsikorgasx.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                 )
	VolumeCurve(
                SpeedControlled
                CurvePoints ( 5
                                      0.00    0.0
                                      0.28    0.9
                                      0.84    0.7
                                      1.67    0.5
                                      2.50    0.3
                                  )
                   Granularity  ( 0.01 )
                            )
                     )
			
			Skip ( 16. 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( 3
Activation 	(  ExternalCam   ()	CabCam  ()	  	Distance		( 500 )		)
Deactivation 	(   	PassengerCam	()							Distance		( 500 )		)
		Streams ( 4
			Skip ( 1a. motorhang0-40 )
			Stream (
			Priority ( 6 )
			Triggers ( 2
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "BVhmot_motorhang2x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -13.5		21000
						   -3.0		4000
						    0.0		2000
						    3.0		4000
						   13.5		21000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					 2.00	0.70
					10.00	0.50
					13.00	0.00
				            )
				 Granularity ( 0.01 )
				)
			)
			

			Stream (
	Priority ( 7 )
	Triggers ( 1
	Variable_Trigger ( Speed_Dec_Past  2.50  PlayOneShot ( 1  File ( "BVhmot_fekcsikorgasx.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                 )
	VolumeCurve(
                SpeedControlled
                CurvePoints ( 5
                                      0.00    0.0
                                      0.28    0.9
                                      0.84    0.7
                                      1.67    0.5
                                      2.50    0.3
                                  )
                   Granularity  ( 0.01 )
                            )
                     )

			Skip ( 1c. motorhang80-120 )
			Stream (
			Priority ( 6 )
			Triggers ( 2
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "BVhmot_motorhangx.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -33.0		11200
						  -24.0		8700
						    0.0		5000
						   24.0		8700
						   33.0		11200
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 4
					 0.00	0.00
					21.00	0.00
					24.61	0.60
					33.33	0.70
				            )
				 Granularity ( 0.01 )
				)
			)


			Skip ( 1b. motorhang40-80 )
			Stream (
				Priority ( 6 )
  			        Volume ( 0.7 )
				Triggers ( 2
				Discrete_Trigger ( 45 StartLoop ( 1 File ( "BVhmot_motorhang1x.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger ( 46 ReleaseLoopReleaseWithJump ( )	)
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
				             -24.00	18000
					     -11.50	8500
					       0.00	2000
					      11.50	8500
	       				      24.00	18000
	  			            )
					Granularity ( 25 )
					)
					VolumeCurve (
					SpeedControlled
					CurvePoints ( 6
					  9.73	0.00
					12.12	0.50
					13.50	0.80
					13.89	0.85
					19.28	0.70
					25.61	0.00
					)
					Granularity ( 0.05 )
				)
			)
         	 )
     	)