[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/gt3_exhaust_glow.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]


[SCRIPTABLE_DISPLAY_...]
MESHES = Int_tex.012
REFRESH_RATE = 60
SKIP_FRAMES = 0
SCRIPT = script.lua

------------------------- AUDIO -----------------------------

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 0   ; for turbo sound, “throttle” input, same as in engine event
ENGINE_EXT_BOOST = 0  ; for exterior engine sound, “boost” input, same as in turbo event
ENGINE_INT_BOOST = 0  ; for interior engine sound, “boost” input, same as in turbo event

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

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

------------------------------------------------ TURN SIGNALS ----------------------------------------------


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= LFB
COLOR=40, 6, 0, 30
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=FRONT
FALLBACK_BASE_COLOR=125,125,150,0.5

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME= DPP_lak.005 
COLOR=40, 6, 0, 15
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=CENTER

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=RFB
COLOR=40, 6, 0, 30
LAG=0
SIMULATE_HEATING=0 
LOCATION=FRONT
FALLBACK_BASE_COLOR=125,125,150,0.5

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME= DPP_lak.004 
COLOR=40, 6, 0, 15
LAG=0
SIMULATE_HEATING=0 
LOCATION=CENTER

[EMISSIVE_HAZARD_0]
COLOR=40,4,4,0.3
OFF_COLOR=40,4,4,0.3
NAME=Int_tex.015
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0
LAG=0.2

--------------------------------- CAR ANDROID -------------------------------------

[INCLUDE: android_auto/config.ini]

[Display_AndroidAuto]
Meshes = Int_tex.013 
Resolution = 640, 640 ; texture resolution
Size = 640, 255           ; size of the screen area
Offset = 0, 0     ; left top corner of screen area
Scale = 2            ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.7, -5.4  ; position of rear view camera
REFRESH_RATE = 144
aftermarketComponent = 1


---------------------------------------------------- HEADLIGHTS ---------------------------------------------------------


[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=7,7,7,0.5
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_LIGHT_...]
NAME=Plane.020
COLOR = 120,120,150,10
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...]
NAME=HB
COLOR = 120,120,150,1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EXTRA_FX_EMISSIVE_...]
MESHES = Plane.020,HB
RANGE = 0.13
COLOR = 0.3
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 2
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[EXTRA_FX_EMISSIVE_...]
MESHES = Plane.021
RANGE = 0.0
COLOR = 1.8
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 6
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.0

[EXTRA_FX_EMISSIVE_...]
MESHES =Plane.007
RANGE = 0.03
COLOR = 2.0
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 4
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.0



[EMISSIVE_LIGHT_...]
NAME=Plane.021,Plane.003
COLOR = 125,125,150,0.5
OFF_COLOR = 125,125,150,0.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[REFRACTING_HEADLIGHT_0]
SURFACE =Plane.022
INSIDE = Plane.021
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.131
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.15
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.31
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.61
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 0,0.6449703,2.117736
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.53
ORIGIN = 0.64115787,0.6449703,2.231
RADIUS = 0.18680033
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_1]
SURFACE =KK123
INSIDE =RFB
SYNC_EMISSIVE_AUTO=1 
ABSORPTION = 0.02
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT =2
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0,0,0
MIRROR_POS = -0.7320583,0,0
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = -0.729,0.68020225,2.128
RADIUS = 0.1519003
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_2]
SURFACE =RFG
INSIDE =LFB
SYNC_EMISSIVE_AUTO=1 
ABSORPTION = 0.02
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.12
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0,0,0
MIRROR_POS = -0.7320583,0,0
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = 0.729,0.68020225,2.128
RADIUS = 0.1519003
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




[EMISSIVE_LIGHT_...]
NAME=Kar_sbs.001 
COLOR = 12,12,9,2
LAG=0.5
LOCATION=FRONT
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= bulb_platelights  
COLOR = 12,12,9,2
LAG=0.5
LOCATION=REAR
OFF_COLOR=0,0,0

