// Xzibit-A
// Aston Martin DBR9 V12 A
// v0.7

// ENGINE SOUNDS (INSIDE)
VS_INSIDE_POWER_ENGINE_1=24HVLN\RFX\DBR9_idle.wav
VS_INSIDE_POWER_ENGINE_2=24HVLN\RFX\lister_onverylow.wav
VS_INSIDE_POWER_ENGINE_2=24HVLN\RFX\DBR9_onlow.wav
VS_INSIDE_POWER_ENGINE_3=24HVLN\RFX\DBR9_onmid.wav
VS_INSIDE_POWER_ENGINE_4=24HVLN\RFX\DBR9_onhigh.wav

VS_INSIDE_COAST_ENGINE_1=24HVLN\RFX\DBR9_idle.wav
VS_INSIDE_COAST_ENGINE_2=24HVLN\RFX\lister_offverylow.wav
VS_INSIDE_COAST_ENGINE_3=24HVLN\RFX\lister_offlow.wav
VS_INSIDE_COAST_ENGINE_4=24HVLN\RFX\lister_offmid.wav
VS_INSIDE_COAST_ENGINE_5=24HVLN\RFX\lister_offhigh.wav

VS_INSIDE_ENGINE_STARTING=RFX\lister_startup.wav

// ENGINE SOUNDS (OUTSIDE)
VS_OUTSIDE_POWER_ENGINE_1=24HVLN\RFX\DBR9EX_idle.wav
VS_OUTSIDE_POWER_ENGINE_2=24HVLN\RFX\listerex_onverylow.wav
VS_OUTSIDE_POWER_ENGINE_2=24HVLN\RFX\DBR9EX_onlow.wav
VS_OUTSIDE_POWER_ENGINE_3=24HVLN\RFX\DBR9EX_onmid.wav
VS_OUTSIDE_POWER_ENGINE_4=24HVLN\RFX\DBR9EX_onhigh.wav

VS_OUTSIDE_COAST_ENGINE_1=24HVLN\RFX\DBR9EX_idle.wav
VS_OUTSIDE_COAST_ENGINE_2=24HVLN\RFX\listerex_offverylow.wav
VS_OUTSIDE_COAST_ENGINE_3=24HVLN\RFX\listerex_offlow.wav
VS_OUTSIDE_COAST_ENGINE_4=24HVLN\RFX\listerex_offmid.wav
VS_OUTSIDE_COAST_ENGINE_5=24HVLN\RFX\listerex_offhigh.wav

VS_OUTSIDE_ENGINE_STARTING=RFX\lister_startup.wav

// BACKFIRE & SHIFT SOUNDS (INSIDE)

VS_INSIDE_SHIFT_UP_1=24HVLN\RFX\gear_change_up.wav
VS_INSIDE_SHIFT_UP_2=24HVLN\RFX\gear_change_up.wav
VS_INSIDE_SHIFT_UP_3=24HVLN\RFX\gear_change_up.wav
VS_INSIDE_SHIFT_DOWN_1=24HVLN\RFX\gear_change_down.wav
VS_INSIDE_SHIFT_DOWN_2=24HVLN\RFX\gear_change_down.wav
VS_INSIDE_SHIFT_DOWN_3=24HVLN\RFX\gear_change_down.wav

VS_INSIDE_BACKFIRE_1=24HVLN\RFX\pop_1_Group_A_6pot.wav
VS_INSIDE_BACKFIRE_2=24HVLN\RFX\pop_2_Group_A.wav
VS_INSIDE_BACKFIRE_3=24HVLN\RFX\pop_2_Group_A.wav

// BACKFIRE & SHIFT SOUNDS (OUTSIDE)

VS_OUTSIDE_SHIFT_UP_1=24HVLN\RFX\gear_ext_up_1.wav
VS_OUTSIDE_SHIFT_UP_2=24HVLN\RFX\gear_ext_up_2.wav
VS_OUTSIDE_SHIFT_UP_3=24HVLN\RFX\gear_ext_up_3.wav
VS_OUTSIDE_SHIFT_DOWN_1=24HVLN\RFX\gear_ext_down_1.wav
VS_OUTSIDE_SHIFT_DOWN_2=24HVLN\RFX\gear_ext_down_2.wav
VS_OUTSIDE_SHIFT_DOWN_3=24HVLN\RFX\gear_ext_down_3.wav

