[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
DISABLE_LIGHTSINI = 1
---------------------------------------------------------------------------------------------------------------------------
<<SHADER REPLACEMENTS>>

[REFLECTIONS_FX]
SKIP_GBUFFER = GEO_EXT_Wing_Logo,GEO_EXT_Glass,GEO_EXT_Stick_VSPEC,GEO_INT_Dash_Lights,GEO_INT_Embossed,GEO_EXT_Wheel_Overlay_NM_LF,GEO_EXT_Wheel_Overlay,GEO_EXT_Caliper_LF_Decal,GEO_EXT_Caliper_LR_Decal,GEO_EXT_Caliper_RF_Decal,GEO_EXT_Caliper_RR_Decal
BLEND_GBUFFER = GEO_EXT_Wing_Logo,GEO_EXT_Glass,GEO_EXT_Stick_VSPEC,GEO_INT_Dash_Lights,GEO_INT_Embossed,GEO_EXT_Wheel_Overlay_NM_LF,GEO_EXT_Wheel_Overlay,GEO_EXT_Caliper_LF_Decal,GEO_EXT_Caliper_LR_Decal,GEO_EXT_Caliper_RF_Decal,GEO_EXT_Caliper_RR_Decal
DELAYED_RENDER = GEO_EXT_Caliper_?_Decal
 
[SHADER_REPLACEMENT_...]
MESHES = GEO_INT_Embossed,GEO_INT_Pedal_Overlay,GEO_EXT_Wing_Logo,GEO_EXT_Stick_VSPEC,GEO_EXT_Caliper_?_Decal,GEO_EXT_Hood_Logo,GEO_EXT_Grille,GEO_EXT_Glass_Black,GEO_INT_Glass_Black_Dots,GEO_INT_Speakers
BLEND_MODE = ALPHA_TEST
 
 
[SHADER_REPLACEMENT_...]
MATERIALS = EXT_TYRE
PROP_... = ksAmbient, 0.15
PROP_... = ksDiffuse, 0.12
PROP_... = ksSpecular, 0.01
PROP_... = ksSpecularEXP, 100
PROP_... = fresnelC, 0.3
PROP_... = fresnelMaxLevel, 0.0001   

[SHADER_REPLACEMENT_...]
MATERIALS = INT_Cluster_Carbon
PROP_... = ksAmbient, 0.23
PROP_... = ksDiffuse, 0.18
PROP_... = ksSpecular, 0.01
PROP_... = ksSpecularEXP, 100
PROP_... = fresnelC, 0.3
PROP_... = fresnelMaxLevel, 0.0001   

[EXHAUST_FLAMES]
DISCHARGE_PROBABILITY=0.45
DISCHARGE_RPM_THRESHOLD_MAX=8200
DISCHARGE_RPM_THRESHOLD_MIN=5000
DISCHARGE_INTENSITY=3
DISCHARGE_DELAY=0.01
DISCHARGE_DURATION=0.01
DISCHARGE_CHARGE_TIME=0
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
LIMITER=0
LIMITER_DELAY=0
LIMITER_INTENSITY=0.1
LIMITER_RPM_THRESHOLD=7800

[SHADER_REPLACEMENT_...]
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...]
MESHES = GEO_EXT_Reflector
PROP_... = extBounceBack, 2.2

[SHADER_REPLACEMENT_...]
MESHES =  GEO_EXT_Hood_Logo
CAST_SHADOWS = 0

<<EXTRA GAUGES>>

[EMISSIVE_...]
NAME = GEO_INT_Sportcomp_Blinker
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 7500
COLOR = 1,00,0,0.1
BLINKING_PATTERN=(|0=3||1=0|)
BLINKING_DURATION=0.15

[LIGHT_EXTRA_...]
BOUND_TO = int_apexi_gauges
COLOR=1,0.6,0.3,50
DIFFUSE_CONCENTRATION=0.85
FADE_AT=70
FADE_SMOOTH=196.1
POSITION=0.176, 0.5, 0.47
RANGE=0.074
RANGE_GRADIENT_OFFSET=0.488
SPECULAR_MULT=0
SPOT=0

[LIGHT_EXTRA_...]
BOUND_TO = int_apexi_gauges
COLOR=1,0.6,0.3,34
DIFFUSE_CONCENTRATION=0.85
FADE_AT=70
FADE_SMOOTH=196.1
POSITION=0.0514, 0.57, 0.449
RANGE=0.026
RANGE_GRADIENT_OFFSET=0.488
SPECULAR_MULT=0
SPOT=0

[LIGHT_EXTRA_...]
BOUND_TO = GEO_INT_Sportcomp_Blinker
COLOR=1,0.02,0,100
OFF_COLOR=1,0.02,0,100
DIFFUSE_CONCENTRATION=0.7
FADE_AT=70
FADE_SMOOTH=196.1
POSITION=0.265, 0.542, 0.46
RANGE=0.03
RANGE_GRADIENT_OFFSET=0.488
SPECULAR_MULT=2
SPOT=0

[ANALOG_INDICATOR_...]
INPUT=RPM
NAME=GEO_INT_Sportcomp_Arrow
ZERO=710
STEP=0.027
LUT = (| 0 = 0| 2000 = 48 | 4000 = 100 | 6000 = 145 | 8000 = 195 | 9000 = 220 |)

[ANALOG_INDICATOR_...]
BIND_TO = TURBO
NAME = int_apexi_needle_boost
USE_BAR = 1
INPUT_MULT = 0.5
INPUT_LAG_UP = 0
INPUT_LAG_DOWN = 0
LUT = (0=50|1=180|2=270)

[ANALOG_INDICATOR_...]
BIND_TO = OIL_TEMP
NAME = int_apexi_needle_oiltemp
INPUT_MIN = 70
INPUT_MAX = 150
INPUT_OFFSET = -68
UPPER_BOUND = 120
RANGE = 200
LUT = (50=0| 60=25|120=190|150=270|)

[ANALOG_INDICATOR_...]
BIND_TO = WATER_TEMP
NAME = int_apexi_needle_wtemp
ZERO = 0
MIN_VALUE = 20
STEP = 0.5
LUT = (20=0|90=170|130=270|)

