[INCLUDE] 
INCLUDE=common/selflighting.ini, common/materials_glass.ini, common/materials_license_plate.ini, common/materials_interior.ini, common/materials_carpaint.ini, common/custom_emissive.ini, common/navigators.ini, common/conditions.ini
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,  material:GlassRed    
SKIP_GBUFFER =  
[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

[AUDIO_VOLUME]
ENGINE_EXT = 7.0
ENGINE_INT = 15.0
GEAR_EXT =4.0
GEAR_INT = 4.0
BODYWORK = 0.5
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 2.0
TURBO = 5.0

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


[EXTRA_FX_EMISSIVE_...]
MESHES = ind_rf,onled,ind_lf
RANGE = 0.045
COLOR = .15
DIRECTED =.7
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[EXTRA_FX_EMISSIVE_...]
MESHES =onfarust_001_001,group001,onfaralt
RANGE = 0.1
COLOR = .05
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[LIGHT_HEADLIGHT_0]
MIRROR=0.711
POSITION=, 0.671, 1.9
COLOR=1,1,1,10
AFFECTS_TRACK=1
AMBIENT_INFLUENCE = 0.85
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.9
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.5
OFF_MULT=0
OFF_POSITION=0, 0.52, 2
OFF_RANGE_MULT=0.3
POPUP_ENABLED=1
RANGE=100
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=65
SPOT_EDGE=0.03, 0.03, 0.03
SPOT_EDGE_SHARPNESS=20
SPOT_SHARPNESS=0.1
SPOT_UP=0.02, 1, 0

[LIGHT_BRAKE_0]
BOUND_TO=taillightson
POSITION=, 0.826, -2.23
MIRROR=0.694	
COLOR=2, 0, 0,.5
DIRECTION=-0, -0.5,-1	
SPOT=120
[LIGHT_BRAKE_1]
BOUND_TO=Circle
POSITION=0.003, 0.373, -2.4
MIRROR=0
COLOR=2, 0, 0,2
DIRECTION=-0, 0,-1	
RANGE=5

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




[Material_CarPaint_Metallic]
MATERIALS=ext_Body_Paint
FlakesK = 0
SpecularSun  = 0.4, 5000
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
BrightnessAdjustment = 1 ; compensates for ambient specular
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.06

[Material_CarPaint_Solid]
MATERIALS=CSR2_Coloured.001
FresnelMax = 0.1
FresnelC = 0.1
FlakesK = 0
SpecularSun  = 0.4, 5000
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
BrightnessAdjustment = 0.1 ; compensates for ambient specular
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.06

[Material_CarPaint_Solid]
MATERIALS=ext_Wheel_paint1
SpecularSun  = 0.4, 5000
SpecularBase  = 0.1, 400

[Material_CarPaint_Metal]
MATERIALS=ext_Wheel_brake_caliper
AmbientSpecular = 0.01
FresnelC = 0.1

[SHADER_REPLACEMENT_...] 
MATERIALS = proxestq
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecularEXP, 20
PROP_... = ksSpecular, 0.05

[SHADER_REPLACEMENT_...] 
MATERIALS = cluster_lights
BLEND_MODE=ALPHA_TEST
────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]

[Material_Glass]
Materials =EXT_GLASS
ThicknessMult = 1
IOR = 2


[Material_Glass]
Materials = GlassRed
IOR = 1.7          ; looks better like this
ThicknessMult = 1 ; thicker glass passes less light through
ProfileFix = 0    ; adds thickness to glass for glazing angles
MaskPass = 1.0      ; mask pass opacity
MaskPassColor = 255, 25, 25  ; mask pass color adjustment
BrightnessAdjustment = 0.05


[Material_Glass]
Materials=EXT_WINDOW
FilmIOR=1.7
MaskPass=0.6
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1

[Material_Glass]
Meshes=Glass_SUB1
FilmIOR=1.7
MaskPass=0.6
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=3

────────────────────── MATERIALS (EXTERIOR) ────────────────────────
;Ext Metal
[Material_Metal_v2]
Materials = 




[Material_InteriorPBRDetail]
Materials = PlastAir,ColourAir
Reflectance = 0.025
Smoothness = 0.3
Brightness=0.4
ColorSource=DIFFUSE

[Material_InteriorPBRDetail]
Materials = EXT_RIM_LOGO
Metalness = 0.7
Brightness=0.4
;Ext Coloured Light
[Material_InteriorPBRDetail]
Materials = 
Smoothness = 1
Metalness = 0.5
Reflectance = 0.2
BrightnessAdjustment = 0.4
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

;Ext Alu Old
[Material_AluminiumOld_v2]
Meshes = Plane.013,Plane.012
Metalness = 0.7
Reflectance = 0.2
Brightness = 0.9
DetailScale=30