VS_OUTSIDE_BACKFIRE_1=24HVLN\RFX\backfire_ext_2a.wav
VS_OUTSIDE_BACKFIRE_2=24HVLN\RFX\backfire_ext_2a.wav
VS_OUTSIDE_BACKFIRE_3=24HVLN\RFX\backfire_ext_2a.wav

// ROAD SURFACE SOUNDS  (INSIDE)

VS_INSIDE_ROADNOISE_DRY=TMTires\roadroll_in.wav
VS_INSIDE_ROADNOISE_WET=TMTires\roadroll_in.wav
VS_INSIDE_ROADNOISE_GRASS=TMTires\grassroll_in.wav
VS_INSIDE_ROADNOISE_DIRT=TMTires\gravelroll_in.wav
VS_INSIDE_ROADNOISE_GRAVEL=TMTires\gravelroll_in.wav
VS_INSIDE_ROADNOISE_RUMBLESTRIP=Secondary\rumble_in.wav

// ROAD SURFACE SOUNDS  (OUTSIDE)

VS_OUTSIDE_ROADNOISE_DRY=TMTires\roadroll_ex.wav
VS_OUTSIDE_ROADNOISE_WET=TMTires\roadroll_ex.wav
VS_OUTSIDE_ROADNOISE_GRASS=TMTires\grassroll_ex.wav
VS_OUTSIDE_ROADNOISE_DIRT=TMTires\gravelroll_ex.wav
VS_OUTSIDE_ROADNOISE_GRAVEL=TMTires\gravelroll_ex.wav
VS_OUTSIDE_ROADNOISE_RUMBLESTRIP=Secondary\rumble_ex.wav

// SKID SOUNDS (INSIDE)

VS_INSIDE_TIRE_SCRUB=TMTires\scrub1_dry_in.wav
VS_INSIDE_SKID_DRY=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_WET=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_GRASS=TMTires\grassskid_in.wav
VS_INSIDE_SKID_DIRT=TMTires\gravelskid_in.wav
VS_INSIDE_SKID_GRAVEL=TMTires\gravelskid_in.wav

// SKID SOUNDS (OUTSIDE)

VS_OUTSIDE_TIRE_SCRUB=TMTires\scrub1_dry_ex.wav
VS_OUTSIDE_SKID_DRY=TMTires\skid2_dry_ex.wav
VS_OUTSIDE_SKID_WET=TMTires\skid2_dry_ex.wav
VS_OUTSIDE_SKID_GRASS=TMTires\grassskid_ex.wav
VS_OUTSIDE_SKID_DIRT=TMTires\gravelskid_ex.wav
VS_OUTSIDE_SKID_GRAVEL=TMTires\gravelskid_ex.wav

// CONTACT SOUNDS  (INSIDE)

VS_INSIDE_SCRAPING=secondary\scrape_barrier_in.wav
VS_INSIDE_HIT_WALL_1=secondary\hit1_wall.wav
VS_INSIDE_HIT_WALL_2=secondary\hit2_wall.wav
VS_INSIDE_HIT_WALL_3=secondary\hit3_wall.wav
VS_INSIDE_HIT_WALL_4=secondary\hit4_wall.wav
VS_INSIDE_HIT_WALL_5=secondary\hit5_wall.wav

VS_INSIDE_HIT_OTHERCAR_1=secondary\hit1_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_2=secondary\hit2_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_3=secondary\hit3_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_4=secondary\hit4_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_5=secondary\hit5_vehicle.wav

VS_INSIDE_HIT_CONE=secondary\conehit.wav

// CONTACT SOUNDS  (OUTSIDE)

VS_OUTSIDE_SCRAPING=secondary\scrape_barrier_ex.wav

