[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/gt3_exhaust_glow.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]

;;;;;;;;; Audi RS5 Coupe 2020 By TGN Modding ;;;;;;;;; 
; Conversion: TGN Modding / Origin: Grand Theft Auto V
; Ambient Occlusion: Mr. Suzuki
; Interior Details: Mr. Suzuzi
; Physics: Mr. Suzuki
; Custom Shaders Patch: Mr. Suzuki

; Download Link: https://www.facebook.com/groups/tgnmodding
; Patreon: https://www.patreon.com/TGNModding 
; Discord: https://discord.gg/Vam77j5UPu

;;;;;;;;; Data Replacement ;;;;;;;;; 
[DATA] 
DISABLE_LIGHTSINI = 1

[LIGHTING] ; Standard Config - Do Not Change
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=0
TURNING_LIGHTS_REPEAT=1

[PARTICLES_FX]
BODYSPARKS_AMOUNT=0.25
BODYSPARKS_INTENSITY=0.2
BODYSPARKS_LIFETIME=0.4
BODY_SPARKS_COLOR=1, 0.5, 0, 10
COLLIDER_0SPARKS_AMOUNT=0.25
COLLIDER_0SPARKS_INTENSITY=0.2
COLLIDER_0SPARKS_LIFETIME=0.4
COLLIDER_0_SPARKS_COLOR=1, 0.5, 0, 10
DRAG_MULT=2
INTERIOR_BOUNDS_CHECK=1
INTERIOR_BOUNDS_HEIGHT=0.644874
LIFT_MULT=0.1
SPARKS_AMOUNT_MULT=2
SPARKS_COOLDOWN_LAG=0.96
SPARKS_DEPTH_EXP=4
SPARKS_MAX_DEPTH=0.0025
SPARKS_OVERLOAD_LAG=0.7
TRACES_LIGHTS_POS=0.655593, 0.825127, -2.15187

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
HAZARDS_G_THRESHOLD=1.5
SPEED_FIX=0.2
SPEED_LAG=0.1
SPEED_LIMIT=0

;;;;;;;;; Exterior PBR Shaders / By Mr. Suzuki ;;;;;;;;; 
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[REFLECTIONS_FX]
ALLOW_INTERIOR_SSAO=0
ALLOW_INTERIOR_SSGI=0
AUTOFIX=1
MASK_CUBEMAP_ENABLED=1
MASK_CUBEMAP_OFFSET=0, -0.1, 0.2
MASK_CUBEMAP_TWEAK=0.5

[SMART_MIRROR]
DISALLOW_MAPPING_NORMALIZATION=0
DISALLOW_REAR_MIRROR=0
DISALLOW_REFLECTION_TILTING=0
SHAKING=0

[STATUS_BATTERY]
BASE_VOLTAGE=12.4
MAX_VOLTAGE=13.6
RPM_LAG=0.98

[STATUS_EXHAUST]
TEMPERATURE_BOOST=400
TEMPERATURE_IDLE=400
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_RPM=100

[STATUS_OIL]
PRESSURE_BASE=1
PRESSURE_LAG_DOWN=0.9985
PRESSURE_LAG_UP=0.998
PRESSURE_STEP=0.7
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_MULT=1
TEMPERATURE_OFFSET=0
TEMPERATURE_RPM_FACTOR=0.03

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 1         ; use ceramic look
CARVED = 30              ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 0.72   ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.110
DISC_RADIUS = 0.200
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0

