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

Tr_SMS (
	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()		Distance    (100)
		)
		Deactivation (
			CabCam	() PassengerCam	() 			Distance    	(150)
		)
		Streams ( 10
			Stream (
                                Volume(0.5)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 0.1
						StartLoop ( 1
							File ( velo5.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 4.82
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 4.82
						StartLoop ( 1
							File (  velo.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 0.1
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 9 
							-4.8 0.0 
							-4.5 0.6
							-4.3 0.8 
							-1.3 0.25 
							0.0 0.0
							1.3 0.25 
							4.3 0.8 
							4.5 0.6
							4.8 0.0 
						     )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 5 
							-4.82 29200
							-1.3 22050 
							0.0 16000
							1.3 22050 
							 4.82 29200 
							 )
					Granularity ( 1.0 )
				)
			)
			Stream (
                                Volume(0.5)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 3.8
						StartLoop ( 1
							File (  velo17.30.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 6.62
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 6.62
						StartLoop ( 1
							File (  velo17.30.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 3.8
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							-6.62 0.0 
							-6.50 0.5 
							-6.3 1.0 
							-4.82 1.0 
							-4.61 1.0 
							-3.8 0.0	
							3.8 0.0	
							4.61 0.5 
							4.82 1.0 
							6.3 1.0 
							6.5 0.5 
							6.62 0.0 
							)
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 6 
							 -6.62 29400
							 -4.8 22050 
							 -3.8 20050 
							 3.8 20050 
							 4.8 22050 
							 6.62 29400 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.7)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 5.6
						StartLoop ( 1
							File (  velo23.00.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 9.86
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 9.86
						StartLoop ( 1
							File (  velo23.00.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 5.6
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12
							-9.86 0.0 
							-9.6 0.5 
 							-9.4 1.0 
							-6.6 1.0
							-6.4 0.7  
							-5.6 0.0 
							5.6 0.0 
							6.4 0.7 
							6.6 1.0 
							9.4 1.0 
							9.6 0.5 
							9.86 0.0 
							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4
							 -9.86 32200 
							 -6.9 22050
							 6.9 22050 
							 9.86 32200 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.8)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 8.84
						StartLoop ( 1
							File (  velo35.43.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 13.68
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 13.68
						StartLoop ( 1
							File (  velo35.43.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 8.84
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -13.68 0.0 
							 -13.4 0.5 
							 -13.2 1.0 
							 -9.86 1.0 
							 -9.6 0.5
							 -8.8 0.0
							 8.8 0.0 
							 9.6 0.5 
							 9.86 1.0 
							 13.2 1.0 
							 13.4 0.5 
							 13.68 0.0
 
							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -13.68 31750 
							 -9.84 22050 
							 9.84 22050 
							 13.68 31750 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 12.66
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 17.61
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 17.61
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 12.66
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -17.61 0.0 
							 -17.4 0.5 
							 -17.2 1.0 
							 -13.68 1.0 
							 -13.4 0.5
							 -12.66 0.0 
							 12.66 0.0 
							 13.4 0.5 
							 13.68 1.0 
							 17.2 1.0 
							 17.4 0.5 
							 17.61 0.0 

							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							  -17.61 31150 
							 -13.66 22050
							 13.66 22050
							  17.61 31150 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 16.59
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 27.58
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 27.58
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 16.59
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -27.58 0.0 
							 -27.3 0.5 
							 -27.1 0.7 
							 -17.61 1.0 
							 -17.40  0.5 
							 -16.59 0.0 
							 16.59 0.0 
							 17.40 0.5 
							 17.61 1.0 
							 27.1 0.7 
							 27.3 0.5 
							 27.58 0.0 
							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -27.58 31500 
							 -17.59 22050 
							 17.59 22050 
							 27.58 31500 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(1.0)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 26.56
						StartLoop ( 1
							File (  velo100.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 33.35
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 33.35
						StartLoop ( 1
							File (  velo100.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 26.56
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -33.35 0.0 
							 -33.10 0.5 
							 -32.80 1.0 
							 -27.58 1.0 
							 -27.30 0.5 
							 -26.56 0.0 
							 26.56 0.0 
							 27.30 0.5 
							 27.58 1.0 
							 32.80 1.0 
							 33.10 0.5 
							 33.35 0.0 

)
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -33.35 31310 
							 -27.56 22050 
							 27.56 22050 
							 33.35 31310 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 32.33
						StartLoop ( 1
							File (  velo120.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 44.46
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 44.46
						StartLoop ( 1
							File (  velo120.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 32.33
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -44.46 0.0 
							 -44.45 0.5 
							 -44.44 1.0 
							 -33.35 1.0 
							 -33.10 0.5 
							 -32.33 0.0 
							 32.33 0.0 
							 33.10 0.5 
							 33.35 1.0 
							 44.44 1.0 
							 44.45 0.5 
							 44.46 0.0 
							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -44.46 28664 
							 -33.33 22050 
							 33.33 22050 
							 44.46 28664 
							 )
					Granularity ( 0.5 )
				)
			)			

			Stream (
                                Volume(1.0)
				Priority ( 6 )
				Triggers ( 1
				  Skip ( **** Release 	**** )
				   Discrete_Trigger ( 14 PlayOneShot ( 1 	File ( "frenos.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)	


		Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "rw_couple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "rw_couple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "rw_couple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "rw_uncouple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "rw_uncouple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "rw_uncouple.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					)
			
			)	
		)
	)
	
	ScalabiltyGroup( 3
		Activation (
			ExternalCam ()		Distance    (100)
		)
		Deactivation (
			CabCam	() PassengerCam	() 			Distance    	(150)
		)
		Streams ( 2
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 12.66
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 17.61
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 17.61
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 12.66
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -17.61 0.0 
							 -17.4 0.5 
							 -17.2 1.0 
							 -13.68 1.0 
							 -13.4 0.5
							 -12.66 0.0 
							 12.66 0.0 
							 13.4 0.5 
							 13.68 1.0 
							 17.2 1.0 
							 17.4 0.5 
							 17.61 0.0 

							 )
					Granularity ( 10 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							  -17.61 31150 
							 -13.66 22050
							 13.66 22050
							  17.61 31150 
							 )
					Granularity ( 10 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 16.59
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 27.58
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 27.58
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 16.59
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -27.58 0.0 
							 -27.3 0.5 
							 -27.1 0.7 
							 -17.61 1.0 
							 -17.40  0.5 
							 -16.59 0.0 
							 16.59 0.0 
							 17.40 0.5 
							 17.61 1.0 
							 27.1 0.7 
							 27.3 0.5 
							 27.58 0.0 
							 )
					Granularity ( 10 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -27.58 31500 
							 -17.59 22050 
							 17.59 22050 
							 27.58 31500 
							 )
					Granularity ( 10 )
				)
			)
			
		)
	)

	Skip ( ** SL 0 As SL 1 But lower priority ** )
	ScalabiltyGroup( 0
		Activation (
			ExternalCam ()		Distance    (100)
		)
		Deactivation (
			CabCam	() PassengerCam	() 			Distance    	(150)

		Streams ( 3
			Stream (
                                Volume(0.5)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 1.0
						StartLoop ( 1
							File (  velo17.30.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 12.65
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 12.65
						StartLoop ( 1
							File (  velo17.30.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 1.0
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 10 
							-12.65 0.0 
							-11.50 0.5 
							-10.3 0.8 
							-1.5 0.3 
							-1.0 0.0	
							1.0 0.0	
							1.5 0.3 
							10.3 0.8 
							11.50 0.5 
							12.65 0.0 
							)
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -12.65 29400
							 -1.0 20050 
							 1.0 20050 
							 12.65 29400 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 12.66
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 17.61
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 17.61
						StartLoop ( 1
							File (  velo49.20.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 12.66
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -17.61 0.0 
							 -17.4 0.5 
							 -17.2 1.0 
							 -13.68 1.0 
							 -13.4 0.5
							 -12.66 0.0 
							 12.66 0.0 
							 13.4 0.5 
							 13.68 1.0 
							 17.2 1.0 
							 17.4 0.5 
							 17.61 0.0 

							 )
					Granularity ( 0.05 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							  -17.61 31150 
							 -13.66 22050
							 13.66 22050
							  17.61 31150 
							 )
					Granularity ( 0.5 )
				)
			)
			Stream (
                                Volume(0.9)
				Priority ( 7 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 16.59
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Inc_Past 110
						ReleaseLoopRelease (  )
					)
					Variable_Trigger ( Speed_Dec_Past 110
						StartLoop ( 1
							File (  velo63.33.wav -1 )
							SelectionMethod ( SequentialSelection )
						)
					)
					Variable_Trigger ( Speed_Dec_Past 16.59
						ReleaseLoopRelease (  )
					)
				)
				VolumeCurve ( SpeedControlled
					CurvePoints ( 12 
							 -110 0.0 
							 -109 0.5 
							 -60.0 1.0 
							 -17.61 1.0 
							 -17.40  0.5 
							 -16.59 0.0 
							 16.59 0.0 
							 17.40 0.5 
							 17.61 1.0 
							 60.0 1.0 
							 109 0.5
							 110 0.0 
							 )
					Granularity ( 0.5 )
				)
				FrequencyCurve ( SpeedControlled
					CurvePoints ( 4 
							 -110 39500 
							 -17.59 22050 
							 17.59 22050 
							 110 39500 
							 )
					Granularity ( 10 )
				)
			)
		)
	)
)