[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=40 ; flame size
ANTILAG_INTERVAL_MAX=9000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DI3CHARGE_CHARGE_TIME=0.001 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=3.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=9000 ; 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=5 ; 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=5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=8500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=5 ; flame size
LIMITER_RPM_THRESHOLD=2000 ; limiter flames will not shoot below this rpm


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

[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW] ; Exhaust Glow
MESHES = exh
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

[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


[INCLUDE: common/materials_interior.ini] 

[Material_Leather_v2]
Materials =
BrightnessAdjustment = 0.31
Smoothness = 0.55
Reflectance = 0.37
DetailNormalTexture = common/pbr_leather_spotty.dds
DetailNormalIntensity = 1
DetailNormalPBRSecondaryColor = 0, 0, 0, 1.95
DetailNormalBlend = 1

[Material_Leather_v2]
Materials = 
BrightnessAdjustment = 0.41
Smoothness = 0.41
Reflectance = 0.17
DetailNormalTexture = common/pbr_leather_spotty.dds
DetailNormalIntensity = 0.1
DetailNormalPBRSecondaryColor = 5.0, 5.0, 5.0, 0.45
DetailNormalBlend = 1


[Material_Carbon] ; Smooth Carbon with clear coat
Meshes = ; Put object name here
HasDetailNormals = 1 ; Value 1 is to call the carbon.png file as the main texture.
Smoothness = 1 ; How smooth the texture applied, there's big smoothness difference betwenn 0.99 and 1. Value 1 is highly reflective
Reflectance = 0.34 ; How reflective is the texture applied.
CubemapReflectionBlur = 0.05 ; Control the blur of the reflection, make it higher to have blurred reflection.
BrightnessAdjustment = 0.02 ; Adjust the value higher to make it brighter, works with value more than 1.0
UseClearCoat = 1 ; 1 is applying clear coat on the surface
ClearCoatSmoothness = 1 ; Smoothness of the clear coat.
ClearCoatIntensity = 1.45 ; How thick is the clear coat
DetailTexture = common/carbon.png ; default Kunos carbon texture
DetailNormalTexture = common/carbon_nm.png ; normal mapping
DetailNormalBlend = 1 ; Consider this as the opacity, try 0.65 or less to make it subtle.
DetailScale = 165 ; DetailScale is not a fixed number, sometimes lower value than 1 is already make the texture pattern looks big. This is dependant to the mapping of the 3D model. Play around with it to get the perfect value you want.

[Material_Carbon] ; Smooth Carbon Panel 
Meshes = skirtltrim_b_002
HasDetailNormals = 100
Smoothness = 0.3
Reflectance = 0.15
CubemapReflectionBlur = 0.10
BrightnessAdjustment =0.05
UseClearCoat = 0
ClearCoatSmoothness = 300
ClearCoatIntensity = 0.15
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend =100
DetailScale = 2500


[Material_Aluminium_v2] ; ROLLCAGE
Meshes=bmw_m4gts_16_wheellf005,bmw_m4gts_16_wheellf015,bmw_m4gts_16_wheellf_004,bmw_m4gts_16_wheellf010
Metalness = 0.50
Reflectance = 0.10
Smoothness = 1
BrightnessAdjustment = 0.124
DetailTexture = 100
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0.9, 0.9, 0.9, 2 
DetailScale = 1000
DetailNormalBlend =100
DetailNormalPBRSmoothnessGamma = 1
CubemapReflectionBlur = 0.05

[Material_Carbon]
Materials =
HasDetailNormals = 100
Smoothness = 0.80
Reflectance = 0.15
CubemapReflectionBlur = 0.05
BrightnessAdjustment = 0.15
UseClearCoat = 0
ClearCoatSmoothness = 0.20
ClearCoatIntensity = 0.15
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 100
DetailScale = 1000

[Material_Carbon]
Materials = paint_orange_#D72A03FF.001
HasDetailNormals = 100
Smoothness = 0.90
Reflectance = 0.10
CubemapReflectionBlur = 0.0
BrightnessAdjustment = 0.05
UseClearCoat = 0.50
ClearCoatSmoothness = 1
ClearCoatIntensity = 0.50
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0
DetailScale = 100

[Material_Aluminium_v2]
Materials =
Metalness = 0.84
Reflectance = 0.85
Smoothness = 0.95
BrightnessAdjustment = 0.924
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 1.7
DetailScale = 0
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1
CubemapReflectionBlur = 0.35

[Material_Metal_v2]
Meshes=
Metalness=0.44
Smoothness=0.84
Reflectance = 0.84
DetailNormalPBRSecondaryColor = 0, 0, 0, 1.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSmoothnessGamma = 1.6
DetailTextureBlur = 1

[Material_Aluminium_v2]
Materials = 
Metalness = 0.43
Reflectance = 0.44
Smoothness = 0.03
BrightnessAdjustment = 1.7
LocalReflectionsSharpness = 1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0.7,0.7,0.7,8.5
DetailScale = 8
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1
CubemapReflectionBlur = 0.25

[Material_Plastic_v2]
Materials = 
HasDetailNormals = 1
Smoothness = 0
Reflectance = 0.32
CubemapReflectionBlur = 0.112
UseClearCoat = 0
ClearCoatSmoothness = 0.50
ClearCoatIntensity = 0.15
DetailNormalBlend = 1
DetailScale = 50

;INT PLASTIC GLOSSY
[Material_Plastic_v2]
Materials = 
Reflectance = 0.2
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
OcclusionMult = 1.2
BrightnessAdjustment = 0.35

;INT VELVET
[Material_Velvet_v2]
Materials = 
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = .05,.05,.05,1.5
UseClothShading = 1
Reflectance = 0.005
DetailScale = 55
ClothSheenColor = 1,1,1

;INT SW CLOTH
[Material_Velvet_v2]
Materials = 
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0.1,0.1,0.1,1
UseClothShading = 1
Reflectance = 0.5
DetailScale = 6
ClothSheenColor = 1,1,1

;================= WINDOWS TINT ================

[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials =Windows_Glass
ThicknessMult = 5
FilmIOR=1

[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = 
ThicknessMult = 5
FilmIOR=1	

[INCLUDE: common/materials_glass.ini]
[Material_Glass] ; front
Meshes =
IOR = 1.5            ; index of refraction for glass, usualy, 1.5
FilmIOR = 0.42       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 3.05  ; thicker glass passes less light through
ProfileFix = 0.00    ; adds thickness to glass for glazing angles
BrightnessAdjustment = 0.05


[Material_Glass] ; side & rear
Meshes =
IOR = 1.5           ; index of refraction for glass, usualy, 1.5
FilmIOR = 0.5       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 9.42  ; thicker glass passes less light through
ProfileFix = 0.00    ; adds thickness to glass for glazing angles
BrightnessAdjustment = 0.15

[Material_Glass] ; motec display
Meshes =
IOR = 1.5            ; index of refraction for glass, usualy, 1.5
FilmIOR = 0.43     ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.05  ; thicker glass passes less light through
ProfileFix = 0.00    ; adds thickness to glass for glazing angles
BrightnessAdjustment = 0.41

[SHAKING_EXHAUST_...]
MESHES = geo_exhaust_sub1_leftside,geo_exhaust_sub1_rightside,geo_exhaust_sub2_leftside,geo_exhaust_sub2_rightside
POINT_1 = 0.27, 0.28, -1.8
POINT_1_RADIUS = 1.0
POINT_1_EXP = 3.5
POINT_1_SCALE = 0.6

[DATA] 
DISABLE_LIGHTSINI = 1

;     ///Exterior Lights///
[EMISSIVE_LIGHT_...] ; Low Beam
NAME=Headleds
COLOR=10,10,20,5
OFF_COLOR=10,10,20,2
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=Front_Right_signal_002,Front_Left_Signal
COLOR=20,6,0,5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] 
NAME=Light_Extra.001,Light_Extra
TOGGLE_VISIBILITY = 0
COLOR=20,6,0,20
LAG=0.0
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_BRAKE_...] ; Brake Lights
NAME=Rear_Brakes,Brake_Top
TOGGLE_VISIBILITY = 0
COLOR=20,0,0,10
LAG=0.3
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_REVERSE_...] ; Brake Lights
NAME=Light_Geo_lodA04
TOGGLE_VISIBILITY = 0
COLOR=100,100,100,1
LAG=0.5
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_LIGHT_...] ; Low Beam
NAME=Brake_Lights
COLOR=20,0,0,5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
MIRROR = 0.65
DIRECTION = 0.1, -1.1,0.4
POSITION = 0, 0.79, 1.75
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 1
BOUND_TO = 
SPOT_SHARPNESS = 0.2
SPOT = 90
COLOR =14,14,14,1
SPECULAR_MULT = 0
RANGE = 0.6

