This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/DCX_Mi24SE/Sounds/EngineMedium.ssc
#include EngineMap.ssc
newPatch
#include Dive.ssc
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/DesertCombat/UH-60/UH-60_Startup.wav
minDistance 1
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 80
param 1
param -1
endEffect
############
### Main ###
############
load @ROOT/Sound/@RTD/DesertCombat/Hind/Hind_HelicopterST.wav
loop
stereo
minDistance 5
volume 0.3
dopplerOff
randomStartPitch .05/.05
relativePosition 0/-1/0
priority 9
*** 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 1
param 0.8
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.6
param 0.5
param 1
endEffect
*** Distance Volume ***
*** cockpit silence ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 0.25
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 15
param 35
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
###########
### med ###
###########
*** cockpit sound ***
load @ROOT/Sound/@RTD/DesertCombat/AH64/HeliEngineIdle.wav
loop
minDistance 10
volume 0.35
relativePosition 0/-2/0
priority 5
*** 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 0.75
param 0.9
param 0.1
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.75
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 4
param 8
param 0.5
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 15
param 100
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 ###
##########
load @ROOT/Sound/@RTD/DesertCombat/Hind/Hind_Helicopter_mono.wav
loop
minDistance 40
randomStartPitch .05/.05
volume 0.6
relativePosition 0/-2/0
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 0
param 1
param 0.7
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 1
param 0.5
param 1
endEffect
*** Distance Volume ***
*** cockpit silence ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 15
param 35
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 250
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
################
### Low RPM ###
################
*** for distant listeners ***
load @ROOT/Sound/@RTD/DesertCombat/Hind/Helicopter_far.wav
loop
minDistance 40
randomStartPitch .05/.05
volume 0.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
param 1
param 0.7
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 1
param 0.5
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 200
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 300
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
*** for the cockpit ***
load @ROOT/Sound/@RTD/DesertCombat/Hind/Helicopter_far.wav
loop
minDistance 5
randomStartPitch .05/.05
relativePosition 0/-1/0
volume 0.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
param 1
param 0.7
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 1
param 0.5
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 4
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
###################
### Engine Stop ###
###################
load @ROOT/Sound/@RTD/DesertCombat/UH-60/UH-60_Shutdown.wav
minDistance 2
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 50
param 100
param 1
param -1
endEffect