This page is under construction
Archives/bf1942/levels/SG_Fighting_Chance.rfa
bf1942/levels/SG_Fighting_Chance/objects/Ashrak/Sounds/Gun/AshFire_H.ssc
newPatch
#################
### Near left ###
#################
load @ROOT/Sound/@RTD/StaffWeaponLR.wav
stereo
dopplerOff
priority 10
minDistance 2
randomStartPitch 0.02 / 0.02
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
######################
### Near/Far Right ###
######################
load @ROOT/Sound/@RTD/StaffWeaponmono.wav
minDistance 6
dopplerOff
priority 8
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 130
param 150
param 1
param -1
endEffect
##############
### Reload ###
##############
newPatch
load @ROOT/Sound/@RTD/rl2StaffWeapon.wav
minDistance 1
volume .5
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.77
param 0.77
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl1StaffWeapon.wav
minDistance 1
volume .5
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.5
param 1.5
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl6StaffWeapon.wav
minDistance 1
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.8
param 1.8
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl3StaffWeapon.wav
minDistance 1
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 2.1
param 2.1
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl4StaffWeapon.wav
minDistance 1
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 2.9
param 2.9
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl5StaffWeapon.wav
minDistance 1
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 3.25
param 3.25
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/rl6StaffWeapon.wav
minDistance 1
dopplerOff
priority 1
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 3.25
param 3.25
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
###############################
load @ROOT/Sound/@RTD/SoFa1.wav
minDistance 1
randomStartPitch 0.03 / 0.0
volume .2
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.9
param 0.9
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoFa2.wav
minDistance 1
randomStartPitch 0.03 / 0.0
volume .2
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.8
param 1.8
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoFa3.wav
minDistance 1
randomStartPitch 0.03 / 0.0
volume .2
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 2.9
param 2.9
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoFa4.wav
minDistance 1
randomStartPitch 0.03 / 0.0
volume .2
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 3.3
param 3.3
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
###############################
load @ROOT/Sound/@RTD/SoMewa1.wav
minDistance 1
randomStartPitch 0.03 / 0.0
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.5
param 0.5
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoMewa2.wav
minDistance 1
randomStartPitch 0.03 / 0.0
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.9
param 1.9
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoMewa3.wav
minDistance 1
randomStartPitch 0.03 / 0.0
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 2.5
param 2.5
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/SoMewa4.wav
minDistance 1
randomStartPitch 0.03 / 0.0
dopplerOff
priority 0
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 3.2
param 3.2
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
###############
### Release ###
###############
newPatch
load @ROOT/Sound/@RTD/pistrev.wav
minDistance 30
randomStartPitch 0.02 / 0.02
dopplerOff
priority 3
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 130
param 150
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .05
param .05
param 0
param 1
endEffect
trigger Volume
####################
### Shell Bounce ###
####################
newPatch
#include ../../../Common/Sounds/ShellBounce.ssc