This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/vehicles/Air/Mi28/Sounds/High/mi28Engine.ssc
#include EngineMap.ssc
newPatch
#include Dive2.ssc
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/CHN_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/CHN_Engine_ST.wav
loop
stereo
minDistance 5
volume 0.5
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 Default
envelope Ramp
param 0
param 1
param 0.8
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Default
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/CHN_Engine_cockpit.wav
loop
minDistance 10
volume 0.75
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 Default
envelope Ramp
param 0
param 0.55
param 0.7
param 0.1
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Default
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/CHN_Engine.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 Default
envelope Ramp
param 0
param .75
param 0.6
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Default
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/CHN_Engine_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 Default
envelope Ramp
param 0
param 1
param 0.7
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Default
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/CHN_Engine_far.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 Default
envelope Ramp
param 0
param 65
param 0.58
param 0.15
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Default
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/endapustart.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