[SelfLight_Headlights]
MIRROR = 0.45
DIRECTION = 0.0, -0.1,0.4
POSITION = 0, 0.79, 1.75
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 1
BOUND_TO = 
SPOT_SHARPNESS = 0.9
SPOT = 90
COLOR =14,14,14,1
SPECULAR_MULT = 0
RANGE = 0.6


;     ///TURN SIGNALS///
[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=Front_Left_Signal
COLOR=120, 60, 0, 5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Rear_Left_Signal
COLOR=120, 60, -10, 0.5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=MIDDLE 
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=mirror_turn_L
COLOR=120, 60, -10, 0.5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=REAR
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=l1
COLOR=-20, 20, -20, 1
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=2.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=Front_Right_signal_002,Front_Right_signal_001
COLOR=120, 60, 0, 5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Rear_Right_signal
COLOR=120, 60, -10, 0.5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=MIDDLE 
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=mirror_turn_R
COLOR=120, 60, 0, 5
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=REAR
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=rb2
COLOR=-20, 20, -20, 1
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=2.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=RightTurn2
COLOR=120, 60, 0, 1
LAG=0.1
REPEAT_FREQENCY_HZ=2.0
LOCATION=REAR
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=4.5

;     ///Interior Lights///

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=
COLOR=0,0,200,3
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Instrument Cluster
NAME=interior_gauge_emissive001,decalgearshift,decalmgear,zff1,klimenjerooisik,GEO_Cockpit_HR_SUB22,GEO_Cockpit_HR_SUB25,GEO_Cockpit_HR_SUB26,GEO_Cockpit_HR_SUB16,interior_gauge_emissive,
COLOR=25,3,1,1.5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Instrument Gauges
NAME=Arrow_RPM002,Arrow_Fuel002,Arrow_Speed002
COLOR=15,1,0
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Buttons 
NAME=Interior_2_Transparent
COLOR=1,1,1,0.5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Cabin Lights
NAME=GEO_DISPLAY_Emissive
COLOR=1,1,1,5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Extra 1
NAME=
COLOR=1,1,1,0.5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Extra 2
NAME=
COLOR=1,1,1,1
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]    ; Extra 3
NAME=
COLOR=1,1,1,1
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.


