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

Tr_SMS (
	ScalabiltyGroup( 5
		Activation (
			CabCam ()
			Distance (100)
		)
		Deactivation (
			ExternalCam ()
			PassengerCam ()
			Distance (100)
		)
		Stereo ()
		Streams ( 13
			Skip ( 1. Aramszedo vezerles hangjai )
			Stream (
				Priority ( 7 )
				Triggers ( 4
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "V42_kapcsolo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45	PlayOneShot ( 1	File ( "V42_aramszedo_fel.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	ReleaseLoopRelease () )	
					Discrete_Trigger ( 46	PlayOneShot ( 1	File ( "V42_aramszedo_le.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)			
	
		
			Skip ( 4. Teloc ketyeges )
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Variable_Trigger ( Speed_inc_past 1.0 Startlooprelease   ( 1 File ( "V42_teloc.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_dec_past 1.0 ReleaseLoopRelease () )
				)			
			)

			Skip ( 5.Legsurito hangja )
			Stream (
				Priority ( 5 )			
				Triggers ( 5				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "V42_legsurito.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 ( 6. Fekek levegos hangjai )
			Skip ( FONTOS! Az EnableTrigger/DisableTrigger RELATIV hivatkozasokkal dolgozik )
			Skip ( 17 - D15 fekkar "racsni" hangja )
			Skip ( 14 - D15 fekezes )
			Skip ( 54 - D15 oldas )
			Skip ( 18 - Kiegeszito fekkar hangja, erre definialtam a fekezes hangjat )
			Stream (
				Priority ( 5 )
				Triggers ( 10
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "V42_fek_kattanas.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 18	PlayOneShot ( 1	File ( "V42_mozdfek_fekez.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 21	PlayOneShot ( 1	File ( "V42_mozdfek_oldas.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )					
					Discrete_Trigger ( 14	PlayOneShot ( 1 File ( "V42_vonatfek_fekez.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 14	DisableTrigger ( 3 ) )
					Discrete_Trigger ( 14	EnableTrigger ( 6 ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1 File ( "V42_veszfek_fekez.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1 File ( "V42_vonatfek_oldas.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	DisableTrigger ( 6 ) )
					Discrete_Trigger ( 54	EnableTrigger ( 3 ) )
				)
			)

			SKip ( 7. Iranyvalto, vilagitas kapcsolo, ebersegi pedal )
			Stream (
				Priority ( 5 )
				Triggers ( 5
					Skip ( 15 - Iranyvalto )
					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "V42_iranyvalto.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Skip ( 37 - Vilagitas kapcsolo )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "V42_kapcsolo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Skip ( 48 - Ebersegi pedal - trukkozni kell, hogy csak a lenyomaskor legyen hang! )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "V42_ebersegi_pedal.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	DisableTrigger ( 3 ) )
					Random_Trigger (
						Delay_Min_Max( 2 2 )
						Volume_Min_Max( 1.0 1.0 )
						EnableTrigger( 3 )
					)
				)
			)
	


			Skip ( 9. Fomegszakito hangjai )
			Stream (
				Priority ( 5 )			
				Triggers ( 4				
					Discrete_Trigger ( 4	PlayOneShot ( 1 File ( "V42_fomeg_be.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 4	StartLoopRelease ( 1 File ( "V42_fomeg_jar.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 5	ReleaseLoopRelease () ) 
					Discrete_Trigger ( 5	PlayOneShot ( 1 File ( "V42_fomeg_ki.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)


			Skip ( 10. Kurt lejatszasa )
			Stream (
				Priority ( 5 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "V42_kurt.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.000	22000
						0.000		22000
						100.000		22000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 3
						 
						 -80			1.0	
						 0.000	        	1.0
						 80.0			1.0
					)
					Granularity ( 0.05 )
				)
			)


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


			Skip ( 12. Szellozo hangok )
			Stream(
				Priority ( 5 )
				Triggers( 4
					Discrete_Trigger ( 6	PlayOneShot ( 1 File ( "V42_szellozo_ind.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 6	StartLoopRelease ( 1 File ( "V42_szellozo_jar.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 7	ReleaseLoopRelease() ) 
					Discrete_Trigger ( 7	PlayOneShot ( 1 File ( "V42_szellozo_leall.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
				SpeedControlled
					CurvePoints ( 3
						-100.000	22000
						0.000		22000
						100.000		22000
					)
					Granularity ( 100 )		
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 6
						 
						 -50			1.0	
						 -6.0			1.0
						 0.000		1.0
						 6.0			1.0
						 40			1.0
						 80            	1.0
					)
					Granularity ( 0.05 )
                              )
                   )


			Skip ( 13. Menetuzem motorhangja )
			Skip ( Variable1 - Menetszabalyzo kar kivezerlese 0...100 )
			Skip ( Variable2 - Motoraram a maximalis motoraram %-aban 0...100 )
			Stream (
				Priority ( 4 )
				Triggers ( 11				
				Initial_Trigger ( StartLoop ( 1 File ( "V42_motor1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Inc_Past  1.0 ReleaseLoopRelease () )
				Variable_Trigger ( Speed_Inc_Past  1.0 StartLoop ( 1 File ("V42_motor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Speed_Dec_Past  1.0 ReleaseLoopRelease () )
				Variable_Trigger ( Speed_Dec_Past  1.0 StartLoop ( 1 File ("V42_motor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )				
				Variable_Trigger ( Variable2_Inc_Past 15.00 SetStreamVolume ( 1.00 ) )
				Variable_Trigger ( Variable2_Inc_Past 10.00 SetStreamVolume ( 0.80 ) )
				Variable_Trigger ( Variable2_Inc_Past  5.00 SetStreamVolume ( 0.20 ) )
				Variable_Trigger ( Variable2_Dec_Past  5.00 SetStreamVolume ( 0.20 ) )
				Variable_Trigger ( Variable2_Dec_Past 10.00 SetStreamVolume ( 0.80 ) )
				Variable_Trigger ( Variable2_Dec_Past 15.00 SetStreamVolume ( 1.00 ) )
				)
				FrequencyCurve(
				SpeedControlled
				CurvePoints ( 5
						  -53.5		34000
						   -3.0		9000
						    0.0		3000
						    3.0		9000
						   53.5		34000
				              )
				Granularity ( 25 )
				)
				VolumeCurve(
				SpeedControlled
				CurvePoints ( 3
					 0.00	0.00
					 0.01	0.10
					 0.10	1.00
				            )
				 Granularity ( 0.01 )
				)
			)

			
			Stream (
				Skip ( 15. fekezeshang )
				Priority ( 6 )
				Triggers ( 8
				Discrete_Trigger (  14   StartLoopRelease ( 1 File ( "V42_fekezes.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Discrete_Trigger (  14	DisableTrigger ( 1 ) )
				Discrete_Trigger (  54  ReleaseLoopRelease ()      )
				Discrete_Trigger (  54  EnableTrigger ( 1 ) )
				Variable_Trigger ( Speed_Dec_past 0.5	ReleaseLoopRelease () )
				Variable_Trigger ( Speed_Dec_Past 0.5	EnableTrigger ( 1 ) )
				Variable_Trigger ( Speed_Inc_past 2.0		ReleaseLoopRelease () )
				Variable_Trigger ( Speed_Inc_Past 2.0		EnableTrigger ( 1 ) )
			)
			FrequencyCurve(
					SpeedControlled
					CurvePoints ( 4
						-17.00	16000
						-3.00	  6000
						3.00	  6000
						17.00	16000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						-1.00	0.5
						-0.10	0.0
						0.10	0.0
						1.00	0.5
					)
					Granularity ( 0.05 )
				)
			)

			Skip ( 16. fekcsikorgas megallaskor )
			Stream (
			Priority ( 5 )
			Triggers ( 1
			Variable_Trigger ( Speed_Dec_Past  1.0  PlayOneShot ( 1 File ( "V42_csikorgas.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
      			)
			VolumeCurve(
            		SpeedControlled
            		CurvePoints ( 5
                       				0.00    0.00
                        		    	0.56    0.55
                        		    	1.68    0.45
                         		   	3.34    0.35
                         		   	4.46    0.15
                  		         )
           		 Granularity  ( 0.05 )
            )
)

			
			Skip ( 17. Ebersegi hangja )
			Stream(
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "V42_ebersegi.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)
)