; Include Files
[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr.ini]
[INCLUDE: pbr_ext.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: common/gt3_exhaust_glow.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: scriptable_display.ini]

[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT=0,0,255,0.005
INTENSITY_MULT=5
SIZE_MULT=2.15
TEMPERATURE_MULT=50

[EXHAUST_FLAMES] ; CSP Flames Configuration
ANTILAG=1; turbo antilag, i havent tested this yet
ANTILAG_DELAY=1 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=10 ; flame size
ANTILAG_INTERVAL_MAX=6000
ANTILAG_INTERVAL_MIN=65000
ANTILAG_TURBO_THRESHOLD=0.0
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.1 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=5 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=5; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=50; flame size
DISCHARGE_RPM_THRESHOLD_MAX=6000 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=50 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6900
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0.2 ; delay, in seconds
LIMITER_INTENSITY=.1 ; flame size
LIMITER_RPM_THRESHOLD=6000 ; limiter flames will not shoot below this rpm

;//////////////////////////////////////////DIGITAL_INSTRUMENTS//////////////////////////////////////////

[DI_SPEED_...]
DIGITAL_ITEM = 0
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_SPEED_...]
DIGITAL_ITEM = 27
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_GEAR_...]
DIGITAL_ITEM = 1
DIGITAL_ITEM_NUMBER_FORMAT = GEAR

[DI_OIL_TEMPERATURE_...]
DIGITAL_ITEM = 3
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_WATER_TEMPERATURE_...]
DIGITAL_ITEM = 6
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_FUEL_ESTIMATE_DISTANCE_TOTAL_...]
DIGITAL_ITEM = 9
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
INPUT_MULT=0.001
UPPER_BOUND = 999

[DI_TIME_...]
DIGITAL_ITEM = 11
DIGITAL_ITEM_NUMBER_FORMAT = TIME, '%I:%M %p'  

[DI_DRIVEN_SESSION_...]
DIGITAL_ITEM = 12
DIGITAL_ITEM_NUMBER_FORMAT = 0.1

[DI_FUEL_CONSUMPTION_LP100K_...]
DIGITAL_ITEM = 16
DIGITAL_ITEM_NUMBER_FORMAT = 0.1
UPPER_BOUND = 99

[DI_DRIVEN_TOTAL_...]
DIGITAL_ITEM = 20
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_AMBIENT_TEMPERATURE_...]
DIGITAL_ITEM = 22
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

;//////////////////////////////////////////INTERIOR_LIGHTS//////////////////////////////////////////

[EMISSIVE_EXTRA_C_...]
NAME= Geo_Cockppit_HR_Sub40
COLOR=50, 50, 45, 1
LAG=0.1

[LIGHT_EXTRA_...]
AFFECTS_TRACK=0
BIND_TO_EXTRA_C=1
COLOR=1, 1, 1, 3.5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
POSITION=0.0585, 1.06, 0.334
DIRECTION=0,-2, 0
RANGE=2.0
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_EXTRA_D_...]
NAME= Geo_Cockppit_HR_Sub15
COLOR=50, 50, 45, 1
LAG=0.1

[LIGHT_EXTRA_...]
AFFECTS_TRACK=0
BIND_TO_EXTRA_D=1
COLOR=1, 1, 1, 3.5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
POSITION=-0.0585, 1.06, 0.334
DIRECTION=0,-2, 0
RANGE=2.0
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_LIGHT_...] 
NAME= Geo_Digital_Screen_A2, Geo_Digital_Screen_B2, GEO_RPM_Main_A4, GEO_RPM_Main, GEO_TEMP_Bar,GEO_Fuel_Bar,GEP_OIL_TEMP_A2_SUB0,GEO_WATER_TEMP_A2_SUB0,GEO_Fuel_Needle,Geo_RPM_Sport_A2_Sub2,Geo_Gauge_Sub5
COLOR=4,4,4
OFF_COLOR=5,5,5
LAG=0.2

[EMISSIVE_LIGHT_...] 
NAME= Geo_Cockppit_HR_Sub30
COLOR=1,1,1, 2
OFF_COLOR=4,4,4
LAG=0.9