;     ///Light Config - DO NOT TOUCH!!///


[LIGHT_HEADLIGHT_0]
BIND_TO_HEADLIGHTS=1
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=400
BOUND_EXP=1
COLOR=1.0, 1.0, 1.0, 3
OFF_COLOR=0.0, 0.0, 0.0, 0
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.1, 1.1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=100
LOWBEAM_RANGE_MULT=0.1
LOWBEAM_RANGE_ONCOMING_MULT=0.2
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.68, 2.0
RANGE=300
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=0
SPECULAR_MULT=0

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.655593
MIRROR_DIRECTION=0
POSITION=0, 0.825127, -2.77
RANGE=2
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=2
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
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

[EMISSIVE_HANDBRAKE_0]
NAME=handbreak
TOGGLE_VISIBILITY = 1
COLOR=20, -10, -10
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=10,2.6,-4,3
NAME=tcoff
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_0]
NAME=ligh001,tcoff001
TOGGLE_VISIBILITY = 1
COLOR=0,0,0
OFF_COLOR=10,2.6,-4,3
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_1]
NAME=FER_F12_3d_object_600.001
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_ABS_INACTION_0]
NAME=as
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
OFF_COLOR=0
LAG=0.2

[EMISSIVE_ABS_0]
NAME=failbrakw
TOGGLE_VISIBILITY = 1
COLOR=0,0,0
OFF_COLOR=10,2.6,-4
LAG=0.2