[EMISSIVE_HIGHBEAM_...]
BIND_TO_HEADLIGHTS=1
NAME=
COLOR = 120,120,150,1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=125,100,150,2

[EMISSIVE_HIGHBEAM_...]
BIND_TO_HEADLIGHTS=1
NAME=HL_LWh.001
COLOR = 120,120,120,1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=125,100,150,2

[EMISSIVE_HANDBRAKE_...]
NAME=250.002
COLOR=255,0,0, 0.2                               
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...]
NAME= dials_opaque
COLOR = 80,40,0,0.1
LAG=0.5
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= niddle_rpm, niddle_temp, niddle_fuel, niddle_speed 
COLOR =255,165,0,1
LAG=0.5
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= Car_Door_RL_Buttons.001,
COLOR = 245,25,0,.05
LAG=0.5
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= 
COLOR = 255, 127, 80,0.3
LAG=0.5
OFF_COLOR=0,0,0


[EMISSIVE_LIGHT_...]
NAME= Int_tex.011,Plane.002
COLOR =245,25,0,.05
LAG=0.965
OFF_COLOR=0,0,0


[EMISSIVE_LIGHT_...]
NAME= Int_tex.007_SUB0.002
COLOR = 255, 0, 0,.2
LAG=.965
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= Int_tex.015
COLOR = 255, 0, 0,.2
LAG=.965
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= Plane.010_SUB1, 
COLOR = 204, 85, 0, 0.03
LAG=0F_COLOR=0,0,0
LAG=.965

[EMISSIVE_LIGHT_...]
NAME= Plane.010_SUB0, 
COLOR = 204, 85, 0, .3
LAG=0F_COLOR=0,0,0
LAG=.965

[EMISSIVE_LIGHT_...]
NAME=steeringwheel15,misc_a_SUB10
COLOR = 245,15,0,.05
LAG=0F_COLOR=0,0,0
LAG=.965

[EMISSIVE_LIGHT_...]
NAME=Int_tex.012
COLOR = 245, 245, 245, 0.005
LAG=0F_COLOR=0,0,0
OFF_COLOR=245, 245, 245, 0.005 
LAG=.965

[EMISSIVE_LIGHT_...]
NAME=Int_tex.013
COLOR = 245, 245, 245, 0.005
LAG=0F_COLOR=0,0,0
OFF_COLOR=245, 245, 245, 0.003
LAG=.965 

[EMISSIVE_LIGHT_...]
NAME= 250.004
COLOR = 80,80,0,0.04
LAG=.965
OFF_COLOR=0,0,0


[EMISSIVE_LIGHT_...]
NAME= flewka
COLOR = 80,40,0,0.08
LAG=.965
OFF_COLOR=0,0,0

[EMISSIVE_LIGHT_...]
NAME= flewka.007
COLOR = 80,25,0,0.08
LAG=.965
OFF_COLOR=0,0,0

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

------------------------------------ PLATELIGHTS ------------------------------------------

