[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

; background
RECT_4 = 1
RECT_4_START = 0, 0
RECT_4_SIZE = 1000, 860
RECT_4_COLOR = 0, 0, 0.024, 1
RECT_4_Z_INDEX = -1000

; 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 = 00
TEXT_CSP_0_START = 100, 155
TEXT_CSP_0_SIZE = 270, 48
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 0.8, 0.8
TEXT_CSP_0_BOLD = 0

; main text
TEXT_CSP_3 = "{Artist}"
TEXT_CSP_3_NOALBUM = "{Artist}"
TEXT_CSP_3_NOARTIST = "{Artist}"
TEXT_CSP_3_FALLBACK = ""
TEXT_CSP_3_ALIGN_LAYOUT = 00
TEXT_CSP_3_START = 100, 190
TEXT_CSP_3_SIZE = 270, 48
TEXT_CSP_3_FONT_TYPE = ITALIC
TEXT_CSP_3_Z_INDEX = 10
TEXT_CSP_3_SCALE = 0.8, 0.8
TEXT_CSP_3_BOLD = 0

; main text
TEXT_CSP_4 = "{Album}"
TEXT_CSP_4_NOALBUM = "{Album}"
TEXT_CSP_4_NOARTIST = "{Album}"
TEXT_CSP_4_FALLBACK = ""
TEXT_CSP_4_ALIGN_LAYOUT = 00
TEXT_CSP_4_START = 100, 225
TEXT_CSP_4_SIZE = 270, 48
TEXT_CSP_4_FONT_TYPE = ITALIC
TEXT_CSP_4_Z_INDEX = 10
TEXT_CSP_4_SCALE = 0.8, 0.8
TEXT_CSP_4_BOLD = 0

; track position
TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
TEXT_CSP_1_ALIGN_LAYOUT = 0
TEXT_CSP_1_START = 75, 297
TEXT_CSP_1_SIZE = 460, 48
TEXT_CSP_1_FONT_TYPE = MONOSPACE
TEXT_CSP_1_Z_INDEX = 10
TEXT_CSP_1_SCALE = 0.9, 0.9
TEXT_CSP_1_BOLD = 0
TEXT_CSP_1_COLOR = 0, 0.5, 1, 1

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

; progress bar background
RECT_5 = 1
RECT_5_START = 90, 274
RECT_5_SIZE = 545, 10
RECT_5_Z_INDEX = 11
RECT_5_COLOR = 1, 1, 1, 1

; progress bar background
RECT_6 = 1
RECT_6_START = 80, 274
RECT_6_SIZE = 545, 10
RECT_6_Z_INDEX = 12
RECT_6_COLOR = 0, 0.5, 1, 1
RECT_6_SCALE_WITH_PROGRESS = 1, 0

; album cover in the middle
ALBUM_COVER_0 = 1
ALBUM_COVER_0_START = 650, 40
ALBUM_COVER_0_SIZE = 330, 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 = 350, 180
ANIMATION_0_BLOCK = 12, 6
ANIMATION_0_MARGIN = 3, 3
ANIMATION_0_BASE_ROW = BOTTOM
ANIMATION_0_COLOR = 0, 0.5, 1, 1


[INCLUDE: common/custom_emissive.ini]


[CustomEmissiveMulti]
Meshes = cluster_warning
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 = "0, 10,0 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "0, 10,0 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "327, 439", Size = "80, 47", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "326, 355", Size = "79, 60", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "501, 349", Size = "82, 71", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "0, 0, 80",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "0, 80, 0",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "60, 30, 0",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "60, 30, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "680, 438", Size = "66, 63", Color = "60, 30, 0", InputThreshold = 39, 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", 



[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = ExtBody
DisableDev = 1


[Material_CarPaint_Solid]
FresnelMax = 0.3
FresnelC = 0.1
FlakesK = 0.5
AmbientSpecular = 0.01
SpecularBase = 1.0, 300
BrightnessAdjustment = 0.8 ; compensates for ambient specular
ColoredSpecular = 0.9
AmbientSpecularEXP = 2.0
ClearCoatThickness = 0.1

[WIPERS]
WIND_THRESHOLDS_KMH = 60, 150 ; 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 = Glass_SUB2
WIPERS = WIPER4, WIPER2



[ANIMATION_0]
FILE=gps.ksanim
TIME= 0.01
BIND_TO_EXTRA_A=1

[ANIMATION_1]
FILE=hud.ksanim
TIME= 0.01
BIND_TO_EXTRA_B=1



[EXTRA_FX_EMISSIVE_...]
MESHES =intemissiveon; list of meshes
DIGITAL_INSTRUMENTS =   ; filters for digital instruments (for most of them,
    ; names of sections in “digital_instruments.ini”), only for cars
RANGE = 0.06              ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 80,90,150,.02               ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0.9      ; set for 0 for point light and 1 for directed light, or to 
    ; something in-between (by default guessed based on mesh shape)
EXTERIOR_ONLY = 0
INTERIOR_ONLY = 1
; Optional advanced tweaks for more complex cases
EMISSIVE_TWEAK = 1       ; extra tonemapping for emissive color to balance things out
    ; (set to 0 to disable, set above 1 to further reduce effect or large emissive value)
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 0 ; set to 1 to use COLOR and emissive color only

[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


EMERGENCY BRAKE
[EMISSIVE_BRAKE_...]
NAME=Circle
COLOR=110, 10, 10, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 110, 10, 10, 2
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking


[EMISSIVE_BRAKE_...]
NAME=brakelights
COLOR=255,1,0,10
FALLBACK_HEADLIGHTS_COLOR=0,0,0
LAG=0.7
SIMULATE_HEATING=0
CAST_LIGHT=1

[INSTRUMENTS]
SPEED_LAG=0.7
SPEED_LIMIT=270

[EMISSIVE_LIGHT_...]
NAME=object_mat_m3_g80_104.001, steeringwheel15, misc_e01_002_001.002, misc_e01_002_001.001, misc_e01_002_001.004, object_mat_m3_g80_102.001
COLOR=2,0.2,0,2
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_LIGHT_...]
NAME=ekran
COLOR=2,2,2
OFF_COLOR=2,2,2
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_LIGHT_...]
NAME=Circle.001
COLOR=0.1,0.1,0.1
OFF_COLOR=0.1,0.1,0.1
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_LIGHT_...]
NAME=Coloured_001_001.004, Coloured_001_001.003, Coloured_001_001.002
COLOR=80,2,2
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_HAZARD_...]
COLOR=4,1,0
NAME=misc_e04
FALLBACK_HEADLIGHTS_COLOR=1,1,1
LAG=0.1