[Material_Metal_v2]
Meshes =indicator_lf,indicator_rf
Brightness=1
Metalness=0.4
ColorSource=DIFFUSE
[Material_Metal_v2]
Meshes = Plane.003
DetailNormalPBRSmoothnessGamma = 1
Metalness=0.8
Brightness=0.1
DetailScale=2
Reflectance = 0.1
LocalReflectionsSharpness = 0


[Material_Aluminium_v2]
Materials = EXT_RIM_CHROME
Brightness= 0.0
OcclusionMult=0.3




[Material_Aluminium_v2]
Metalness = 0.4
Reflectance = 1
Brightness= 0.5
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 30
DetailNormalBlend = 1


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

;Ext Rubber
[Material_Plastic_v2]
Materials = 
Reflectance = 0.02
Smoothness = 0.6
DetailNormalBlend = 0
BrightnessAdjustment = 0.04


;Ext Carbon 2
[Material_Carbon]
Materials =EXT_CARBON
Brightness=.5
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 600

[Material_Carbon]
Materials =EXT_PLATE__CARBON_HUGO
DetailScale = 60

────────────────────── MATERIALS (INTERIOR) ────────────────────────
[Material_InteriorPBR]
Materials = 
Meshes =
RESOURCE_0 =
RESOURCE_TEXTURE_0 =
ColorSource = DIFFUSE
DetailTexture = 
DetailNormalTexture =
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
OcclusionMult = 1.0 
UseClearCoat=1
BrightnessAdjustment = 1
Metalness = 0
Reflectance = 0
DetailScale =0
CubemapReflectionBlur = 0
Smoothness =0
HasDetailNormals=0

[Material_InteriorPBR]
Meshes = steeringwheel

[INCLUDE: common/materials_interior.ini]

;Int Digital Screen
[Material_DigitalScreen]
Meshes = 
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 = 1   ; aspect ratio, height/width
Emissive = 1.2             ; screen brightness
FlipXY = 0                 ; rotate display 90°

;Int Plastic
[Material_Plastic]
Materials = intplastic


;Int Alcantara
[Material_Velvet_v2]
Materials = roofint
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.5
DetailScale = 40
ClothSheenColor = 1, 1, 1

;Int Fabric
[Material_Fabric_v2]
Materials = 
Reflectance = 0.02
DetailNormalTexture = common/pbr_fabric.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
UseClothShading = 1
Reflectance = 0.4
ClothSheenColor = 1, 1, 1

;Int Carpet
[Material_Carpet_v2]
Materials = floor.001
Reflectance = 0.04
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 1
Brightness=0.5
;Int Leather 2
[Material_Leather_v2]
Materials =
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailNormalBlend = -1

;Int Leather 1
[Material_Leather]
Materials=int_leather_paint?,leathertop,leatherseat1,leathrs
Brightness=0.5
Reflectance = 0.02
Smoothness = 0.35

;Int Metal
[Material_Metal_v2]
Materials = intmetal
Metalness = 0.8
BrightnessAdjustment = 0.8
DetailScale=0


;Int Metal Old
[Material_MetalOld_v2]
Materials = 
BrightnessAdjustment = 1
DetailNormalPBRSmoothness = 0.9
Metalness = 0.3
Smoothness = 0.01
Reflectance = 0.2
DetailScale = 0

;Int Carbon
[Material_Carbon]
Materials =CSR2_Carbon1
Brightness=.6
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 420

____________________________________
[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, 30, 10, 5
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 110, 30, 10,5
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=50,2,0,3
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
OFF_COLOR=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
FALLBACK_BASE_COLOR=17.5, 24.5, 29
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE


[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
FALLBACK_BASE_COLOR=17.5, 24.5, 29
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_LIGHT_...]
NAME=onled
COLOR=17.5, 24.5, 29
FALLBACK_BASE_COLOR=17.5, 24.5, 29
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
TOGGLE_VISIBILITY=0

[EMISSIVE_LIGHT_...]
NAME=taillightson
COLOR=50,40,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]







[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=EXT_PLATE
OFFSET=0.05, 0.02,-0.02
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.3
SPOT=150
SPOT_SHARPNESS=0.1
COLOR=5,6,8,4

[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=



[SHADER_REPLACEMENT_...]
MATERIALS =ekran,09 - Default,3erg20_white205
ADAPTIVE_EMISSIVE = 1


[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= 



[INCLUDE: common/materials_glass.ini]


[EXHAUST_FLAMES]
ANTILAG=0 				; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.2			; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=0			; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
DAMAGE=0 
DISCHARGE=1 				; lifting off the throttle
DISCHARGE_CHARGE_TIME=1 		; 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.8		; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=.5			; flame size
DISCHARGE_RPM_THRESHOLD_MAX=8500 	; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=5000 	; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1				; on upshift
FLAT_SHIFT_COOLDOWN=0 			; after upshift
FLAT_SHIFT_DURATION=0.01 		; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=.8 		; 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.5 		; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=0 is 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


[SHAKING_EXHAUST_...]
MESHES =Circle.001,Circle.002,Circle.003
POINT_0 = 0, 0, 0
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.1, 0.1, 0.0