This page is under construction
Archives/bf1942/levels/monster_of_leningrad.rfa
bf1942/levels/monster_of_leningrad/Objects/Locomotive_Drive/Sounds/High/Locomotive_DriveEngine.ssc
newPatch
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/TrainIdle.wav
minDistance 1
dopplerOff
volume 10
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 50
param 1
param -1
endEffect
############
### Main ###
############
load @ROOT/Sound/@RTD/TrainIdle.wav
loop
minDistance 10
relativePosition 0/0/0
priority 9
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Speed
envelope Ramp
param 0
param 5
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 50
param 150
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 5
param 1
param -1
endEffect
################
### Main sec ###
################
load @ROOT/Sound/@RTD/TrainEngineHigh.wav
loop
minDistance 10
relativePosition 0/0/0
priority 9
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1.6
endEffect
*** Speed Pitch ***
beginEffect
controlDestination Pitch
controlSource Speed
envelope Linear
param 0.68
param 0.024
endEffect
*** Speed Volume ***
beginEffect
controlDestination Volume
controlSource Speed
envelope Ramp
param 1
param 2.5
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 10
param 200
param 1.6
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.4
param 1
param -1
endEffect