[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
──────────────────────────────────────────────
[BASIC]
IS_LOW_BEAM_AVAILABLE = 1
HEADLIGHTS_ARE_HEADLIGHTS=1
ENGINE_STALLED_RPM_THRESHOLD=200

[ANIMATED_WIPER_0]
DEBUG = 0
MESHES = EXT_WIPER_1, EXT_WIPER_2
UNDERLYING_SURFACE = Plane.021
GROUP_0 = 'EXT_WIPER_1@A=*'
GROUP_0_ANGLE_TO = 84.5
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_0_END = -0.3212592, 0.8159615, 1.2484177
GROUP_0_PIVOT = 0.5824203, 0.74340063, 1.3625928
GROUP_0_RUBBER_FROM = 0.3780434, 0.8041869, 1.2579137
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.008245213
GROUP_0_RUBBER_OFFSET_POS = 0.685
GROUP_0_RUBBER_TO = -0.3211738, 0.8127025, 1.2475138
GROUP_1 = 'EXT_WIPER_2@A=*'
GROUP_1_ANGLE_TO = 77.4
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = -0.16663519, 0.9684627, -0.1852369
GROUP_1_AXIS_OFFSET_1 = -0.16663519, 0.9684627, -0.1852369
GROUP_1_END = -0.7723668, 0.8388674, 1.0730997
GROUP_1_PIVOT = 0.04915476, 0.70691216, 1.4445491
GROUP_1_RUBBER_FROM = 0.060777426, 0.7929883, 1.3486567
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.0372
GROUP_1_RUBBER_OFFSET_POS = 0
GROUP_1_RUBBER_TO = -0.7703593, 0.8261262, 1.0651245
GROUP_1_BASE_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_BASE_PIVOT = 0.04915476, 0.70691216, 1.4445491



[MESH_ADJUSTMENT_...]
MESHES = EXT_WIPER_1,EXT_WIPER_2
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

──────────────────────────────────────────────
[DATA] 
DISABLE_LIGHTSINI = 1
──────────────────────────────────────────────
[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.195          ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.111  ; radius of an inside part of a brake disc
────────────────────── SHADER_REPLACEMENT ────────────────────────
[SHADER_REPLACEMENT_...]
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...]
MATERIALS = 
MESHES = 
CULL_MODE = DOUBLESIDED
DOUBLE_FACE_SHADOW_BIASED = 1
IS_TRANSPARENT = 1
BLEND_MODE =ALPHA_TEST  ; OPAQUE, ALPHA_TEST, ALPHA_BLEND


[SHADER_REPLACEMENT_...] 
MESHES = Plane.079
CULL_MODE =DOUBLESIDED




[SHADER_REPLACEMENT_...]
MATERIALS = INT_SPEAKER.002
MESHES = INT_CLUSTER,
BLEND_MODE =ALPHA_TEST

[SHADER_REPLACEMENT_...] 
MATERIALS = LAMBORGHINI BADGE
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
SHADER=ksPerPixelNM
[SHADER_REPLACEMENT_...] 
MATERIALS =INT_WINDOW
SHADER=ksWindscreen

[SHADER_REPLACEMENT_...] 
MATERIALS = 
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.2
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1

──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,material:EXT_GLASS_RED 
SKIP_GBUFFER = Plane.055        
DELAYED_RENDER =                ; pop up instruments
BLEND_GBUFFER = 


______________________________________________________________________

[REFLECTIONS_FX]
MASK_GBUFFER =
────────────────────── Lights Cast────────────────────────
[LIGHT_HEADLIGHT_0]
MIRROR=0.806
POSITION=, 0.576, 1.71
COLOR=1,1,1.2,20
AFFECTS_TRACK=1
AMBIENT_INFLUENCE = 0.85
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.0, 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_BRAKES]
POSITION=0, 0.4, -2.5 	
MIRROR=0.7	
COLOR=2, 0, 0, 3
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=ext_Body_Paint,ext_Body_Paint2
SpecularBase = 0.4, 40
SpecularSun = 0.0, 900


