This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/KSVK/Sounds/m82_Low.ssc
newPatch
##############
### Stereo ###
##############
load @ROOT/Sound/@RTD/DesertCombat/BMP2/BMP2_autocannon_m.wav
stereo
dopplerOff
priority 10
randomStartPitch 0.02 / 0.02
relativePosition 0/0/0.25
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 2
param 1
param -1
endEffect
############
### Near ###
############
load @ROOT/Sound/@RTD/DesertCombat/BMP2/BMP2_autocannon_m.wav
minDistance 15
dopplerOff
priority 9
randomStartPitch 0.02 / 0.02
relativePosition 0/0/0.5
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 2
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 1
param -1
endEffect
###############
### Far 100 ###
###############
*** range delay 75 to 150***
load @ROOT/Sound/@RTD/DesertCombat/M82/M82_fire_st.wav
minDistance 15
dopplerOff
priority 8
randomStartPitch 0.02 / 0.02
relativePosition 0/0/0.5
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .33
param .33
param 0
param 1
endEffect
trigger Volume
###############
### Far 200 ###
###############
*** range delay 150 to 225 ***
load @ROOT/Sound/@RTD/DesertCombat/M16/m16_dist.wav
minDistance 50
dopplerOff
priority 6
randomStartPitch 0.02 / 0.02
relativePosition 0/0/0.5
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 400
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .66
param .66
param 0
param 1
endEffect
trigger Volume
########################
### reload ###
##############
newPatch
load @ROOT/Sound/@RTD/DesertCombat/M82/m82_reload.wav
minDistance 1
dopplerOff
priority 3
*** Time Volume ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.01
param 0.01
param 0
param 1
endEffect
trigger Volume
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 3
param 1
param -1
endEffect
###############
### Release ###
###############
newPatch
*** no delay to 100m ***
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 40
dopplerOff
priority 6
randomStartPitch 0.04 / 0.04
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 10
param 75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 1
param -1
endEffect
###############
### Far 100 ###
###############
*** delay 75m to 150m ***
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 40
randomStartPitch 0.04 / 0.04
dopplerOff
priority 5
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .33
param .33
param 0
param 1
endEffect
trigger Volume
###############
### Far 200 ###
###############
*** delay 150m to 225m ***
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 40
dopplerOff
priority 4
randomStartPitch 0.04 / 0.04
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 225
param 225
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .66
param .66
param 0
param 1
endEffect
trigger Volume
###############
### Far 300 ###
###############
*** delay 225m to end ***
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 40
randomStartPitch 0.04 / 0.04
dopplerOff
priority 3
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 225
param 225
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 350
param 500
param 1
param -1
endEffect
*** Time Delay ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .99
param .99
param 0
param 1
endEffect
trigger Volume