VS_OUTSIDE_HIT_WALL_1=secondary\hit1_wall.wav
VS_OUTSIDE_HIT_WALL_2=secondary\hit2_wall.wav
VS_OUTSIDE_HIT_WALL_3=secondary\hit3_wall.wav
VS_OUTSIDE_HIT_WALL_4=secondary\hit4_wall.wav
VS_OUTSIDE_HIT_WALL_5=secondary\hit5_wall.wav
VS_outSIDE_HIT_OTHERCAR_1=secondary\hit1_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_2=secondary\hit2_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_3=secondary\hit3_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_4=secondary\hit4_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_5=secondary\hit5_vehicle.wav

VS_OUTSIDE_HIT_CONE=secondary\conehit.wav


// AMBIENT SOUNDS (INSIDE)

VS_INSIDE_SPEED_LIMITER_TOGGLE=secondary\limiter.wav
VS_INSIDE_LAUNCH_CONTROL_TOGGLE=secondary\launch.wav
VS_INSIDE_WIND_NOISE=secondary\roadstones_in.wav
VS_INSIDE_ON_FIRE=secondary\fire_in.wav
VS_INSIDE_HORN=secondary\horn_in.wav
VS_INSIDE_TRACTION_CONTROL=secondary\tc_in.wav

// AMBIENT SOUNDS (OUTSIDE)

VS_OUTSIDE_SPEED_LIMITER_TOGGLE=secondary\limiter.wav
VS_OUTSIDE_LAUNCH_CONTROL_TOGGLE=secondary\launch.wav
VS_OUTSIDE_WIND_NOISE=secondary\roadstones_ex.wav
VS_OUTSIDE_ON_FIRE=secondary\fire_in.wav
VS_OUTSIDE_HORN=secondary\horn_ex.wav
VS_OUTSIDE_TRACTION_CONTROL=secondary\tc_in.wav
VS_INSIDE_SEAT=Secondary\seat.wav 
VS_INSIDE_MIRROR=Secondary\mirror.wav

//-------------------------
// ATTENUATION
//-------------------------

EngineRange=80.0
EngineShape=0.90
EngineAmbient=2.00

ShiftRange=80.0
ShiftShape=0.90
ShiftAmbient=2.00

OtherRange=80.0
OtherShape=0.70
OtherAmbient=0.70


// ENGINE VOLUME MIX
playerEngineVolumeMinimum=0.6
playerEngineVolumeThrottleFraction=0.3
playerEngineVolumeRevFraction=0.1

non-playerEngineVolumeMinimum=0.2
non-playerEngineVolumeThrottleFraction=0.3
non-playerEngineVolumeRevFraction=0.4


// ENGINE THROTTLE-POSITION MIX
EngineLoadBlendInside=(0.1,0.7)   // power sound starts to blend in at 30% throttle, coast sound blends out at 70%
EngineLoadBlendOutside=(0.1,0.7)  // power sound starts to blend in at 30% throttle, coast sound blends out at 70%


// ENGINE REV-SAMPLE MIX
// RPMs need to overlap properly from one sample to the next (maximum of two playing at once).
// The first minimum RPM should be above zero but low enough to hear an engine stall.

// power inside
EngRPMPowerInside=(0,     1.00,  1603.00,  1139.00) // zero-based engine number, minimum RPM, maximum RPM, natural RPM at which sample was recorded
EngRPMPowerInside=(1,  1400.00,  2885.00,  2443.00)
EngRPMPowerInside=(2,  2179.00,  3974.00,  4870.00)
EngRPMPowerInside=(3,  3333.00,  5449.00,  4870.00)
EngRPMPowerInside=(4,  4850.00,  9000.00,  6888.00)

// coast inside
EngRPMCoastInside=(0,     1.00,  1603.00,  1139.00) // zero-based engine number, minimum RPM, maximum RPM, natural RPM at which sample was recorded
EngRPMCoastInside=(1,  1400.00,  2885.00,  2443.00)
EngRPMCoastInside=(2,  2179.00,  3974.00,  4870.00)
EngRPMCoastInside=(3,  3333.00,  5449.00,  4870.00)
EngRPMCoastInside=(4,  4850.00,  9000.00,  6888.00)