[EMISSIVE_LIGHT_...]
NAME=intemissiveon,platelight,plakaisik
COLOR=2,2,2
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_REVERSE_0]
NAME=reverselights
COLOR=25, 25, 25,10
LAG=0.8
SIMULATE_HEATING=0.3

[EMISSIVE_HAZARD_0]
NAME=HAZARD
COLOR=2, 0, 0
LAG=0.0
SIMULATE_HEATING=0.0

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=indicator_lm
COLOR=25, 12, 0,8
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=indicator_lr
COLOR=25, 12, 0,8
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=ind_lf
COLOR=25,12, 0, 8
OFF_COLOR=25.5, 25.5, 0
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=indicator_rr
COLOR=25, 12, 0, 8
LAG=0.5
SIMULATE_HEATING=0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=indicator_rm
COLOR=25, 12, 0,8
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=ind_rf
COLOR=25,12, 0, 8
OFF_COLOR=25.5, 25.5, 0
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_LIGHT_...]
NAME=onled
COLOR=25.5, 25.5, 0
OFF_COLOR=25.5, 25.5, 0
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
TOGGLE_VISIBILITY=0

[EMISSIVE_LIGHT_...]
NAME=taillightson
COLOR=150,20,0,1.5
OFF_COLOR=0,0,0
LAG=0.8
SIMULATE_HEATING=0.0
CAST_LIGHT=1
TOGGLE_VISIBILITY=0


[EMISSIVE_LIGHT_...]
NAME=onfarust_001_001, group001
COLOR=250,250,270,2
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0

[INCLUDE: common/selflighting.ini]