[ANALOG_INDICATOR_...]
BIND_TO = WATER_TEMP
NAME = int_apexi_needle_fuelpress
ZERO = 0
MIN_VALUE = 20
STEP = 0.5
LUT = (0=0|90=250|97=300|)

[ANALOG_INDICATOR_...]
INPUT=BATTERY
NAME=GEO_INT_Arrow_Battery_1
ZERO=0
STEP=0
LUT = (|12 = 12|14 = -12|)     

--OEM GAUGES	
[ANALOG_INDICATOR_...]
INPUT=RPM
NAME=GEO_INT_RPM_Plastic
ZERO=710
STEP=0.027
LUT = (| 0 = 0| 2000 = 46 | 4000 = 93 | 6000 = 142 | 8000 = 195 | 9000 = 220 |)

[ANALOG_INDICATOR_...]
INPUT=SPEED
NAME=GEO_INT_Speed_Plastic
ZERO=710
STEP=0.027
LUT = (| 0 = 0 | 160 = 110 | 320 = 230 |)

[ANALOG_INDICATOR_...]
INPUT=WATER_TEMP
NAME=GEO_INT_WaterTemp_Plastic
ZERO=710
STEP=0.027
LUT = (20 = 10 |  110 = 80 |)

[ANALOG_INDICATOR_...]
INPUT=FUEL
NAME=GEO_INT_Fuel_Plastic
ZERO=710
STEP=0.027
LUT = (0 = 10 |  65 = 67 |)

[ANALOG_INDICATOR_...]
INPUT=OIL_PRESSURE
NAME=GEO_INT_OilPressure_Plastic
ZERO=710
STEP=0.027
LUT = (0 = 10|  8 = 70 |)

<<<MATERIALS>>>
[Material_Metal_v2]
Materials = Ext_Brembo_Caliper
BrightnessAdjustment = 0.5
Reflectance = 0
DetailScale = 10
DetailNormalBlend = 0.35
Smoothness = 0.3
ColorSource = DIFFUSENORMALIZED
DetailNormalTexture = caliper_nm.dds
ApplyTilingFix = 1
PROP...=isAdditive, 0
PROP_...=pbReflectionBlurEnv, 1
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothnessGamma = 0.6
DetailNormalPBRReflectance = 1
OcclusionMult = 0.7
Metalness = 0.8
CubemapReflectionBlur = 0.2

[Material_Metal_v2]
Materials = int_momo_metal
BrightnessAdjustment = 0.56
Reflectance = 0
DetailScale = 400
DetailNormalBlend = 0.12
Smoothness = 0.8
ColorSource = DIFFUSENORMALIZED
DetailNormalTexture = metal_brush_nm.dds
ApplyTilingFix = 1
PROP...=isAdditive, 0
PROP_...=pbReflectionBlurEnv, 1
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothnessGamma = 1
DetailNormalPBRReflectance = 1
OcclusionMult = 1
Metalness = 0.9
CubemapReflectionBlur = 0.2

[Material_Carbon]
Materials = INT_Seat_Carbon
BrightnessAdjustment = 0.4
ClearCoatF0 = 0.13
DetailScale= 670

[Material_Fabric_v2]
Meshes = GEO_INT_Sun_Visor
Brightness = 0.13
DetailScale = 25
ApplyTilingFix=1

[Material_Metal_v2]
Materials = INT_Metal_Plate
BrightnessAdjustment = 1
Reflectance = 0
DetailScale = 400
DetailNormalBlend = 0.08
Smoothness = 0.8
ColorSource = DIFFUSENORMALIZED
DetailNormalTexture = metal_brush_nm.dds
ApplyTilingFix = 1
PROP...=isAdditive, 0
PROP_...=pbReflectionBlurEnv, 1
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothnessGamma = 1
DetailNormalPBRReflectance = 1
OcclusionMult = 1
Metalness = 0.75
CubemapReflectionBlur = 0.2

[Material_CarPaint_Metallic]
Materials = EXT_Wing_Plate_Alu
UseMetallicReflections = 0
FresnelMax = 0.99
FresnelC = 0.1
FlakesK = 1
AmbientSpecular = 1.0
ColoredSpecular = 0.4
AmbientSpecularEXP = 3.0
ClearCoatThickness = 0.1
BrightnessAdjustment = 0.7
SpecularBase = 1, 50
SpecularSun = 0.005, 1.5
ApplyTilingFix = 1

[Material_Metal_v2]
Meshes = GEO_INT_Seatrails
BrightnessAdjustment = 0.123
Reflectance = 0
DetailScale = 4000
DetailNormalBlend = 0.08
Smoothness = 0.8
ColorSource = DIFFUSENORMALIZED
DetailNormalTexture = metal_brush_nm.dds
DiffuseTexture = Grey.dds
ApplyTilingFix = 1
PROP...=isAdditive, 0
PROP_...=pbReflectionBlurEnv, 1
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothnessGamma = 1
DetailNormalPBRReflectance = 1
OcclusionMult = 1
Metalness = 0.7
CubemapReflectionBlur = 0.2


[Material_Plastic_v2]
Materials = EXT_Rubber
DetailScale = 0
DetailNormalBlend = 0.01
Reflectance = 0.1
Smoothness = 0.2
Brightness = 0.03
ApplyTilingFix = 1

----------F-zero---------


[Material_Metal_v2]
Materials = FZERO_FACE1
BrightnessAdjustment = 0.5
Reflectance = 0
DetailScale = 4000
DetailNormalBlend = 0
Smoothness = 0.8
ColorSource = DIFFUSENORMALIZED
DetailNormalTexture = metal_brush_nm.dds
ApplyTilingFix = 1
PROP...=isAdditive, 0
PROP_...=pbReflectionBlurEnv, 1
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothnessGamma = 1
DetailNormalPBRReflectance = 1
OcclusionMult = 0.6
Metalness = 1
CubemapReflectionBlur = 0.8

