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


Tr_SMS (

	Skip (** Ozvuceni pro dvounapravove nakladni vozy prazdne **)
	Skip (** Igor Hnizdo: uprava kveten 2021 - prepracovano pro verzi programu ORTS-MGIC CZ/SK 1.2.2 **)
	Skip (** Je nezbytne mit stazeny a nainstalovany balik zvuk "vozy" od Jacka **)


	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			Distance    ( 500 )
		)
		Deactivation (
			PassengerCam	()
			CabCam			()
			Distance    	( 500 )
		)
		Volume ( 1.0 )
		Streams ( 9
		        Stream (
		               Skip (** rozjezd - natahovani sprahel **)
				Priority ( 6 )
             		        Volume ( 0.8 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.01	PlayOneShot ( 1	File ( "../../common.snd/vozy/cdvagnakladrozjezd1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past  0.04	PlayOneShot ( 1	File ( "../../common.snd/vozy/cdvagnakladrozjezd2.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
			)
			Stream (
			       Skip (** jizda I. **)
				Priority ( 6 )
             		        Volume ( 0.85 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  0.01	StartLoop ( 1	File ( "../../common.snd/vozy/cdvagnaklad6.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.01	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-40.000	13025
						-17.000	11025
						0.000		7000
						17.000 	11025
						40.000	13025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -45.0       	1.0  
					       -15.0 		0.5
					       -0.8	      	0.35 
					       -0.001	     	0.0  
                                     0.000		0.0
					       0.001      	0.0  
					       0.8	      	0.35  
					       15.0 		0.5
					       45.0	      	1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
                               Skip (** jizda II. **)
				Priority ( 6 )
             		        Volume ( 0.30 )
				Triggers ( 2
					Variable_Trigger ( Speed_Inc_Past  4.0	StartLoop ( 1	File ( "../../common.snd/vozy/cdvagnaklad2.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  4.0	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-50.000	13025
						-32.000	11025
						0.000		 6000
						32.000	11025
						50.000	13025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -40.0       	1.0  
					       -16.0 		0.4
					       -6.0	      	0.0  
                                     0.000		0.0
					       6.0			0.0
					       16.0	      	0.4  
					       40.0	      	1.0  
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Skip(** bouchani kol na nerovnostech **)
				Priority ( 6 )
				Volume (1.5)
				Triggers ( 1
					Variable_Trigger ( Vibration_Inc_Past 10 PlayOneShot ( 3
						File ( "../../common.snd/Zvuk_podvozku/2_valivy/buch1_ex.wav" -1 )
						File ( "../../common.snd/Zvuk_podvozku/2_valivy/buch2_ex.wav" -1 )
						File ( "../../common.snd/Zvuk_podvozku/2_valivy/buch3_ex.wav" -1 )
					SelectionMethod ( RandomSelection ) ) )
				   )
                                FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						0.000		9000
						11.0		11025
						35.0	    15000				
					)
					Granularity ( 100 )
				)	
				VolumeCurve (
					VibrationControlled
					CurvePoints ( 3
						0		0.00
						10		0.10
						50		1.50
					)
					Granularity ( 0.05 )
				)
			)
			Stream (
                               Skip (** brzda - zvuk vzduchu **)
				Priority ( 6 )
				Volume ( 0.8 )
				Triggers ( 4
                                        Discrete_Trigger (  14 StartLoopRelease ( 1 File ( "../../common.snd/brzdice-vzduch/x_brzda_prubezna_zabrzdeni1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())
					Discrete_Trigger (  54 StartLoopRelease ( 1	File ( "../../common.snd/brzdice-vzduch/x_brzda_prubezna_odbrzdeni.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
        				Discrete_Trigger (  139	ReleaseLoopReleaseWithJump ())
                                        )
				VolumeCurve(
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			  )
			Stream (
			        Skip (** brzda - vrzani pakovi **)
				Priority ( 6 )
                                Volume( 0.3 )
				Triggers ( 2
					Discrete_Trigger (  14 PlayOneShot ( 1 File ( "../../common.snd/vozy/vozy_x_brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  54 PlayOneShot ( 1 File ( "../../common.snd/vozy/vozy_x_odbrzdeni.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
                                )
				VolumeCurve (
				DistanceControlled
					CurvePoints ( 2
						0.00		1.0
		 		 		100.0		0.0
					)
					Granularity ( 0.001 )
				)
			)
			Stream (
				Skip (** brzdeni - zvuk zdrzi **)
				Priority ( 6 )
             		        Volume ( 0.4 )
				Triggers ( 4

                                           Variable_Trigger ( BrakeCyl_Inc_Past 2 PlayOneShot ( 1 File ( "../../common.snd/vozy/x_brzdeni_z.wav" -1 ) SelectionMethod ( SequentialSelection )))
                                           Variable_Trigger ( BrakeCyl_Inc_Past 2 StartLoop ( 1 File ( "../../common.snd/vozy/x_brzdeni.wav" -1 ) SelectionMethod ( SequentialSelection )))
                                           Variable_Trigger ( BrakeCyl_Dec_Past 2 ReleaseLoopRelease ())
                                           Variable_Trigger ( BrakeCyl_Dec_Past 2 PlayOneShot ( 1 File ( "../../common.snd/vozy/x_brzdeni_k.wav" -1 ) SelectionMethod ( SequentialSelection )))
				)
				FrequencyCurve(
					WheelSpeedControlled
					CurvePoints ( 5
						-7.000	11000
						-3.000	10000
						0.000		 9000
						3.000	      10000
						7.000	11000
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					WheelSpeedControlled
					CurvePoints ( 9
					     	 -7.0 		0.2
                                     -6.9 		1.0
					       -2.5	      	0.7
					       -1.5       	0.3
                                      0.0       	0.0
					        1.5       	0.3
					        2.5	      	0.7
					        6.9			1.0
					     	  7.0			0.2
					)
					Granularity ( 0.01 )
				)				
			)
     			Stream (
     			Skip (** skripeni zdrzi pri dobrzdeni **)
			Priority ( 6 )
			Volume ( 1.0 )
			Triggers ( 7
			Discrete_Trigger ( 14	DisableTrigger (5) )
			Discrete_Trigger ( 54	EnableTrigger (5) )
			Discrete_Trigger ( 143	EnableTrigger (5) )
			Variable_Trigger ( WheelSpeed_Dec_Past 0.01 EnableTrigger (5) )
			Variable_Trigger ( BrakeCyl_Dec_Past 1	ReleaseLoopReleaseWithJump () )	
			Variable_Trigger ( BrakeCyl_Inc_Past 1  StartLoopRelease ( 1  File ( "../../common.snd/Zvuk_podvozku/4_valivy/brzda_vlaku1.wav" -1 )  SelectionMethod (SequentialSelection) ) )
			Variable_Trigger ( WheelSpeed_Dec_Past 0.01 ReleaseLoopReleaseWithJump () )
			 )
			FrequencyCurve(
				WheelSpeedControlled
				CurvePoints ( 8
				 0.00    22500
 				 0.10    22500
				 0.50    20100
 				 1.00    21100
  				 2.00    22100
				 2.50    22100
 				 3.00    22500 
				 3.50    22500
				)
				Granularity ( 100 )
			)
			VolumeCurve(
			    WheelSpeedControlled
			    CurvePoints ( 8
 				 0.00    0.00
 				 0.10    0.10
				 0.50    1.00
 				 1.00    0.80
  				 2.00    0.60
				 2.50    0.40
 				 3.00    0.10 
				 3.50    0.00
			  )
  			 Granularity  ( 0.001 )
 			 )
			)
			Stream (
			        Skip (** svesovani/rozvesovani **)
				Priority ( 6 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) )
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../common.snd/vozy/x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) )
				)
			)
		)
	)
)