the error is the fire sound never stop when you fire the weapon, i rewrite base on Stuka machine gun fire sound, and compare and check with DCF(DC0.8) browning sound, and test with COD1 Browning fire sound, and it will work properly in the map(if you are making a mod, you can use the original one,this error only exist when a map has it own sound script)
(and you can test it with DCF sound too[i get other 2 sound from email release sound and far looping sound, and it was took from DCF])
Code: Select all
newPatch
########################################################################################################
### Fire ###
############
load @ROOT/Sound/@RTD/silence.wav
volume 0
#########################################################################################################
### Reload ###
##############
newPatch
load @ROOT/Sound/@RTD/silence.wav
volume 0
##########################################################################################################
### Release ###
###############
newPatch
load @ROOT/Sound/@RTD/COD1BrowningFire/browning2_release.wav
minDistance 30
dopplerOff
priority -1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 130
param 175
param 1
param -1
endEffect
###########################################################################################################
### Shell Bounce ###
####################
newPatch
load @ROOT/Sound/@RTD/silence.wav
volume 0
############################
### Mashine gun distance ###
############################
newPatch
load @ROOT/Sound/@RTD/silence.wav
volume 0
###########################################################################################################
### Fire Loop ###
#################
newPatch
load @ROOT/Sound/@RTD/COD1BrowningFire/brownLRlp2.wav
minDistance 1
stereo
loop
stop FinishSample
dopplerOff
priority 10
relativePosition 0/0/1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/COD1BrowningFire/brownmlp2.wav
minDistance 30
loop
stop FinishSample
dopplerOff
priority 8
relativePosition 0/0/1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 50
param 50
param 1
param -1
endEffect
*** spectators hear this ***
*** med ***
load @ROOT/Sound/@RTD/COD1BrowningFire/brownmlp2.wav
minDistance 30
loop
stop FinishSample
dopplerOff
priority 7
relativePosition 0/0/1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 50
param 50
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 150
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/COD1BrowningFire/browning2_far.wav
minDistance 30
loop
stop FinishSample
dopplerOff
priority 3
randomStartPitch 0.05 / 0.05
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 150
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 300
param 400
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/COD1BrowningFire/brownmetal2.wav
minDistance 1
loop
dopplerOff
priority 1
volume 1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 1
param -1
endEffect