[EMISSIVE_LIGHT_...] 
NAME= Geo_Gauge_Sub3
COLOR=1,1,1
OFF_COLOR=2,2,2
LAG=0.2

[EXTRA_FX_EMISSIVE_...]
MESHES = Geo_Digital_Screen_B2
COLOR=1,1,1, 3
OFF_COLOR=2,2,2
RANGE = 0.04
DIRECTED=1

[EMISSIVE_LIGHT_...] 
NAME= Geo_Cockppit_HR_Sub28, Geo_Door_L_Int_Sub14,Geo_Door_R_Int_Sub14  
COLOR=3,3,3
LAG=0.2

[EMISSIVE_...]
NAME= GEO_RPM_1
INPUT=RPM
INPUT_THRESHOLD=700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5

[EMISSIVE_...]
NAME= GEO_RPM_2
INPUT=RPM
INPUT_THRESHOLD=1700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_3
INPUT=RPM
INPUT_THRESHOLD=2700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_4
INPUT=RPM
INPUT_THRESHOLD=3700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_5
INPUT=RPM
INPUT_THRESHOLD=4700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_6
INPUT=RPM
INPUT_THRESHOLD=5700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_7
INPUT=RPM
INPUT_THRESHOLD=6700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_8
INPUT=RPM
INPUT_THRESHOLD=7700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= GEO_RPM_9
INPUT=RPM
INPUT_THRESHOLD=8700
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S1
INPUT=RPM
INPUT_THRESHOLD=800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S2
INPUT=RPM
INPUT_THRESHOLD=1800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S3
INPUT=RPM
INPUT_THRESHOLD=2800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S4
INPUT=RPM
INPUT_THRESHOLD=3800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S5
INPUT=RPM
INPUT_THRESHOLD=4800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S6
INPUT=RPM
INPUT_THRESHOLD=5800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S7
INPUT=RPM
INPUT_THRESHOLD=6800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S8
INPUT=RPM
INPUT_THRESHOLD=7800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[EMISSIVE_...]
NAME= Geo_Gauge_RPM_S9
INPUT=RPM
INPUT_THRESHOLD=8800
COLOR=4,4,4
OFF_COLOR=0.5,0.5,0.5
LAG=0.1

[ANIMATION_...]
INPUT= RPM
FILE = car_rpm.ksanim 
INPUT_LUT = (|0=0|1000=0.112||5000=0.551|9000=1)
INPUT_LAG_UP = 0.1
INPUT_LAG_DOWN = 0.1
INPUT_AS_PROGRESS = 1      

[ANIMATION_...]
INPUT= RPM
FILE = car_rpm_sport.ksanim 
INPUT_LUT = (|0=0|1000=0.1||5000=0.5|9000=0.9)
INPUT_LAG_UP = 0.1
INPUT_LAG_DOWN = 0.1
INPUT_AS_PROGRESS = 1        

[ANIMATION_...]
INPUT= OIL_TEMPERATURE 
FILE = car_oil_temp.ksanim 
INPUT_LUT = (|0=0|85=0.5|170=1)
INPUT_LAG_UP = 0.1
INPUT_LAG_DOWN = 0.1
INPUT_AS_PROGRESS = 1        

[ANIMATION_...]
INPUT= WATER_TEMPERATURE 
FILE = car_water_temp.ksanim 
INPUT_LUT = (|0=0|85=0.5|170=1)
INPUT_LAG_UP = 0.1
INPUT_LAG_DOWN = 0.1
INPUT_AS_PROGRESS = 1        

[ANIMATION_...]
INPUT= FUEL 
FILE = car_fuel.ksanim 
INPUT_LUT = (|0=0|36=0.5|72=1)
INPUT_LAG_UP = 0.1
INPUT_LAG_DOWN = 0.1
INPUT_AS_PROGRESS = 1        

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_1.ksanim
INPUT_LUT = (500=0|900=1|1000=1|1500=0)      
TIME=0.1

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_2.ksanim
INPUT_LUT = (1500=0|1900=1|2100=1|2500=0)
TIME=0.1

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_3.ksanim
INPUT_LUT = (2500=0|2900=1|3100=1|3500=0)
TIME=0.1     

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_4.ksanim
INPUT_LUT = (3500=0|3900=1|4100=1|4500=0)
TIME=0.1   

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_5.ksanim
INPUT_LUT = (4500=0|4900=1|5100=1|5500=0)      
TIME=0.1
   