[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES= Cube.002
OFFSET=0.00, 0.035, -0.03
RANGE=0.31
RANGE_GRADIENT_OFFSET=0.25
SPOT=180
SPOT_SHARPNESS=0.8
COLOR=20,20,20,0.8
FALLBACK_EMISSIVE=1,1,1,0.9
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=10
FADE_SMOOTH=4
ACTIVE=1
AFFECTS_TRACK=1

------------------------------------------------------- TAILLIGHTS ------------------------------------------------------

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = 
COLOR= 25,2,0,1
OFF_COLOR= 25,2,0,1
LAG=0.3
SIMULATE_HEATING=1
AFFECTS_TRACK=1

[EMISSIVE_BRAKE_...] 
NAME= Plane.007, DPZ_skl.004
CHANNEL=0
COLOR=50,2,0, 5
LAG=0.8
SIMULATE_HEATING=3
LOCATION=REAR

[EMISSIVE_REVERSE_0]
NAME = Plane.005
COLOR = 10, 10, 10, 30     
LAG = 0.4                  
SIMULATE_HEATING =0
AFFECTS_TRACK=1     
LOCATION = REAR

[WINDOW_TINT]
NAME=Kar_skl.002 
ENABLED=1
TINT_COLOR=50, 50, 50, 500    


-----------------GAUGE CASTED------------------------


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
AMBIENT_INFLUENCE = 0.1
COLOR=80,40,0,0.01
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, 0.0, 0
POSITION=-0.30, 0.80, 0.61
DIRECTION=-0, 0.4, -1
RANGE=0.22
RANGE_GRADIENT_OFFSET=0.9
SPECULAR_MULT=1
SPOT=180
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
AMBIENT_INFLUENCE = 0.1
COLOR=80,30,0,0.8
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=9999999
FADE_SMOOTH=50
MIRROR=0, 0.0, 0
POSITION=-0.0111, 0.471, 0.411
DIRECTION=0.4, 0.4, -1
RANGE=0.17
RANGE_GRADIENT_OFFSET=0.7
SPECULAR_MULT=1
SPOT=180
SPOT_SHARPNESS=0.3


--------------------------------- CAR ANDROID -------------------------------------

[EMISSIVE_TURNSIGNAL_RIGHT_4]  

RANGE_START_INDEX =1
RANGE_END_INDEX = 20
RANGE_PREFIX = rrblinker_
COLOR=517,290,0
OFF_COLOR=0.0,0.0,0.0
TOGGLE_VISIBILITY=0
RANGE_DELAY = 0.01
REPEAT_FREQENCY_HZ=3
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_4]  

RANGE_START_INDEX =1
RANGE_END_INDEX = 20
RANGE_PREFIX = lrblinker_
COLOR=517,290,0
OFF_COLOR=0.0,0.0,0.0
TOGGLE_VISIBILITY=0
RANGE_DELAY = 0.01
REPEAT_FREQENCY_HZ=3
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=0