[Material_CarPaint_Metallic]
Materials = FZERO_RIM
BaseSpecularColor = #dedad7
FresnelMax = 0.1
FresnelC = 0.01
FlakesK = 1
BrightnessAdjustment = 0.6
SpecularBase = 0.5, 100
SpecularSun = 0, 200
AmbientSpecular = 0.05
AmbientSpecularEXP= 8
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.01
ClearCoatTint = 0, 0, 0

[Material_CarPaint_Solid]
Materials = FZERO_BARREL
FresnelMax = 0.377
FresnelC = 0.23
AmbientSpecular = 0.24
ClearCoatThickness = 0.12
SpecularBase = 0.1, 50
SpecularSun = 0.5, 1500
BrightnessAdjustment = 0.5


[Material_Plastic_v2]
Materials = RIM_RUBBER
DetailScale = 0
DetailNormalBlend = 0.01
Reflectance = 0.3
Smoothness = 0.6
Brightness = 0.14
ApplyTilingFix = 1

[Material_Metal_v2]
Materials= EXT_FZERO_CAP
Metalness = 0.45
BrightnessAdjustment = 0.4
DetailScale = 1000
ApplyTilingFix = 0
CubemapReflectionBlur = 0.2

[Material_Metal_v2]
Materials= Ext_Aluminum_Red
Metalness = 0.9
BrightnessAdjustment = 0.1
DetailScale = 100000
ApplyTilingFix = 1
CubemapReflectionBlur = 0

[Material_Metal_v2]
Materials= INT_APEXI_RINGS
Metalness = 0.4
BrightnessAdjustment = 0.3
DetailScale = 1000
ApplyTilingFix = 0
CubemapReflectionBlur = 0.4

[Material_Glass]
Materials = EXT_Windshield
FilmIOR = 1.7
ThicknessMult = 1.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 0.7
FilmIOR = 1.8
MaskPassColor = 10, 19, 14

[Material_Plastic_v2]
Materials = INT_Extra_Plastic
DetailScale = 0
DetailNormalBlend = 0.01
Reflectance = 0.23
Smoothness = 0.12
Brightness = 0.18
ApplyTilingFix = 1

[Material_Glass]
Materials = EXT_Glass
FilmIOR = 1.76
ThicknessMult = 1.5

[Material_Glass]
Materials = EXT_Sidelight_Glass
FilmIOR = 2
ThicknessMult = 4
UseNormalMapWithAlpha = 1
Refraction = 1

[Material_InteriorPBR]
Materials = EXT_Nissan_Marking
Reflectance = 0.3
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
UseClothShading = 0
ClothSheenColor = 1, 1, 1
Smoothness = 0.5
BrightnessAdjustment = 0.2

[Material_InteriorPBR]
Materials = int_nismo_knob
Reflectance = 0.4
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
UseClothShading = 0
Smoothness = 0.5
BrightnessAdjustment = 0.2

[Material_InteriorPBR]
Materials = INT_Metal_Baby_Blue
Reflectance = 0.6
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
UseClothShading = 0
Smoothness = 0.5
BrightnessAdjustment = 0.4



[Material_CarPaint_Solid]
[Material_CarPaint_Solid]
Materials = EXT_Caliper
FresnelMax = 0.3
FresnelC = 0.05
FlakesK = 0.2
BrightnessAdjustment = 0.35
ClearCoatThickness = 0.15
UseMetallicReflections = 1

[Material_CarPaint_Solid]
Materials = INT_Aluminum
FresnelMax = 0.12
FresnelC = 0.3
AmbientSpecular = 0.1
ClearCoatThickness = 0.05
SpecularBase = 0.1, 50
SpecularSun = 0.5, 1500
BrightnessAdjustment = 0.6

[Material_Plastic_v2]
[Material_Plastic_v2]
Meshes = GEO_EXT_Rubber
Metalness = 0
DetailScale = 0
DetailNormalBlend = 0
Reflectance = 0.06
Smoothness = 0.1
Brightness = 0.2

[Material_Plastic_v2]
Meshes = GEO_EXT_Plastic_Rough
Metalness = 0
DetailScale = 100
DetailNormalBlend = 0
Reflectance = 0.06
Smoothness = 0.1
Brightness = 0.3

[Material_Glass]
Materials = EXT_Glass_Red
FilmIOR = 1.7
ThicknessMult = 0.5
BrightnessAdjustment = 0.33      
Desaturate = 0.3     
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1


[Material_Glass]
Materials = Motocomp_Blink
FilmIOR = 1.5
ThicknessMult = 0.4
BrightnessAdjustment = 1    
Desaturate = 0    
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 2

[Material_Glass]
Materials = INT_Red_Transp_Plastic
FilmIOR = 1.4
ThicknessMult = 0.2
BrightnessAdjustment = 1     
Desaturate = 0.3    
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 2

[Material_Glass]
Meshes = INT_Glass
FilmIOR = 2
ExtraLightsAdjustment = 0.01
ThicknessMult = 1
Refraction = 1
Desaturate = 0.8

[Material_Plastic_v2]
Materials = INT_Plastic_Rough
DetailScale = 50
DetailNormalBlend = 0.01
Reflectance = 0.1
Smoothness = 0.6
Brightness = 0.3
ApplyTilingFix = 1

[Material_Plastic_v2]
Meshes = GEO_INT_Plastic_Glossy
DetailScale = 0
DetailNormalBlend = 0.4
Reflectance = 0.15
Smoothness = 0.5
Brightness = 0.2

[Material_Leather]
Materials = INT_Leather_Bump
Brightness = 0.2
DetailTextureBlur = 1
DetailNormalBlend = 0.3
DetailScale = 120
ApplyTilingFix=1
Reflectance = 0.02
Smoothness = 0.75

[Material_InteriorPBR]
Materials = INT_Cloth_Dots_Red
Reflectance = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
UseClothShading = 1
ClothSheenColor = 1, 1, 1
Smoothness = 0.2
BrightnessAdjustment = 0.22
DetailScale = 80

[Material_Carpet_v2]
Meshes = GEO_INT_Cloth_Black
Brightness = 0.65
ApplyTilingFix = 1
DetailTextureBlur = 0.8
DetailScale = 150
OcclusionMult = 1

