This page is under construction
Archives/bf1942/levels/Airwolf.rfa
Bf1942/levels/Airwolf/objects/Sounds/V_Enginemedium.ssc
#include EngineMap.ssc
newPatch
#include airwolf.ssc
############
### Main ###
############
*** main thrust for vertical near ***
load @ROOT/Sound/@RTD/Airwolf/AV8B_hover.wav
loop
minDistance 40
relativePosition 0/-4.5/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 .5
param 0.7
param 0.3
endEffect
*** Engine Volume Power ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.5
param 0.15
param 1
endEffect
*** Cockpit ***
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 5
param 10
param 0.25
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
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
*** main thrust for vertical far ***
load @ROOT/Sound/@RTD/Airwolf/AV8B_hover.wav
loop
minDistance 40
relativePosition 0/-4.5/0
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.7
param 0.3
endEffect
*** Engine Volume Power ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.5
param 0.15
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 100
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 200
param 300
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 ###
##########
*** Jetwash ***
load @ROOT/Sound/@RTD/Airwolf/C_A10_Medium.wav
loop
minDistance 10
*** original was small and under the plane
*** relativePosition 0/-2/-5
*** this surrounds the plane and has a pocket of silence at the cockpit
relativePosition 0/-4.5/0
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param .4
param 1.2
param 0
param 1
endEffect
*** Engine Volume Power ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.5
param 0
param 1
endEffect
*** Distance Volume ***
*** Cockpit ***
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 25
param 50
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
############
### Main ###
############
load @ROOT/Sound/@RTD/DesertCombat/AH64/HelicopterST.wav
loop
stereo
minDistance 5
volume 0.3
dopplerOff
randomStartPitch .05/.05
relativePosition 0/-3/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/Airwolf/enginewhine.wav
loop
minDistance 5
volume 5
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 0.75
param 0.9
param 0.1
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.5
param 1
param 2
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 80
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/AH64/Helicopter2.wav
loop
minDistance 40
randomStartPitch .05/.05
volume 1
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 200
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/AH64/Helicopter_far.wav
loop
minDistance 40
randomStartPitch .05/.05
volume 1
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 500
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
*** for the cockpit ***
load @ROOT/Sound/@RTD/Airwolf/enginewhine.wav
loop
minDistance 5
randomStartPitch .05/.05
relativePosition 0/-3/0
volume 1
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/Airwolf/C_A10_ShutOff.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