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

Tr_SMS (

	ScalabiltyGroup( 5
		Activation (
			CabCam	()
			Distance   	(100)
		)
		Deactivation (
		      ExternalCam ()
			PassengerCam   ()
			Distance   	(100)
		)
		Stereo ()
		Volume (0.3)
		Streams ( 16
			Stream (
				Priority ( 6 )
				Volume(1.0)			
				Triggers ( 23
					Initial_Trigger ( SetStreamVolume ( 0.00 ) )
					Variable_Trigger ( Speed_Inc_Past 0.400 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Inc_Past 0.800 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Inc_Past 1.200 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Inc_Past 1.600 SetStreamVolume ( 0.40 ) )
      				Variable_Trigger ( Speed_Inc_Past 2.000 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Inc_Past 2.400 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Inc_Past 2.800 SetStreamVolume ( 0.70 ) )
					Variable_Trigger ( Speed_Inc_Past 3.200 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Inc_Past 3.600 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Inc_Past 4.000 SetStreamVolume ( 1.00 ) )

					Variable_Trigger ( Speed_Dec_Past 4.000 SetStreamVolume ( 0.90 ) )
					Variable_Trigger ( Speed_Dec_Past 3.600 SetStreamVolume ( 0.80 ) )
					Variable_Trigger ( Speed_Dec_Past 3.200 SetStreamVolume ( 0.70 ) )
					Variable_Trigger ( Speed_Dec_Past 2.800 SetStreamVolume ( 0.60 ) )
					Variable_Trigger ( Speed_Dec_Past 2.400 SetStreamVolume ( 0.50 ) )
					Variable_Trigger ( Speed_Dec_Past 2.000 SetStreamVolume ( 0.40 ) )
					Variable_Trigger ( Speed_Dec_Past 1.600 SetStreamVolume ( 0.30 ) )
					Variable_Trigger ( Speed_Dec_Past 1.200 SetStreamVolume ( 0.20 ) )
					Variable_Trigger ( Speed_Dec_Past 0.800 SetStreamVolume ( 0.10 ) )
					Variable_Trigger ( Speed_Dec_Past 0.400 SetStreamVolume ( 0.00 ) )

					Variable_Trigger ( Variable2_Inc_Past 0.10 StartLoop   ( 1 File ( "trakcni_motory1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.10 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-160.000	96000
						0.000		2825
						160.000	96000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                     0.000		0.00
					       25.0			0.6
					     	 50.0			1.0
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(0.4)			
				Triggers ( 3
      				Variable_Trigger ( Speed_Inc_Past 15.0 PlayOneShot   ( 1 File ( "trakcni_motory2r.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
      				Variable_Trigger ( Speed_Inc_Past 15.0 StartLoop   ( 1 File ( "trakcni_motory2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 15.0 ReleaseLoopRelease () )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-160.000	68000
						0.000		2825
						160.000	68000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 4
                                     0.000		0.00
					       25.0			0.3
					     	 60.0			0.7
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip( **** EDB **** )
				Priority ( 6 )
				Volume(0.9)			
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.05  StartLoopRelease   ( 1 File ( "trakcni_motory1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.05  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-160.000	85025
						0.000		2825
						160.000	85025
					)
					Granularity ( 100 )
                        )
				VolumeCurve(
					Variable3Controlled
					CurvePoints ( 2
                                     0.000		0.0
					       1.00 		1.0
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip( **** EDB Chlazeni **** )
				Priority ( 6 )
				Volume(0.20)			
				Triggers ( 5
					Variable_Trigger ( Variable3_Inc_Past 0.2  StartLoopRelease   ( 1 File ( "363_chladic.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.2  ReleaseLoopRelease  () )					

					Discrete_Trigger ( 45	EnableTrigger( 1 ) )
					Discrete_Trigger ( 46	ReleaseLoopRelease ( 1 File ( "363_chladic.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 46	DisableTrigger( 1 ) )

				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.25)			
				Triggers ( 9
					Initial_Trigger ( StartLoop   ( 1 File ( "363_power_1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 1.30 ReleaseLoopRelease () )			
					Variable_Trigger ( Speed_Inc_Past 1.30 StartLoop   ( 1 File ( "363_power_2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Inc_Past 2.60 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Inc_Past 2.60 StartLoop   ( 1 File ( "363_power_3.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 2.60 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past 2.60 StartLoop   ( 1 File ( "363_power_2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 1.30 ReleaseLoopRelease () )					
					Variable_Trigger ( Speed_Dec_Past 1.30 StartLoop   ( 1 File ( "363_power_1.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 5
                                     0.000		0.00
					       0.01			0.0
					       0.1			1.0
					     	 25.0			1.0
					       100.0		1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume (0.65)			
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.00)			
				Triggers ( 4
					Discrete_Trigger ( 10	SetStreamVolume ( 0.80 ) )
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "363_pistala.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11	SetStreamVolume ( 0.00 ) 	)
					Discrete_Trigger ( 11	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.3)			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "..\\..\\HHP\\SOUND\\hhp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
			  Skip ( **** Kompresor	**** )
			  Skip ( **** Rozbehne se po odbrzdeni pri stani nebo po odbrzdeni a naslednem zastaveni 	**** )
			  Skip ( **** Rozbeh po odbrzdeni za jizdy neni umoznen, protoze napr. po 5 odbrzdenich 	**** )
      		  Skip ( **** tesne po sobe by pak bezel 5krat, coz neni zrovna idealni **** )
				Priority ( 6 )
				Volume (0.6)
				Triggers ( 30

			  Skip ( Spusteni odbrzdenim nebo odbrzdenim a naslednym zastavenim )

					Discrete_Trigger ( 53  	PlayOneShot ( 1 File ( "362_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54  	PlayOneShot ( 1 File ( "362_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 PlayOneShot ( 1 File ( "362_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

			  Skip ( Znemozneni vicenasobneho spousteni [to by potom bezel jeste nekolikrat pri jizde] )

					Discrete_Trigger ( 53  	DisableTrigger( 1 ) )
					Discrete_Trigger ( 54  	DisableTrigger( 2 ) )

					Discrete_Trigger ( 53  	DisableTrigger( 3 ) )
					Discrete_Trigger ( 54  	DisableTrigger( 3 ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 DisableTrigger( 3 ) )

			  Skip ( Povoleni/znemozneni spusteni pri zastaveni/po rozjeti [aby pri kazdem odbrzdeni za jizdy nebezel]	)

					Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger( 1 ) )
					Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger( 2 ) )

					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 1 ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 2 ) )
					Variable_Trigger ( Speed_Inc_Past 0.1 DisableTrigger( 3 ) )

			  Skip ( Povoleni spusteni po odbrzdeni a naslednem zastaveni [navazuje na predchozi trigger] )

					Discrete_Trigger ( 53  	EnableTrigger( 3 ) )
					Discrete_Trigger ( 54  	EnableTrigger( 3 ) )

			  Skip ( Povoleni/znemozneni spusteni pri zvednuti/spusteni sberace )

					Discrete_Trigger ( 45  	EnableTrigger( 1 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 2 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 3 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 9 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 10 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 14 ) )
					Discrete_Trigger ( 45  	EnableTrigger( 15 ) )

					Discrete_Trigger ( 46  	DisableTrigger( 1 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 2 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 3 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 9 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 10 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 14 ) )
					Discrete_Trigger ( 46  	DisableTrigger( 15 ) )

					Discrete_Trigger ( 14   DisableTrigger( 3 ) )
				)
			)	
			Stream (
				Priority ( 6 )
				Volume(0.1)			
				Triggers ( 4
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "brzdy_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "brzdy_final.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "brzdy_final.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 StartLoop ( 1 File ( "brzdy_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 11
					       -100.0		0.0
					     	 -10.0		0.0
                                     -2.0 		0.1
					       -0.6	      	0.7
					       -0.4	      	0.0
                                      0.0 		0.0
					        0.4	      	0.0
					        0.6	      	0.7
					        2.0			0.1
					     	 10.0			0.0
					       100.0		0.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(0.35)			
				Triggers ( 5
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "brzdy_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "brzdy.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
       				Skip ( **** Brake Normal Apply	**** )
					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "brzdy.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "brzdy_k.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 StartLoop ( 1 File ( "brzdy_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.000	15000
						-2.500	10000
						0.000		11000
						2.500	      10000
						100.000	15000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -100.0		0.05
					     	 -6.00  		0.1
					     	 -0.30		0.9
                                     0.000		0.00
					     	 0.30			0.9
					     	 6.00  		0.1
					       100.0		0.05  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(0.7)			
				Triggers ( 8
        				Discrete_Trigger (  14 ReleaseLoopRelease ( 1 File ( "x_brzdeni_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "brzdeni_z.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  14 DisableTrigger( 2 ) )
       				Discrete_Trigger (  14 StartLoop ( 1 File ( "brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )


					Discrete_Trigger (  54 ReleaseLoopRelease ( 1 File ( "brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "brzdeni_k.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger (  54 EnableTrigger( 2 ) )

					Discrete_Trigger (  54 StartLoop ( 1 File ( "x_brzdeni_t.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-40.000	14000
						0.000		 7000
						40.000	14000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					     	 -40.0		1.0
                                     -8.5 		0.9
                                     -0.8 		0.6
                                      0.0 		0.0
                                      0.8 		0.6
					        8.5			0.9
					       40.0		      1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume(0.5)
				Triggers ( 13
					Variable_Trigger ( Variable2_Inc_Past 0.010 PlayOneShot   ( 1 File ( "363_kontroler.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.010 PlayOneShot ( 1 File ( "363_power_vyp.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 15	PlayOneShot ( 1	File ( "363_reverser.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 17	PlayOneShot ( 1	File ( "363_brzdic.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 25	PlayOneShot ( 1	File ( "363_tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 26	PlayOneShot ( 1	File ( "363_tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 37	PlayOneShot ( 1	File ( "363_prepinac.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )

					Discrete_Trigger ( 46   PlayOneShot ( 1   File ( "163_konec.wav" -1 )     SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 47	PlayOneShot ( 1	File ( "363_prepinac.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 48	PlayOneShot ( 1	File ( "363_tlacitko.wav" -1 )  SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51	PlayOneShot ( 1	File ( "363_brzdic.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 53	PlayOneShot ( 1	File ( "363_vzduch.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 54	PlayOneShot ( 1	File ( "363_vzduch.wav" -1 )    SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.1)
				Triggers ( 7
					Initial_Trigger  ( StartLoop   ( 1 File ( "163_power_0.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 45 SetStreamVolume ( 0.1 ) )
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "363_sberac_n.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 45 PlayOneShot ( 1 	File ( "163_start.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 45 StartLoop   ( 1     File ( "163_power_0.wav" -1 )  SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 46 ReleaseLoopRelease   ( 1  File ( "163_power_0.wav" -1 )  SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 46 SetStreamVolume ( 0.00 ) )
				)
			)
			Stream (
				Priority ( 6 )
				Volume(0.1)
				Triggers ( 1
					Discrete_Trigger ( 46 PlayOneShot  ( 1 	File ( "163_sberac_d.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				)
			)
			Stream(
				Priority ( 6 )
				Triggers( 4
					Discrete_Trigger ( 56	SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 56	StartLoopRelease ( 1 File ( "zivak.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 57	SetStreamVolume ( 0.0 ) )
					Discrete_Trigger ( 57	ReleaseLoopRelease() ) 
				)				
			)
		)
	)
)
