This page is under construction
Archives/bf1942/levels/GC_BonusRace.rfa
Bf1942/Levels/GC_BonusRace/Objects/Vehicles/Air/yt1300/Sounds/MFEngine.ssc
#include ../../../Common/Sounds/EngineMap.ssc
newPatch
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/mf-engine-start.wav
minDistance 30
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 200
param 1
param -1
endEffect
#########
### 1 ###
#########
load @ROOT/Sound/@RTD/mf-engine-1.wav
loop
minDistance 60
priority 9
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0
param 3
param 0
param 1
endEffect
*** Speed Pitch ***
beginEffect
controlDestination Pitch
controlSource Speed
envelope Linear
param 0.95
param 0.003
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Speed
envelope Ramp
param 20
param 200
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 160
param 280
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.5
param 1
param -1
endEffect
#########
### 2 ###
#########
load @ROOT/Sound/@RTD/mf-engine-2.wav
loop
minDistance 60
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0
param 3
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Speed
envelope Ramp
param 20
param 100
param 0.85
param 0.25
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Speed
envelope Ramp
param 10
param 50
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 160
param 280
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
###############
### Cockpit ###
###############
load @ROOT/Sound/@RTD/mf-cockpit.wav
loop
stereo
minDistance 2
relativePosition 11.83/3.5/9.3
volume 0.4
priority 7
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.4
param 1.2
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1.5
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/mf-engine-stop.wav
minDistance 30
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 200
param 1
param -1
endEffect