[Material_CarPaint_Metallic]
Materials=ext_Wheel_paint1
AmbientSpecular=0

[Material_CarPaint_Metallic]
Materials=ext_Wheel_brake_caliper
AmbientSpecular=0


[Material_CarPaint_Metallic]
FresnelMax = 0.5
FresnelC = 0.08
FlakesK = 0.05
BrightnessAdjustment = 1.0
SpecularBase = 1.0, 40
SpecularSun = 0.01, 900
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.04
AmbientSpecular=
────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]

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


[Material_Glass]
Materials =EXT_GLASS_RED      ; looks better like this
FilmIOR = 1.7     ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 ; thicker glass passes less light through
ProfileFix = 0    ; adds thickness to glass for glazing angles
MaskPass = 0      ; mask pass opacity
BrightnessAdjustment = 0.25
PROP_... = extColoredReflection, 1



[Material_Glass]
Materials =EXT_TL_HEX_PATTERN
UseNormalMapWithAlpha = 1
ThicknessMult = 2
BrightnessAdjustment = 0.5
PROP_... = extColoredReflection, 1
FilmIOR = 1.7 



[Material_Glass]
Materials=EXT_WINDOW
FilmIOR=2.5
MaskPass=0.3
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1

[Material_PhotoelasticGlass]
Meshes = 
FilmIOR=2.5
PhotoelasticityBaseScale = 8      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.5   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.1  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 4   ; how many stripes are there
────────────────────── MATERIALS (EXTERIOR) ────────────────────────



;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]
Materials = 
Metalness = 0.2
Reflectance = 0.2
Brightness = 0.5

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


[Material_Aluminium_v2]
Materials =EXT_CHROME
DetailScale = 0
Reflectance = 0.6
Smoothness = 1
Metalness = 0.5
Brightness= 0.85
[Material_Aluminium_v2]
Materials = EXT_RIM_CHROME
DetailScale = 25
OcclusionMap=0.5
Brightness= 0.7


[Material_MetalOld_v2]
Meshes = 
Metalness = 0.8
Reflectance = 0.0
Brightness = 0.3
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 0


[Material_Plastic]
Materials =EXT_PLASTIC 
Reflectance = 0.02
Smoothness = 0.8
DetailNormalBlend = .1
Brightness= 0.25
DetailScale=90


[Material_Plastic]
Materials =EXT_PLASTIC_GLOSS

;Ext Carbon 2
[Material_Carbon]
Materials =EXT_CARBON
Brightness=0.4
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

────────────────────── 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]
Materials = 