[EMISSIVE_HIGHBEAM_0]
NAME=hb
ACT_AS_HEADLIGHTS=1
COLOR=0,0,30,2
TOGGLE_VISIBILITY = 1

[EMISSIVE_...]
NAME=lowtyrepressure
TOGGLE_VISIBILITY = 1
COLOR=10,2.6,-4
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 40
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_LIGHT_...]
NAME=Rectangle015
COLOR=-10,10,-10
OFF_COLOR=0,0,0
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=1

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1

[AUDIO_VOLUME]
BACKFIRE_INT=400
BACKFIRE_EXT=900
BODYWORK=1
DIRT=0.8
DOWN_SHIFT=5
ENGINE_EXT=2.5
ENGINE_INT=0.8
GEAR_EXT=1.3
GEAR_GRIND=1
GEAR_INT=1.9
HORN=2
LIMITER=0
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=0
TURBO=7
WIND=0.8
SKID_EXT = 2.5
SKID_INT = 0.8


[AUDIO_PITCH]
ENGINE_EXT = 0.90
ENGINE_INT = 0.93
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.05
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.1
BACKFIRE_INT = 1.1
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 0
LIMITER = 0
TURBO = 1.8
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0


[BRAKEDISC_FX]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 20  ; increase to make more lines
GLOW_OFFSET = 0.8      ; 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

; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.1, 0.2  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition

; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
LUMINOCITY_MASK = 0.01, 0.02  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.5, 0.3        ; everything looking away more than 50% is a deepening

[INCLUDE: common/materials_glass.ini]
ExteriorGlassHeadlightsMaterials =frontight_Glass

[Material_PhotoelasticGlass]
Meshes =headlightsglass
PhotoelasticityBaseScale = 4      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.5   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.2  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 1   ; how many stripes are there
ProfileFix = 0.02

[BASIC]
IS_LOW_BEAM_AVAILABLE =0

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = CAR_CHASSIS

[CAR_STEREO_...]
ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = 
RESOLUTION = 1024, 384
DISPLAY_POS = 0, 0
DISPLAY_SIZE = 1024, 384
COLOR = 1, 1, 1
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2

; main text
TEXT_CSP_0 = "{Track}"
TEXT_CSP_0_NOALBUM = "{Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 600, 180
TEXT_CSP_0_SIZE = 210, 48
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 1.5, 1.3
TEXT_CSP_0_BOLD = 0

; main text
TEXT_CSP_3 = "{Artist}"
TEXT_CSP_3_NOALBUM = "{Artist}"
TEXT_CSP_3_NOARTIST = ""
TEXT_CSP_3_FALLBACK = ""
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 600, 67
TEXT_CSP_3_SIZE = 210, 48
TEXT_CSP_3_FONT_TYPE = ITALIC
TEXT_CSP_3_Z_INDEX = 10
TEXT_CSP_3_SCALE = 1.5, 1.3
TEXT_CSP_3_BOLD = 0

; main text
TEXT_CSP_4 = "{Album}"
TEXT_CSP_4_NOALBUM = "{Album}"
TEXT_CSP_4_NOARTIST = ""
TEXT_CSP_4_FALLBACK = ""
TEXT_CSP_4_ALIGN_LAYOUT = 0
TEXT_CSP_4_START = 600, 111
TEXT_CSP_4_SIZE = 210, 48
TEXT_CSP_4_FONT_TYPE = ITALIC
TEXT_CSP_4_Z_INDEX = 10
TEXT_CSP_4_SCALE = 1.5, 1.3
TEXT_CSP_4_BOLD = 0