[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER = misc_c_SUB1 , boot_SUB3 , DRL_SUB2

[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend
MESHES = Steeringwheel07
IS_TRANSPARENT = 1

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = Tyre
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.2
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1

[Material_Glass] ; Red Taillights Glass
Materials = ExtGlass4
FilmIOR = 1.9
ExtraLightsAdjustment = 0.05
BrightnessAdjustment = 0.1
Refraction = 1
Desaturate = 0
ThicknessMult = 2

[Material_Glass] ; Windows
Materials = ExtWindows1
FilmIOR = 2.2
ExtraLightsAdjustment = .1
BrightnessAdjustment = .2
Refraction = 1
Desaturate = 0
ThicknessMult = 1
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 1
MaskPassColor=20,20,20

[Material_PhotoelasticGlass] ; Headlights
Materials = ExtGlass2
FilmIOR = 1.5
PhotoelasticityMult = 0.35  ; doesn’t look good if too high
ThicknessMult = 2.0
BrightnessAdjustment = 0.2
ExtraLightsAdjustment = 0.35
; Ideally, there would be a texture for that, but we’re not going to draw
; all those textures for Kunos cars, so here are some parameters for perlin noise
; instead
PhotoelasticityBaseScale = 3.5     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.328  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.0  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.0

[WIPERS]
WIND_THRESHOLDS_KMH = 120, 300 ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1 ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1 ; multiplier for frequency
WIND_OFFSET = 0.03 ; base animation 

[WIPERS_TRACE_...]
SURFACE = windscreen_SUB1,windscreen_SUB0
WIPERS = chassis_SUB025,chassis_SUB026,chassis_SUB022,chassis_SUB024

[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW] ; Exhaust Glow
MESHES = 
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 60
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3

[LIGHT_FLAME_0] ; Flame Brightness
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

[EXHAUST_FLAMES] ; CSP Flames Configuration
ANTILAG=0 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=10 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=65000
ANTILAG_TURBO_THRESHOLD=0.0
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.1 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=0.55 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=.2; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=1; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7200 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=50 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=.1 ; flame size
FLAT_SHIFT_PROBABILITY=.2 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6500
LIMITER=.2 ; on hitting the limiter
LIMITER_DELAY=0.2 ; delay, in seconds
LIMITER_INTENSITY=.1 ; flame size
LIMITER_RPM_THRESHOLD=7000 ; limiter flames will not shoot below this rpm

;;;;;;;;; Exterior Lights / By Mr. Suzuki ;;;;;;;;; 

[EMISSIVE_LIGHT_...] ; Lowbeam 1 
NAME= headlight_l , headlight_r , DRL_SUB1 , platelights
COLOR=120,120,120
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 2 - Leave Blank Unless Used
NAME=
COLOR=120,100,120
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=extralight_2 , extralight_1
COLOR=120,120,120,3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=taillight_l , taillight_r , boot_SUB12
COLOR=50, 2, -10, 5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] ; Brakelights 2 - USE IF DRL + BRAKE IS SAME MESH
NAME=brakelight_l , brakelight_r , brakelight_m , misc_c_SUB0
COLOR=50, 2, -10, 5
CAST_LIGHT=1
LOCATION=REAR
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR=50, 2, -10, 5
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking


[EMISSIVE_REVERSE_...] ; Reverse Lights
NAME =Revlights          ; name (one or more) of a mesh to glow
COLOR = 120,110,130,.5      ; glowing color if condition is met
LAG = 0.2                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1        ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

[LIGHT_LICENSEPLATE] ; License Plate 
; no need to specify meshes names if material is using Plate_D.dds and Plate_NM.dds textures
MESHES= RS5Stuff02 , platelights
OFFSET=-0.234, 0.1, 0.0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.4
SPOT=80
SPOT_SHARPNESS=0.2
COLOR=1,2.5,4, 1.2
FALLBACK_EMISSIVE=1,2.5,4, 1.5 
LAYOUT=TWO_ON_TOP ; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM

; Turn Signals 
[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=shootyourselfrs5
COLOR=100,20,-100,5
FALLBACK_HEADLIGHTS_COLOR=120,120,120,0.5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Left Mid Turnsignal
NAME=door_dside_f_SUB16
COLOR=100,20,-100,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Rear Left Turnsignal 
NAME=Object18134 , Object18137
COLOR=100,30,-100,5.6
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Front Right Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=shootyourself3dsmax
COLOR=100,20,-100,5
FALLBACK_HEADLIGHTS_COLOR=120,120,120,0.5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Mid Right Turnsignal
NAME=door_pside_f_SUB17
COLOR=100,20,-100,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Rear Right Turnsignal 
NAME=Object18135,Object18136
COLOR=100,30,-100,5.6
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

; Extra Option Lights - Could Be FogLights

; Interior Lights
[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=Object18130 , Object1623 , SMALLMAP , lapt , tyes2 , Object1775 , Object1644 , gball , Object18083 , gauge
COLOR=2,2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Arrows Light
NAME=chassis_SUB4
COLOR=1,1,1,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Navigation Light
NAME=boost_10,boost_11,boost_12,boost_13,boost_14,boost_15,boost_16,boost_17,boost_18,boost_19,temp_0,temp_1,temp_2,temp_3,temp_4,temp_5,temp_6,temp_7,rpm2_1,rpm2_0,rpm2_2,rpm2_3,rpm2_4
COLOR=2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Buttons Light
NAME=chassis_SUB18 , chassis_SUB15 , steeringwheel_SUB6 , door_dside_f_SUB12 , door_pside_f_SUB13 , Steeringwheel00 , chassis_SUB19
COLOR=2,2,5,3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Ambient Light
NAME=door_pside_f_SUB10 , chassis_SUB14 , door_dside_f_SUB9,Object18145
COLOR=2,-2,-2,20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

;;;;;;;;; Light Effects Config / By Mr. Suzuki ;;;;;;;;; 
[SelfLight_Headlights] ; Lowbeam Selflighting
MIRROR = 0.737 ; X Position
DIRECTION = 0, 0,1
POSITION = 0.0, 0.705, 1.93
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = headlight_r
SPOT_SHARPNESS =0.0
SPOT = 60
COLOR=130,120,120,.5
SPECULAR_MULT = 1
RANGE = 0.4

[SelfLight_Headlights] ; Lowbeam Selflighting
MIRROR = 0.61 ; X Position
DIRECTION = 0, 0,1
POSITION = 0.0, 0.675, 1.77
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = DRL_SUB1
SPOT_SHARPNESS =0.0
SPOT = 120
COLOR=130,120,120,.2
SPECULAR_MULT = 1
RANGE = 0.4

[SelfLight_Headlights] ; Lowbeam Selflighting
MIRROR = 0.61 ; X Position
DIRECTION = 0, 0,1
POSITION = 0.0, 0.675, 1.97
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = extralight_1
SPOT_SHARPNESS =0.0
SPOT = 60
COLOR=130,120,120,.5
SPECULAR_MULT = 1
RANGE = 0.4

[LIGHT_HEADLIGHT_0] ; Headlights Both Low/Highbeam are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.9, 0.95, 1, 5 
LAG=0.1
DIFFUSE_CONCENTRATION=0.5
DIRECTION=0, -0.3, 2
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=50
LOWBEAM_RANGE_MULT=0.9
LOWBEAM_RANGE_ONCOMING_MULT=0.3
MIRROR=0.708
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0.0, 0.701, 1.92
RANGE=200
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=50
SECOND_SPOT_INTENSITY=2.0
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.20
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=55
SPOT_EDGE=0.021, 0.02, 0.02
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.050, 0.99, 0

[LIGHT_BRAKE_0] ; Brakelights Both DRL/Brakelights are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=50,0,0,.2
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -.5, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.642
MIRROR_DIRECTION=0
POSITION=0.0, 0.844, -2.08
RANGE=4
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.135, 0.135, 0.135
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_REVERSE_0] ; Reverse Lights
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.474
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0.0, 0.872, -2.22
RANGE=4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=1
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,10,20
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.352, 0.939, 0.72
DIRECTION=0,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,10,20
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.0102, 1.01, 0.651
DIRECTION=.1,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,10,20
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.0602, 0.689, 0.788
DIRECTION=.1,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,-10,-10,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.705, 0.949, 0.323
DIRECTION=0,-1,1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,-10,-10,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.705, 0.949, 0.323
DIRECTION=0,-1,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,-10,-10,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.705, 0.949, 0.323
DIRECTION=0,-1,1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,-10,-10,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.705, 0.949, 0.323
DIRECTION=0,-1,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,-10,-10,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0191, 0.773, 0.518
DIRECTION=0,-1,0
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

;;;;;;;;; Animation Config / By Mr. Suzuki ;;;;;;;;; 
[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR = FIRST
UPPER_BOUND = 1  
RANGE=0              ; maximum input value for arrow to move with
START = 0 
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0.0
SPEED_LAG = 0.0                 ; lag for speed, adding inertia of movement
G_FACTOR = -0.8, 0, 0
POS_OFFSET_START = 0.0, 0, -0.0 position offset for the minimum value
POS_OFFSET_END = -0.06, 0.0, -0.0
NAME=gxnegativber

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR =  FIRST
UPPER_BOUND = 1 
RANGE=0                ; maximum input value for arrow to move with
START = 0 
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=00 
SPEED_LAG = 0.0                ; lag for speed, adding inertia of movement
G_FACTOR = 0.8, 0, 0.0
POS_OFFSET_START = 0.00, -0.0, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.06, 0.00, 0.0
NAME=gxpositivre

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR = THIRD
UPPER_BOUND = 1.3                 ; maximum input value for arrow to move with
START = 0 
RANGE=0
INPUT_LAG=0.0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0                 ; lag for speed, adding inertia of movement
G_FACTOR = 0.0, 0, 0.8
POS_OFFSET_START = 0.00, -0.00, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.00, -0.04, 0.0
NAME=gznegative

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR =THIRD
UPPER_BOUND = 1.3                 ; maximum input value for arrow to move with
START = 0 
RANGE=0
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0.0
SPEED_LAG = 0               ; lag for speed, adding inertia of movement
G_FACTOR = 0.0, 0, -0.8
POS_OFFSET_START = 0.00, -0.00, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.000, 0.04, 0.0
NAME=gzplus

;;;;;;;;; Cluster Config / By Mr. Suzuki ;;;;;;;;; 
[CustomEmissiveMulti] ; Emissive Warning Lights
Meshes = IntWarningLights
Resolution = 812, 812
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "323.1, 422.7", Size = "91.1, 79.9", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "677, 259", Size = "73, 76", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "509, 351", Size = "71, 70", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "-100, -100, 100",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "-10, 10, -10",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "201, 184", Size = "110, 71", Color = "10, 3, -50",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "682, 435", Size = "57, 61", Color = "10, 3, -50", InputThreshold = 35, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 

[CustomEmissiveMulti] ; Emissive Warning Lights
Meshes = Object18143
Resolution = 1024, 1024
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = LIGHT, Start = "530.3, 934.6", Size = "82.9, 62.8", Color = "2, 2, 2",
@ = MultiItem, Role = LIGHT, Start = "878.9, 934.9", Size = "72.8, 62.2", Color = "2, 2, 2",

[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1
NAME=HazardsBro
FALLBACK_HEADLIGHTS_COLOR=2,2,2
LAG=0.2

[ODOMETER_MAIN]
DIGITAL_ITEM=5
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=6
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999

[DI_FUEL_ESTIMATE_DISTANCE_TOTAL_...]
DIGITAL_ITEM = 7
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
OUTPUT_MULTIPLIER = 0.01

[DI_GEAR_...]
DIGITAL_ITEM = 1
DIGITAL_ITEM_NUMBER_FORMAT=GEAR,R,P,1,2,3,4,5,6

[DI_GAS_...]
DIGITAL_ITEM = 8
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
INPUT_MULT=92

[DI_GAS_...]
DIGITAL_ITEM = 9
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
INPUT_MULT=95

"[ITEM_] ; This Goes Into Your Digital_Instruments.ini
VERSION=2
PARENT=
POSITION=-0.133,0.082,0.035
TYPE=PLACE_HOLDER
SIZE=0.017
COLOR=255,255,255,255
INTENSITY=3
FONT=e92_big
ALIGN=CENTER
UNITS=KML

[ITEM_] ; Odometer Main
PARENT=
TYPE=PLACE_HOLDER
TEXT=05448
POSITION=-0.0078, -0.0365, 0.00
SIZE=0.008
COLOR=300,300,300,300
INTENSITY=3.0
FONT=e92_mid
VERSION=2
ALIGN=LEFT

[ITEM_] ; Odometer Trip
PARENT=
TYPE=PLACE_HOLDER
TEXT=829.8
POSITION=0.000, -0.0365, 0.00
SIZE=0.008
COLOR=300,300,300,300
INTENSITY=3.0
FONT=e92_mid
VERSION=2
ALIGN=RIGHT

[TURBO_BOOST_SERIE_] ; Dynamic Boost Range
PREFIX=
START_INDEX=
END_INDEX=
BOOST_START=-0.0
BOOST_END=1.1

[RPM_SERIE_] ; Digital RPM Gauge
PREFIX=
START_INDEX=0
END_INDEX=25
RPM_START=0
RPM_END=

[LED_] ; RPM Blink LED
OBJECT_NAME=
RPM_SWITCH=6500
EMISSIVE=15,15,0
DIFFUSE=0.3" 

;;;;;;;;; Audio Volume [CAREFULL WITH THIS] / By Mr. Suzuki ;;;;;;;;; 
[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=0
ENGINE_INT_BOOST=0
TURBO_THROTTLE=1

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

[AUDIO_PITCH]
ENGINE_EXT = 1.00
ENGINE_INT = 1.00
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1
BACKFIRE_INT = 1
TRACTION_CONTROL_EXT = 1
TRACTION_CONTROL_INT = 1
TRANSMISSION = 1
LIMITER = 1
TURBO = 1.0
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = .7
SKID_INT = .7

;;;;;;;;; Display Settings [CAREFULL WITH THIS] / By Mr. Suzuki ;;;;;;;;; 
[Display_AndroidAuto] ; Android Auto [!!ONLY WORKS WITH 1.78PREVIEW+]
Meshes = chassis_SUB4  ; display mesh
Resolution = 1038, 515   ; texture resolution
Size = 990, 478           ; size of the screen area
Offset = 22, 20              ; left top corner of screen area
Scale = 1                  ; might need adjusting to get the scale right
RearCameraPosition = -0.0348, 0.899, -2.28  ; position of rear view camera

[Navigator_StyleModernLight] ; Navigator Of Choice
Meshes = 
Resolution = 2028, 2048 ; Get This From Object Inspector/Textures/TransparentBlackBox
Offset = 350,650
Size =658, 658
Start = "856, 193", Size = "399, 74"
;;;;;;;;; Spotify Integration ;;;;;;;;; 

[CAR_STEREO_...] ; Currently Set For Audi
ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = Object18130
RESOLUTION = 2048 , 1024 ; matches values in navigator 
DISPLAY_POS = 840, 55
DISPLAY_SIZE = 2048 , 1024
COLOR = 1, 1, 1, 1.5
FADE_WHEN_INACTIVE = 1.00
DITHERING = 20

; track text
TEXT_CSP_0 = "{Track}"
TEXT_CSP_0_NOALBUM = "{Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = "Unknown Song"
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 50, 180
TEXT_CSP_0_SIZE = 333, 55
TEXT_CSP_0_FONT_TYPE = ARIAL
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 1.2, 1.2
TEXT_CSP_0_BOLD = 0

[EMISSIVE_RPM_...]
INPUT=RPM
INPUT_THRESHOLD =6900
NAME=Object1611
COLOR=13,0,0,1
OFF_COLOR=0,0,0,0
SIMULATE_HEATING=0.1
CAST_LIGHT=0
TOGGLE_VISIBILITY_INVERSE=0
BLINKING_PATTERN=(|0=2|1=0|2=2|3=0|4=2|5=0|6=2|7=0|8=2|9=0|10=2|11=0|3=2|12=0|13=2|15=0|16=2|)
BLINKING_DURATION=1
TOGGLE_VISIBILITY=1
CAST_LIGHT=0