[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 = INT_PLASTIC
DetailScale=130
Brightness=0.2

[Material_Plastic]
Materials =INT_PLASTIC_GLOSS,INT_PLASTICGLOSSY.002
BrightnessAdjustment = 0.05
Reflectance = 0.06
DetailScale=0
Reflectance = 0.07
Smoothness=0.8
;Int Alcantara
[Material_Velvet_v2]
Materials = 
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 = 
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


[Material_Leather]
Materials=int_leather_paint?
Brightness=0.5
Reflectance = 0.01
Smoothness = 0.75
DetailScale=45

[Material_Leather]
Materials=INT_LEATHER
DetailNormalBlend=0.5
Brightness=0.3
Reflectance = 0.15
Smoothness = 0.35


[Material_Aluminium_v2]
Materials = INT_CHROME

[Material_Aluminium_v2]
Meshes =INT_CHROME_RED,INT_CHROME_RED_2
DetailNormalPBRSecondaryColor = 1, 0, 0,1
Metalness =1
DetailScale=0

[Material_Aluminium_v2]
Meshes =INT_CHROME_BLACK
Brightness=0.1
Metalness = 0.8

[Material_Aluminium_v2]
Materials = INT_CHROME_BLACK
Brightness=0.1
OcclusionMap=0.8
Metalness = 0.95

;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 =INT_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 = 1620



[Material_Carbon]
Materials =EXT_PLATE__CARBON_HUGO
DetailScale = 50
Brightness=.5
────────────────────── 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=EXT_PLATE
OFFSET= 0.00 ,0.01, -0.05
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.4
SPOT=160
SPOT_SHARPNESS=0.5
COLOR=5,7,12,2
LAYOUT=ONE_ON_TOP

────────────────────── EXT LIGHTS ────────────────────────
; Lowbeam 
[EMISSIVE_LIGHT_...] 
NAME=Plane.005
COLOR=100,140,180  
LAG=0.3
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5



[EMISSIVE_HIGHBEAM_...] 
NAME=Plane.011
COLOR=100,140,180  ,2
FALLBACK_HEADLIGHTS_COLOR=100,140,180  
LAG=0.3
SIMULATE_HEATING=0
LOCATION=FRONT


; DRL
[EMISSIVE_LIGHT_...]  
NAME=Plane.043
COLOR=100,140,180,.5
OFF_COLOR=100,140,180,.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

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

;DRL 
[EMISSIVE_LIGHT_...] 
NAME=EXT_TL
COLOR=50, 10, 0,5
LAG=0.5
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

; Brakelights 
[EMISSIVE_BRAKE_...] 
NAME=
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=Plane.003
COLOR=50, 3, 0, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR=50, 3, 0, 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=Plane.048
COLOR=50, 3, 0, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR=50, 3, 0, 2
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 = EXT_REVERE
COLOR = 10,10,13
LAG = 0.2                
SIMULATE_HEATING = 1        
LOCATION = REAR            
ACT_AS_HEADLIGHTS = 1      
────────────────────── INDICATORS ────────────────────────

; Front Left Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]  
NAME=EXT_DRL_LF
COLOR=100,20,0
FALLBACK_BASE_COLOR=100,140,180,.5
LAG=0
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE

; Left Mid Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=EXT_TURN_LM
COLOR=100,20,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=CENTER

; Rear Left Turnsignal 
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=EXT_TL_LR
COLOR=100,30,0,2
FALLBACK_HEADLIGHTS_COLOR=50,5,0,2
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1

; Front Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=EXT_DRL_RF
COLOR=100,20,0
FALLBACK_BASE_COLOR=100,140,180,.5
LAG=0
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE

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

; Rear Right Turnsignal 
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=EXT_TL_RR
COLOR=100,30,0,2
FALLBACK_HEADLIGHTS_COLOR=50,5,0,2
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
────────────────────── OUTSIDE EMISSIVE FX ────────────────────────
[EXTRA_FX_EMISSIVE_...]
MESHES = Plane.001
RANGE = 0.03
COLOR = 0.008
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

[EXTRA_FX_EMISSIVE_...]
MESHES = EXT_REVERE
RANGE = 0.04
COLOR = 0.5
DIRECTED = 0.5
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 = EXT_TL_RR,EXT_TL_LR
RANGE = 0.015
COLOR =1
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 =EXT_TURN_LM,EXT_TURN_RM
RANGE = 0.03
COLOR =.1
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 =Plane.003
RANGE = .1
COLOR = 1,0.1,0,1
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 4
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0




[INCLUDE: common/selflighting.ini]

[SelfLight]
BOUND_TO =Plane.005
MIRROR =0.798
POSITION =, 0.587, 1.71
DIRECTION=0,0, 1
COLOR=100, 140, 180,2
RANGE=0.275
SPOT=100
DIFFUSE_CONCENTRATION = 0.9
RANGE_GRADIENT_OFFSET = 0.3

[SelfLight]
BOUND_TO =Plane.011
MIRROR =0.708
POSITION =, 0.564, 1.74
DIRECTION=0,0, 1
COLOR=100, 140, 180,2
RANGE=0.3
SPOT=100
DIFFUSE_CONCENTRATION = 0.9
RANGE_GRADIENT_OFFSET = 0.3