[SelfLight_Headlights]
MIRROR = 0.727
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.669, 1.83
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfarust_001_001
SPOT_SHARPNESS = 0.5
SPOT = 110
COLOR =14,14,15,1
SPECULAR_MULT = 0
RANGE =0.2

[SelfLight_Headlights]
MIRROR = 0.579
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.651, 1.95
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfarust_001_001
SPOT_SHARPNESS = 0.5
SPOT = 150
COLOR =14,14,15,1
SPECULAR_MULT = 0
RANGE =0.2


[SelfLight_Headlights]
MIRROR = 0.727
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.6, 1.83
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfaralt
SPOT_SHARPNESS = 0.5
SPOT = 150
COLOR =14,14,15,10
SPECULAR_MULT = 0
RANGE =0.5

[SelfLight_Headlights]
MIRROR = 0.579
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.6, 1.95
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfaralt
SPOT_SHARPNESS = 0.5
SPOT = 150
COLOR =14,14,15,5
SPECULAR_MULT = 0
RANGE =0.5

[EXTRA_FX_EMISSIVE_...]
MESHES =Circle.001; list of meshes
DIGITAL_INSTRUMENTS =   ; filters for digital instruments (for most of them,
    ; names of sections in “digital_instruments.ini”), only for cars
RANGE = 0.2            ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 25.5,25.5,25.5,.01            ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0      ; set for 0 for point light and 1 for directed light, or to 
    ; something in-between (by default guessed based on mesh shape)
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
; Optional advanced tweaks for more complex cases
EMISSIVE_TWEAK = 1       ; extra tonemapping for emissive color to balance things out
    ; (set to 0 to disable, set above 1 to further reduce effect or large emissive value)
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 1 ; set to 1 to use COLOR and emissive color only






[EMISSIVE_HIGHBEAM_...]
NAME=onfaralt
BOUND_TO= LOW_BEAM
COLOR=480,480,580,2 
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
LOCATION=MIDDLE

