This page is under construction
Archives/bf1942/levels/GC_BonusRace.rfa
Bf1942/Levels/GC_BonusRace/Objects/Vehicles/Air/RepGun/Sounds/RepGunEngine.ssc
#include ../../../Common/Sounds/EngineMap.ssc
newPatch
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/repgunner-engine-start.wav
relativePosition 0/0/-2
minDistance 30
volume 0.6
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 60
param 120
param 1
param -1
endEffect
##############
### engine ###
##############
load @ROOT/Sound/@RTD/repgunner-engine.wav
relativePosition 0/0/-2
loop
volume 0.5
minDistance 50
randomStartPitch 0.05/0.05
priority 9
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.4
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Speed
envelope Ramp
param 0
param 100
param 0.8
param 0.2
endEffect
*** Speed Pitch ***
beginEffect
controlDestination Pitch
controlSource Speed
envelope Linear
param 0.95
param 0.003
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 120
param 240
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
###################
### Engine Stop ###
###################
load @ROOT/Sound/@RTD/repgunner-engine-stop.wav
relativePosition 0/0/-2
minDistance 30
volume 0.8
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 60
param 120
param 1
param -1
endEffect