[LIGHT_EXTRA_...]
!BOUND_TO =Plane.011
MIRROR =0
POSITION =0.366, 0.797, 0.532
DIRECTION=0,0, -1
COLOR=10,10,12,2.5
RANGE=0.5
SPOT=120
DIFFUSE_CONCENTRATION = 0.8
RANGE_GRADIENT_OFFSET = 0.3
EXTERIOR_ONLY=0
SPECULAR_MULT=0.1
────────────────────── REFRACTION ────────────────────────
[REFRACTING_HEADLIGHT_0]
SURFACE =
INSIDE = 
INSIDE_BULBS=
OVERLAY = 
SYNC_EMISSIVE_AUTO=1
────────────────────── INT LIGHTS ────────────────────────


[SHADER_REPLACEMENT_...]
MATERIALS =INT_BUTTONDECALS.002,INT_SCREENS,int_light_paint1,INT_CLUSTER_LED
ADAPTIVE_EMISSIVE = 1


; Cluster Light
[EMISSIVE_LIGHT_...] 
NAME=Plane.088,Plane.016,Plane.024
COLOR=2
OFF_COLOR=1
LAG=0.2
LOCATION=INTERIOR

[EMISSIVE_LIGHT_...] 
NAME=Plane.019,
COLOR=4
OFF_COLOR=4
LAG=0.2
LOCATION=INTERIOR



; Interior Decal Lights
[EMISSIVE_LIGHT_...] 
NAME=Plane.061,Plane.025
COLOR=3
OFF_COLOR=5
LAG=0.2
LOCATION=INTERIOR
CAST_LIGHT=1


[EMISSIVE_LIGHT_...] 
NAME=INT_CLUSTER
COLOR=2
OFF_COLOR=2
LAG=0.2
LOCATION=INTERIOR
CAST_LIGHT=1


; Arrows Light
[EMISSIVE_LIGHT_...] 
NAME=material:int_light_paint1
COLOR=10
OFF_COLOR=10
LAG=0.2
LOCATION=INTERIOR




[EMISSIVE_LIGHT_...] 
NAME=Plane.049
COLOR=10
OFF_COLOR=10
LAG=0.2
LOCATION=INTERIOR
CAST_LIGHT=1


[SCRIPTABLE_DISPLAY_...]
MESHES =INT_CLUSTER
SCRIPT =screendata.lua
[SCRIPTABLE_DISPLAY_...]
MESHES =INT_CLUSTER.001
SCRIPT =screendata2.lua


[SCRIPTABLE_DISPLAY_...]
MESHES =Plane.049
SCRIPT = sw.lua

;Custom Emissive
[CustomEmissiveMulti]
Meshes = 
Resolution = 812, 812
UseEmissive0AsFallback = 1
PROP_... = emAlphaFromDiffuse, 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 = "326, 438", Size = "77, 49", 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 = "80, 58", Color = "0, 0, 80",
@ = MultiItem, Role = LIGHT, Start = "414, 349", Size = "81, 71", Color = "0, 80, 0",
@ = MultiItem, Role = DashWarningSuspDamage, Start = "591, 425", Size = "77, 73" , Color = "60,0,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 = 40, 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 = GEAR_N , Start = "181, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = GEAR_R , Start = "50, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = GEAR_D , Start = "314, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=13 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=75 ,InputInverse=1 , Lag=0.2, Color = "10,10,10", 
@ = MultiItem, Role = WATER_TEMP , Start = "677, 360", Size = "85, 45" ,Color = "0,80,0" , InputThreshold=10,

────────────────────── INTERIOR EMISSIVE FX ────────────────────────
[EXTRA_FX_EMISSIVE_...]
MATERIALS =
RANGE = 0.05         
COLOR = 0.3              
DIRECTED = 0
INTERIOR_ONLY = 1