[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights14
INPUT_LAG_UP = 0.0
INPUT_LAG_DOWN = 0.99
COLOR=250,0,0,1
LAG = 0.9
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights13
INPUT_LAG_UP = 0.6
INPUT_LAG_DOWN = 0.9898
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights12
INPUT_LAG_UP = 0.9
INPUT_LAG_DOWN = 0.9895
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights11
INPUT_LAG_UP = 0.9317
INPUT_LAG_DOWN = 0.989
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights10
INPUT_LAG_UP = 0.950
INPUT_LAG_DOWN = 0.9885
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights09
INPUT_LAG_UP = 0.970
INPUT_LAG_DOWN = 0.9875
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights08
INPUT_LAG_UP = 0.978
INPUT_LAG_DOWN = 0.985
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights07
INPUT_LAG_UP = 0.983
INPUT_LAG_DOWN = 0.983
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights06
INPUT_LAG_UP = 0.985
INPUT_LAG_DOWN = 0.978
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights05
INPUT_LAG_UP = 0.9875
INPUT_LAG_DOWN = 0.970
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights04
INPUT_LAG_UP = 0.9885
INPUT_LAG_DOWN = 0.950
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights03
INPUT_LAG_UP = 0.989
INPUT_LAG_DOWN = 0.9317
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights02
INPUT_LAG_UP = 0.9895
INPUT_LAG_DOWN = 0.9
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
INPUT = LIGHT
NAME = Tailights01
INPUT_LAG_UP = 0.9898
INPUT_LAG_DOWN = 0.6
COLOR=250,0,0,1
LAG = 0.7
SIMULATE_HEATING = 0.5







--------------------------------------- WIPERS-------------------------------------


[WIPERS_TRACE_...]
SURFACE = 
WIPERS= 

[ANIMATED_WIPER_...]
MESHES = 
UNDERLYING_SURFACE = 
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = 
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1


----------------- GLASS PBR ------------------------


[INCLUDE: common/materials_glass.ini]


[EXTRA_FX]
SKIP_GBUFFER= Kar_skl.002,Kar_skl.001
MASK_GBUFFER =Plane.052,Plane.010_Plane.015

[Material_PhotoelasticGlass]
PhotoelasticityBaseScale = 0.4
PhotoelasticityNoiseScale = 0.04
PhotoelasticitySpotsScale = 0.03 
PhotoelasticitySpotsOffset = 0.9  
PhotoelasticityStripesScale = 0.6 
FilmIOR = $IOR
Materials= ExtGlass
FilmIOR = 1.6              ; looks better like this
PhotoelasticityMult = 0.3  ; doesn’t look good if too high
ProfileFix = 0.08

[Material_PhotoelasticGlass]
PhotoelasticityBaseScale = 0.4
PhotoelasticityNoiseScale = 0.04
PhotoelasticitySpotsScale = 0.03 
PhotoelasticitySpotsOffset = 0.9  
PhotoelasticityStripesScale = 0.6 
FilmIOR = $IOR
Materials= smoked_glass
FilmIOR = 1.5            ; looks better like this
PhotoelasticityMult = 0.3  ; doesn’t look good if too high
ProfileFix = 0.08


[Material_Glass]
Materials = ExtWindows 
IOR = 2             ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
MaskPass = 2            ; mask pass opacity


[Material_Glass]
Materials =smoked_glass 
IOR = 2             ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 4  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
MaskPass = 2            ; mask pass opacity

------------------------- EXHAUST -------------------------------


[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = 
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 82
INPUT_MAX = 100
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3


[PARTICLES_FX_EXHAUST_0]
POSITION=0.4908836,0.27,-2.207223
DIRECTION=0,0,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_1]
POSITION=-0.4946508,0.27,-2.202619
DIRECTION=0,0,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_2]
POSITION=0.5948204,0.2685885,-2.158608
DIRECTION=0,0,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_3]
POSITION=-0.5962705,0.2685885,-2.180427
DIRECTION=0,0,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX]
SPARKS_AS = STEEL ; base material tags for all the colliders including collider.kn5
BODY_SPARKS_AS = CARBON ; material tags for collider.kn5
COLLIDER_0_SPARKS_AS = TITANIUM, SKIDPAD ; material tags for COLLIDER_0 in colliders.ini
COLLIDER_1_SPARKS_AS = IRON ; material tags for COLLIDER_0 in colliders.ini

[WOBBLY_BIT_...]
NAME = EXHAUST          ; name of the node to move
CONNECTED_TO = 1, 1, 1   ; point to which node is attached to, and around which it will rotate
MAX_RANGE = 0.004                ; max range node can move from its original position
DAMPENING_LAG = 0.9            ; think of it as usual AC lag value, trying to zero node’s speed
G_GAIN = 24                      ; how much G-forces affect node’s speed
GRAVITY_GAIN = 3                ; how much gravity affects node’s speed
OFFSET_GAIN = 2000              ; how strong is returning force
STIFF_AXIS = 1, 1, 0            ; optional higher stiffness axis to reduce movement along it
STIFF_AXIS_STIFFNESS = 1      ; now stiff is optional stiffness axis
G_FILTER = 0                    ; temporal filter for G-forces
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1 ; either `0` or `1`; set it to `1` if you don’t want gravity to skew your stuff when car is in neutral position