// power outside
EngRPMPowerOutside=(0,     1.00,  1603.00,  1139.00) // zero-based engine number, minimum RPM, maximum RPM, natural RPM at which sample was recorded
EngRPMPowerOutside=(1,  1400.00,  2885.00,  3000.00)
EngRPMPowerOutside=(2,  2179.00,  3974.00,  4000.00)
EngRPMPowerOutside=(3,  3333.00,  5449.00,  5000.00)
EngRPMPowerOutside=(4,  4850.00,  9000.00,  7000.00)

// coast outside
EngRPMCoastOutside=(0,     1.00,  1603.00,  1139.00) // zero-based engine number, minimum RPM, maximum RPM, natural RPM at which sample was recorded
EngRPMCoastOutside=(1,  1400.00,  2885.00,  3000.00)
EngRPMCoastOutside=(2,  2179.00,  3974.00,  4000.00)
EngRPMCoastOutside=(3,  3333.00,  5449.00,  5000.00)
EngRPMCoastOutside=(4,  4850.00,  9000.00,  7000.00)

// TRANNY-SAMPLE MIX

VS_INSIDE_POWER_TRANNY_1=24HVLN\RFX\tw_ltr_offverylow.wav
VS_INSIDE_POWER_TRANNY_2=24HVLN\RFX\tw_ltr_offmid.wav
VS_INSIDE_COAST_TRANNY_1=24HVLN\RFX\tw_ltr_onverylow.wav
VS_INSIDE_COAST_TRANNY_2=24HVLN\RFX\tw_ltr_onhigh.wav

TrannyInitialRampRPM=2000.0 // Start fading samples in at this value-low RPM cutoff point for playback

TrannyCoastBlendRPMInside=(1750.0, 5500.0)
TrannyCoast1RPMTorqueInside=(1686, 400.0)
TrannyCoast2RPMTorqueInside=(3892, 400.0)

TrannyPowerBlendRPMInside=(1750.0, 5500.0)
TrannyPower1RPMTorqueInside=(1686, 200.0)
TrannyPower2RPMTorqueInside=(2050, 200.0)

// BRAKE HISS 
 
VS_INSIDE_BRAKES_LOW=24HVLN\RFX\brakes_low_in.wav    // low-speed
VS_INSIDE_BRAKES_HIGH=24HVLN\RFX\brakes_high_in.wav  // high-speed 
VS_OUTSIDE_BRAKES_LOW=24HVLN\RFX\brakes_low_ex.wav   // low-speed 
VS_OUTSIDE_BRAKES_HIGH=24HVLN\RFX\brakes_high_ex.wav // high-speed
 
// Note: all speeds are in meters/sec: 50.0 m/s = 112 mph = 180 kph 
//
// Lower BrakePressure numbers will cause the volume to ramp up faster with 
// less applied pressure, and will be more steady at higher pressures.
// Higher BrakePressure numbers will tend to make the volume more dependent
// on applied pressure.
//
// Temperature effects on brake hiss volume are not implemented yet. 

BrakeRampSpeed=8.0            // volume ramps up to this speed
BrakeBlendSpeeds=(10.0, 40.0)  // blends between low- and high-speed brake hiss
BrakeFadeSpeeds=(41.0, 62.0)  // fades out high-speed brake hiss between these speeds
BrakePressure=0.10            // defines how brake pressure affects brake hiss volume
 
//BrakeRampSpeed=3.0            // volume ramps up to this speed
//BrakeBlendSpeeds=(8.0, 23.0)  // blends between low- and high-speed brake hiss
//BrakeFadeSpeeds=(23.0, 42.0)  // fades out high-speed brake hiss between these speeds
//BrakePressure=0.20            // defines how brake pressure affects brake hiss volume

//BrakeRampSpeed=3.0            // volume ramps up to this speed
//BrakeBlendSpeeds=(10.0, 35.0)  // blends between low- and high-speed brake hiss
//BrakeFadeSpeeds=(25.0, 50.0)  // fades out high-speed brake hiss between these speeds
//BrakePressure=1.00            // defines how brake pressure affects brake hiss volume

