This page is under construction
Archives/bf1942/levels/SG_Clean_Sweep.rfa
bf1942/levels/SG_Clean_Sweep/objects/DeathGlider/Sounds/DGEngine_M.ssc
#include ../../../Common/Sounds/EngineMap.ssc
newPatch
#include ../../Common/Sounds/Dive.ssc
newPatch
load @ROOT/Sound/@RTD/silence.wav
minDistance 1
priority 1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 80
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/glider_low.wav
minDistance 20
loop
priority 10
randomStartPitch 0 / 0
*** 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 Extern #map<Engine::Rpm>
envelope Linear
param 0
param 0.6
param 0.7
param 0.3
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.6
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 180
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/glider_medium_1.wav
minDistance 20
loop
priority 9
randomStartPitch 0 / 0
*** 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 Extern #map<Engine::Rpm>
envelope Linear
param 0.4
param 0.99
param 0.7
param 0.3
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.6
param 0
param 1
endEffect
*** Engine Volume End ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.6
param 0.99
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 180
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/glider_high.wav
minDistance 20
loop
priority 10
randomStartPitch 0 / 0
*** 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 Extern #map<Engine::Rpm>
envelope Linear
param 0.6
param 1
param 0.7
param 0.3
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.6
param 1
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 180
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/silence.wav
minDistance 20
loop
priority 5
volume 0.5
randomStartPitch 0.1 / 0
*** 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 Extern #map<Engine::Rpm>
envelope Linear
param 0.3
param 1.2
param 0.65
param 0.35
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.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/glider_low.wav
minDistance 2
loop
priority 7
volume 0.35
*** 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 Extern #map<Engine::Rpm>
envelope Linear
param 0
param 0.8
param 0.95
param 0
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.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/silence.wav
minDistance 40
loop
priority 1
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.6
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Linear
param 0.3
param 1.2
param 0.65
param 0.35
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.2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/silence.wav
minDistance 2
trigger Volume
priority 1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 50
param 100
param 1
param -1
endEffect