[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

[LIGHT_FLAME_1] ; 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

[LIGHT_FLAME_2] ; 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

[LIGHT_FLAME_3] ; 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

[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=50 ; flame size
ANTILAG_INTERVAL_MAX=7250
ANTILAG_INTERVAL_MIN=3000
ANTILAG_TURBO_THRESHOLD=0.05
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.001 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=0.95 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=0.97; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=35; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7250 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=4250 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0.001 ; after upshift
FLAT_SHIFT_DURATION=0.5 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=1 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=20 ; flame size
FLAT_SHIFT_PROBABILITY=0.92 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0.0001 ; delay, in seconds
LIMITER_INTENSITY=25 ; flame size
LIMITER_RPM_THRESHOLD=6250 ; limiter flames will not shoot below this rpm


------------------ ROAD LIGHT CASTS ----------------------



[LIGHT_EXTRA_0_REARLIGHTS]
;taillight sprite to road
BOUND_TO= HL_LOr.001
BOUND_EMISSIVE_MAX=20
BOUND_EXP= 0.5
POSITION=-0.1, 0.75, -2.3
MIRROR=0.5
DIRECTION=-0.1, 0, -1
AFFECTS_TRACK=1
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SPECULAR_MULT=3
DIFFUSE_CONCENTRATION=0.88
SPOT=170
SPOT_SHARPNESS=0.1
FADE_AT=450
FADE_SMOOTH=5
RANGE=4
RANGE_GRADIENT_OFFSET=0.25
COLOR=3, 0.25, 0, 0.3


[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0, 0, 4
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, -3
OFF_RANGE_MULT=0.831926
POSITION=-0.1, 0.9, -2.3"
RANGE=5
RANGE_GRADIENT_OFFSET=0.275
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=160
SPOT_EDGE=0.406, 0.406, 0.406
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3675


------------------------- BRAKE FX -------------------------------

[BRAKEDISC_FX]
ACTIVE = 1
CERAMIC = 0
CARVED = 1
CARVED_FREQUENCY = 10
GLOW_OFFSET = 0.75
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.085
DISC_RADIUS = 0.25
ALPHA_MASK = 0.5, 1
WEAR_FORCE = 0.8

----------------------------- LIGHTING INSIDE WORK ---------------------------------

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
NAME= Int_tex.007_SUB0.002 
COLOR==180,10,10,1
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5



[LIGHT_EXTRA_...] ; 
BOUND_TO= Int_tex.007_SUB0.002 
COLOR=180,10,10,0.02
DIFFUSE_CONCENTRATION=0.0
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.446, 0.711, 0.397
DIRECTION=0,-1,0
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0



[LIGHT_EXTRA_...] ; 
BOUND_TO= Int_tex.007_SUB0.002
COLOR=180,10,10,0.012
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.446, 0.711, 0.397
DIRECTION=0,-1,-2
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0



[LIGHT_EXTRA_...] ; 
BOUND_TO= Int_tex.007_SUB0.002 
COLOR=180,10,10,0.04
DIFFUSE_CONCENTRATION=0.0
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.391, 0.693, -0.447
DIRECTION=0,-1,0
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0



[LIGHT_EXTRA_...] ; 
BOUND_TO= Int_tex.007_SUB0.002
COLOR=180,10,10,0.04
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.391, 0.693, -0.399
DIRECTION=0,-1,-2
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...]
BOUND_TO = Plane.041
COLOR=250,250,250, 1.5
DIFFUSE_CONCENTRATION=0.7
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.6
LAG=0.9 
FADE_AT=60
FADE_SMOOTH=53
MIRROR=0.718, 0.0, 0
POSITION=0, 0.618, 1.95
DIRECTION=0.1, 0.06, 1
RANGE=0.20
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=3
SPOT=72
SPOT_SHARPNESS=0.001



[LIGHT_EXTRA_...]
BOUND_TO = 
COLOR=250,250,250, 3.5
DIFFUSE_CONCENTRATION=0.7
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.6
LAG=0.9 
FADE_AT=60
FADE_SMOOTH=53
MIRROR=0.568, 0.0, 0
POSITION=0, 0.618, 2.05
DIRECTION=0.1, 0.06, 1
RANGE=0.20
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=3
SPOT=72
SPOT_SHARPNESS=0.001












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




[SHADER_REPLACEMENT_...]
MESHES= steeringwheel10
IS_TRANSPARENT = 1
BLEND_MODE = ALPHA_TEST






