This page is under construction
Archives/bf1942/levels/GC_Podrace.rfa
bf1942/levels/GC_Podrace/Objects/Gasgano/Sounds/Gasgano3Engine.ssc
newPatch
#beginMap Engine
Rpm
DiveAngle
#endMap
####################
### Engine Start ###
####################
load @ROOT/Sound/@RTD/Podracer_Start1.wav
minDistance 20
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 200
param 1
param -1
endEffect
#########
### 1 ###
#########
load @ROOT/Sound/@RTD/Podracer_Engine_3.wav
loop
minDistance 20
priority 6
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.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.6
param 0.7
param 0.2
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.7
param 1
param 0.8
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 80
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
#########
### 2 ###
#########
load @ROOT/Sound/@RTD/landspeeder-engine-3.wav
loop
minDistance 20
priority 7
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.4
param 1.2
param 0
param 1
endEffect
*** Engine Pitch ***
beginEffect
controlDestination Pitch
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.4
param 0.99
param 1
param 0.1
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0
param 0.6
param 0
param 1
endEffect
*** Engine Volume End ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.6
param 0.99
param 1
param -1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 0
param 3
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 120
param 240
param 1
param -1
endEffect
*** Engine stop ***
beginEffect
controlDestination Volume
controlSource TimeRelease
envelope Ramp
param 0
param 0.2
param 1
param -1
endEffect
#########
### 3 ###
#########
load @ROOT/Sound/@RTD/Podracer_Engine_4.wav
loop
minDistance 20
priority 8
*** Engine start ***
beginEffect
controlDestination Volume
controlSource Time
envelope Ramp
param 0.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.1
param 0.9
param 0.05
endEffect
*** Engine Volume Start ***
beginEffect
controlDestination Volume
controlSource Extern #map<Engine::Rpm>
envelope Ramp
param 0.5
param 1
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 0
param 3
param 0
param 1
endEffect
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 120
param 240
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/silence.wav
###################
### Engine Stop ###
###################
load @ROOT/Sound/@RTD/Podracer_Off1.wav
minDistance 20
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 100
param 200
param 1
param -1
endEffect