This page is under construction
Archives/bf1942/levels/Airwolf.rfa
Bf1942/levels/Airwolf/objects/Sounds/truckv8.ssc
#include EngineMap.ssc
newPatch
####################
### Engine Start ###
####################
load @ROOT/bf1942/levels/airwolf/carstereo/truckstart.wav
minDistance 1
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 30
param 50
param 1
param -1
endEffect
################
### High RPM ###
################
*** turbine sound for high power near ***
load @ROOT/bf1942/levels/airwolf/carstereo/truckhi.wav
loop
minDistance 8
relativePosition -.2/.4/.5
priority 7
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Default
envelope Ramp
param 0.5
param 1
param 0.8
param 0.6
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Default
envelope Ramp
param 0.5
param 0.75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 0.5
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.4
param 1
param -1
endEffect
*** turbine sound for high power far ***
load @ROOT/bf1942/levels/airwolf/carstereo/truckhi.wav
loop
minDistance 8
relativePosition -.2/.4/.5
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Default
envelope Ramp
param 0.5
param 1
param 0.8
param 0.6
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Default
envelope Ramp
param 0.5
param 0.75
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 0
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 150
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.4
param 1
param -1
endEffect
############
### Main ###
############
*** primary engine sound near ***
load @ROOT/bf1942/levels/airwolf/carstereo/truckmed.wav
loop
minDistance 15
relativePosition -.2/.4/.5
priority 8
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Default
envelope Ramp
param 0
param 1
param 0.85
param 0.15
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Default
envelope Ramp
param 0
param 0.5
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 2
param 4
param 0.75
param 1
endEffect
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.4
param 1
param -1
endEffect
*** primary engine sound far ***
load @ROOT/bf1942/levels/airwolf/carstereo/truckmed.wav
loop
minDistance 15
relativePosition -.2/.4/.5
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Default
envelope Ramp
param 0
param 1
param 0.85
param 0.15
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Default
envelope Ramp
param 0
param 0.5
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 75
param 75
param 0
param 1
endEffect
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.4
param 1
param -1
endEffect
##############
### Lo RPM ###
##############
*** idle sound ***
load @ROOT/bf1942/levels/airwolf/carstereo/trucklo.wav
loop
minDistance 6
relativePosition -.2/.4/.5
priority 6
volume 0.35
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.2
param 1.1
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Default
envelope Ramp
param 0
param 0.25
param 1
param 0.2
endEffect
*** Engine Volume ***
beginEffect
controlDestination Volume
controlSource Default
envelope Ramp
param 0
param 1
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 7
param 60
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.4
param 1
param -1
endEffect
###################
### Engine Stop ###
###################
load @ROOT/Sound/@RTD/tnkstp.wav
minDistance 1
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 20
param 1
param -1
endEffect