; track position
TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
TEXT_CSP_1_ALIGN_LAYOUT = 0
TEXT_CSP_1_START = 510, 310
TEXT_CSP_1_SIZE = 460, 48
TEXT_CSP_1_FONT_TYPE = MONOSPACE
TEXT_CSP_1_Z_INDEX = 10
TEXT_CSP_1_SCALE = 0.8, 0.8
TEXT_CSP_1_BOLD = 0

; track duration
TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
TEXT_CSP_2_START = 710, 310
TEXT_CSP_2_SIZE = 180, 48
TEXT_CSP_2_FONT_TYPE = MONOSPACE
TEXT_CSP_2_Z_INDEX = 10
TEXT_CSP_2_SCALE = 0.8, 0.8
TEXT_CSP_2_BOLD = 0

; progress bar background
RECT_5 = 1
RECT_5_START = 518, 335
RECT_5_SIZE = 363, 3
RECT_5_Z_INDEX = 11
RECT_5_COLOR = 0.1, 0.1, 0.1, 0.4

; progress bar background
RECT_6 = 1
RECT_6_START = 518, 335
RECT_6_SIZE = 363, 3
RECT_6_Z_INDEX = 12
RECT_6_COLOR = 0.5, 0.3, 0.1, 1
RECT_6_SCALE_WITH_PROGRESS = 1, 0

; album cover in the middle
ALBUM_COVER_0 = 1
ALBUM_COVER_0_START = 193, 51
ALBUM_COVER_0_SIZE = 331, 320
ALBUM_COVER_0_Z_INDEX = -1
ALBUM_COVER_0_FALLBACK = MUSIC
ALBUM_COVER_0_FALLBACK_COLOR = 0.3, 0.3, 0.3, 1
ALBUM_COVER_0_FALLBACK_BACKGROUND = 0.05, 0.05, 0.05, 1
ALBUM_COVER_0_FALLBACK_SIZE = 28

; animation below album cover
ANIMATION_0 = 17, 8
ANIMATION_0_START = 530, 250
ANIMATION_0_BLOCK = 17, 4
ANIMATION_0_MARGIN = 3, 3
ANIMATION_0_BASE_ROW = BOTTOM


[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME =Headlights
COLOR = 300,300,350 
LAG = 0.5
SIMULATE_HEATING = 0.3

[EMISSIVE_EXTRA_B_1]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME =FOG_CAP0.001,FOG_CAP0.002,FOG_CAP0.003,FOG_CAP0.004,FOG_CAP0.005,FOG_CAP0.006
COLOR = 200,200,350
LAG = 0.5
SIMULATE_HEATING = 0.3

[INCLUDE: android_auto/config.ini]
[INCLUDE: common/navigators.ini]
;ANDROID AUTO
	[Display_AndroidAuto]
		Meshes =Spotify_screen  ; display mesh
		Resolution = 3748, 2108   ; texture resolution
		Size = 3748, 2108           ; size of the screen area
		Offset = 0, 0              ; left top corner of screen area
		Scale = 0.33                  ; might need adjusting to get the scale right
		RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera
		aftermarketComponent=1





[DI_SPEED_...]
	DIGITAL_ITEM = 0
	DIGITAL_ITEM_NUMBER_FORMAT=1.0
	INPUT_MULT = 0.6213711922

[DI_GEAR_...]
	DIGITAL_ITEM = 1
	DIGITAL_ITEM_NUMBER_FORMAT=1.0
[DI_GEAR_...]
	DIGITAL_ITEM = 2
	DIGITAL_ITEM_NUMBER_FORMAT=1.0
[DI_COMPASS_...]
	DIGITAL_ITEM = 3
	DIGITAL_ITEM_NUMBER_FORMAT=1.0