#include ../../../Common/Sounds/EngineMap.sscnewPatch################### Low RPM ###################load @ROOT/Sound/@RTD/G4M_R_Idle.wavloopminDistance 10volume 0.5randomStartPitch 0.2/0.2priority 7*** Engine start ***beginEffect controlDestination Volume controlSource Time envelope Ramp param .6 param 6.0 param 0 param 1endEffect*** Engine Pitch ***beginEffect controlDestination Pitch controlSource Extern #map<Engine::Rpm> envelope Ramp param 0 param .8 param 0.95 param 0.05 param 1 param 2endEffect*** Engine Volume Start ***beginEffect controlDestination Volume controlSource Extern #map<Engine::Rpm> envelope Ramp param 0 param 0.3 param 1 param -1endEffect*** Distance Volume ***beginEffect controlDestination Volume controlSource Distance envelope Ramp param 2 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############### Main ###############load @ROOT/Sound/@RTD/G4M_R_Engine_Mid.wavlooprandomStartPitch 0.2/0.2volume 0.7minDistance 20priority 9*** Engine start ***beginEffect controlDestination Volume controlSource Time envelope Ramp param 1.0 param 10 param 0 param 1endEffect*** Engine Pitch ***beginEffect controlDestination Pitch controlSource Extern #map<Engine::Rpm> envelope Ramp param .2 param .8 param 0.70 param 0.30endEffect*** Engine Volume Start ***beginEffect controlDestination Volume controlSource Extern #map<Engine::Rpm> envelope Ramp param 0 param 0.5 param 1 param -1endEffect*** Distance Volume ***beginEffect controlDestination Volume controlSource Distance envelope Ramp param 30 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############# hi #############load @ROOT/Sound/@RTD/G4M_R_Engine_Hi.wavloopvolume 0.5minDistance 20randomStartPitch .05/.05 priority 9*** Engine start ***beginEffect controlDestination Volume controlSource Time envelope Ramp param .4 param 1.2 param 0 param 1endEffect*** Engine Pitch ***beginEffect controlDestination Pitch controlSource Extern #map<Engine::Rpm> envelope Ramp param .6 param 1.05 param 0.70 param 0.30 endEffect*** Engine Volume Start ***beginEffect controlDestination Volume controlSource Extern #map<Engine::Rpm> envelope Ramp param 0.6 param 1 param 0 param 1endEffect*** Distance Volume ***beginEffect controlDestination Volume controlSource Distance envelope Ramp param 30 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