[EXTRA_FX_EMISSIVE_...]
MESHES = INT_CLUSTER
RANGE = 0.1
COLOR = 2         
DIRECTED = 1           
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE =3       
SAMPLES_LIMIT = 100     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0    

[EXTRA_FX_EMISSIVE_...]
MATERIALS =int_light_paint2
RANGE = 0.01 
COLOR = .02        
DIRECTED = 0           
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 3        
SAMPLES_LIMIT = 100     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0    

[EXTRA_FX_EMISSIVE_...]
MESHES =  Plane.043
RANGE = 0.05 
COLOR = .02          
DIRECTED = 0.5           
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 6       
SAMPLES_LIMIT = 100     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0    

[EXTRA_FX_EMISSIVE_...]
MESHES =  Plane.014
RANGE = 0.05
COLOR = .07  
DIRECTED = .0        
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 8  
SAMPLES_LIMIT = 600     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.005   

[EXTRA_FX_EMISSIVE_...]
MESHES =  Plane.059
RANGE = 0.5
COLOR = .1 
DIRECTED = 1        
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 3  
SAMPLES_LIMIT = 300     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.00 

[EXTRA_FX_EMISSIVE_...]
MESHES =  Plane.086
RANGE = 0.05
COLOR = .2 
DIRECTED =0        
INTERIOR_ONLY = 1        
EXTERIOR_ONLY = 0        
EMISSIVE_TWEAK =0
COVERAGE = 3  
SAMPLES_LIMIT = 300     
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.00 
  
────────────────────── STERO/GPS ────────────────────────
[Navigator_StyleAndroidAuto]
Meshes =
@ = Navigator_Size, Resolution = "2000, 2000", Size = "455.8, 683.5",Offset = "68.5, 938.2",Scale = 1
Brightness = 0.5


[Navigator_StyleNavitel]
Meshes =
@ = Navigator_Size, Resolution = "2048, 2048", Size = "475, 610", Offset = "65, 1040", Scale = 1.1
Brightness = 01
UPCOMING_TURN_DISTANCE_ROUND_TO = 100

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


[INCLUDE: android_auto/config.ini]


────────────────────── EXHAUST ────────────────────────

; Purple Flames
[!PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT =0.1,0.15,1,1
TEMPERATURE_MULT =1.1
INTENSITY_MULT =1.00

; Exhaust Smoke
[PARTICLES_FX_EXHAUST]
COLOR=0.7, 0.75, 0.9, 0.5
GROW=0.1, 0.1

; Exhaust Flames
[EXHAUST_FLAMES]
ANTILAG=0 
DISCHARGE=1 
DISCHARGE_CHARGE_TIME=.5
DISCHARGE_DELAY=0.2
DISCHARGE_DURATION=1 
DISCHARGE_PROBABILITY=0.7
DISCHARGE_INTENSITY=0.5
DISCHARGE_RPM_THRESHOLD_MAX=10000
DISCHARGE_RPM_THRESHOLD_MIN=000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.5 
FLAT_SHIFT_DURATION=0.02 
FLAT_SHIFT_GAS_THRESHOLD=.8
FLAT_SHIFT_INTENSITY=0.5
FLAT_SHIFT_PROBABILITY=1.0
FLAT_SHIFT_RPM_THRESHOLD=8000
LIMITER=1.0 
LIMITER_DELAY=0.0 
LIMITER_INTENSITY=0.1
LIMITER_RPM_THRESHOLD=9950 


────────────────────── AUDIO ────────────────────────

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

[AUDIO_VOLUME]
BACKFIRE_EXT=4
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=25
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 = .7
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = 1
SKID_INT = 1

[AUDIO_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=6400 |)
ENGINE_INT_RPMS = (| 0=0 | 7000=6400 |)




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

[EMISSIVE_EXTRA_A_0] ; Front FogLight - Extra A
BIND_TO_EXTRA_A=1
NAME=Plane.001
COLOR=100,120,150
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=Plane.001
BIND_TO_HEADLIGHTS=0
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=30
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, 1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.792
MIRROR_DIRECTION=0
POSITION=, 0.405, 2.01
RANGE=10
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=130
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 |)

