wA[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]
[INCLUDE: navigators_maps.ini]

[SCRIPTABLE_DISPLAY_...]
MESHES = rpmscreen	; mesh the SCRIPTABLE_DISPLAY draws onto.
SCRIPT = st.lua

[SCRIPTABLE_DISPLAY_...]
MESHES = CENTER_GAUGE	; mesh the SCRIPTABLE_DISPLAY draws onto.
SCRIPT = CLUSTER_TRD.lua

──────────────────────────────────────────────
[DATA] 
DISABLE_LIGHTSINI = 1
──────────────────────────────────────────────
[BASIC]
IS_LOW_BEAM_AVAILABLE = 1

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
────────────────────── Exterior PBR Shaders────────────────────────
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[BRAKEDISC_FX]
ACTIVE = 1
DISC_RADIUS = 0.3          ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.05  ; radius of an inside part of a brake disc
────────────────────── DOUBLE SIDED MESH ────────────────────────
[SHADER_REPLACEMENT_...]
MESHES = 
CULL_MODE = DOUBLESIDED
────────────────────── TRANSPARENT ────────────────────────
[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend,
MATERIALS = 
IS_TRANSPARENT = 1

[SHADER_REPLACEMENT_...]
MESHES =cockpit_SUB3,interior_1_SUB8,door_dside_f_SUB8,door_pside_f_SUB8,124124513
IS_TRANSPARENT = 1
CAST_SHADOWS = 0 
BLEND_MODE = ALPHA_TEST

[SHADER_REPLACEMENT_...]
MESHES =headlight_r_SUB0,LOWBEAM,HIGHBEAM
IS_TRANSPARENT = 0


[SHADER_REPLACEMENT_...]
MATERIALS =glassoverbrake
IS_TRANSPARENT = 1
BLEND_MODE = ALPHA_BLEND
CULL_MODE = DOUBLESIDED

[SHADER_REPLACEMENT_...]
MESHES=steeringwheel_SUB8
IS_TRANSPARENT = 1
BLEND_MODE = ALPHA_BLEND
CULL_MODE = DOUBLESIDED

──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,BULB_GLASS
SKIP_GBUFFER = INT_GAUGE_GLASS
GLASS_FILTER = 
────────────────────── EXHAUST ────────────────────────
[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

[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT = 1,1,1
TEMPERATURE_MULT =1
SIZE_MULT =  1.0
INTENSITY_MULT =1.00

[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.00 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY= 1 ; flame size
ANTILAG_INTERVAL_MAX=0.3
ANTILAG_INTERVAL_MIN=0.08
ANTILAG_TURBO_THRESHOLD=1.4
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.05
DAMAGE_INTENSITY=1
DAMAGE_PROBABILITY=1
DISCHARGE=1.0 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.9 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.0 ; delay after throttle lift
DISCHARGE_DURATION=0.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=0.79; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=1; flame size
DISCHARGE_RPM_THRESHOLD_MAX=8500 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=5500 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=77
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0.03 ; after upshift
FLAT_SHIFT_DURATION=0.002 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=80 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=1.0 ; flame size
FLAT_SHIFT_PROBABILITY=0.8 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6500
LIMITER=0 ; on hitting the limiter
LIMITER_DELAY=0.0 ; delay, in seconds
LIMITER_INTENSITY=0.0001 ; flame size
LIMITER_RPM_THRESHOLD=6500 ; limiter flames will not shoot below this rpm

[SHAKING_EXHAUST_0]
MESHES =
POINT_0 = 1, 2, 3
POINT_0_RADIUS = 1
POINT_0_EXP = 2
POINT_0_SCALE = 0.175, 0.55, 0.1

[PARTICLES_FX_EXHAUST_...]
POSITION = 
DIRECTION = 
COLOR = 0.75,0.8,1
LIFE = 1, 0.03 				    ; how long particles last in the air before disappearing
SPEED = 0.5, 8 				    ; how fast smoke particles fly from the exhaust
SPREAD = 0.1				    ; initial spread of particles
STARTING_SIZE = 0.035			; initial size of particles
SPAWN_OFFSET = 0.01			    ; initial spawn point offset (length-wise)
INTENSITY = 0.1, 0.5			; smoke intensity
TEMPERATURE_LAG = 1			    ; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears


────────────────────── AUDIO ────────────────────────

[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

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

[AUDIO_PITCH]
ENGINE_EXT = 1
ENGINE_INT = 1
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
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = 1
SKID_INT = 1

────────────────────── LICENSE PLATE LIGHTS ────────────────────────

;Plate Light
[EMISSIVE_LIGHT_...]
NAME=
COLOR=255, 255, 255, 0.05
OFF_COLOR=0,0,0
CAST_LIGHT=1
LAG = 0.8
CHANNEL = 0

[LIGHT_LICENSEPLATE]
MESHES=plate_SUB1
OFFSET= 0.02 ,0.02, -0.02
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.4
SPOT=140
SPOT_SHARPNESS=0.5
COLOR=9,10,12,1
FALLBACK_EMISSIVE=1,0.7,0.3,0.9
FADE_AT=100
FALLBACK_LOWBEAM_COLOR=1,0.7,0.3,0.9


────────────────────── LIGHTS ────────────────────────

[EMISSIVE_LIGHT_...] ; Lowbeam 
NAME=LOWBEAM,headlight_r_SUB0
COLOR=90,90,113,0.7   
LAG=0.4
SIMULATE_HEATING=0.7
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=HIGHBEAM
COLOR=90,90,113,0.88    
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; DRL 
NAME=
COLOR=120,120,120
OFF_COLOR=120,120,120
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=1000
BOUND_EXP=1
COLOR=0.957143, 0.957143, 1, 22
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.8
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.64, 2.42
RANGE=180
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=50
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0

────────────────────── TAIL LIGHTS ────────────────────────

;DRL 
[EMISSIVE_LIGHT_...] 
NAME=
COLOR=8, 0, 0
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

; Brakelights 
[EMISSIVE_BRAKE_...] 
NAME=brakelight_m
COLOR=50, 2, 0,5
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.0

[EMISSIVE_BRAKE_...] 
NAME=
COLOR=20, 0, 0
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.0

;DRL + BRAKE 
[EMISSIVE_BRAKE_...]
NAME=taillight_r_SUB0
COLOR=50, 0, -10,2
FALLBACK_HEADLIGHTS_COLOR = 50, 0,0,0.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

;EMERGENCY BRAKE
[EMISSIVE_BRAKE_...] 
NAME=bumper_r_SUB3
COLOR=10, 0, 0,2.5
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.0

[LIGHT_BRAKE_0] ; Brakelights Both DRL/Brakelights are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -.5, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.568
MIRROR_DIRECTION=0
POSITION=0.0, 0.673, -2.07
RANGE=7
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
────────────────────── REVERSE LIGHT ────────────────────────

; Reverse Lights
[EMISSIVE_REVERSE_...] 
NAME =reversinglight_r ; name (one or more) of a mesh to glow
COLOR = 12,10,8,3     ; glowing color if condition is met
LAG = 0                ; 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_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.620
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0.0, 0.696, -1.99
RANGE=4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4
────────────────────── INDICATORS ────────────────────────

; Front Left Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]  
NAME=indicator_lf
COLOR=100,20,0,3
OFF_COLOR=100,100,130
LAG=0.4
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Left Mid Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=indicator_l
COLOR=100,20,0,3
LAG=0.3
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

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

; Front Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=indicator_rf
COLOR=100,20,0,3
OFF_COLOR=100,100,130
LAG=0.4
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Mid Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=indicator_r
COLOR=100,20,0,3
LAG=0.3
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

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

────────────────────── FOG LIGHTS ────────────────────────

[EMISSIVE_EXTRA_A_0] ; Front FogLight - Extra A
BIND_TO_EXTRA_A=1
NAME=
COLOR=12,10,8
FALLBACK_HEADLIGHTS_COLOR=0,0,0
LAG=0
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

────────────────────── REFRACTION ────────────────────────
[REFRACTING_HEADLIGHT_0]
SURFACE =reverse_glass
INSIDE = reversinglight_r
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.14
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 0.872
DIRECTION = -0.6930761,-0.19821976,0.6930761
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2.91
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 55
F0 = 0.81
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -4.798174e-06,0.7641721,-2.2154298
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.692,0.758,-2.235
RADIUS = 0.1923
REFLECTIVENESS_DIFFUSE_MULT = 63.1
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.21
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_1]
SURFACE =lowerbrakeglass
INSIDE = bumper_r_SUB3
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.86
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.45
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.88
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0,0,1
MIRROR_POS = -3.7252903e-07,0.3661595,-2.932
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0,0.3661595,-2.473
RADIUS = 0.096914135
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1


────────────────────── INTERIOR LIGHTS ────────────────────────

; Cluster Light
[EMISSIVE_LIGHT_...] 
NAME=CENTER_GAUGE,INT_GAUGES,GPS,CL
COLOR=2,2,2
OFF_COLOR=1,1,1
LAG=0.35
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
DISABLE_WITH_EMISSIVE_LIGHT = 1

[EMISSIVE_LIGHT_...] 
NAME=rpmscreen
COLOR=25
OFF_COLOR=11
LAG=0.35


[EMISSIVE_LIGHT_...] 
NAME=cockpit_SUB5,door_pside_f_SUB10,door_dside_f_SUB10,door_dside_r_SUB10,door_pside_r_SUB10
COLOR=2,2,2,2
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5
DISABLE_WITH_EMISSIVE_LIGHT = 1
TOGGLE_VISIBILITY = 1
; Interior Decal Lights
[EMISSIVE_LIGHT_...] 
NAME=cockpit_SUB3,door_dside_f_SUB8,interior_1_SUB8,door_pside_f_SUB8,steeringwheel_SUB8
COLOR=2,1.5,1.1,3
LAG=0.35
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

; Arrows Light
[EMISSIVE_LIGHT_...] 
NAME=ARR,speedook_SUB0,tahook_SUB1
COLOR=15
OFF_COLOR=3,3,3
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] 
NAME=roof001
COLOR=0,2,22,17
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

────────────────────── STERO/GPS ────────────────────────
[Navigator_StyleModernDark]
Meshes = GEO_INT_CENTRAL_DISPLAY
@ = Navigator_Size, Resolution = "512, 512", Size = "512, 272", Offset = "0, 120", Scale = 1.5
Brightness = 0.5
UPCOMING_TURN_DISTANCE_ROUND_TO = 100


[Display_AndroidAuto]
Meshes = GPS
Resolution = 740,640
Size = 740,640
Offset =0, 0
Scale = 1,0.75
RearCameraPosition = 0.0056, 0.914, -1.95
aftermarketComponent=1

[CAR_STEREO_...]
MESHES = Geometry82_SUB18
RESOLUTION = 512, 128
DISPLAY_POS = 0, 0
DISPLAY_SIZE = 512, 128
BACKGROUND = 0, 0, 0, 1
FONT = digital_big
TEXT_0 = "{Artist} - {Track}"
TEXT_0_NOALBUM = "{Artist} - {Track}"
TEXT_0_NOARTIST = "{Track}"
TEXT_0_FALLBACK = "FM{Random:1,4} {Random:80,120}.{Random}"
TEXT_0_ALIGN = CENTER
TEXT_0_START = 26, 16
TEXT_0_LETTER = 24, 64
TEXT_0_LETTERS_LIMIT = $" floor((512 - 26 * 2) / 24) "
TEXT_1 = "{Time:%p %I:%M}"
TEXT_1_ALIGN = CENTER
TEXT_1_START = 26, 84
TEXT_1_LETTER = 12, 28
TEXT_1_LETTERS_LIMIT = 8
ICON_0 = @SOURCE
ICON_0_FALLBACK = FM
ICON_0_START = 174, 84
ICON_0_SIZE = 17, 24
ANIMATION_0 = 10, 4
ANIMATION_0_START = 204, 80
ANIMATION_0_BLOCK = 24, 4
ANIMATION_0_MARGIN = 4, 4
ANIMATION_0_BASE_ROW = BOTTOM

────────────────────── WARNING LIGHTS ────────────────────────
; Interior Left Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=indicator_dash_2
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=indicator_dash
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior High Beam
[EMISSIVE_HIGHBEAM_...] 
NAME=0000
COLOR=0,0,10,3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Low Beam
[EMISSIVE_LIGHT_...] ; 
NAME=298954231
COLOR=0,10,0,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Hazard
[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1.5
NAME=
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0.2
LAG=0.2

; Warning ABS Inaction
[EMISSIVE_ABS_INACTION_0] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
LAG=0.2

; Warning ABS Off
[EMISSIVE_ABS_0] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=0,0,0
OFF_COLOR=10,5.6,-4
LAG=0.2

; Warning Traction Off 1
[EMISSIVE_TRACTIONCONTROL_0] 
NAME=tc5
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=20,6,0.1,1
LAG=0.2

;Warning Traction In Action
[EMISSIVE_TRACTIONCONTROL_INACTION_0] 
COLOR=20,4,0.1,3.5
NAME=777
TOGGLE_VISIBILITY = 0
LAG=0.2

; Warning Handbrake
[EMISSIVE_HANDBRAKE_0]
NAME=
TOGGLE_VISIBILITY = 0
COLOR=45,0.7,0, 1.8
LAG=0.25

[EMISSIVE_...] ; Warning Suspension
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2
 
; Warning Engine
[EMISSIVE_...] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

; Warning Tyre Pressure
[EMISSIVE_...] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 38
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

; Warning Fuel
[EMISSIVE_...] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,3.5,0.1,35
INPUT=FUEL
INPUT_THRESHOLD = 12
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

; Stalled Manual Only
[EMISSIVE_...] 
NAME=
BIND_TO=STALLED 
TOGGLE_VISIBILITY = 0
COLOR=5,0 ,0 , 3.5
LAG=0.3

────────────────────── INTERIOR EMISSIVE FX ────────────────────────

;DECAL EMISSIVE
[EXTRA_FX_EMISSIVE_...]
MESHES =cockpit_SUB5,door_dside_f_SUB10,door_pside_f_SUB10,door_pside_r_SUB10,door_dside_r_SUB10
RANGE = 0.11             ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.4               ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0
INTERIOR_ONLY = 1

[EXTRA_FX_EMISSIVE_...]
MESHES =CENTER_GAUGE,INT_GAUGES,GPS
RANGE = 0.10           ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 3             ; optional brightness multiplier (could be an RGBA value)
DIRECTED =1
INTERIOR_ONLY = 1
SAMPLES_LIMIT = 100
SPLIT_ELEMENTS =1

[EXTRA_FX_EMISSIVE_...]
MESHES = LOWBEAM
RANGE = 0.065
COLOR = 0.1
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.01
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE=8
SAMPLES_LIMIT = 100
SPLIT_ELEMENTS =1
NORMAL_SHIFT = -0.01

[EXTRA_FX_EMISSIVE_...]
MESHES =HIGHBEAM
RANGE = 0.065
COLOR = 0.25
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE=8
SAMPLES_LIMIT = 100
SPLIT_ELEMENTS =1
NORMAL_SHIFT = -0.035


[EXTRA_FX_EMISSIVE_...]
MESHES =headlight_r_SUB0
RANGE = 0.05             ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.01             ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0

[LIGHT_EXTRA_...] ; Ambient Light
BOUND_TO=roof001
COLOR=188 
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.5
LAG=0.6
FADE_AT=0.0
FADE_SMOOTH=53
MIRROR=+
POSITION=0.0079, 1.32, -0.396
DIRECTION=-0.0, -1, 0
RANGE=1.55
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.1
SPOT=180
SPOT_SHARPNESS=0.001
────────────────────── OUTSIDE EMISSIVE FX ────────────────────────

;SELFLIGHT HEADLIGHT
[LIGHT_EXTRA_0]
BOUND_TO = HIGHBEAM
COLOR=100,100,100,21
DIFFUSE_CONCENTRATION=0.99
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.6
LAG=0.9 
FADE_AT=60
FADE_SMOOTH=53
MIRROR=
POSITION=-0.659, 0.609, 2.01
DIRECTION=0, 0, 1
RANGE=0.50
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=3
SPOT=62
SPOT_SHARPNESS=0.001

[LIGHT_EXTRA_1]
BOUND_TO =LOWBEAM
COLOR=100,100,100,21
DIFFUSE_CONCENTRATION=0.99
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.6
LAG=0.9 
FADE_AT=60
FADE_SMOOTH=53
MIRROR=
POSITION=-0.773, 0.638, 1.97
DIRECTION=0, 0, 1
RANGE=0.50
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=3
SPOT=62
SPOT_SHARPNESS=0.001

────────────────────── MATERIALS (PAINT) ────────────────────────

[INCLUDE: common/materials_carpaint.ini]

[Material_CarPaint_Solid]
Materials = brakes_amg_yellow

[Material_CarPaint_Solid]
Materials = EXT_RIM_VOSSEN

[Material_CarPaint_Metal]
Materials = Cap_Logo_d35
BrightnessAdjustment = 0.5
────────────────────── MATERIALS (EXTERIOR) ────────────────────────

;assets
RESOURCE_0 =
RESOURCE_TEXTURE_0 =
ColorSource = DIFFUSE

[SHADER_REPLACEMENT_...]
MESHES=door_dside_f_SUB9,door_pside_f_SUB9
PROP_...=ksAmbient, 0.03
PROP_...=ksDiffuse, 0.03
PROP_...=fresnelC,0.15
PROP_...=fresnelMaxLevel,0.1

[SHADER_REPLACEMENT_...]
MATERIALS=lightinside
PROP_...=ksAmbient, 0.02
PROP_...=ksDiffuse, 0.02

[Material_InteriorPBR]
Materials = EXT_BLACK_CHROME
BrightnessAdjustment = 0.005
Metalness = 0.0
Reflectance = 0.07
DetailScale =0
CubemapReflectionBlur = 0
Smoothness =0.9999
HasDetailNormals=0


[Material_InteriorPBR]
Materials =EXT_CHROME_HDL
BrightnessAdjustment = 1
Metalness = 0.4
Reflectance = 0.7

[Material_InteriorPBR]
Meshes =steeringwheel_SUB10
BrightnessAdjustment = 1
Metalness = 0.1
Reflectance = 0.2


[Material_InteriorPBR]
Meshes =drlback
BrightnessAdjustment = 0.4
Metalness = 0.54
Reflectance = -0.4
Smoothness =0.0

[INCLUDE: common/materials_interior.ini]

[Material_DigitalScreen]
Meshes =
MatrixType = IPS         ; valid values: IPS, TN
UseTextureCoordinates = 0  ; with 0, vertex coordinates will be used. sometimes it’s better, sometimes it’s buggier
ScreenScale = 1920          ; amount of pixels horizontally
ScreenAspectRatio = 7   ; aspect ratio, height/width
Emissive = 0.5          ; screen brightness
FlipXY = 0                 ; rotate display 90°

;Int Plastic
[Material_Plastic_v2]
Materials = INT_PLASTIC
BrightnessAdjustment = 0.2
DetailScale = 0
DetailTextureBlur = 1
DetailNormalBlend = 0.5
Reflectance = 0.02
Smoothness = 0.1

;Int Fake Leather
[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.2
DetailScale =80
DetailNormalBlend = -0.5
Reflectance = 0.02
Smoothness = 0.1
RESOURCE_1 = txNormalDetail
RESOURCE_TEXTURE_1 = 



;Int Piano Black
[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.9
DetailScale = 0
Reflectance = 0.15
Smoothness = 0.999999

;Int Alcantara
[Material_Velvet_v2]
Materials = INT_ST_ALCANTARA
DetailScale=160
DetailNormalBlend = 1
BrightnessAdjustment=0.3
ApplyTilingFix=0

;Int Carpet
[Material_Velvet_v2]
Materials = 
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.8
DetailScale = 60
ClothSheenColor = 1,1,1
BrightnessAdjustment = 0.1

;Int Detailed Leather
[Material_LeatherDetailed]
Materials =
Smoothness = 0
Reflectance = 0.004
ApplyTilingFix = 0
HasDetailNormals = 1
DetailNormalBlend = 0.1
DetailScale = 140
DetailNormalPBRFormat = 1
DetailNormalTexture = common/pbr_leather_spotty.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.1
DetailNormalPBRReflectance = 0.5

[Material_Leather_v2]
Materials= INT_LEATHER_1,INT_LEATHER_SEATS
DetailScale = 110
DetailNormalPBRSecondaryColor = 0.5, 0.5, 0.5, 0.1
Brightness = 1
Reflectance = 0.02
[Material_Leather_v2]
Materials= INT_LEATHER_PERFORATED
DetailScale = 110
DetailNormalPBRSecondaryColor = 0.5, 0.5, 0.5, 0.1
Brightness = 1
DetailNormalBlend =1
HasDetailNormals = 1
Reflectance = 0.02
Smoothness=0


;Int Old Leather
[Material_Leather_v2]
Materials = 
Reflectance = 0.02
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 100
BrightnessAdjustment = 0.34

;Int Metal
[Material_InteriorPBR]
Materials=INT_METAL
Smoothness=0.8
Metalness=0.1
Reflectance=0.12
BrightnessAdjustment=0.1
CubemapReflectionBlur=0
HasDetailNormals=0
ExtraSharpLocalReflections=1

[Material_InteriorPBR]
Materials=INT_ST_PLASTIC
Smoothness=0.9
Metalness=0.000
Reflectance=0.01
BrightnessAdjustment=1
CubemapReflectionBlur=0
HasDetailNormals=1
DetailScale = 120
ExtraSharpLocalReflections=1



;Int Alu 1 
[Material_Aluminium_v2]
Meshes = taillight_r_SUB0
BrightnessAdjustment = 0.1
Metalness = 0.1
Reflectance = 0.1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 5, 0, 0, 1
DetailScale = 30
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2

;Int brushed
[Material_Metal_v2]
Materials = 
RESOURCE_2 = txNormalDetail
RESOURCE_FILE_2 = PBR_brushed.dds
RESOURCE_3 = txDetail
RESOURCE_FILE_3 = PBR_brushed_detail.dds
DetailNormalBlend = 1
DetailScale = 5
Metalness = 0.9
BrightnessAdjustment = 0.2
Smoothness = 0.9
Reflectance = 0.5
DetailNormalPBRSmoothness = 1.75


────────────────────── MATERIALS (EXTERIOR) ────────────────────────
[Material_Aluminium_v2]
Materials= 
Smoothness = 0.0
Metalness = 0.4
Reflectance = 0.4
BrightnessAdjustment = 0.4
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.4
DetailScale = 60
DetailNormalBlend = 10
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 0.05
ApplyTilingFix = 1

;Ext Rim Chrome
[Material_Aluminium_v2]
Materials = Big_Bolts_d29
BrightnessAdjustment = 0.005
DetailScale = 0
Metalness = 0.5
Reflectance = 0.05
LocalReflectionsSharpness = 1

;Ext Metal
[Material_Metal_v2]
Materials = 
BrightnessAdjustment = 0.25
DetailScale = 50
Metalness = 0.6
Reflectance = 0.1

;Ext Coloured Light
[Material_Aluminium_v2]
Materials = (shiny coloured textured of the tails housing (orange turn signals, red shiny textures) go here)
Smoothness = 0.05
Metalness = 1
Reflectance = 2
BrightnessAdjustment = 0.35
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

;Ext Metal Headlight House
[Material_Metal_v2]
Materials = 
Smoothness = 0.5
Metalness = 0.9
Reflectance = 0.6
BrightnessAdjustment = 1
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

;Ext Alu 
[Material_AluminiumOld_v2]
Meshes = 
Metalness = 0.25
Reflectance = 0.1
Smoothness = 0
BrightnessAdjustment = 0.7
DetailNormalBlend = 2
DetailNormalPBRSmoothnessGamma = 1

;Ext Metal Headlights
[Material_Metal_v2]
Materials = 
BrightnessAdjustment = 0.6
DetailScale = 0
Metalness = 0.9
Reflectance = 0.1
LocalReflectionsSharpness = 0.3
DetailNormalPBRSmoothnessGamma = 0.4

;Ext Metal Old
[Material_MetalOld_v2]
Meshes = 
Metalness = 0.11
Reflectance = 0.11
Brightness = 0.3
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 0

;Ext Smooth Plastic
[Material_Plastic_v2]
Materials =EXT_GLOSS_PLASTIC
Metalness = 0.05
Reflectance = 0.1
Smoothness = 0.8
BrightnessAdjustment = 0.05
ApplyTilingFix = 1
DetailScale = 0

[Material_Plastic_v2]
Materials =EXT_PLASTIC_HDL
Reflectance = 0.02
Smoothness = 0.8
BrightnessAdjustment = 0.2
ApplyTilingFix = 1
DetailScale = 0

;Ext Carbon
[Material_Carbon]
Materials =EXT_CARBON
DetailScale = 400
RESOURCE_2 = txNormalDetail
RESOURCE_FILE_2 = PBR_CARBON_NM.dds
RESOURCE_3 = txDetail
RESOURCE_FILE_3 = PBR_CARBON_D.dds
Brightness = 0.2
ClearCoatF0 = 0.1
CubemapReflectionBlur = 0,0

────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]

ExteriorGlassHeadlightsMeshes=
ExteriorGlassFilmedMaterials=

;Clear Glass
[Material_Glass]
Materials =EXT_GLASS
ThicknessMult = 1
IOR = 1.8
BrightnessAdjustment = 0
ExtraLightsAdjustment = 0
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1
PROP_1... = ksAmbient, 0.4

[Material_PhotoelasticGlass]
Meshes = ext_window_other
PhotoelasticityMult = 0.1

;Interior Glass
[Material_Glass]
Materials = glasswindows2
FilmIOR = 1.99 
ThicknessMult = 1
ProfileFix = 0



; Red Glass
[Material_Glass]
Materials = glassoverbrake
IOR = 1.5           ; looks better like this
FilmIOR = 1.5      ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 ; thicker glass passes less light through
ProfileFix = 0    ; adds thickness to glass for glazing angles
MaskPass = 1.2      ; mask pass opacity
MaskPassColor = 255, 5, 0  ; mask pass color adjustment
BrightnessAdjustment = 1
Desaturate = 0

; Window Glass
[Material_Glass]
Materials=EXT_WINDOWS
MaskPass=0.1
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=2
Desaturate=0
FilmIOR=1.52

;gauge glass
[SHADER_REPLACEMENT_...]
MESHES =GPS,CENTER_GAUGE,INT_GAUGES,interior_1_SUB9
PROP_...=ksAmbient,0.2
PROP_...=ksDiffuse,0.2
PROP_...=ksSpecular,0.2
PROP_...=ksSpecularEXP,260
PROP_...=fresnelC,0.45
PROP_...=fresnelMaxLevel,0.04
PROP_...=fresnelEXP,5

────────────────────── MATERIALS (TIRES) ────────────────────────
[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = Material #25
PROP_... = ksAmbient, 0.17
PROP_... = ksDiffuse, 0.17
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1

────────────────────── might be useful ────────────────────────
[ANIMATION_...]
INPUT = TRACTIONCONTROL
FILE = tcoff.ksanim
TIME = 0.3
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 0
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 0
INPUT_THRESHOLD_INVERSE = 1
────────────────────── HIDE ────────────────────────
[EMISSIVE_EXTRA_x_0] 
BIND_TO_EXTRA_x=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 0.31
SIMULATE_HEATING = 0
LOCATION =FRONT
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

────────────────────── ANALOG ARROWS ────────────────────────

a
