This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/SU39/Sounds/EngineHigh.ssc
#include ../../../Common/Sounds/EngineMap.ssc
newPatch
#include ../../Common/Sounds/Dive2.ssc
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/DesertCombat/Common/cockpit_beep4.wav
dopplerOff
priority -1
minDistance 6
volume 0.5
randomStartPitch 0.04 / 0.0
relativePosition 1/0/5.5
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 2
param 1
param -1
endEffect
load @ROOT/Sound/@RTD/DesertCombat/A10/C_A10_Start.wav
minDistance 10
relativePosition 1/0/5.5
volume 1.0
priority 1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 1
param 0.5
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 25
param 100
param 1
param -1
endEffect
############
### Main ###
############
*** engine while for on-deck prelaunch ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_f16_low.wav
loop
minDistance 30
relativePosition 1/0/5.5
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .4
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param .5
param 0.9
param 0.3
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.25
param 0.75
param 1
param -1
endEffect
*** Cockpit ***
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 4
param 5
param 0.25
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 125
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
##########
### hi ###
##########
*** F16 afterburners ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_F16_High.wav
relativePosition 1/0/5.5
loop
minDistance 55
priority 8
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .4
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param .6
param 1.05
param 0.70
param 0.30
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 1
param 1.2
param 0
param 1
endEffect
*** Distance Volume ***
*** cockpit ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 5
param 10
param 0.5
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
*** F16 afterburners distance ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_F16_High.wav
relativePosition 1/0/5.5
loop
minDistance 55
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .4
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param .6
param 1.05
param 0.70
param 0.30
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 1
param 1.2
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 150
param 150
param 0
param 1
endEffect
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
################
### High RPM ###
################
*** F16 flying noise ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_F16_Medium.wav
relativePosition 1/0/5.5
loop
minDistance 95
priority 7
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .6
param 1.2
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
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.2
param 0.75
param 0
param 1
endEffect
*** Distance Volume ***
*** cockpit ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 5
param 10
param 0.25
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 200
param 200
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
*** F16 flying noise distant ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_F16_Medium.wav
relativePosition 1/0/5.5
loop
minDistance 95
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .6
param 1.2
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
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.2
param 0.75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 200
param 200
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 500
param 500
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
*** F16 flying noise very distant ***
load @ROOT/Sound/@RTD/DesertCombat/F16/C_F16_Medium.wav
relativePosition 1/0/5.5
loop
minDistance 95
priority 1
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .6
param 1.2
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
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.2
param 0.75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 500
param 500
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 600
param 900
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/DesertCombat/F16/enginewhine.wav
loop
minDistance 2
volume 0.25
relativePosition 1/-0.5/6
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .4
param 1.2
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.55
param 0.35
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.3
param 1
param 0.5
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 5
param 10
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
*** radio sound ***
load @ROOT/Sound/@RTD/DesertCombat/Environment/Iraq_mil_radio1.wav
minDistance 1
dopplerOff
priority -2
volume 0.45
loop
relativePosition 0/0/5.3
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 4
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/DesertCombat/A10/C_A10_Shutoff.wav
minDistance 10
trigger Release
relativePosition 1/0/5.5
priority 1
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 25
param 100
param 1
param -1
endEffect