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


Tr_SMS (

	Skip (******** Turboeng.sms *******************************************)
	Skip (******** Copyright Belphegor 2002 *******************************)
	Skip (******** All right reserved/ All copying and duplication are ****)
	SKip (******** strictly forbidden 						 ****)
			                                            
	ScalabiltyGroup( 5
		Activation (			ExternalCam ()			Distance    	(1000)		)
		Deactivation (		CabCam			()			PassengerCam	()			Distance    	(1000)		)
		Streams ( 9
			Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "XXNoise.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			
			Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "XXTurmo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				

				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 4
						-100.00     30000
						-10.000	30000						
						0.000		8000
						10.000	30000
						100.000	30000
					)
					Granularity ( 25 )
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 	13
						 -100.0		0.6
						 -70.00		0.6
						 -45.00		0.6
						 -25.00		0.6 
						 -20.00		0.6
						 -0.50            0.6
						 0.000		0.4
						 0.50             0.6
						 20.00 		0.6						 
						 25.0 		0.6
						 45.0 		0.6
						 70.0             0.6
						 100.0            0.6
					)
					Granularity ( 0.05 )
				)
			)

		Stream (
				Priority ( 6 )
				Triggers ( 1
				Initial_Trigger  ( StartLoop   ( 1 File ( "XXMT+.wav" -1 )   SelectionMethod ( SequentialSelection )  ) )	
				)
			

				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-160.00     200000
						0.000		0
						160.000	200000
					)
					Granularity ( 25 )
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 	13
						 -100.0		0.4
						 -70.00		0.4
						 -45.00		0.4
						 -25.00		0.4 
						 -20.00		0.4
						 -0.50            0.4
						 0.000		0.0
						 0.50             0.4
						 20.00 		0.4						 
						 25.0 		0.4
						 45.0 		0.4
						 70.0             0.4
						 100.0            0.4
					)
					Granularity ( 0.05 )
				)			
			)

			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Triggers ( 2
					Discrete_Trigger ( 8	StartLoopRelease ( 1	File ( "x72500eng.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the horn to be played at the same time  	**** )
				Priority ( 6 )
				Volume (0.25)
				Triggers ( 2
					Discrete_Trigger ( 10	StartLoopRelease ( 1	File ( "x_gp_bell1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 11 ReleaseLoopReleaseWithJump ()	)
				)
			)
			Stream (
				Skip ( **** This stream allows the sander to be played at the same time  	**** )				
				Priority ( 5 )			
				Triggers ( 2				
					Discrete_Trigger (  4	StartLoopRelease ( 1	File ( "../../Gp38/Sound/x_gp_sand.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  5	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Compressor to be played at the same time  	**** )				
				Priority ( 6 )			
				Triggers ( 2				
					Discrete_Trigger (  12	StartLoopRelease ( 1	File ( "../../Gp38/Sound/x_gp_compressor.wav" -1 )	SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger (  13	ReleaseLoopRelease () )	
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake & Independant Brakes to be played at the same time  	**** )
				Priority ( 5 )
				Triggers ( 5
					Skip ( **** NOTE: Need to check if correct waves used for apply/release  	**** )
					Skip ( ****       Assumes 3 = Release, 1 & 2 = Apply  	                  **** )
				  
				  Skip ( **** Tbrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 14 	PlayOneShot ( 1 File ( "../../Gp38/Sound/x_gp_airb_auto3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply {normal & emergency}	**** )
					Discrete_Trigger ( 53  	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Discrete_Trigger ( 54 	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_auto1.wav" -1 ) File ( "x_gp_airb_auto2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					
				  Skip ( **** Ibrake 	**** )
				  Skip ( **** Release 	**** )
					Discrete_Trigger ( 21 	PlayOneShot ( 1 File ( "../../Gp38/Sound/x_gp_airb_ind3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				  Skip ( **** Apply	**** )
					Discrete_Trigger ( 22  	PlayOneShot ( 2 File ( "../../Gp38/Sound/x_gp_airb_ind1.wav" -1 ) File ( "x_gp_airb_ind2.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
				)
			)	
			Stream (
				Priority ( 5 )
				Triggers ( 6
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "../../Gp38/Sound/x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)

	
)

