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

──────────────────────────────────────────────
[BASIC]
IS_LOW_BEAM_AVAILABLE = 1
OPEN_WHEELER = 0           
RALLY_CAR = 0
DIESEL_ENGINE = 0
HEADLIGHTS_ARE_HEADLIGHTS=1

[BOUNCED_INTERIOR_LIGHT]
MULT=1, 1, 1, 1
OFFSET=0, 0, 0
RANGE=3.2
RANGE_GRADIENT_OFFSET=0.9
SPOT=20
SPOT_SHARPNESS=0.


[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.4
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[LIGHTING]
EMISSIVE_MULT=1

[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[BRAKEDISC_FX]
ACTIVE = 1
DISC_RADIUS = 0.3          ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.05  ; radius of an inside part of a brake disc
────────────────────── SHADER_REPLACEMENT ────────────────────────
[SHADER_REPLACEMENT_...]
MESHES = material:EXT_CARPAINT,material:EXT_BLACKMISC,material:EXT_CARBON,material:INT_PLASTIC,material:INT_LEATHER,material:INT_GLOSS_PLASTIC,material:EXT_BRIXTON
CULL_MODE = DOUBLESIDED



[SHADER_REPLACEMENT_...] 
MATERIALS =INT_GLASS
PROP_... = fresnelMaxLevel, 0.1
PROP_... = fresnelC, 0.1



[SHADER_REPLACEMENT_...] 
MATERIALS = tire_mat3
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.2
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.05
PROP_... = fresnelC, 0.05
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1
CULL_MODE = DOUBLESIDED
[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend,
MATERIALS = maap2.001
IS_TRANSPARENT =0

[SHADER_REPLACEMENT_...]
MATERIALS = symbols_opac
IS_TRANSPARENT = 1
CAST_SHADOWS = 0 
BLEND_MODE = ALPHA_TEST

[SHADER_REPLACEMENT_...]
MATERIALS = mansory
IS_TRANSPARENT = 1
BLEND_MODE = ALPHA_BLEND

──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,material:EXT_GLASS_TAIL
SKIP_GBUFFER = Object18265
GLASS_FILTER = 

[REFLECTIONS_FX]
SKIP_GBUFFER =

────────────────────── Lights Cast────────────────────────
[LIGHT_HEADLIGHT_0]
BIND_TO_HEADLIGHTS=0
COLOR=55,55,57,0.5
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=1
LAG=0.8
FADE_AT=2000
FADE_SMOOTH=1000
MIRROR=0.808
POSITION=, 0.833, 1.99
DIRECTION=0, 0.1, 2.1
RANGE=110
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=0.1
SPOT=80
SPOT_SHARPNESS=0.2

[LIGHT_BRAKES]
COLOR=2, 0, 0, 3
POSITION=0, 0.4, -2.5 	
MIRROR=0.7		
DIRECTION=-0, -1,-1	

[LIGHT_REVERSE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.620
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0.0, 0.696, -1.99
RANGE=4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

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

[INCLUDE: common/materials_carpaint.ini]

[Material_CarPaint_Metallic]
Materials=Brake_Caliper
[Material_CarPaint_Metallic]
Materials=EXT_CARPAINT_RED
BrightnessAdjustment = 0.2
────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]
ExteriorGlassHeadlightsMeshes=
ExteriorGlassFilmedMaterials=

;Clear Glass
[Material_Glass]
Materials =EXT_GLASS
ThicknessMult = 1
ExtraLightsAdjustment = 0
PROP_1... = ksAmbient, 0.01
IOR = 2.5 

; Red Glass
[Material_Glass]
Materials = EXT_GLASS_TAIL
IOR = 2.2          ; looks better like this
FilmIOR = 2.2      ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 ; thicker glass passes less light through
Desaturate = 0

; Window Glass
[Material_Glass]
Materials=EXT_WINDOWS
MaskPass=0.2
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1
Desaturate=0
FilmIOR=2.2

;Glass Nm
[Material_Glass]
Materials= 
IOR = 2             ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ProfileFix = 0.0   ; adds thickness to glass for glazing angles
UseNormalMapWithAlpha = 1
BrightnessAdjustment = 0.5
ThicknessMult = 1
Refraction = 1

;Photoelastic Glass
[Material_PhotoelasticGlass]
Meshes = 
PhotoelasticityMult = 0.1

────────────────────── MATERIALS (EXTERIOR) ────────────────────────
;Ext Metal
[Material_Metal_v2]
Materials = 
Metalness = 0.8
BrightnessAdjustment = 0.8
LocalReflectionsSharpness = 1

[Material_InteriorPBRDetail]
Materials =EXT_BRIXTON
Smoothness =1
Reflectance = 0.1
BrightnessAdjustment = 0.01

[Material_InteriorPBRDetail]
Materials =EXT_HDL_C_NULL
Metalness = .1
BrightnessAdjustment = 0.6

[Material_InteriorPBRDetail]
Materials =Cap_Logo_d18
Metalness = .1
BrightnessAdjustment = 0.25

;Ext Coloured Light

[Material_InteriorPBRDetail]
Meshes = taillight_l_SUB0,taillight_r_SUB0,brakelight_l,brakelight_r
Smoothness = 1
Metalness =1
Reflectance = 1
BrightnessAdjustment = 0.6
CubemapReflectionBlur = 0.5
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1
DetailScale = 100
DetailNormalBlend = 1

[Material_InteriorPBRDetail]
Meshes = bum_r_SUB1
Smoothness = 1
Metalness =.9
Reflectance = 0
BrightnessAdjustment = 0.3
CubemapReflectionBlur = 0.0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1
DetailScale = 100
DetailNormalBlend = 1

[Material_InteriorPBRDetail]
Materials = 
Smoothness = .9
Metalness = 0.0
Reflectance = 0.1
BrightnessAdjustment = 0.3
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=0
DetailScale = 1000


;Ext Coloured Light
[Material_InteriorPBRDetail]
Materials = EXT_TL_IND
Smoothness = .4
Metalness = 0.5
Reflectance = 0.0
BrightnessAdjustment = 0.4
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=0
DetailScale = 155




;Ext Coloured Light
[Material_InteriorPBRDetail]
Materials = EXT_TL_RED
Smoothness = .4
Metalness = 0.9
Reflectance = 0.0
BrightnessAdjustment = 0.4
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=0
DetailScale = 155


;Ext Alu Old
[Material_AluminiumOld_v2]
Materials = 
Metalness = 0.2
Reflectance = 0.2
Brightness = 0.5

;Ext Alu
[Material_Aluminium_v2]
Materials = 
Metalness = 0.4
Reflectance = 1
BrightnessAdjustment = 0.5
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 30
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2

;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.11
Smoothness = 0.9
DetailNormalBlend = 0
BrightnessAdjustment = 0.04

[Material_Plastic]
Materials = EXT_PLASTIC
BrightnessAdjustment = 0.05
Smoothness = 1
Reflectance = 0.15
LocalReflectionsSharpness = 0.7
CubemapReflectionBlur = 0.075
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearcoatThickness = 0.2
ClearCoatIntensity = 1
OcclusionMap = -0.775,1


[Material_Plastic_v2]
Materials = EXT_HDL_PLASTIC_GLOSS
Metalness = .1
Reflectance = 0.1
Brightness = 0.1
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 0
DetailScale = 0

;Ext Carbon
[Material_Carbon]
Materials =EXT_PLATE_CARBON
DetailScale = 50
Brightness = 0.5
ClearCoatF0 = 0.2
CubemapReflectionBlur = 0,0
DetailNormalBlend = 1


[REAL_MIRROR_0]
ASPECT_MULT=2
FLIP=0
FOV=10
IS_MONITOR=0
MONITOR_SHADER_TYPE=1
ROTATION=0,0

[REAL_MIRROR_2]
ASPECT_MULT=2
FLIP=0
FOV=10
IS_MONITOR=0
MONITOR_SHADER_TYPE=1
ROTATION=0,0




────────────────────── MATERIALS (INTERIOR) ────────────────────────
;assets
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]
Materials = mansory_p780_badge
Metalness = 0.98
ColorSource = DIFFUSE
Reflectance = 0.65

[Material_InteriorPBR]
Materials =INT_ST_CARBON
Smoothness =0.9
Reflectance = 0.01
DetailScale =15
BrightnessAdjustment = .3
UseClearCoat=1
ClearCoatF0 = 0.1
[Material_InteriorPBR]
Materials =EXT_CARBON
UseClearCoat=1
ClearCoatF0 = 0.2
DetailScale =755
BrightnessAdjustment = .25
[INCLUDE: common/materials_interior.ini]

;Int Digital Screen
[Material_DigitalScreen]
Meshes = INTM_DIGITAL, INTM_SPEEDO
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 = INT_GLOSS_PLASTIC
BrightnessAdjustment = 0.15
Reflectance = 0.04
DetailNormalBlend = 00
DetailScale=0
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur= 1
Smoothness =1


[Material_Plastic]
Materials = INT_ST_PLASTIC
BrightnessAdjustment = 0.15
Reflectance = 0.04
DetailNormalBlend = 00
DetailScale=0
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur= 1
Smoothness =.5

;Int Plastic
[Material_Plastic]
Materials = 
BrightnessAdjustment = 0.15
Reflectance = 0.06
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.1
DetailNormalBlend = 0.9
DetailNormalTexture = common/pbr_plastic.dds
DetailScale=50
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1



;Int Alcantara
[Material_Velvet_v2]
Materials = INT_ALCANTARA
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 = INT_ROOF
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 = 
Reflectance = 0.04
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

;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_ST_LEATHER
Brightness=0.4
Reflectance = 0.01
Smoothness = 0.75



;Int Leather 1
[Material_Leather]
Materials=INT_LEATHER_SEATS,INT_LEATHER
Brightness=0.9
Reflectance = 0.01
Smoothness = 0.75


[Material_Metal_v2]
Materials=INT_CHROME
Metalness = 1.0
Reflectance = 0.5
BrightnessAdjustment = 0.2
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 2




[Material_Metal_v2]
Materials=INT_ST_CHROME
Metalness = 0.8
Reflectance = 0.5
BrightnessAdjustment = 1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 2

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

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


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

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

[LIGHT_LICENSEPLATE]
MESHES=boot_SUB7
OFFSET= 0.01 ,0,-.03
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.4
SPOT=170
SPOT_SHARPNESS=0.5
COLOR=16,16,19,.5
FALLBACK_EMISSIVE=1,0.7,0.3,0.9
FADE_AT=100
FALLBACK_LOWBEAM_COLOR=1,0.7,0.3,0.9


────────────────────── EXT LIGHTS ────────────────────────
; Lowbeam 
[EMISSIVE_LIGHT_...] 
NAME=Object18261
COLOR=112,120,150,3
LAG=0.3
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

; High Beam
[EMISSIVE_HIGHBEAM_...] 
NAME=Object18262
COLOR=112,120,150,5
FALLBACK_HEADLIGHTS_COLOR=112,120,150,3 
LAG=0.3
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

Low Beam + Highbeam
[EMISSIVE_HIGHBEAM_...] 
NAME=
COLOR=320,240,210, 2
FALLBACK_HEADLIGHTS_COLOR=320,240,210, 1
LAG=0.6
SIMULATE_HEATING=0.5

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

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

;DRL 
[EMISSIVE_...] 
NAME=taillight_r_SUB0,taillight_l_SUB0
COLOR=50,3, 0, 2
INPUT=LIGHT
LAG=0.94
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR

; Brakelights 
[EMISSIVE_BRAKE_...] 
NAME=brakelight_l,brakelight_r
COLOR=50, 2, 0,5
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

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

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

────────────────────── REVERSE LIGHT ────────────────────────
; Reverse Lights
[EMISSIVE_REVERSE_...] 
NAME =reversinglight_r,reversinglight_l ; name (one or more) of a mesh to glow
COLOR = 10,10,10,5    ; glowing color if condition is met
LAG = 0.2                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1        ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights
────────────────────── INDICATORS ────────────────────────
[EMISSIVE_TURNSIGNAL_LEFT_...]D
RANGE_PREFIX=TURN_LF_
RANGE_START_INDEX=0
RANGE_END_INDEX=8
RANGE_DELAY=0.02 	
COLOR=200, 50, 0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.6
FALLBACK_BASE_COLOR=100,100,150,.3


[EMISSIVE_TURNSIGNAL_RIGHT_...]D
RANGE_PREFIX=TURN_RF_
RANGE_START_INDEX=0
RANGE_END_INDEX=8
RANGE_DELAY=0.02 	
COLOR=200, 50, 0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.6
FALLBACK_BASE_COLOR=100,100,150,.3


[EMISSIVE_TURNSIGNAL_RIGHT_...]D
RANGE_PREFIX=TURN_RR_
RANGE_START_INDEX=0
RANGE_END_INDEX=7
RANGE_DELAY=0.02	
COLOR=200, 150, 0,2
LAG=0.2
REPEAT_FREQENCY_HZ=2.6
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=0
REPEAT_FREQENCY_HAZARDS_HZ=2.6



[EMISSIVE_TURNSIGNAL_LEFT_...]D
RANGE_PREFIX=TURN_LR_
RANGE_START_INDEX=0
RANGE_END_INDEX=7
RANGE_DELAY=0.02	
COLOR=200, 150, 0,2
LAG=0.2
REPEAT_FREQENCY_HZ=2.6
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=0
REPEAT_FREQENCY_HAZARDS_HZ=2.6

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

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

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

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

; Rear Right Turnsignal 
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=
COLOR=100,30,0,1
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
────────────────────── OUTSIDE EMISSIVE FX ────────────────────────
[EXTRA_FX_EMISSIVE_...]
MESHES = brakelight_m_SUB0
RANGE = 0.022
COLOR = 15
DIRECTED = 0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[EXTRA_FX_EMISSIVE_...]
MESHES = brakelight_r,brakelight_l
RANGE = 0.08
COLOR =1,0,0,2
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[EXTRA_FX_EMISSIVE_...]
MESHES = TURN_RF_?,TURN_LF_?
RANGE = 0.035
COLOR = .0005
DIRECTED = 0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 0
NORMAL_SHIFT = -0.0

[EXTRA_FX_EMISSIVE_...]
MESHES = TURN_RR_?,TURN_LR_?
RANGE = 0.035
COLOR = 1,0,0
DIRECTED = 0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = -0.0


[EXTRA_FX_EMISSIVE_...]
MESHES = taillight_l_SUB0,taillight_r_SUB0
RANGE = 0.03
COLOR = 1,0,0,0.02
DIRECTED =0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 950
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = -0.0

[EXTRA_FX_EMISSIVE_...]
MESHES = Object18261
RANGE = 0.1
COLOR = .1
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT =400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = -0.0


[EXTRA_FX_EMISSIVE_...]
MESHES = Object18262
RANGE = 0.07
COLOR = .1
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT =400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = -0.0

[INCLUDE: common/selflighting.ini]

[INCLUDE: common/selflighting.ini]
[LIGHT_EXTRA_...]
BOUND_TO=Object18272
COLOR = 255
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
MIRROR = 0
POSITION = 0.0, 1.53, -0.279
DIRECTION=0,-1,0
RANGE=1.7
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT = .1
SPOT = 179
AMBIENT_INFLUENCE= 0
FADE_AT=0


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR = 455,455,500,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
MIRROR = 0.7
POSITION = , 0.828, 1.95
DIRECTION=-0.2,0,1
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT = 1
SPOT = 60
AMBIENT_INFLUENCE= 1
FADE_AT=0


────────────────────── REFRACTION ────────────────────────
[REFRACTING_HEADLIGHT_0]
SURFACE =
INSIDE = 
INSIDE_BULBS=
OVERLAY = 
SYNC_EMISSIVE_AUTO=1
────────────────────── INT LIGHTS ────────────────────────

; Cluster Light
[EMISSIVE_LIGHT_...] 
NAME=INTGPS1,GPS2,misc_a_SUB5
COLOR=1.2
OFF_COLOR=4
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

; Interior Decal Lights
[EMISSIVE_LIGHT_...] 
NAME=material:symbols_opac
COLOR=2,.12,0,4
OFF_COLOR=2,.12,0,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] 
NAME=Object18272
COLOR=.5,0,2,10
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0



; Arrows Light
[EMISSIVE_LIGHT_...] 
NAME=material:vehicle_generic_smallspecmap__PAINT_4_
COLOR=.5,0,2,10
OFF_COLOR=.5,0,2,10
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

;RPM
[EMISSIVE_...]
NAME = 
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 7500
COLOR = 10
BLINKING_PATTERN=(|0=3||1=0|)
BLINKING_DURATION=0.15

────────────────────── INTERIOR EMISSIVE FX ────────────────────────
[EXTRA_FX_EMISSIVE_...]
MATERIALS =symbols_opac
RANGE = 0.04              ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.1               ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0
INTERIOR_ONLY = 1

[EXTRA_FX_EMISSIVE_...]
MATERIALS =WarningLightsCluster
RANGE = 0.025            ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = .5              ; optional brightness multiplier (could be an RGBA value)
DIRECTED =0
INTERIOR_ONLY = 1


[EXTRA_FX_EMISSIVE_...]
MATERIALS =vehicle_generic_smallspecmap__PAINT_4_
RANGE = 0.05              ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.1              ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0
INTERIOR_ONLY = 1
SAMPLES_LIMIT = 400 
COVERAGE = 8     
;CLUSTER EMISSIVE
[EXTRA_FX_EMISSIVE_...]
MESHES =GPS2,INTGPS1   ; list of meshes
RANGE = 0.08   
COLOR = 1,1,2       
DIRECTED = 1           
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 3         
SAMPLES_LIMIT = 100     
SPLIT_ELEMENTS = 0
NORMAL_SHIFT = 0    

[EXTRA_FX_EMISSIVE_...]
MESHES =misc_a_SUB5  ; list of meshes
RANGE = 0.08   
COLOR = 1,1,2       
DIRECTED = 1           
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 3         
SAMPLES_LIMIT = 100     
SPLIT_ELEMENTS = 0
NORMAL_SHIFT = 0    



────────────────────── STERO/GPS ────────────────────────
[Navigator_StyleModernDark]
Meshes = GPS2
@ = Navigator_Size, Resolution = "512, 512", Size = "512, 512", Offset = "0, 0", Scale = 1.5
Brightness = 1
UPCOMING_TURN_DISTANCE_ROUND_TO = 100

;other navigators
[Navigator_StyleRacing]
[Navigator_StyleSimpleDark]
[Navigator_StyleAndroidAuto]
[Navigator_StyleModernDark]

[Display_AndroidAuto]
Meshes = INTGPS1
Resolution = 640,640
Size = 640, 640
Offset = 0, 0
Scale = 1,0.7
RearCameraPosition = 0.0056, 0.914, -1.95
aftermarketComponent=1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

────────────────────── EXHAUST ────────────────────────
[LIGHT_FLAME_0] ; Flame Brightness
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

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

[EXHAUST_FLAMES]
ANTILAG=1  
ANTILAG_DELAY=0.3
ANTILAG_INTENSITY= .1
ANTILAG_INTERVAL_MAX=0.3
ANTILAG_INTERVAL_MIN=0.08
ANTILAG_TURBO_THRESHOLD=0.5
DISCHARGE=1.0
DISCHARGE_CHARGE_TIME=0.9
DISCHARGE_DELAY=0.0 
DISCHARGE_DURATION=2 
DISCHARGE_PROBABILITY=0.9;
DISCHARGE_INTENSITY=0.1
DISCHARGE_RPM_THRESHOLD_MAX=8500 
DISCHARGE_RPM_THRESHOLD_MIN=3500
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=83
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.03 
FLAT_SHIFT_DURATION=0.002 
FLAT_SHIFT_GAS_THRESHOLD=90 
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=1.0
FLAT_SHIFT_RPM_THRESHOLD=6000

[INSTRUMENTS]
HAZARDS_G_THRESHOLD = 1.5

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

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

[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES =EXHAUST
COLOR = 555, 20, 0, .1
USE_SMOOTH_TRANSITION = 6
INPUT_MIN = 0
INPUT_MAX = 100
INPUT_LUT = (| 83 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3


[EXTRA_FX_EMISSIVE_...]
MESHES = EXHAUST
RANGE = 0.05
COLOR = 5
DIRECTED = 0
────────────────────── AUDIO ────────────────────────

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

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

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

[1AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 0=0 | 7000=7350 |)
ENGINE_INT_RPMS = (| 0=0 | 7000=7350|)

────────────────────── might be useful ────────────────────────
[ANIMATION_...]
INPUT = 
FILE = 
TIME = 1.0
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 1
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 0

────────────────────── HIDE ────────────────────────
[EMISSIVE_EXTRA_x_0] 
BIND_TO_EXTRA_x=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 0.31
SIMULATE_HEATING = 0
LOCATION =FRONT
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

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

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

;FOGLIGHTS CAST
[LIGHT_EXTRA_...!]
BOUND_TO
BIND_TO_HEADLIGHTS=0
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, .01, 0, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=0
POSITION=0.563, 0.294, -1.75
RANGE=3
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4


────────────────────── ANALOG ARROWS ────────────────────────
;LUT
LUT = (| 0 = 0 | 20 = 17| 40 = 33  | 100 = 81  |  160 = 140 | 320 = 270 |)

[ANALOG_INDICATOR_...]
INPUT = SPEED
NAME = 
ZERO=0
MIN_VALUE=0
STEP=0.029

[ANALOG_INDICATOR_...]
INPUT = TURBO
NAME = 
USE_BAR = 0
ZERO=0
STEP=86.5
INPUT_LAG_UP = 0.98
INPUT_LAG_DOWN = 0.91

[ANALOG_INDICATOR_...]
INPUT = RPM
NAME = 
ZERO=0
MIN_VALUE=0
STEP=0.029
SPEED_LAG = 0.66
INPUT_LAG_UP = 0.75
INPUT_LAG_DOWN = 0.75

[INSTRUMENTS]
RPM_VINTAGE =0 ; set to 1 to enable the whole thing
RPM_VINTAGE_ROUND_TO = 0 ; to what RPMs needle should snap
RPM_VINTAGE_DELAY = 0.11 ; delay between updates
RPM_VINTAGE_SPEED_LAG = 0.80 ; inertia value, from 0 to 1 (needle won’t move with 1)
RPM_VINTAGE_LIMIT = 0 ; set to some
──────────────────────────────────────────────
[!EXTRA_SWITCHES]
SWITCH_A = Foglight
SWITCH_B = Rear foglight
SWITCH_C = Interior dome light
SWITCH_D = Bat wing air intake

──────────────────────────────────────────────
[DATA] 
DISABLE_LIGHTSINI = 1