

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

MESHES = ekran2
RESOLUTION = 704, 300
DISPLAY_POS = 250, 70
DISPLAY_SIZE = 1205, 630
COLOR = 1, 1, 1
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2

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

; main text
TEXT_CSP_0 = "{Artist} - {Track}"
TEXT_CSP_0_NOALBUM = "{Artist} - {Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 20, 140
TEXT_CSP_0_SIZE = 460, 48
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 0.8, 0.9
TEXT_CSP_0_BOLD = 1

; album cover in the middle
ALBUM_COVER_0 = 1
ALBUM_COVER_0_START = 80, 10
ALBUM_COVER_0_SIZE = 200, 100
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

; shadow at the bottom of middle album cover
RECT_0 = 1
RECT_0_START = 100, 10
RECT_0_SIZE = 160, 100
RECT_0_Z_INDEX = -0.5
RECT_0_COLOR = 0, 0, 0.024, 0
RECT_0_COLOR_BL = 0, 0, 0.024, 1
RECT_0_COLOR_BR = 0, 0, 0.024, 1

; animation below album cover
ANIMATION_0 = 12, 8
ANIMATION_0_START = 80, 75
ANIMATION_0_BLOCK = 14, 4
ANIMATION_0_MARGIN = 3, 3
ANIMATION_0_BASE_ROW = BOTTOM

; reflected animation below album cover
ANIMATION_1 = 12, 8
ANIMATION_1_START = 00, 000
ANIMATION_1_BLOCK = 14, -4
ANIMATION_1_MARGIN = 3, -3
ANIMATION_1_BASE_ROW = BOTTOM
ANIMATION_1_COLOR = 1, 1, 1, 0.2
ANIMATION_1_Z_INDEX = -20

; gradient on top of reflected animation for fading
RECT_1 = 1
RECT_1_START = 100, 55
RECT_1_SIZE = 300, 30
RECT_1_Z_INDEX = -15
RECT_1_COLOR = 0, 0, 0.024, 0
RECT_1_COLOR_BL = 0, 0, 0.024, 1
RECT_1_COLOR_BR = 0, 0, 0.024, 1

; fully covering its distant bit
RECT_2 = 1
RECT_2_START = 100, 85
RECT_2_SIZE = 300, 60
RECT_2_Z_INDEX = -15
RECT_2_COLOR = 0, 0, 0.024, 1

; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
ALBUM_COVER_1 = 1
ALBUM_COVER_1_START = 0, 0
ALBUM_COVER_1_SIZE = 341, 227
ALBUM_COVER_1_COLOR = 1, 1, 1, 0.3
ALBUM_COVER_1_Z_INDEX = -10

; extra covering gradient for that background cover
RECT_3 = 1
RECT_3_START = 0, -150
RECT_3_SIZE = 500, 100
RECT_3_Z_INDEX = -9
RECT_3_COLOR = 0, 0, 0.024, 0
RECT_3_COLOR_TL = 0, 0, 0.024, 1
RECT_3_COLOR_BL = 0, 0, 0.024, 1



; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = CSR2_CarPaint, CSR2_CarPaint3, CSR2_CarPaint5
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
Materials = CSR2_CarPaint, CSR2_CarPaint3, CSR2_CarPaint5
LocalReflectionsForce = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 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.01 ; base animation

[WIPERS_TRACE_...]
SURFACE = Glass_SUB2
WIPERS = WIPER1, WIPER2

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

[ANIMATION_0]
FILE=car_door_l.ksanim
TIME= 1
BIND_TO_EXTRA_C=1

[ANIMATION_1]
FILE=car_door_r.ksanim
TIME= 1
BIND_TO_EXTRA_C=1

[ANIMATION_5]
FILE=hood.ksanim
TIME= 1
BIND_TO_EXTRA_D=1



[ANIMATION_7]
FILE=cluster.ksanim
TIME= 0.01
BIND_TO_EXTRA_A=1

[ANIMATION_8]
FILE=gps.ksanim
TIME= 0.01
BIND_TO_EXTRA_B=1


