-----------------------------------------------

Sound

-----------------------------------------------

[AUDIO_VOLUME]
ENGINE_EXT = 1
ENGINE_INT = 1
GEAR_EXT = 2
GEAR_INT = 2
BODYWORK = 5
WIND = 0.8
DIRT = 5
DOWN_SHIFT = 1.0
HORN = 0
GEAR_GRIND = 1
BACKFIRE_EXT = 1
BACKFIRE_INT = 1
TRACTION_CONTROL_EXT = 0.8
TRACTION_CONTROL_INT = 0.8
TRANSMISSION = 1
LIMITER = 5
TURBO = 0.8

[AUDIO_PITCH]
ENGINE_EXT = 0.98
ENGINE_INT = 0.98
LIMITER = 0.90

[AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 0=0 | 7900=8200|)
ENGINE_INT_RPMS = (| 0=0 | 7900=8200|)

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.05
ANTILAG_INTENSITY=50
ANTILAG_INTERVAL_MAX=0.01
ANTILAG_INTERVAL_MIN=0.01
ANTILAG_TURBO_THRESHOLD=1
DAMAGE=0
DAMAGE_DURATION=0.05
DAMAGE_INTENSITY=1
DAMAGE_PROBABILITY=1
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0.5
DISCHARGE_DELAY=0.1
DISCHARGE_DURATION=0.08
DISCHARGE_INTENSITY=90
DISCHARGE_PROBABILITY=1000
DISCHARGE_RPM_THRESHOLD_MAX=7000
DISCHARGE_RPM_THRESHOLD_MIN=100
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.0
FLAT_SHIFT_DURATION=0.08
FLAT_SHIFT_INTENSITY=90
FLAT_SHIFT_GAS_THRESHOLD=1
FLAT_SHIFT_PROBABILITY=1000
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=1
LIMITER_DELAY=1.1
LIMITER_INTENSITY=80
LIMITER_RPM_THRESHOLD=7500

----------------------------------------------------

[EXTRA_SWITCHES]
SWITCH_F = ANTI-LAG

[SCRIPT_...]
SCRIPT = "sound.lua"

----------------------------------------------------

; ----------------------------------------------------------------------------------------------------------------------------------------------


; --------------  EXHAUST GLOW  ---------------

[INCLUDE: common/gt3_exhaust_glow.ini]

[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = dfzexhaust
ExhaustMeshes_MultiMap = DFZ.png
ExhaustMeshes_PerPixel = 
COLOR = 12, 2, 0, 0.35
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 40
INPUT_MAX = 81
INPUT_LUT = (| 79 = 0 | 88 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3
ExhaustPoint = 0.28, 0.525, -2.0
ExhaustLightPoint = 0.28, 0.525, -2.1

[TYRES_FX]
DAMAGE_DEBUG=0                ; set it to 1 to get damaged tyres from the start
DAMAGE_FLAT_SPOT_GAIN=200.0   ; multiplier for increasing flat spot
DAMAGE_FLAT_SPOT_FADE=0.1     ; how much of flat spot (which is in 0…1 range) will be gone after 1 km driven
DAMAGE_GRAIN_GAIN=1.0         ; multiplier for increasing grain
DAMAGE_WIDTH_K=0.95           ; decrease to make damage more narrow and vise versa
DAMAGE_OFFSET_K=0.0           ; horizontal offset for visible damage; increase to move it closer to the car
DAMAGE_GRAIN_MAX=0.4          ; upper bound for grain damage, from 0 to 1

DAMAGE_SPEC_MULT=0.6          ; by how much ksSpecular should be multiplied for fully damaged areas
DAMAGE_SPEC_EXP_MULT=0.2      ; by how much ksSpecularEXP should be multiplied for fully damaged areas
DAMAGE_REFL_MULT=0.4          ; by how much fresnelMaxLevel should be multiplied for fully damaged areas
DAMAGE_OCCLUSION_MULT=0.8     ; how much of occlusion to substract from fully damaged areas
DAMAGE_NORMALS_MULT=2.0       ; normals multiplier for fully damaged areas

FLEX_SKEW_SMOOTHING=0.1       ; how fast should tyre mesh react to change in force
FLEX_MAX_SKEW_MULT=0.8        ; multiplier for maximum flex distance
FLEX_PROFILE_MULT=0.6         ; multiplier for profile size for deforming tyre
FLEX_SKEW_RANGE_MULT=2.0      ; how much of a tyre should be skewed, maximum value is 3
FLEX_MULT=1.0                 ; how far a tyre should be skewed