[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES=numplate_001_001
OFFSET=0.04, 0.05,0
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.3
SPOT=150
SPOT_SHARPNESS=0.1
COLOR=5,5,5,5

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,5,6,10
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.367, 0.908, 0.58
DIRECTION=0,0.1,-0.9
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=100
SPOT_SHARPNESS=0.3


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=0
COLOR=5,5,6,5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.367, 0.908, 0.58
DIRECTION=0,0.1,-0.9
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=100
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=0
COLOR=5,5,6,1
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.0005, 0.9, 0.48
DIRECTION=0,0.1,-0.9
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=180
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=0
COLOR=5,1,0,0.3
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.0104, 0.728, 0.45
DIRECTION=0,0.1,-0.9
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=180
SPOT_SHARPNESS=0.3


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=0
COLOR=5,1,0,1
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.366, 0.872, 0.253
DIRECTION=0,0.1,-0.9
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=180
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.72, 0.857, 0.302
DIRECTION=-0.9,0.5,0.9
RANGE=0.15
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.72, 0.857, 0.302
DIRECTION=0.9,0.5,0.9
RANGE=0.15
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,15
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.7, 0.6, 0.272
DIRECTION=0,-0.5,0
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,15
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.7, 0.6, 0.272
DIRECTION=0,-0.5,0
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.466, 0.52, 0.89
DIRECTION=0,-0.5,0
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.466, 0.52, 0.89
DIRECTION=0,-0.5,0
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,2
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.23, 0.78, 0.36
DIRECTION=0,0.5,0.9
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,2
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.23, 0.78, 0.36
DIRECTION=0,0.5,0.9
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,2
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.657, 0.81, 0.4
DIRECTION=0,0.5,0.9
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,1,0,2
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.657, 0.81, 0.4
DIRECTION=0,0.5,0.9
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3


[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials=





[INCLUDE: common/navigators.ini]
[Navigator_StyleModernDark]
Meshes =  ; here, use the name of that mesh
Brightness = 1 ; adjust brightness later so it wouldn’t shine too much
@ = Navigator_Size 
Resolution = 1200,600
Offset = 0, 0 
Size = 1200,600
Scale = 0.5 


[INCLUDE: common/materials_glass.ini]
ExteriorGlassFilmedMaterials= 
ExteriorGlassTintedMaterials= 
ExteriorGlassHeadlightsMaterials = 
[Material_PhotoelasticGlass]
Meshes= 



;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials =Window, glassfront1, GlassClear2
ThicknessMult = 2.5
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=2.5

[INCLUDE: common/materials_interior.ini]
;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = CSR2_Carbon2
BrightnessAdjustment = 0.20
ClearCoatF0 = 0.25
DetailScale = 400


;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = ExtCarbon
BrightnessAdjustment = 0.10
ClearCoatF0 = 0.01
DetailScale = 600


[Material_Carbon]
Materials = 
BrightnessAdjustment = 0.10
ClearCoatF0 = 0.1
DetailScale = 2000

[INCLUDE: common/materials_carpaint.ini]
[Material_InteriorPBRDetail]
Materials = CSR2_Light2
DetailNormalTexture = common/pbr_metal_satin.dds
DetailScale = 15
ApplyTilingFix = 1
BrightnessAdjustment = 0.01
DetailNormalPBRSmoothness = 0.8
DetailNormalPBRSmoothnessGamma = 1
Metalness = 0.2
Reflectance = 0.1
LocalReflectionsSharpness = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

[INCLUDE: common/materials_carpaint.ini]
[Material_Metal_v2]
Materials = chrome
BrightnessAdjustment = 0.1
DetailScale = 700
Metalness = 0.50
Reflectance = 0.20
LocalReflectionsSharpness = 0.9			
DetailTexture = 1

[Material_Plastic_v2]
Materials = CSR2_Grille7
BrightnessAdjustment = 0.1
DetailScale = 100

;INTERIOR PBR
[INCLUDE: common/materials_interior.ini]
[Material_Metal_v2]
Materials = intmetal
BrightnessAdjustment = 0.05
DetailScale = 0
Metalness = 0.20
Reflectance = 0.10
LocalReflectionsSharpness = 0.1
DetailTexture = 1
[Material_Velvet]
Materials=roofint, CSR2_Colouredb
BrightnessAdjustment=0.2
[Material_Carpet]
Materials=carpet
BrightnessAdjustment=0.3
[Material_Leather]
Materials=leathertop, leatherseat2, CSR2_Grille6, leatherseat1, leatherst
BrightnessAdjustment=0.2
[Material_Plastic]
Materials=intplastic,
BrightnessAdjustment = 0.12
[Material_Plastic]
Materials=CSR2_Grille7
BrightnessAdjustment = 0.01
[Material_Carbon]
Materials=CSR2_Carbon1
DetailScale = 200
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15
Reflectance = 0.1


[Material_Metal_v2]
Meshes = Plane.003
DetailScale=11
Metalness=0.9
OcclusionMult = 1
BrightnessAdjustment=0.01


[INCLUDE: common/materials_glass.ini]


[LIGHT_FLAME_...]
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1.8
CAR_RANGE_MULT=0.1
COLOR=5,1,1
DEBUG=1
DIRECTION_MULT=1, 1, 1
FADE_AT=50
FADE_SMOOTH=30
OFFSET=0.2
RANGE=2
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.8

[EXHAUST_FLAMES]
ANTILAG=1 				; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.2			; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=15 			; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
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.2 		; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0 			; delay after throttle lift
DISCHARGE_DURATION=0.8 			; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=0.7		; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=3.1			; flame size
DISCHARGE_RPM_THRESHOLD_MAX=8900 	; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=5000 	; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0 				; on upshift
FLAT_SHIFT_COOLDOWN=0 			; after upshift
FLAT_SHIFT_DURATION=0.1 		; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=70 		; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=0.1 			; flame size
FLAT_SHIFT_PROBABILITY=0.2 		; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=0 				; on hitting the limiter
LIMITER_DELAY=0 			; delay, in seconds
LIMITER_INTENSITY=1 			; flame size
LIMITER_RPM_THRESHOLD=7000 		; limiter flames will not shoot below this rpm


[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = ekran
Resolution = 1024, 384    ; texture resolution
Size = 1024, 384           ; size of the screen area
Offset = 2, 5       ; left top corner of screen area
Scale = 1            ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.1, -2.4  ; position of rear view camera
aftermarketComponent = 1