[Material_Carpet_v2]
Meshes = GEO_INT_Floormats
Brightness = 0.25
ApplyTilingFix = 1
DetailTextureBlur = 0.7
DetailScale = 250
DetailNormalBlend = 1.55
OcclusionMult = 1

[Material_Carpet_v2]
Meshes = GEO_INT_Cloth_Red
Brightness = 0.65
ApplyTilingFix = 1
DetailTextureBlur = 0.8
DetailScale = 120
OcclusionMult = 1

[Material_Carpet_v2]
Meshes = GEO_INT_Carpet
Brightness = 0.4
ApplyTilingFix = 1
DetailTextureBlur = 0.8
DetailScale = 100
OcclusionMult = 1




[Material_Plastic_v2]
Meshes = GEO_EXT_Wing_Side,GEO_EXT_Wing_Blade
DetailScale = 0
DetailNormalBlend = 0.4
Reflectance = 0.16
Smoothness = 0.5
Brightness = 0.08

[EMISSIVE_LIGHT_...]
NAME=GEO_EXT_Rear_Plate_Light
BIND_AS=LICENSE_PLATE
COLOR=1,1,0.7,1000
LOCATION=REAR

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Rear_Plate_Light
AMBIENT_INFLUENCE = 0
COLOR = 9, 6, 3, 1
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
POSITION=-0.17, 0.41, -2.29
DIRECTION= 0.9, -1, 0.2
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=2
SPOT=91

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Rear_Plate_Light
AMBIENT_INFLUENCE = 0
COLOR = 9, 6, 3, 1
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
POSITION=0.17, 0.41, -2.29
DIRECTION= -0.9, -1, 0.2
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=2
SPOT=91


[Material_InteriorPBRDetail]
Materials = EXT_Aluminium_Black
Reflectance=0.14
CubemapReflectionBlur=0.5
BrightnessAdjustment=0.02
DetailScale =100000

[Material_InteriorPBR]
Materials = EXT_Brake_Rotor_Detail
Reflectance=0.02
CubemapReflectionBlur=0.5
BrightnessAdjustment=0.1
DetailScale =100000


---------------------------------------------------------------------------------------------------------------------------
<<<HEADLIGHTS>>>

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.9, 0.6, 0.3, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.1, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=70
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.62
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.603472
OFF_MULT=0
OFF_POSITION=0, 0.507238, 1.75173
OFF_RANGE_MULT=0.3
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=1
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.785, 1.63173
PREFER_FRONT=-1
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=0
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=48
SPOT_EDGE=0.040704, 0.039936, 0.0384
SPOT_EDGE_SHARPNESS=42
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0

[EMISSIVE_LIGHT_...]
NAME = GEO_EXT_Headlight_Outter_Glass
CAST_LIGHT = 0
COLOR = 9, 6, 3, 300
LAG = 0.8
SIMULATE_HEATING = 3
LOCATION = FRONT

[EMISSIVE_HIGHBEAM_...]
NAME = GEO_EXT_Headlight_Inner_Glass
CAST_LIGHT = 1
COLOR = 9, 6, 3, 300
FALLBACK_HEADLIGHTS_COLOR = 0,0,0
LAG = 0.8
SIMULATE_HEATING = 3
LOCATION = FRONT

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A = 1
BIND_TO_HEADLIGHTS = 0
NAME = GEO_EXT_Side_Light_Glass
COLOR = 4.3,6.2,10, 5
FALLBACK_HIGHBEAM_COLOR = 4.3,6.2,10, 5
FALLBACK_LOWBEAM_COLOR = 4.3,6.2,10, 5
LAG = 0.7
SIMULATE_HEATING=3
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
CHANNEL = 0

<<<TAILLIGHTS>>>
[EMISSIVE_BRAKE_...]
NAME = GEO_EXT_Taillight_Glass
CAST_LIGHT = 1
COLOR = 20,2.5,0,3
FALLBACK_HEADLIGHTS_COLOR = 20,2.5,0,1.5
LAG = 0.3
SIMULATE_HEATING = 3
CHANNEL = 0,1,2,3,4,5
LOCATION = REAR


[EMISSIVE_LIGHT_...]
NAME = GEO_EXT_Taillight_Glass_Inner
CAST_LIGHT = 1
COLOR = 20,2.5,0,1.5
LAG = 0.3
SIMULATE_HEATING = 3
CHANNEL = 0,1,2,3,4,5
LOCATION = REAR


[EMISSIVE_BRAKE_...]
NAME = GEO_EXT_Trunk_Glass
COLOR==255,180,0 
CAST_LIGHT=1
LAG=0.1
SIMULATE_HEATING=0.6
CHANNEL = 0
LOCATION=REAR

[EMISSIVE_REVERSE_...]
NAME = GEO_EXT_Taillight_Extras_Glass
COLOR = 26, 26, 15, 0.1
LAG = 0.7
SIMULATE_HEATING = 3
CAST_LIGHT = 1
CHANNEL = 2
ACT_AS_HEADLIGHTS = 1 
LOCATION=REAR

[EMISSIVE_EXTRA_B_...]
BIND_TO_EXTRA_B = 1
BIND_TO_HEADLIGHTS = 0
NAME = GEO_EXT_Taillight_Extras_Glass
COLOR = 255,10,0,0.08
LAG = 0.5
SIMULATE_HEATING = 0
LOCATION= FRONT
CAST_LIGHT = 0
CLUSTER_THRESHOLD = 0.5
CHANNEL = 5