[INCLUDE]
INCLUDE=common/no_popup_lights.ini
[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1




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

[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






[LIGHTING]
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.04
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.05

[BOUNCED_INTERIOR_LIGHT]
MULT=1,1,1,2


[INSTRUMENTS]
SPEED_LAG=0.7
SPEED_LIMIT=270

[EMISSIVE_LIGHT_3]
NAME=ekran, ekran2
COLOR=1,1,1
OFF_COLOR=1,1,1
LAG=0.7
SIMULATE_HEATING=0



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

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

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

[EMISSIVE_LIGHT_...]
NAME=taillight_l03, taillight_r03, taillight_r, taillight_l
COLOR=55,5,0,3
LAG=0.7
SIMULATE_HEATING=0

[EMISSIVE_LIGHT_...]
NAME=Coloured_001_001.008, Coloured_001_001.010, Interior_SUB1_002_001.003, Coloured_001_001.003
COLOR=55,1,0,3
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=misc_e04
COLOR=20, 0, 0
LAG=0.0
SIMULATE_HEATING=0.0

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=ind_lf
COLOR=50, 10, 0,5
OFF_COLOR=5,5,5,10
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=indicator_lm, indicator_lr
COLOR=50, 10, 0,5
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=
COLOR=50, 10, 0,5

LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=ind_rf
COLOR=50, 10, 0,5
OFF_COLOR=5,5,5,10
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=indicator_rr, indicator_rm
COLOR=50, 10, 0,5
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=
COLOR=50, 10, 0,20
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=FRONT



[EMISSIVE_LIGHT_...]
NAME=onled
COLOR=5,5,6,10
OFF_COLOR=5,5,6,10
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=1
TOGGLE_VISIBILITY=0

[EMISSIVE_LIGHT_...]
NAME=onfarust_001_001
COLOR=230,230,250,10
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
MIRROR = 0.722
DIRECTION = 0,-0.5,1
POSITION = 0, 0.682, 1.87
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfarust_001_001
SPOT_SHARPNESS = 0.5
SPOT = 131
COLOR =14,14,16,5
SPECULAR_MULT = 0
RANGE = 0.5	

[SelfLight_Headlights]
MIRROR = 0.559
DIRECTION = 0,-0.5,1
POSITION = 0, 0.663, 1.9
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onled
SPOT_SHARPNESS = 0.3
SPOT = 131
COLOR =14,14,16,7
SPECULAR_MULT = 0
RANGE = 0.5

[SelfLight_Headlights]
MIRROR = 0.544
DIRECTION = 0,-0.5,1
POSITION = 0, 0.629, 1.94
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = onfaralt
SPOT_SHARPNESS = 0.5
SPOT = 131
COLOR =14,14,16,8
SPECULAR_MULT = 0
RANGE = 0.5


[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0.731, 0.65, 1.86
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = ind_lf
SPOT_SHARPNESS = 0.5
SPOT = 200
COLOR =5,5,5,5
SPECULAR_MULT = 0
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0.57, 0.65, 1.9
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = ind_lf
SPOT_SHARPNESS = 0.5
SPOT = 200
COLOR =5,5,5,8
SPECULAR_MULT = 0
RANGE = 0.5

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = -0.731, 0.65, 1.86
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = ind_rf
SPOT_SHARPNESS = 0.5
SPOT = 200
COLOR =5,5,5,5
SPECULAR_MULT = 0
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = -0.57, 0.65, 1.9
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = ind_rf
SPOT_SHARPNESS = 0.5
SPOT = 200
COLOR =5,5,5,8
SPECULAR_MULT = 0
RANGE = 0.5



[EMISSIVE_HIGHBEAM_...]
NAME=onfaralt
BOUND_TO= LOW_BEAM
COLOR=480,480,680,5 
LAG=0.5
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.78, 0.3
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.78, 0.3
DIRECTION=0,0.5,0.9
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=280
SPOT_SHARPNESS=0.3


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

[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials=Window,glassmtl





[INCLUDE: common/navigators.ini]
[Navigator_StyleModernDark]
Meshes = ekran ; 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 = 420, 90 
Size = 750,500
Scale = 0.5 

[INCLUDE: common/navigators.ini]
[Navigator_StyleModernDark]
Meshes = Interior003_001_001
Brightness = 1 
@ = Navigator_Size 
Resolution = 2500,2500
Offset = 1070, 1030 
Size = 450,500
Scale = 0.15 

SmallButtonSize = 32

BTN_ALIGN_ICON = 
BTN_LAYERS_ICON =
BTN_LOCK_ICON =
BTN_PHONE_ICON = 
BTN_PHONE_MESSAGE_ICON = 
BTN_SATELLITE_ICON =
BTN_ZOOM_IN_ICON = 
BTN_ZOOM_OUT_ICON = 
CURRENT_TRACK_ICON = 
TRAVEL_INFO_MESSAGE_ICON =

@ = Navigator_Component, ComponentID = SECTOR_INFO
@ = Navigator_FadingComponent, Down
@ = Navigator_ComponentLayout, Left = 100, Bottom = 0, Right = 100, Height = 64, Align = "0.5, 0.5", Padding = "20, 0", SmallFont
SECTOR_INFO_BG_COLOR = 0, 0, 0, 0
SECTOR_INFO_TEXT_COLOR = $FgColor

@ = Navigator_Component, ComponentID = TRAVEL_INFO
@ = Navigator_ComponentLayout, Left = 0, Bottom = 0, Width = 120, Height = 64, SmallFont
TRAVEL_INFO_TEXT_COLOR = $FgColor
TRAVEL_INFO_FORMAT = "{DistanceLeft}\nETA: {ETA}"

@ = Navigator_Component, ComponentID = CURRENT_TRACK
@ = Navigator_FadingComponent, Up
@ = Navigator_ComponentLayout, 
Left = 0, Right = 0, Top = 0, Height = 100,\
	Padding = "76, 10", ExtraOffset = "52, 0", Align = "0, 0.5", IconCenter = "48, 50%", IconSize = 32, SmallFont
@ = Navigator_ComponentLayout_ExtraLine, LineID = 0, From = "96, 12", To = "96, 88", Thickness = 2, Color = "#FFF, 0.2"
CURRENT_TRACK_FORMAT = "{Track}\n{Album}\n{Artist}"
CURRENT_TRACK_NOALBUM_FORMAT = "{Track}\n{Artist}"
CURRENT_TRACK_NOARTIST_FORMAT = "{Track}"



















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



;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = 
ThicknessMult = 3
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=3

[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = Window
ThicknessMult = 2.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=3

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

[INCLUDE: common/materials_interior.ini]
;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = CSR2_Carbon3
BrightnessAdjustment = 0.10
ClearCoatF0 = 0.1
DetailScale = 2000

[INCLUDE: common/materials_interior.ini]
;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = BMW_M4CoupeMPerformance_2021Carbon1_Material
BrightnessAdjustment = 0.20
ClearCoatF0 = 0.1
DetailScale = 300

[INCLUDE: common/materials_carpaint.ini]
[Material_InteriorPBRDetail]
Materials = 
DetailNormalTexture = common/pbr_metal_satin.dds
DetailScale = 100
ApplyTilingFix = 1
BrightnessAdjustment = 0.0
DetailNormalPBRSmoothness = 0.8
DetailNormalPBRSmoothnessGamma = 1
Metalness = 0.1
Reflectance = 0.51
LocalReflectionsSharpness = 0.3
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

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

[INCLUDE: common/materials_carpaint.ini]
[Material_Metal_v2]
Materials = BMW_M4CoupeMPerformance_2021Coloured_Material2
BrightnessAdjustment = 0.0
DetailScale = 30
Metalness = 0.10
Reflectance = 0.020
LocalReflectionsSharpness = 0.5			
DetailTexture = 1


[Material_Metal_v2]
Materials = BMW_M4CoupeMPerformance_2021Coloured_Material
BrightnessAdjustment = 0.01
DetailScale = 0
Metalness = 0.10
Reflectance = 0.10
LocalReflectionsSharpness = 0.1			
DetailTexture = 1

[Material_Metal_v2]
Materials = enginemetalb
BrightnessAdjustment = 0.01
DetailScale = 20
Metalness = 0.10
Reflectance = 0.10
LocalReflectionsSharpness = 0.1			
DetailTexture = 1

[Material_Metal_v2]
Materials = enginemetal
BrightnessAdjustment = 0.1
DetailScale = 100
Metalness = 0.20
Reflectance = 0.10
LocalReflectionsSharpness = 0.1			
DetailTexture = 1


[Material_Metal_v2]
Materials = CSR2_Grille7
BrightnessAdjustment = 0.01
DetailScale = 100
Metalness = 0.00
Reflectance = 0.00
LocalReflectionsSharpness = 0.1			
DetailTexture = 1

[Material_Plastic_v2]
Materials =engineplastic
BrightnessAdjustment = 0.1
Reflectance = 0.1
DetailScale = 300


[Material_Plastic_v2]
Materials =BMW_M4CoupeMPerformance_2021_Wheel1A_3D_3DWheel3A_Material.002
BrightnessAdjustment = 0.01
Reflectance = 0.1
DetailScale = 300

;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, clotch
BrightnessAdjustment=0.5
[Material_Leather]
Materials= leathertop, leatherseat2, grille6_diff, leatherseat3
BrightnessAdjustment=0.2
[Material_Leather]
Materials= feltzer_roof
BrightnessAdjustment=0.2
[Material_Plastic]
Materials=lpframe
BrightnessAdjustment = 0.05
DetailScale = 20
[Material_Plastic]
Materials=intplastic
BrightnessAdjustment = 0.2
[Material_Carbon]
Materials=CSR2_Carbon1
DetailScale = 200
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15
Reflectance = 0.1


[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_glass.ini]



[PARTICLES_FX_EXHAUST_1]
POSITION = 0.179, 0.249, -2.38		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears
	

[PARTICLES_FX_EXHAUST_2]
POSITION = -0.179, 0.249, -2.38		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears


[PARTICLES_FX_EXHAUST_3]
POSITION = 0.0937, 0.304, -2.38		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears
	

[PARTICLES_FX_EXHAUST_4]
POSITION = -0.0937, 0.304, -2.38		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears




[LIGHT_FLAME_0]
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1.8
CAR_RANGE_MULT=0.2
COLOR=5,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.8

[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


[INCLUDE: common/custom_emissive.ini]


[CustomEmissiveMulti]
Meshes = cluster_warning.001
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", 