[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_6.ksanim
INPUT_LUT = (5500=0|5900=1|6100=1|6500=0)
TIME=0.1

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_7.ksanim
INPUT_LUT = (6500=0|6900=1|7100=1|7500=0)
TIME=0.1  

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_8.ksanim
INPUT_LUT = (7500=0|7900=1|8100=1|8500=0)
TIME=0.1

[ANIMATION_...]
INPUT = RPM
FILE = car_rpm_9.ksanim
INPUT_LUT = (8500=0|8900=1|9100=1|9500=0)
TIME=0.1


[INSTRUMENTS]
HAZARDS_G_THRESHOLD = -1  ; set G-force for hazards to turn on automatically on sudden braking
SPEED_FIX = 1             ; use speed of powered wheels for speedometer
SPEED_LAG = 0.85          ; speed lag for SPEED_FIX option
SPEED_LIMIT =             ; if more than zero, used as upper bound for speed for SPEED_FIX option

[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.13         ; 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

[SHADER_REPLACEMENT_...]
MESHES = GEO_RPM_1,GEO_RPM_2,GEO_RPM_3,GEO_RPM_4,GEO_RPM_5,GEO_RPM_6,GEO_RPM_7,GEO_RPM_8,GEO_RPM_9,Geo_Gauge_RPM_S1,Geo_Gauge_RPM_S2,Geo_Gauge_RPM_S3,Geo_Gauge_RPM_S4,Geo_Gauge_RPM_S5,Geo_Gauge_RPM_S6,Geo_Gauge_RPM_S7,Geo_Gauge_RPM_S8,Geo_Gauge_RPM_S9,Geo_Gauge_Sub3
PROP_... = ksAmbient, 0
PROP_... = ksDiffuse, 0
PROP_... = ksSpecular, 0

[SHADER_REPLACEMENT_...]
MESHES = Geo_Gauge_Sub7
PROP_... = ksDiffuse, 0.1
PROP_... = fresnelC, 0.08
PROP_... = fresnelEXP, 1.25
PROP_... = fresnelMaxLevel, 0.45

[SHADER_REPLACEMENT_...]
MESHES = Geo_Cockppit_HR_Sub42  
PROP_... = ksDiffuse, 0.02
PROP_... = ksSpecular, 0

[SHADER_REPLACEMENT_...]
MESHES = GEO_RPM_Main_A4,Geo_RPM_Sport_A2_Sub2
PROP_... = ksSpecular, 0

[SHADER_REPLACEMENT_...]
MESHES = GEP_OIL_TEMP_A2_SUB1,GEP_OIL_TEMP_A3,GEO_WATER_TEMP_A2_SUB1,GEO_WATER_TEMP_A3,GEO_Fuel_A2,GEO_RPM_Main_A2,GEO_RPM_Main_A3,Geo_RPM_Sport_A2_Sub1,Geo_RPM_Sport_A3
PROP_... = ksEmissive, 1,1,1

[SHADER_REPLACEMENT_...]
MESHES = GEO_LIGHT_Brake_Light,GEO_TS_LR_0,GEO_TS_LR_1,GEO_TS_LR_2,GEO_TS_LR_3,GEO_TS_LR_4,GEO_TS_LR_5,GEO_TS_LR_6,GEO_TS_LR_7,GEO_TS_LR_8,GEO_TS_LR_9,GEO_TS_LR_10,GEO_TS_LR_11,GEO_TS_LR_12,GEO_TS_LR_13,GEO_TS_LR_14,GEO_TS_LR_15,GEO_TS_RR_0,GEO_TS_RR_1,GEO_TS_RR_2,GEO_TS_RR_3,GEO_TS_RR_4,GEO_TS_RR_5,GEO_TS_RR_6,GEO_TS_RR_7,GEO_TS_RR_8,GEO_TS_RR_9,GEO_TS_RR_10,GEO_TS_RR_11,GEO_TS_RR_12,GEO_TS_RR_13,GEO_TS_RR_14,GEO_TS_RR_15
PROP_... = ksDiffuse, 0.3


[DATA] 
DISABLE_LIGHTSINI=1
DISABLE_ANALOGINSTRUMENTSINI = 1  ; disables “analog_instruments.ini” completely, so you could recreate it with custom analog instruments


[LIGHTING] ; Standard Config - Do Not Change
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1

[LIGHT_FLAME_...] ; Flame Brightness
BRIGHTNESS_MULT=5
CAR_BRIGHTNESS_MULT=2
CAR_RANGE_MULT=1
COLOR=20,1,1,0.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

[SCRIPTABLE_DISPLAY_...]
MESHES =chassis.030
RESOLUTION = 1000,500; matches values in navigator
DISPLAY_POS = 0,0
DISPLAY_SIZE = 1280,720
KEEP_BACKGROUND = 0 ; Stop CSP from painting original texture as background to get stereo and navigator 
  ; to work. Script will need to reset background manually or things will leave trails.
INTERACTIVE = 1 ; Keep track of mouse position over the display (adds extra cost, especially on high poly meshes)
FORCE_UPDATE_AFTER = NAVIGATOR_0
SCRIPT = info_sayrx.lua

[INCLUDE: common/materials_carpaint.ini]
DisableDev = 1

[Material_CarPaint_Metallic]
CarPaintMaterial = 720 Paint
BaseSpecularColor = #FFFFFF
FresnelMax = 0.3
FresnelC = 5
FlakesK = 2
BrightnessAdjustment = 0.6
SpecularBase = 0.5, 100
SpecularSun = 0, 2000
AmbientSpecular = 1.0
AmbientSpecularEXP= 300.0
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0
;ClearCoatTint = 
UseMetallicReflections = 0

[Material_Chrome]
Materials =24.002
Metalness = 5
Reflectance = 5
Smoothness = 1
BrightnessAdjustment = 0.3
LocalReflectionsSharpness =1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0.7,0.7,0.7,8.5
DetailScale = 50
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 0
CubemapReflectionBlur = 1

--------------  LIGHTS  ---------------

[LIGHT_HEADLIGHT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=7,7,9,2
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0.0, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=190
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.68526
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.5
OFF_MULT=0
OFF_POSITION=0, 0.58216, 1.74877
OFF_RANGE_MULT=0.3
POPUP_ENABLED=1
POPUP_START=0.05
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POSITION=0, 0.45, 1.99
RANGE=210
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.0922464, 0.0919776, 0.09144
SPOT_EDGE_SHARPNESS=21.2
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0

[EMISSIVE_HIGHBEAM_...]
NAME=extralight_2
COLOR=255,255,250,1
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=headlight_r,headlight_l,body.001,extralight_1
COLOR=255,255,255,0.1
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=indicator_lf
COLOR=255,65,0,5
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=

[REFRACTING_HEADLIGHT_...]
SURFACE =
INSIDE =
SYNC_EMISSIVE_AUTO=

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=indicator_rf
COLOR=255,65,0,5
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=

[LIGHT_LICENSEPLATE]
MESHES=jolopelake
OFFSET=0.0, 0.0, 0.0
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.2
SPOT=150
SPOT_SHARPNESS=0
COLOR=255,255,200,0.3
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP

[EXTRA_FX_EMISSIVE_...]
MESHES=
RANGE = 0.1
COLOR =0,0,225,0.002
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 100
SAMPLES_LIMIT = 300
SPLIT_ELEMENTS = 0
SPLIT_THRESHOLD = ...
NORMAL_SHIFT = 0
COVERED_BY = ...

[SCRIPT...]
SCRIPT=rgb.lua

; launch control by Sayrx AI V1.6
[SCRIPT...] ; Script Header
SCRIPT=lc_sayrx.lua ; File Reference

[EMISSIVE_REVERSE_...]
NAME=reversinglight_l
COLOR=255,255,255,5
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_BRAKE_...]
NAME=taillight_l,taillight_r
COLOR=255,10,0,5
FALLBACK_HEADLIGHTS_COLOR=255,255,255,1
LAG=0.35
ACT_AS_HEADLIGHTS=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[LIGHT_BRAKE_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=255, 0, 0, 0.02
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.480602
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=1, 0.0478983, 0, 2
OFF_FADE_MULT=0.764696
OFF_MIRROR=0.499414
OFF_MULT=0.1
OFF_POSITION=0, 0.1, 0
OFF_RANGE_MULT=0.831926
POSITION=0, 0, -2.5
RANGE=9
RANGE_GRADIENT_OFFSET=0.275
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=190
SPOT_EDGE=0.406, 0.406, 0.406
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3675

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.4
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=0.275, 0.192, 0.962
DIRECTION=0.0, 0,-360
RANGE=0.6
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.4
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=-0.383, 0.187, 0.838
DIRECTION=0.0, 0,-360
RANGE=0.6
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.1
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=-0.0901, 0.314, 0.343
DIRECTION=0.0, 0,-360
RANGE=0.6
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.1
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=0.663, 0.471, 0.349
DIRECTION=0.0, 0,-360
RANGE=0.4
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.1
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=-0.774, 0.479, 0.309
DIRECTION=0.0, 0,-360
RANGE=0.4
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.1
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=-0.235, 0.776, 0.911
DIRECTION=0.0, 0,-360
RANGE=0.4
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS = 1
AMBIENT_INFLUENCE = 0
COLOR=255,0,255,0.1
DIFFUSE_CONCENTRATION = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.2
FADE_AT=200
FADE_SMOOTH=50
MIRROR=0.0, 0, 0
POSITION=-0.596, 0.778, 0.837
DIRECTION=0.0, 0,-360
RANGE=0.4
RANGE_GRADIENT_OFFSET=0
SPECULAR_MULT=1
SPOT=0

[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER =body.025
SKIP_GBUFFER =body.025

-------------  CARPAINT ---------------

[Material_Plastic]
Materials =24.002,720S Plastic
Smoothness = 1
Reflectance = 0.1
BrightnessAdjustment = 0.1

[Material_PhotoelasticGlass]
Materials = GlassHDL
FilmIOR = 2
ThicknessMult = 0
PhotoelasticityMult = 0
PhotoelasticityBaseScale = 25


--------------  GLASS  ---------------

[INCLUDE: common/materials_glass.ini]

[Material_Glass]
Meshes= windscreen,window_rf,window_rf.001,window_rr,windscreen_r.001,window_lr,window_lf
IOR = 2.200           
FilmIOR = $IOR     
ThicknessMult = 50
ProfileFix = 0.08    
MaskPass = 1       
MaskPassColor = 1, 1, 1  

[Material_Glass]
Materials = GlassClear
FilmIOR = 2
ThicknessMult=10


[SHADER_REPLACEMENT_...]
MATERIALS =Ligh32
SHADER=stPerPixelNM_UVflow
FILL_MISSING_TEXTURES=1
PROP_... = offsetDSpeed, 1
PROP_... = ksDiffuse, 0.5
PROP_... = ksAmbient, 2
PROP_... = fresnelMaxLevel, 0.5
PROP_... = fresnelC, 0.2
PROP_... = fresnelEXP, 3
RESOURCE_0=txDiffuse
RESOURCE_FILE_0 = rgb.jpg
RESOURCE_2=txDetail
RESOURCE_FILE_2= rgb.jpg 

--------------  PBR MATERIALS  ---------------

[INCLUDE: common/materials_interior.ini]

[Material_Velvet_v2]
Materials =720S Leather2,720 Leather
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.01
UseClothShading = 1
Reflectance = 0.3
DetailScale = 50
ClothSheenColor = 1.5, 1.5, 1.5
OcclusionMap=0.2