--casted lights (rear)

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Taillight_Glass_Inner
COLOR=10,0.2,0,0.3
DIFFUSE_CONCENTRATION=0.3
DIRECTION = 0,0,-1
AFFECTS_TRACK=1
INTERIOR_ONLY = 0
FADE_AT=90
FADE_SMOOTH=130
POSITION=-0.45, 0.1, -2.3
RANGE=1.6
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0
SPOT=180

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Taillight_Glass_Inner
COLOR=10,0.2,0,0.4
DIFFUSE_CONCENTRATION=0.3
DIRECTION = 0,0,-1
AFFECTS_TRACK=1
INTERIOR_ONLY = 0
FADE_AT=90
FADE_SMOOTH=130
POSITION=0.45, 0.1, -2.3
RANGE=1.6
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0
SPOT=180

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Trunk_Glass
COLOR=10,0.2,0,0.2
DIFFUSE_CONCENTRATION=0.3
DIRECTION = 0,0,-1
AFFECTS_TRACK=1
INTERIOR_ONLY = 0
FADE_AT=90
FADE_SMOOTH=120
POSITION=-0.45, 0.1, -2.3
RANGE=1.6
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0
SPOT=170

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Trunk_Glass
COLOR=10,0.2,0,0.2
DIFFUSE_CONCENTRATION=0.3
DIRECTION = 0,0,-1
AFFECTS_TRACK=1
INTERIOR_ONLY = 0
FADE_AT=90
FADE_SMOOTH=120
POSITION=0.45, 0.1, -2.3
RANGE=1.6
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0
SPOT=170lll

<<<INDICATORS>>>
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = GEO_EXT_Front_Lower_Indi_Glass
CHANNEL = 4
COLOR = 30,15,0
LOCATION = FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = GEO_EXT_Front_Lower_Indi_Glass
CHANNEL = 3
COLOR = 30,15,0
LOCATION = FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = GEO_EXT_Side_Indicators_Glass
CHANNEL = 3
COLOR = 30,15,0,0.4
LOCATION = LEFT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = GEO_EXT_Side_Indicators_Glass
CHANNEL = 4
COLOR = 30,15,0,0.4
LOCATION = RIGHT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = GEO_EXT_Taillight_Extras_Glass
CHANNEL = 3
COLOR = 30,10,0
LOCATION = REAR

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = GEO_EXT_Taillight_Extras_Glass
CHANNEL = 4
COLOR = 30,10,0
LOCATION = REAR

<<<INTERIOR LIGHTS>>>
[EMISSIVE_LIGHT_...]
NAME = GEO_INT_Gauges,GEO_Int_Cluster
CAST_LIGHT = 1
COLOR = 2, 2, 2
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE

[EMISSIVE_LIGHT_...]
NAME = GEO_INT_Odo
CAST_LIGHT = 1
COLOR = 2, 2, 2,0.4
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE

[EMISSIVE_LIGHT_...]
NAME = GEO_INT_Extra_Gauges
CAST_LIGHT = 1
COLOR = 1,1,2, 7
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE

[EMISSIVE_LIGHT_...]
NAME = GEO_INT_RPM_Plastic,GEO_INT_Speed_Plastic,GEO_INT_Fuel_Plastic,GEO_INT_WaterTemp_Plastic,GEO_INT_OilPressure_Plastic
CAST_LIGHT = 1
COLOR = 1,1,2, 7
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A = 1
BIND_TO_HEADLIGHTS = 0
NAME = int_apexi_gauges
COLOR = 12, 12, 12, 1
FALLBACK_HIGHBEAM_COLOR = 12, 12, 12, 1
FALLBACK_LOWBEAM_COLOR = 12, 12, 12, 1
LAG = 0.2
SIMULATE_HEATING = 0
LOCATION = INTERIOR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A = 1
BIND_TO_HEADLIGHTS = 0
NAME = int_apexi_needle_?
COLOR = 1, 1, 4, 50
FALLBACK_HIGHBEAM_COLOR = 1, 1, 4, 50
FALLBACK_LOWBEAM_COLOR = 1, 1, 4, 50
LAG = 0.2
SIMULATE_HEATING = 0
LOCATION = INTERIOR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A = 1
BIND_TO_HEADLIGHTS = 0
NAME = GEO_INT_Racelogic_Screen
COLOR = 1, 1, 1, 1
OFF_COLOR = 1, 1, 1, 1
FALLBACK_HIGHBEAM_COLOR = 1, 1, 1, 1
FALLBACK_LOWBEAM_COLOR = 1, 1, 1, 1
LAG = 0.2
SIMULATE_HEATING = 0
LOCATION = INTERIOR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A = 1
BIND_TO_HEADLIGHTS = 0
NAME = GEO_INT_EVC_Lights
COLOR = 1, 1, 1, 1.3
OFF_COLOR = 1, 1, 1, 1.3
FALLBACK_HIGHBEAM_COLOR = 1, 1, 1, 1.3
FALLBACK_LOWBEAM_COLOR = 1, 1, 1, 1.3
LAG = 0.2
SIMULATE_HEATING = 0
LOCATION = INTERIOR
CAST_LIGHT = 1

[EMISSIVE_LIGHT_...]
NAME = GEO_INT_Speed_Needle,GEO_INT_Fuel_Needle,GEO_INT_WaterTemp_Needle,GEO_INT_RPM_Needle,GEO_INT_OilPressure_Needle,GEO_INT_Turbo_Needle,GEO_INT_OilTemp_Needle,GEO_INT_FrontShare_Needle
CAST_LIGHT = 1
COLOR = 2, 0, 0, 5
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE

--------------------HKS CONTROLLER---------------------------
[EMISSIVE_LIGHT_...]
NAME = GEO_INT_HKS_Knobs
CAST_LIGHT = 1
COLOR = 1,1,1,1
OFF_COLOR = 1,1,1,1
LAG = 0.65
SIMULATE_HEATING = 0.5
LOCATION = NONE



[SCRIPTABLE_DISPLAY_...]
MESHES=GEO_INT_EVC_Lights
KEEP_BACKGROUND=1
INTERACTIVE=0
SCRIPT='
function update(dt)
  display.rect{ 
    pos = vec2(0, 0),
    size = vec2(256, 256), 
    color = rgb(0,0,0) 
  }
  display.rect{ 
    pos = vec2(0, 0),
    size = vec2(6+math.floor(car.turboBoost/2/0.09)*22, 256), 
    color = rgb(0, 1, 0) 
  }
if shiftProgress > 0 then ac.boostFrameRate() end
 end'

