This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/K98/Sounds/K98Sniper_Low.ssc
newPatch
##############
### Stereo ###
##############
load @ROOT/Sound/@RTD/k98LR.wav
stereo
dopplerOff
priority 10
randomStartPitch 0.03 / 0.03
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 1
param -1
endEffect
############
### Near ###
############
load @ROOT/Sound/@RTD/k98mono.wav
dopplerOff
minDistance 6
priority 10
randomStartPitch 0.03 / 0.03
*** Start 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 100
param 100
param 1
param -1
endEffect
###############
### Far 100 ###
###############
load @ROOT/Sound/@RTD/k98mono.wav
minDistance 5.5
priority 3
randomStartPitch 0.03 / 0.03
dopplerOff
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 100
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 200
param 200
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
########################
### reload ###
##############
newPatch
load @ROOT/Sound/@RTD/silence.wav
volume 0
###############
### Release ###
###############
newPatch
load @ROOT/Sound/@RTD/silence.wav
volume 0
####################
### Out of sight ###
####################
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 30
priority 4
randomStartPitch 0.04 / 0.04
dopplerOff
*** Start 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 100
param 100
param 1
param -1
endEffect
###############
### Far 100 ###
###############
load @ROOT/Sound/@RTD/sniprev.wav
minDistance 30
priority 2
randomStartPitch 0.04 / 0.04
dopplerOff
*** Start Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 100
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 200
param 200
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