[STATUS_BATTERY]
; parameters for overly simplified battery voltage estimation for instruments
; battery voltage reacts to RPM
BASE_VOLTAGE = 12.4  ; base battery voltage
MAX_VOLTAGE = 13.6   ; maximum battery voltage
RPM_LAG = 0.98       ; RPM lag

[STATUS_OIL]
; similar thing, overly simplified estimation for instruments
PRESSURE_BASE = 1.0         ; base oil pressure for idling engine
PRESSURE_STEP = 1.0         ; oil pressure increase for each 1000 RPM
PRESSURE_LAG_UP = 0.998     ; oil pressure increase lag
PRESSURE_LAG_DOWN = 0.9985  ; oil pressure decrease lag

TEMPERATURE_MULT = 1.0         ; relation of oil temperature to water temperature
TEMPERATURE_RPM_FACTOR = 0.03  ; extra increase of oil temperature for each 1000 RPM
TEMPERATURE_LAG_UP = 0.995     ; oil temperature increase lag
TEMPERATURE_LAG_DOWN = 0.995   ; oil temperature decrease lag


[ANALOG_INDICATOR_...]
INPUT = BATTERY
NAME = ARROW_BATTERY
STEP=1
INPUT_DEBUG=12.4

[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 = ARROW_RPM_2
!INPUT_DEBUG=2100
LUT = (| 0 = 0 |  2100 = 54.5 |)

[ANALOG_INDICATOR_...]
INPUT = RPM
NAME = ARROW_RPM_3
!INPUT_DEBUG=6100
LUT = (| 0 = 0 | 6100 = 140.5 |)

[ANALOG_INDICATOR_...]
INPUT = RPM
NAME = ARROW_RPM_4
!INPUT_DEBUG=10000
LUT = (| 0 = 0 | 10000 = 227 |)

[ANALOG_INDICATOR_...]
INPUT = FUEL
NAME = ARROW_FUEL
STEP=0.26
INPUT_MAX=60

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMPERATURE
NAME = ARROW_WATER_1
LUT = (| 0 = 0 | 100 = 78 |)
MIN_VALUE=40

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMPERATURE
NAME = ARROW_WATER_2
LUT = (| 0 = 0 | 50 = 39 |)
MIN_VALUE=40

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE
NAME = ARROW_OIL_TEMP_1
LUT = (| 0 = 0 | 70 = 15 | 100 = 52 |)
MIN_VALUE=40

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE
NAME = ARROW_OIL_TEMP_2
LUT = (| 0 = 0 |70 = 40 |)

[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE
NAME = ARROW_OIL_PRESSUARE_3
LUT = (| 0 = 0 |15 = -90 |)

[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE
NAME = ARROW_OIL_PRESSUARE_2
LUT = (| 0 = 0 |7 = -45 |)


[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE
NAME = ARROW_OIL_PRESSUARE_1
LUT = (| 0 = 0 |3.5 = -22.50 |)

[ANALOG_INDICATOR_...]
INPUT =BATTERY
NAME = ARROW_BATTERY
STEP=0

[EMISSIVE_...]
NAME=Circle.001,Circle.002,Circle
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 9000
COLOR = 0,2,10
OFF_COLOR=5
BLINKING_DURATION=0
LAG=0.8



[EMISSIVE_LIGHT_...] 
NAME=Circle.01?,TAG_CHAR_?,TAG_CHARGE_?,TAG_EMISSION_?,Circle.008,Circle.007,Circle.006,Circle.005,Circle.004,Circle.003,Plane.045,Plane.067
COLOR=5
OFF_COLOR=5
LOCATION=INTERIOR



[SHADER_REPLACEMENT_...]
MATERIALS=INT_CLUSTER_LED
CULL_MODE=DOUBLESIDED
[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