---------------------------------------------------------------------------------------------------------------------------
<<<EXTRA LIGHTS>>>
[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Headlight_Inner_Glass
AMBIENT_INFLUENCE = 0
COLOR = 9, 6, 3, 30
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
MIRROR=0.426, 0, 0
POSITION=0, 0.518, 2.05
DIRECTION= 0, 0, 1
RANGE=0.17
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=2
SPOT=150

[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Headlight_Outter_Glass
AMBIENT_INFLUENCE = 0
COLOR = 9, 6, 3, 30
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
MIRROR=0.588, 0, 0
POSITION=0, 0.518, 1.99
DIRECTION= 0, 0, 1
RANGE=0.17
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=2
SPOT=150


[LIGHT_EXTRA_...]
BOUND_TO = GEO_EXT_Side_Light_Glass
AMBIENT_INFLUENCE = 0
COLOR = 4.3, 4, 2, 30
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
MIRROR=0.7, 0, 0
POSITION=0, 0.538, 1.93
DIRECTION= 1, 0, 1
RANGE=0.15
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=2
SPOT=150


---------------------------------------------------------------------------------------------------------------------------
<<<REFRACTS>>>

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Headlight_Inner_Glass
INSIDE = GEO_EXT_Chrome
RESOLUTION_MULT = 4
ABSORPTION = 0.000000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 0.000000
BULB_REFLECTION_K = 0.010000
CUSTOM_BULB_0 = 0.511000,0.494000,0.059000,0.000000
CUSTOM_BULB_1 = 0.511000,0.496000,0.474000,0.000000
CUSTOM_BULB_2 = 0.000000,0.504000,1.000000,0.622000
CUSTOM_BULB_3 = 1.000000,0.496000,0.237000,0.185000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.017643,-0.022568,-0.999590
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.070000
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 1.000000
GLASS_COLOR = 1.000000,1.000000,1.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.003500
INNER_SPECULAR = 2.800000
INNER_SPECULAR_EXP = 360.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,-0.000000,0.000007
MIRROR_POS = -0.000000,-0.000291,-0.000235
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = 0.432983,0.527306,2.172302
RADIUS = 0.083100
RAYTRACE_STEP_INCREASE = 3.000000
RAYTRACE_STEP_START = 0.010000
REFLECTIVENESS_DIFFUSE_MULT = 1.3
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.370000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Headlight_Outter_Glass
INSIDE = GEO_EXT_Chrome
RESOLUTION_MULT = 4
ABSORPTION = 0.000000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 6
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 1.200000
BULB_REFLECTION_K = 0.010000
CUSTOM_BULB_0 = 0.511000,0.494000,0.059000,0.000000
CUSTOM_BULB_1 = 0.511000,0.496000,0.267000,0.000000
CUSTOM_BULB_2 = 0.000000,0.504000,0.089000,0.622000
CUSTOM_BULB_3 = 1.000000,0.496000,0.037000,1.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.017643,-0.022568,-0.999590
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.010000
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 1.000000
GLASS_COLOR = 1.000000,1.000000,1.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000600
INNER_SPECULAR = 2.800000
INNER_SPECULAR_EXP = 360.000000
IOR = 1.750000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,-0.000000,0.000007
MIRROR_POS = -0.000000,-0.000291,-0.000235
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = 0.595490,0.530434,2.176086
RADIUS = 0.083100
RAYTRACE_STEP_INCREASE = 3.000000
RAYTRACE_STEP_START = 0.010000
REFLECTIVENESS_DIFFUSE_MULT = 1.3
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.370000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Side_Light_Glass
INSIDE = GEO_EXT_Chrome
RESOLUTION_MULT = 4
ABSORPTION = 0.058000
AMBIENT_MULT = 0.000000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 2.500000
BULB_REFLECTION_K = -0.000000
CUSTOM_BULB_0 = 0.444000,0.526000,0.059000,0.000000
CUSTOM_BULB_1 = 1.000000,0.552000,0.652000,0.771000
CUSTOM_BULB_2 = 0.163000,0.500000,0.096000,1.000000
CUSTOM_BULB_3 = 0.430000,0.534000,0.126000,0.000000
DIFFUSE_MAP_FILTER_MULT = 66.410004
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.216233,-0.169893,-0.961447
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.760000
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 3.000000
F0 = 1.000000
GLASS_COLOR = 0.575713,0.534769,0.444839
GLASS_EMISSIVE_MULT = 1.000000
GLASS_EXTRA_THICKNESS = 0.006800
INNER_SPECULAR = 5.100000
INNER_SPECULAR_EXP = 773.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.006170,0.000033,-0.000040
MIRROR_POS = 0.000674,0.256677,1.957330
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = -0.806314,0.567541,2.296850
RADIUS = 0.090200
REFLECTIVENESS_DIFFUSE_MULT = 5.400000
REFLECTIVENESS_MULT = 4.000000
REFLECTIVE_GAMMA = 0.800000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4.000000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Front_Lower_Indi_Glass
INSIDE = GEO_EXT_Chrome
ABSORPTION = 0.022000
AMBIENT_MULT = 0.000000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = -0.000000
CUSTOM_BULB_0 = 0.541000,0.252000,0.103000,0.000000
CUSTOM_BULB_1 = 0.535000,0.763000,0.096000,0.000000
CUSTOM_BULB_2 = 0.525000,0.564000,0.000000,0.000000
CUSTOM_BULB_3 = 0.543000,0.483000,0.078000,0.000000
DIFFUSE_MAP_FILTER_MULT = 4.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.047197,-0.001679,-0.998884
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2.120000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 3.000000
F0 = 0.880000
GLASS_COLOR = 1.000000,0.370058,0.000000
GLASS_EMISSIVE_MULT = 1.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 5.100000
INNER_SPECULAR_EXP = 773.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.008200,0.000029,-0.000055
MIRROR_POS = 0.000664,0.256652,1.961410
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = -0.717621,0.199486,2.541550
RADIUS = 0.047800
REFLECTIVENESS_DIFFUSE_MULT = 0.600000
REFLECTIVENESS_MULT = 5.800000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.660000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Side_Indicators_Glass
INSIDE = GEO_EXT_Side_Indicators_Surface
RESOLUTION_MULT = 4
ABSORPTION = 0.000000
AMBIENT_MULT = 0.950000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 0.520000
BULB_BLUR_K = 2.100000
BULB_REFLECTION_K = 0
CUSTOM_BULB_0 = 0.000000,0.500000,0.043000,1.000000
CUSTOM_BULB_1 = 1.000000,0.500000,0.034000,1.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.486000,0.500000,0.086000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.830000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = -0.997559,-0.003690,0.069764
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 16.010000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 14.000000
F0 = 1.000000
GLASS_COLOR = 0.474176,0.327315,0.113962
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.008600
INNER_SPECULAR = 1.900000
INNER_SPECULAR_EXP = 222.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = 0.100000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000001,0.000016
MIRROR_POS = -0.001221,0.582764,0.855225
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = 1.034485,0.515541,0.862854
RADIUS = 0.038300
REFLECTIVENESS_DIFFUSE_MULT = 0.800000
REFLECTIVENESS_MULT = 2.200000
REFLECTIVE_GAMMA = 1.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.480000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Taillight_Glass
INSIDE = GEO_EXT_Taillights_Surface
ABSORPTION = 0.172
AMBIENT_MULT = 0.42
BASE_EMISSIVE_K = 0.12
BOUNCED_BACK_MULT = 1
BULB_BLUR_K = 3.5
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.653000,0.485000,0.200000,0.159000
CUSTOM_BULB_1 = 0.891000,0.485000,0.200000,0.159000
CUSTOM_BULB_2 = 0.386000,0.485000,0.200000,0.159000
CUSTOM_BULB_3 = 0.158000,0.485000,0.200000,0.159000
DIFFUSE_MAP_FILTER_MULT = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = -0.009955,-0.064915,0.997841
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.61
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.77
GLASS_COLOR = 0.524912, 0, 0.00895014
GLASS_EMISSIVE_MULT = 0.2
GLASS_EXTRA_THICKNESS = 0.0346
INNER_SPECULAR = 4.5
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0.15
LOD_BIAS = -2
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.011470,0.000041,-0.000019
MIRROR_POS = 0.000165,0.540073,-1.780410
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.536898,0.703368,-2.516100
RADIUS = 0.1668
REFLECTIVENESS_DIFFUSE_MULT = 5.2
REFLECTIVENESS_MULT = 6.4
REFLECTIVE_GAMMA = 1.8
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.18
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Taillight_Glass_Inner
INSIDE = GEO_EXT_Taillights_Surface
ABSORPTION = 0.172
AMBIENT_MULT = 0.42
BASE_EMISSIVE_K = 0.12
BOUNCED_BACK_MULT = 1
BULB_BLUR_K = 3.5
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.653000,0.485000,0.200000,0.159000
CUSTOM_BULB_1 = 0.891000,0.485000,0.200000,0.159000
CUSTOM_BULB_2 = 0.386000,0.485000,0.200000,0.159000
CUSTOM_BULB_3 = 0.158000,0.485000,0.200000,0.159000
DIFFUSE_MAP_FILTER_MULT = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = -0.009955,-0.064915,0.997841
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.61
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.77
GLASS_COLOR = 0.524912, 0, 0.00895014
GLASS_EMISSIVE_MULT = 0.2
GLASS_EXTRA_THICKNESS = 0.0346
INNER_SPECULAR = 4.5
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0.15
LOD_BIAS = -2
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.011470,0.000041,-0.000019
MIRROR_POS = 0.000165,0.540073,-1.780410
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.536898,0.703368,-2.516100
RADIUS = 0.1668
REFLECTIVENESS_DIFFUSE_MULT = 5.2
REFLECTIVENESS_MULT = 6.4
REFLECTIVE_GAMMA = 1.8
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.18
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1


 [REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Taillight_Extras_Glass
INSIDE = GEO_EXT_Taillights_Extra_Surface_Red,GEO_EXT_Taillights_Extra_Surface_Orange, GEO_EXT_Taillights_Extra_Surface
ABSORPTION = 0.000000
AMBIENT_MULT = 1.5
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 0.2
BULB_BLUR_K = 0.000000
BULB_REFLECTION_K = -0.600000
CUSTOM_BULB_0 = 0.828000,0.525000,0.017000,1.000000
CUSTOM_BULB_1 = 0.000000,0.485000,0.017000,0.847000
CUSTOM_BULB_2 = 0.793000,0.526000,0.034000,0.000000
CUSTOM_BULB_3 = 0.347000,0.515000,0.034000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = -0.009958,-0.064966,0.997838
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.280000
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 140.000000
F0 = 0.57
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.750000
GLASS_EXTRA_THICKNESS = 0.010200
INNER_SPECULAR = 12.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.200000
IOR_FLYOUT_FLAT = 0.200000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.010560,0.000039,-0.000046
MIRROR_POS = 0.000138,0.540011,-1.778480
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.730000
ORIGIN = 0.528079,0.615639,-2.547900
RADIUS = 0.236500
REFLECTIVENESS_DIFFUSE_MULT = 1
REFLECTIVENESS_MULT = 7.200000
REFLECTIVE_GAMMA = 1.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.180000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1






[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_EXT_Trunk_Glass
INSIDE = GEO_EXT_Trunk_Surface
ABSORPTION = 0.012000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.410000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = 0.040000
CUSTOM_BULB_0 = 0.515000,0.495000,0.457000,0.058000
CUSTOM_BULB_1 = 0.770000,0.500000,0.655000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 100.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.002703,-0.085153,0.996364
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.520000
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 1.000000,0.248743,0.248743
GLASS_EMISSIVE_MULT = 0.070000
GLASS_EXTRA_THICKNESS = 0.011000
INNER_SPECULAR = 9.500000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = 1.000400,-0.000003,-0.000010
MIRROR_POS = 0.000109,0.720479,-2.392030
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 1.000000
ORIGIN = 0.000195,0.868851,-2.690030
RADIUS = 0.236500
REFLECTIVENESS_DIFFUSE_MULT = 4.800000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.990000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_INT_Maped_Lights
INSIDE = GEO_INT_Carpet
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.074675,1.405251,0.071591
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000445,1.152416,-0.145229
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.980000
ORIGIN = 0.001556,1.161499,-0.337265
RADIUS = 0.043200
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



[LIGHT_HEADLIGHT_...]
DIRECTION=0, -0.35, 1
MIRROR=0.52
POSITION=0, 0.56, 2,4
COLOR=50, 40,30, 0.18
RANGE = 20



---------------------------------------------------------------------------------------------------------------------------
<<<ANALOG INSTRUMENTS>>>
[ANALOG_INDICATOR_...]
BIND_TO=RPM
NAME=ARROW_RPM
ZERO=0.000
MIN_VALUE=0
STEP=0.02634146
OBJECT_NAME_MAX=
INPUT_LAG=0.9
LUT=(0=0|800=16|1000=22|2000=47|3000=72|4000=95|5000=119|6000=144|7000=168|8000=193.4|9000=219|10000=244)

[ANALOG_INDICATOR_...]
BIND_TO=SPEED
NAME=ARROW_SPEED
INPUT_LAG=0.9
LUT=(0=0|20=4|40=20.5|60=34.5|80=49|100=63.5|120=78|140=92.5|160=107|180=121.5|200=136|220=150.5|240=165.5|260=180.6|280=196.5|300=213|320=229|350=245)
[ANALOG_INDICATOR_...]
BIND_TO=FUEL
NAME=ARROW_FUEL
ZERO=0
MIN_VALUE=0
STEP=0.85
LUT=(0=7|32=33.5|65=70)




[ANALOG_INDICATOR_...]
BIND_TO=WATER_TEMP
NAME=ARROW_WATER
ZERO=0
STEP=0
MIN_VALUE=50
LUT=(50=-10|70=30|90=44|110=63|120=75)


[ANALOG_INDICATOR_...]
BIND_TO=OIL
NAME=ARROW_OIL
MIN_VALUE=2.5
MAX_VALUE=8.5
INPUT_LAG_UP=0.9
INPUT_LAG_DOWN=0.1
LUT=(0=0|1.56=26|4=44|7.3=68)
USE_BAR=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 = 1               ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 1    ; 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
DEBUG = 0 
DISC_RADIUS = 0.191          ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.115  ; radius of an inside part of a brake disc
RIM_HEIGHT = 1
LUMINOCITY_MASK = 0.0, 0.0
NORMAL_MASK = 0.0, 0.0
OVERRIDE_DIFFUSE_MAP = 0
OVERRIDE_NORMAL_MAP = 0
SPECULAR = 0.9, 0.2
REFLECTION_SHARPNESS = 10, 250
REFLECTION_F0 = 0.2, 0.5
WEAR_FORCE = 0.4


[CustomEmissiveMulti]
Meshes=GEO_INT_Dash_Lights
Intensity=2
PROP_...=emAlphaFromDiffuse,1
Resolution=256, 256
@=DashHighlight
@=MultiItem, Input=HANDBRAKE, Color="1, 0, 0, 4", Start = "3, 116", Size = "80, 61"
@=MultiItem, Role=DashWarningABS, Start = "4, 48", Size = "79, 62"
@=MultiItem, Input=BATTERY, Color="1, 0, 0, 5", InputThreshold=1, InputInverse, Start = "98, 46", Size = "78, 63"
@=MultiItem, Input=TURNSIGNAL_LEFT, Color="0, 4, 0, 0.2", Start = "3, 1", Size = "43, 38"
@=MultiItem, Input=TURNSIGNAL_RIGHT, Color="0, 4, 0, 0.2", Start = "62, 2", Size = "33, 36"
@=MultiItem, Input=OIL_TEMPERATURE, Color="1, 1, 0, 1.5", InputThreshold=140, Start = "99, 116", Size = "78, 58"
@=MultiItem, Input=HIGHBEAM, Color="0, 0.2, 1, 2", Start = "188, 59", Size = "65, 48"
@=MultiItem, Input=EXTRA_B, Color="4.9,1.5,1, 0.2", Start = "186, 111", Size = "64, 59"

[ODOMETER_MAIN]
NAME = GEO_INT_Odo
FONT = mfdarial
FONT_SCALE = 1
POSITION = 170, 191
SIZE = 154, 35
DIGIT_WIDTH = 27
COUNT = 6
BACKGROUND = 0.04
MOVEMENT_INTERVAL = 5

[ODOMETER_TRIP]
NAME = GEO_INT_Odo
FONT = mfdarial
FONT_SCALE = 1
POSITION = 182, 308
SIZE = 138, 39
DIGIT_WIDTH = 27
COUNT = 6
BACKGROUND = 0.04
MOVEMENT_INTERVAL = 5


---------------------------------------------------------------------------------------------------------------------------
<<<CSP MISC>>>
[EXTRA_FX]
MASK_GBUFFER=GEO_EXT_Windshield,GEO_EXT_Glass_Red,GEO_EXT_Glass
SKIP_GBUFFER=GEO_INT_Embossed,GEO_INT_Shift_Pattern,GEO_EXT_Stick_VSPEC,GEO_EXT_Sidelight_Glass,GEO_EXT_Glass


[WIPERS]
WIND_THRESHOLDS_KMH=60, 150
WIND_AMPLITUDE_MULT=1
WIND_FREQUENCY_MULT=1
WIND_OFFSET=0.03

---------------------------------------------------------------------------------------------------------------------------
;lua racelogic box

[SCRIPTABLE_DISPLAY_...]
MESHES = GEO_INT_Racelogic_Screen
RESOLUTION = 1024, 256   ; texture resolution
DISPLAY_POS = 0, 0   ; position of left top corner in your texture in pixels
DISPLAY_SIZE = 1024, 256 ; size of screen area in pixels
SKIP_FRAMES = 0           ; update every frame to get RPM needle to move smoothly. to make sure performance would be top notch, instead we’ll skip frames on Lua side
KEEP_BACKGROUND = 0       ; without clearing background: let’s do it from a script to make display look a bit laggy
SCRIPT = racelogic_vbox.lua