Digital Rails

HomeContentMopac_Special.zip

File: Mopac_Special/SOUND/TAwag1.sms

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


Tr_SMS (

	Skip ( *********************************************** )
	Skip ( *** Empire State Express Wagon Type 1       *** )
	Skip ( *********************************************** )

	Skip ( ** This is one of the wagon sms's used for the wagon types on	** )
	Skip ( ** the Empire State Express.  						** )

	Skip ( ** All of the wagon sms's will be similar, but with a different	** )
	Skip ( ** selection of waves, frequency of playback etc.				** )

	Skip ( ** As the sound scalability is reduced the choice of waves 		** )
	Skip ( ** will be reduced.												** )

	Skip ( ** The use of the distance travelled trigger allows the 			** )
	Skip ( ** 'randomness' to change with speed {as the faster you are 		** )
	Skip ( ** travelling the futher you travel} in addition the volume 		** )
	Skip ( ** level can be modified to vary with velocity to give more 		** )
	Skip ( ** variation with speed. { although this is not done here dure 	** )
	Skip ( ** to time constraints } 										** )

	Skip ( ** The sms will be avaliable at a lower scalability than ambient	** )
	Skip ( ** sounds due to its greater importance to the game. also the 	** )
	Skip ( ** sounds are of a higher priority than ambients { including 	** )
	Skip ( ** sigals }. 													** )

	Skip ( ** The activation distance of 55m is greater than the camera  	** )
	Skip ( ** distance so the wagon in focus will always be active, and  	** )
	Skip ( ** since wagons are about 20m long the nearest 3 wagons should  	** )
	Skip ( ** be making sounds at any one time.								** )
	
	Skip ( ** Also on the highest level I have added a 'special' sound 		** )
	Skip ( ** every so often.												** )

	Skip ( ** Care must be taken that the waves have enough time to play	** )
	Skip ( ** before the next wave is queued or sounds will back up.  The   ** )
	Skip ( ** values below have been tested usng the sound test interface	** )
	Skip ( ** and it was found this started to become a problem at about	** )
	Skip ( ** 60 meters per second {130mph} and it is unlikely these wagons ** )
	Skip ( ** will ever reach such velocities.								** )

	Skip ( ** Wagons also require coupling/decoupling sounds.  These are 	** )
	Skip ( ** triggered using discrete triggers 58 to 63 to represent  		** )
	Skip ( ** differing {de}coupling speeds. These could be assigned their	** )
	Skip ( ** own streams, but since they are needed infrequently, and 		** )
	Skip ( ** at lowish velocities they will share the existing stream.		** )
	Skip ( ** I have also illustrated how the indentation in the SMS file	** )
	Skip ( ** is arbitrary and can be disregarded if it aids readability	** )
	
	ScalabiltyGroup( 5
		Activation (
			ExternalCam ()
			Distance    (55)
		)
		Deactivation (
			PassengerCam	()
			CabCam			()
			Distance    	(55)
		)
		Streams ( 1
			Stream (
				Priority ( 5 )
				Triggers ( 8
					Dist_Travelled_Trigger ( Dist_Min_Max ( 70 120 )  Volume_Min_Max ( 0.9 1.0 )
						PlayOneShot ( 10
							File ( "../../scotsman/sound/x_FS_random10.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random9.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random8.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random7.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random6.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random5.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random4.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random3.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random2.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random1.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
					Dist_Travelled_Trigger ( Dist_Min_Max ( 200 200 )  Volume_Min_Max ( 1.0 1.0 )
						PlayOneShot ( 1
							File ( "../../scotsman/sound/x_FS_random16.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_chain1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_chain2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_chain3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
	
	ScalabiltyGroup( 3
		Activation (
			ExternalCam ()
			Distance    (55)
		)
		Deactivation (
			PassengerCam	()
			CabCam			()
			Distance    	(55)
		)
		Streams ( 1
			Stream (
				Priority ( 5 )
				Triggers ( 7
					Dist_Travelled_Trigger ( Dist_Min_Max ( 70 120 )  Volume_Min_Max ( 0.9 1.0 )
						PlayOneShot ( 5
							File ( "../../scotsman/sound/x_FS_random5.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random4.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random3.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random2.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random1.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
					Discrete_Trigger ( 58 PlayOneShot ( 1 	File ( "x_couple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 59 PlayOneShot ( 1 	File ( "x_couple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 60 PlayOneShot ( 1 	File ( "x_couple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 61 PlayOneShot ( 1 	File ( "x_uncouple_auto1.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 62 PlayOneShot ( 1 	File ( "x_uncouple_auto2.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
					Discrete_Trigger ( 63 PlayOneShot ( 1 	File ( "x_uncouple_auto3.wav" -1 ) SelectionMethod (SequentialSelection) ) ) 
				)
			)
		)
	)
	
	Skip ( ** All wagons play at least two sounds   ** )
	Skip ( ** {de}coupling sounds have been dropped ** )
	ScalabiltyGroup( 1
		Activation (
			ExternalCam ()
			Distance    (55)
		)
		Deactivation (
			PassengerCam	()
			CabCam			()
			Distance    	(55)
		)
		Volume ( 0.2 )
		Streams ( 1
			Stream (
				Priority ( 5 )
				Triggers ( 1
					Dist_Travelled_Trigger ( Dist_Min_Max ( 70 120 )  Volume_Min_Max ( 0.9 1.0 )
						PlayOneShot ( 2
							File ( "../../scotsman/sound/x_FS_random2.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random1.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)
		)
	)
	Skip ( ** SL 0 As SL 1 But lower priority ** )
	ScalabiltyGroup( 0
		Activation (
			ExternalCam ()
			Distance    (55)
		)
		Deactivation (
			PassengerCam	()
			CabCam			()
			Distance    	(55)
		)
		Streams ( 1
			Stream (
				Priority ( 3 )
				Triggers ( 1
					Dist_Travelled_Trigger ( Dist_Min_Max ( 70 120 )  Volume_Min_Max ( 0.9 1.0 )
						PlayOneShot ( 2
							File ( "../../scotsman/sound/x_FS_random2.wav" -1 )
							File ( "../../scotsman/sound/x_FS_random1.wav" -1 )
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)
		)
	)
)



Valid XHTML 1.0 Strict