This page is under construction
archives/bf1942/levels/Almost_Easy.rfa
bf1942/levels/almost_easy/Objects/Dauphin2_USCG/Sounds/EngineLow.ssc
#include ../../../Common/Sounds/EngineMap.ssc
newPatch
############
### Main ###
############
load @ROOT/Sound/@RTD/tigre/helirotor.wav
loop
minDistance 20
randomStartPitch .1/.05
volume 1.0
priority 3
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.0
param 2.0
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.3
param 1.2
param 0.65
param 0.35
param 1
param 2
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.2
param 1
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 400
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.5
param 1
param -1
endEffect
################
### Low RPM ###
################
load @ROOT/Sound/@RTD/tigre/helirotor.wav
loop
minDistance 2
volume 0.35
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.0
param 2.0
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param .8
param 0.95
param 0.05
param 1
param 2
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.3
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 3
param 8
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.5
param 1
param -1
endEffect
################
### High RPM ###
################
load @ROOT/Sound/@RTD/tigre/helirotor.wav
loop
minDistance 40
volume 2.0
priority 5
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 1.0
param 2.0
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.3
param 1.2
param 0.65
param 0.35
param 1
param 2
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.3
param 1
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 300
param 600
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.5
param 1
param -1
endEffect