[INCLUDE: refr.ini]
[INCLUDE: pbr.ini]
[INCLUDE: 23.ini]
[INCLUDE: refraction.ini]
[INCLUDE: common/custom_emissive.ini] 
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: navigators_maps.ini]
[INCLUDE: navigators_layouts.ini]
[INCLUDE: navigators_themes.ini]
[INCLUDE: common/custom_rims.ini]
[INCLUDE: common/selflighting.ini]

[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=40 ; flame size
ANTILAG_INTERVAL_MAX=9000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DI3CHARGE_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=3.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=9000 ; 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=5 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=80 ; 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=8500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=5 ; flame size
LIMITER_RPM_THRESHOLD=2000 ; limiter flames will not shoot below this rpm


[Material_Carbon]
Materials = ext_carbon_guba_hood
BrightnessAdjustment = 0.2
ClearCoatF0 = 0.01

[EMISSIVE_EXTRA_F_0]
BIND_TO_EXTRA_F=1
BIND_TO_HEADLIGHTS=0
NAME = Plate_LODA001,rublevka001,Plate_LODA001.001,extra1
COLOR=0.02,0.02,0.02,1         ; glowing color if condition is met
OFF_COLOR = 0,0,0         ; glowing color otherwise, default value is 0
LAG = 0.1                  ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; adds heating effect, going through orange tint while turning on and off
LOCATION =FRONT             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 0       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights
TOGGLE_VISIBILITY=1 
TOGGLE_VISIBILITY_INVERSE=1

[Material_InteriorPBR]
Meshes = ,bump_front_ok_SUB006
Smoothness=0.8
Metalness=1
Reflectance=1
Brightness=1
CubemapReflectionBlur=0
HasDetailNormals=0
ExtraSharpLocalReflections=0

[Material_InteriorPBR]
Meshes = bump_front_ok_SUB4,
Smoothness=0.88
Metalness=1
Reflectance=1
Brightness=1
CubemapReflectionBlur=0
HasDetailNormals=0
ExtraSharpLocalReflections=0


[SHADER_REPLACEMENT_...]
MESHES = body001_SUB2,body001_SUB0
PROP_... = ksAmbient,0.2
PROP_... = ksDiffuse,0.1
PROP_... = ksSpecular,0.0


[SHADER_REPLACEMENT_...]
MESHES = f_brake_ax_10_SUB1,f_gas_ax__10_SUB1,int_base_SUB7
PROP_... = ksAmbient,0.2
PROP_... = ksDiffuse,0.2

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=9, 10, 11, 1
LAG=0.9
INPUT_LAG_UP=0.9
INPUT_LAG_DOWN=0.9
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=150
LOWBEAM_RANGE_MULT=0.38
LOWBEAM_RANGE_ONCOMING_MULT=0.38
MIRROR=0.73
MIRROR_DIRECTION=0
POPUP_ENABLED=1
POSITION = 0., 0.550, 1.98
RANGE=270
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=15.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=1
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=41
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0



[BRAKEDISC_FX]
; ACTIVE = 0
NORMAL_MASK = 1, 0.5
LUMINOCITY_MASK = 0.01, 0.02
ALPHA_MASK = 0.1, 0.2
DEBUG_MODE = 0
NORMAL_MASK = 0.2, 0.1
; CERAMIC = 0
; GLOW_FORCE = 0.6
; WEAR_FORCE = 0.3

[BRAKEDISC_FX]
AMBIENT_MULT = 1
REFLECTION_MULT = 10
RIM_INTERNAL_RADIUS = 0.06
SIMPLIFY_NORMALS_K = 0
DISC_INTERNAL_RADIUS_SHARPNESS = 250

[BRAKEDISC_FX_FRONT]
DISC_INTERNAL_RADIUS = 0.114

[BRAKEDISC_FX_REAR]
DISC_INTERNAL_RADIUS = 0.114

[SHADER_REPLACEMENT_...]
MATERIALS = b_tglass__env_6_spec_trans_
PROP_... = alpha,0.6
PROP_... = ksAmbient,0.35
PROP_... = ksDiffuse, 0.25
PROP_... = ksEmissive, 0
PROP_... = ksSpecularEXP, 0

[Material_Glass]
Meshes = Kit3_Window_Geo_lodA_0.003 , glass_int
IOR = 2             ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 70	; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
MaskPass = 150             ; mask pass opacity
MaskPassColor = 255, 20, 0




[EXTRA_SWITCHES]
SWITCH_A=START/STOP Engine (on/off)
SWITCH_A_FLAGS = NEUTRAL_GEAR_ONLY
SWITCH_B=SunRoof 
SWITCH_C =Interior lights animation
SWITCH_C_FLAGS = STATIONARY_ONLY
SWITCH_D = Rear Fog Lights
EXTRA_E = On-board computer
EXTRA_F = Hide Behind Plates 



[Material_Glass]
Meshes= bump_rear_ok_SUB3,m_tlights_SUB11,
IOR = 1.7          ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 3.8  ; thicker glass passes less light through
ProfileFix = 0.0    ; adds thickness to glass for glazing angles
MaskPass = 1.5    ; mask pass opacity
MaskPassColor =111,0,0,1 ; mask pass color adjustment  	

[SHADER_REPLACEMENT_...]
MESHES = ,m_body_SUB3
PROP_... = ksAmbient,0.3
PROP_... = ksDiffuse, 0.3
PROP_... = fresnelMaxLevel, 0.051


[SHADER_REPLACEMENT_...]
MESHES = ,int_base_SUB013
PROP_... = ksAmbient,0.3
PROP_... = ksDiffuse, 0.3

[SHADER_REPLACEMENT_...]
MESHES = f_popr_ax_3y0z0s5_SUB2
PROP_... = ksAmbient,0.2
PROP_... = ksDiffuse, 0.2

[SHADER_REPLACEMENT_...]
MESHES = int_base_SUB7,
PROP_... = ksAmbient,0.2
PROP_... = ksDiffuse, 0.2

[SHADER_REPLACEMENT_...]
MESHES = m_tlights_SUB1,
PROP_... = ksAmbient,0.4
PROP_... = ksDiffuse, 0.4

[SHADER_REPLACEMENT_...]
MESHES = m_tlights_led_SUB4,m_tlights_led_SUB008,m_tlights_led_SUB009
PROP_... = ksAmbient,0.64
PROP_... = ksDiffuse, 0.74
PROP_... = alpha, 0.2
PROP_... = fresnelMaxLevel, 0.12




[SHADER_REPLACEMENT_...]
MESHES = bump_front_ok_SUB0
SHADER = ksPerPixel
PROP_... = ksAmbient,0.001
PROP_... = ksDiffuse, 0.001
PROP_... = ksEmissive, 0.001
PROP_... = ksSpecularEXP, 0.001

[SHARED_INPUT_...]
NAME = EXTRA_A_INVERSE  ; name to refer to it with
INPUT = EXTRA_A
INPUT_LUT = (| 0=1 | 1=0 |)





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

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



[LIGHT_EXTRA_...]
BOUND_TO=m_tlights_led_SUB2
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.1, 0, 33
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.655593
MIRROR_DIRECTION=0
POSITION=0, 0.825127, -2.32
RANGE=2
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=125
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.1, 0, 1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.655593
MIRROR_DIRECTION=0
POSITION=0, 0.4725127, -2.2
RANGE=3
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=88
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4













[EMISSIVE_...]
INPUT=TURNSIGNAL_RIGHT
NAME=m_hled_Al2
COLOR = 40,20,0,21
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=2
LAG=0.0
FALLBACK_IDLE_COLOR=9,10,12,51
FALLBACK_HEADLIGHTS_COLOR=9,10,12,51

[EMISSIVE_...]
INPUT=TURNSIGNAL_LEFT
NAME=m_hled_Al3
COLOR = 40,20,0,21
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=2
LAG=0.0
FALLBACK_IDLE_COLOR=9,10,12,21
FALLBACK_HEADLIGHTS_COLOR=9,10,12,21




[EMISSIVE_...]
INPUT=EXTRA_C
NAME=int_base_SUB4
COLOR=1,1,1,11
OFF_COLOR=0,0,0,0
LAG=0.2
SIMULATE_HEATING=0.1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0


[LIGHT_EXTRA_...]  
BIND_TO_EXTRA_C=1
COLOR=140,140,150,0
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
LAG=0.2
FADE_AT=90
FADE_SMOOTH=20
MIRROR=0.409, 0, 0
POSITION=-0, 0.712, 0.949
DIRECTION=0, -1, 0
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=100
SPOT_SHARPNESS=0.1

[SHADER_REPLACEMENT_...]
MESHES = rublevka001
PROP_... = ksAmbient,0.2
PROP_... = fresnelMaxLevel, 0.05
[SHADER_REPLACEMENT_...]
MESHES = rublevka
PROP_... = ksAmbient,0.5
PROP_... = fresnelMaxLevel, 0.05

[LIGHT_EXTRA_...] 
BIND_TO_EXTRA_C=1
COLOR=200,200,220,0.25
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
LAG=0.2
FADE_AT=90
FADE_SMOOTH=20
POSITION=0, 0.8, 0.195
DIRECTION=0, -1, 0
RANGE=0.53
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=180
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_...] 
;oransvetBokovoy
BIND_TO_EXTRA_A=51
COLOR=40,28,0,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
INPUT_LAG_UP=0.998
INPUT_LAG_DOWN=0.998
FADE_AT=90
FADE_SMOOTH=20
POSITION=-0.81, 0.588, 1.871
DIRECTION=-3, -55, 1
RANGE=0.02
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=220
SPOT_SHARPNESS=0.1


[LIGHT_EXTRA_...] 
BIND_TO_EXTRA_A=15
;oransvetBokovoy
COLOR=40,28,0,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
INPUT_LAG_UP=0.998
INPUT_LAG_DOWN=0.998
FADE_AT=90
FADE_SMOOTH=20
POSITION=0.81, 0.588, 1.871
DIRECTION=-3, -55, 1
RANGE=0.02
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=220
SPOT_SHARPNESS=0.1


[CustomEmissiveMulti]
Meshes = panel_SUB11
Resolution =256, 256
UseEmissive0AsFallback = 1
@ = AlphaFromTxDiffuse
; Debug = 1 ; uncomment me to see the areas nicely

@ = MultiItem, Role = GEAR_R ,Start = "78.1, 84", Size = "24.5, 23.9",Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_N , Start = "98, 107.7", Size = "17.3, 25.5" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_D ,Start = "147, 101.9", Size = "44.2, 38.7" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = LIGHT , Start = "76.5, 66", Size = "121.4, 104.8" , Color = "2,0,0" ,

[EXTRA_FX]
DELAYED_RENDER_INTERIOR = material:,int_windscr,tint_win,DISPLAY_DATA_HUD,GEO_HUD_main,GEO_HUD_Back,HUD_TAG_?,HUD_RPM_?,spdLim,lumy,m_wind_lf_SUB1,b_windbadges,bmw_m5_12_cockpit_s_interior_gauge_emissive_,emmmm002,emmmm001,instrument007,adaprive_cruise1,starttt,dash_display_overlay_light,instrument010,instrument012,,instrument005, ; unlike with DELAYED_RENDER, this one would only affect first person mode
MASK_GBUFFER =bump_rear_ok_SUB3,int_glas_dassh,gllllllllllllllllllll,glass_red,al_glas,airabg1,fuel,spd80,spdLim,int_seats_f_SUB8,int_seats_f_SUB7,glas_gaug,dash_display_overlay_light,,emmmm001,emmmm002,emmmm,emmmm003,INT_tint,int_windscr,glas_gaug,int_glas_dassh,m_wind_lf_SUB1,b_windbadges,m_wind_rf_SUB1,m_wind_rr_SUB1,windscreen_ok_SUB3,m_wind_lr_SUB1,engine002,instrument,mdm_mode,adaprive_cruise003,instrument001,instrument002,instrument003,instrument004,instrument005,instrument006,instrument007,instrument008,instrument009,instrument010,instrument011,instrument012,instrument013,instrument014,starttt
GLASS_FILTER = 1panel_SUB17,
SKIP_GBUFFER =panel_SUB17,m_hglass_SUB1,glass_int,
MOVING_FILTER = wheel_rf_SUB021,WHEEL_RR,wheel_rf_SUB023

[EXTRA_FX_EMISSIVE_...]
MESHES =instrument1,
RANGE = 0.000 ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.00 ; optional brightness multiplier (could be an RGBA value)
INTERIOR_ONLY = 0 ; show up for interior views only
EXTERIOR_ONLY = 0 ; show up for exterior views only
DIRECTED = 0.05
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR =1
COVERAGE = 0
SAMPLES_LIMIT = 1
SPLIT_ELEMENTS = 1



[EXTRA_FX_EMISSIVE_...]
MESHES =int_btns_SUB1,
RANGE = 0.025; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 7,2,0,0.051; optional brightness multiplier (could be an RGBA value)
DIRECTED =1

[EXTRA_FX_EMISSIVE_...]
MESHES =display2_tex001,andridAuto
RANGE = 0.041; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,1; optional brightness multiplier (could be an RGBA value)
DIRECTED =0

[EXTRA_FX_EMISSIVE_...]
RANGE = 0.015; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,0.25; optional brightness multiplier (could be an RGBA value)
DIRECTED =0
MESHES =instrument001,instrument002,instrument003,instrument004,instrument005,instrument006,instrument007,instrument008,instrument009,instrument010,instrument011,instrument012,instrument013,airabg1,fuel,instrument014,starttt

[EXTRA_FX_EMISSIVE_...]
MESHES =niz_gauge001,int_lights_active_icon001
RANGE = 0.035; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,1; optional brightness multiplier (could be an RGBA value)
DIRECTED =0
[EXTRA_FX_EMISSIVE_...]
MESHES =bmw_m5_12_cockpit_s_interior_gauge_emissive_
RANGE = 0.04; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,3; optional brightness multiplier (could be an RGBA value)


[EXTRA_FX_EMISSIVE_...]
MESHES =dash_display_overlay_light,
DIGITAL_INSTRUMENTS = digital_instruments.ini
RANGE = 0.0155
COLOR=22,22,22,0.021
DIRECTED =-5        
INTERIOR_ONLY = 0         ; show up for interior views only
EXTERIOR_ONLY = 0        ; show up for exterior views only
EMISSIVE_TWEAK = 0

[EXTRA_FX_EMISSIVE_...]
MESHES =speed_min_gauge_needle_005,watertemp_mid_gauge_needle_001,43,fuel_min_gauge_needle_0024
RANGE = 0.0035; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,1; optional brightness multiplier (could be an RGBA value)DIRECTED =0.85
DIRECTED =-5.5


[EXTRA_FX_EMISSIVE_...]
MESHES =instrument,
RANGE = 0.01; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,2 ; optional brightness multiplier (could be an RGBA value)

[EXTRA_FX_EMISSIVE_...]
MESHES =adaprive_cruise
RANGE = 0.1; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1,0.002 ; optional brightness multiplier (could be an RGBA value)


[ANALOG_INDICATOR_...]
INPUT=EXTRA_A
NAME=niz_tyre_warn
LAG=0.0
POS_OFFSET_END =-0.00, -0.00, 0.0003
POS_OFFSET_START = -0.00,-0.00, 0.0
SCALE_START =1,1,1; scale for the minimum value
SCALE_END =1, 1,1; scale for the upper bound (allows to create progress bars and such)

[ANALOG_INDICATOR_...]
INPUT=EXTRA_B
TOGGLE_VISIBILITY=1
INPUT_THRESHOLD_INVERSE=1
NAME=disp_201
LAG=0.91
POS_OFFSET_END =-0.00, -0.00, 0.0
POS_OFFSET_START = -0.00,-0.00, 0.0
SCALE_START =0,0,0; scale for the minimum value
SCALE_END =1, 1,1; scale for the upper bound (allows to create progress bars and such)

[ANALOG_INDICATOR_...]
INPUT=EXTRA_B
TOGGLE_VISIBILITY=1
INPUT_THRESHOLD_INVERSE=1
NAME=andridAuto1,
LAG=0.91
POS_OFFSET_END =-0.00, -0.00, 0.0
POS_OFFSET_START = -0.00,-0.00, 0.0
SCALE_START = 1,1,1; scale for the minimum value
SCALE_END =1, 1,1; scale for the upper bound (allows to create progress bars and such)


[INCLUDE: apple_car_play/config.ini]
[Display_AppleCarPlay]
Meshes = display2_tex001
Resolution =1024, 400
Scale=1.0
Offset = 0, 0
Size = 1024,400
RearCameraPosition = 0, 0, -0
aftermarketComponent=0

[EMISSIVE_...]
NAME=displ_sport,zad_svet1
INPUT=LIGHT
COLOR=2,2,2.5,1
OFF_COLOR=2,2,2.5,1

[EMISSIVE_...]
NAME=arrow_hp,arrow_nm,
INPUT=LIGHT
COLOR=2,1,1,1
OFF_COLOR=2,1,1,1

[SHADER_REPLACEMENT_...]
MESHES =display2_tex001,m_hled_Al,m_hled_Al004,m_hled_Al3,m_hled_Al2,m_body_SUB011,m_body_SUB9,niz_oil,drivetr_warn,banng,878,5445612,shiq_0,shiq_1,shiq_2,shiq_003,shiq_4,shiq_005,spdLim,instrument001,instrument002,instrument003,instrument004,instrument005,instrument006,instrument007,instrument008,instrument009,instrument010,instrument011,instrument012,mdm_mode,instrument013,starttt,instrument014,m_hled_SUB028,m_hled_SUB027,m_hled_SUB7,red_1,GEO_HUD_main,GEO_HUD_Back,HUD_TAG_?,HUD_RPM_?,tcs,tires,handbrake,m_tlights_led_SUB1,m_tlights_led_SUB2,watertemp_mid_gauge_needle_001,speed_min_gauge_needle_001,fuel_min_gauge_needle_001,tach_min_gauge_needle_,mdm,M5F10,dash_display_overlay_light,povorot,povorot001,priborkam5f10,DISPLAY_DATA,niz_gauge001,bmw_m5_12_cockpit_s_interior_gauge_emissive_,emmmm002,emmmm003,emmmm001,emmmm,warrrning,int_btns_SUB003,al_glas,al_glassss,m_btlight_led,Object007,tcs_off,highbeam21,zel_bliz,lighss,VRm_hglass_SUB002,m_hled_SUB030,m_hled_SUB010,m_hled_SUB014,m_hled_SUB021
ADAPTIVE_EMISSIVE = 1




[SHARED_INPUT_...]
INPUT=TRACTIONCONTROL
NAME=TRACTIONCONTROL_INVERSE
INPUT_LUT = (| 1=1 | 2=1| 3=1 |)
INPUT_THRESHOLD_INVERSE=0
INPUT_EQUALS=0
[EMISSIVE_...]
INPUT='calc:step(0,-SPEED*BRAKE*GEAR_1*GAS*HANDBRAKE)'
NAME=1233214
COLOR=2,2,2,2
LAG=0.0
INPUT_LAG_UP=0.98
INPUT_LAG_DOWN=0.995
TOGGLE_VISIBILITY=1
INPUT_THRESHOLD_INVERSE=1




[CustomEmissiveMulti]
Meshes = engine002
Resolution = 512, 512
UseEmissive0AsFallback =1
@ = AlphaFromTxDiffuse
@ = MultiItem, Input = ENGINE_LIFE,Start = "249, 272", Size = "62, 51",Color = "10, 4, 0", InputThreshold=100,InputInverse=1,
@ = MultiItem, Input = RPM,Start = "249, 272", Size = "62, 51",Color = "10, 4, 0", InputThreshold=100,InputInverse=1,
@ = MultiItem, Input = OIL_TEMP,Start = "249, 272", Size = "62, 51",Color = "10, 4, 0", InputThreshold=97,InputLagDown=0.99999, INPUT_LAG_DOWN=0.99999
@ = MultiItem, Input = DashWarningSteering,Start = "249, 272", Size = "62, 51",Color = "10, 4, 0", InputThreshold=15,




[CustomEmissiveMulti]
Meshes = damag_trc
Resolution = 512, 512
UseEmissive0AsFallback =1
@ = AlphaFromTxDiffuse
@ = MultiItem, Role = TYRE_PRESSURE,Start = "85, 451", Size = "50, 52",Color = "20, 1, 0", InputThreshold = 45, InputSelector=MAX ,
@ = MultiItem, Input = EXTRA_C,Start = "85, 451", Size = "50, 52",Color = "21, 1, 0"
@ = MultiItem, Role = BODY_DAMAGE, InputThreshold = 55, Color = "21, 1, 0", Start = "85, 451", Size = "50, 52"
@ = MultiItem, Input = TRACTIONCONTROL,Start = "85, 451", Size = "50, 52",Color = "40, 20, 0,0.35",InputInverse=1
@ = MultiItem, Input = OIL_TEMP,Start = "249, 272", Size = "62, 51",Color = "10, 0, 0", InputThreshold=95,
@ = MultiItem, Input = RPM,Start = "85, 451", Size = "50, 52",Color = "21, 1, 0", InputThreshold=100,InputInverse=1
[CustomEmissiveMulti]
Meshes = instrument1
Resolution = 512, 512
UseEmissive0AsFallback =1
@ = CustomEmissive_UseDiffuseAlpha, From = 0.05, To = 0.1, FromNormalMap = 0, SkipDiffuseMap = 0
@ = AlphaFromTxDiffuse
@ = MultiItem, Input = RPM, Start = "234, 98", Size = "87, 285", Color = "11, 0, 0", InputThreshold=120,InputInverse=1
@ = MultiItem, Input = RPM, Start = "147, 24", Size = "87, 146", Color = "11, 5, 0", InputThreshold=120,InputInverse=1
@ = MultiItem, Input = TURNSIGNAL_LEFT, Start = "318, 100", Size = "64, 64"
@ = MultiItem, Input = TURNSIGNAL_RIGHT, Start = "440, 96", Size = "67, 69"
@ = MultiItem, Input = ABS, Start = "414, 12", Size = "62, 57", Lag=0.0, Color = "11, 5, 0",InputInverse=1
@ = MultiItem, Role = TRACTIONCONTROL,Start = "83, 457", Size = "52, 40", Color = "11, 5, 0",Input_Equals=1,InputInverse=1
@ = MultiItem, Role = TRACTIONCONTROL,Start = "337, 8", Size = "61, 74", Color = "11, 5, 0",Input_Equals=1,InputInverse=1
@ = MultiItem, Role = LIGHT,Start = "323, 165", Size = "53, 45" , Color = "3,7,0"
@ = MultiItem, Role = EXTRA_A,Start = "462, 221", Size = "31, 37" , Color = "3,7,0"
@ = MultiItem, Role = EXTRA_D,Start = "99, 387", Size = "62, 72", Color = "15,7,0"
@ = MultiItem, Role = LIGHT,Start = "462, 221", Size = "31, 37" , Color = "3,7,0"
@ = MultiItem, Role = LIGHT,Start = "393, 255", Size = "61, 60", Color = "3,7,0"
@ = MultiItem, Role = DRIFT_VALID, Start = "383, 190", Size = "63, 55", Color = "11, 5, 0", 
@ = MultiItem, Role = TRACTIONCONTROL_INACTION, Start = "383, 190", Size = "63, 55", Color = "11, 5, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Color = "11, 5, 0", InputThreshold = 46, InputSelector=MAX , Start = "175, 97", Size = "60, 59"
@ = MultiItem, Role = HANDBRAKE,  Color = "10, 0, 0" , Start = "262, 324", Size = "70, 62", Lag=0.0 ,
@ = MultiItem, Role = GEAR_N,  Color = "7, 0.1, 0" ,Start = "263, 325", Size = "69, 63", Lag=0.0 ,
@ = MultiItem, Role = GEAR_N,  Color = "7, 0.1, 0" ,Start = "147, 33", Size = "61, 31", Lag=0.0 ,
@ = MultiItem, Role = GEAR_D,  Color = "3, 7, 0" , Start = "79, 6", Size = "59, 29", Lag=0.0 ,
@ = MultiItem, Role = DashWarningSteering, InputThreshold = 7, Color = "7, 5, 0", Start = "128, 393", Size = "812, 75"
@ = MultiItem, Role = SPEED,Start = "257, 2", Size = "76, 65", Color = "7, 22, 0", InputThreshold = 110
@ = MultiItem, Role = HIGHBEAM,Color = "0, 8, 11" , Start = "34, 369", Size = "65, 49",Lag=0.0
@ = MultiItem, Role = FUEL,Start = "172, 415", Size = "97, 93", InputThreshold = 15 ,InputInverse=1 , Color = "7, 4, 0" , Off_Color = "0, 0, 0" ,
[ADAPTIVE_EMISSIVE]
ACTIVE=1
ADAPTIVE_EMISSIVE_INTENSITY=1
HEADLIGHTS_DIMMING=0.21

[EMISSIVE_TRACTIONCONTROL_...]
NAME=instrument003
COLOR=0,0,0,0
OFF_COLOR=11,5,0,1.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_...]
NAME=fuel
INPUT=FUEL
INPUT_THRESHOLD=10
INPUT_THRESHOLD_INVERSE=1
TOGGLE_VISIBILITY=1
LAG=0.0
COLOR=40,15,0,0.2

[EMISSIVE_TURNSIGNAL_RIGHT_...]  
NAME=instrument001
COLOR=3,7,0,1
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=3
LOCATION=NONE
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY = 1
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_LEFT_...]  
NAME=instrument002
COLOR=3,7,0,1
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=3
LOCATION=NONE
LAG=0.0
SIMULATE_HEATING=0
CAST_LIGHT=1
TOGGLE_VISIBILITY = 1

[EMISSIVE_...]
NAME=instrument008
TOGGLE_VISIBILITY = 1
COLOR=11,5,0
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 46
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.0

[EMISSIVE_...]
INPUT='calc:TRACTIONCONTROL_INACTION + TRACTIONCONTROL_INACTION2'
LAG=0.0
NAME=instrument011
OFF_COLOR=0,0,0
COLOR=11,5,0,1
TOGGLE_VISIBILITY=1


[SHARED_INPUT_...]
NAME = TRACTIONCONTROL_INACTION2  
INPUT = DRIFT_VALID
INPUT_LAG_UP=0.98
INPUT_LAG_DOWN=0.0
BLINKING_PATTERN=(|0=0|0.2=0|0.45=0|0.667=0|0.75=1|0.875=0|0.958=0|1=0|)
BLINKING_DURATION=0.7

[EMISSIVE_...]
INPUT=BODY_DAMAGE
INPUT_THRESHOLD=55
NAME=airabg1
COLOR=6,0.4,0
TOGGLE_VISIBILITY=1


[EMISSIVE_...]
INPUT=EXTRA_A
NAME=instrument007,instrument005
COLOR=3,7,0
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=EXTRA_D
NAME=instrument006
COLOR=15,7,0,2
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=SPEED
INPUT_THRESHOLD=130
NAME=instrument004
COLOR=3,7,0,1
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=GEAR_D
NAME=instrument013
COLOR=3,7,0,2
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=LIGHT
NAME=instrument010
COLOR=3,7,0,2
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=HIGHBEAM
NAME=instrument009
COLOR=0,7,10,1
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT='calc:HANDBRAKE + GEAR_N'
NAME=instrument012
COLOR=7,0.51,0,2
TOGGLE_VISIBILITY=1

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1

[AUDIO_VOLUME]
BACKFIRE_INT=1.2
BACKFIRE_EXT=1.2
BODYWORK=1.0
DIRT=1.0
DOWN_SHIFT=1.0
ENGINE_EXT=1.0
ENGINE_INT=1.0
GEAR_EXT=1.0
GEAR_GRIND=1.5
GEAR_INT=1.5
HORN=0.12
LIMITER=1.0
TRACTION_CONTROL_EXT=0.0
TRACTION_CONTROL_INT=0.0
TRANSMISSION=0
TURBO=0.85
WIND=1.0
SKID_EXT = 1.0
SKID_INT = 1.0

[AUDIO_PITCH]
ENGINE_EXT = 0.9
ENGINE_INT = 0.9
GEAR_EXT = 1.5
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 = 0.0
TRACTION_CONTROL_INT = 0.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 1.7
HIT = 1.0
SCRAPE = 5.0
WHEEL = 1.0
SKID_EXT = 1.23
SKID_INT = 1.23



[EMISSIVE_LIGHT_...]
NAME=svet_2,hp_arrow,nm_ems,hp_ems
OFF_COLOR=22,0,0,2
COLOR=22,0,0,2

[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
INPUT_THRESHOLD_INVERSE=0
NAME=salon_SUB018,salon_SUB016,salon_SUB017,display2_tex
COLOR=1,1,1
LAG=0.4
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1




[ANALOG_INDICATOR_...]
INPUT=ENGINE_POWER
NAME=hp_1
ZERO=-0
STEP=0.5
INPUT_LAG_UP=0.20
INPUT_LAG_DOWN=0.9

[ANALOG_INDICATOR_...]
INPUT=ENGINE_TORQUE
NAME=nm_1
ZERO=-0
STEP=0.4
INPUT_LAG_UP=0.20
INPUT_LAG_DOWN=0.9

[SHADER_REPLACEMENT_...]
MESHES =boot_SUB9,seat_SUB011,engine_SUB8,seat_SUB7
BLEND_MODE =  ALPHA_TEST
[SHADER_REPLACEMENT_...]
MESHES =f_popr_ax_3y0z0s5_SUB3,
BLEND_MODE =  ALPHA_BLEND
IS_TRANSPARENT = 1 
[SHADER_REPLACEMENT_...]
MESHES =m_tlights_led_SUB009,m_tlights_led_SUB008,shiq_1,shiq_0,polymsh_SUB6,Object561,int_seats_f_SUB6
IS_TRANSPARENT = 1 ;* for that IsTransparent flag, to make sure mesh would be rendered last



[SHADER_REPLACEMENT_...]
MESHES =displ_sport,panel_SUB14,display2_tex,panel_SUB10
SHADER = ksPerPixel
IS_TRANSPARENT = 1 ;* for that IsTransparent flag, to make sure mesh would be rendered last
BLEND_MODE =  ALPHA_BLEND 

[SHADER_REPLACEMENT_...]
MESHES =windscreen_ok_SUB004,prib_glass,int_dash_f_SUB8,int_dash_b_SUB7,int_seats_f_SUB8,door_rf_ok_SUB8,door_rf_ok_SUB11,door_lf_ok_SUB11,door_lr_ok_SUB7,door_lr_ok_SUB10,int_seats_r_SUB1,door_rr_ok_SUB7,int_btns_SUB006
IS_TRANSPARENT = 1 ;* for that IsTransparent flag, to make sure mesh would be rendered last
BLEND_MODE =  ALPHA_BLEND 

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.465,0.18422368,-2.48530784
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1		; engine heating up (1 to disable)
SPEED_THRESHOLD = 5, 50 		; speed at which the smoke disappears	; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=0.55865396,0.18722368,-2.4755392
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1		; engine heating up (1 to disable)
SPEED_THRESHOLD = 5, 50 		; speed at which the smoke disappears


[PARTICLES_FX_EXHAUST_...]
POSITION=-0.55951606,0.18422368,-2.48530784
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1		; engine heating up (1 to disable)
SPEED_THRESHOLD = 5, 50 		; speed at which the smoke disappears
		
[PARTICLES_FX_EXHAUST_...]
POSITION=0.465853779,0.18722368,-2.4755392
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1		; engine heating up (1 to disable)
SPEED_THRESHOLD = 5, 50 		; speed at which the smoke disappears

[SHADER_REPLACEMENT_...]
MESHES =int_btns_SUB006,tach_min_gauge_needle_43,speed_min_gauge_needle_005,watertemp_mid_gauge_needle_001,watertemp_mid_gauge_needle_002,speed_min_gauge_needle_0014,43,fuel_min_gauge_needle_0024,fuel_min_gauge_needle_0014,fuelbar_?,eng_warn_fuel,m_tlights_led_SUB4,c_hl_led_SUB004,andridAuto,m_hled_SUB028,Object562,t_tl_SUB1,c_hl_SUB2,c_hl_SUB006,m_tlights_led_SUB005,yellow_al,engine002,instrument,damag_trc,adaprive_cruise,adaprive_cruise1,adaprive_cruise2,VRm_low001,c_hl_SUB016,t_tl_glass001,c_hl_led_SUB2,c_hl_SUB4,c_hl_SUB0,abs,engine,airbag,ffuel,handbrake001,parrk,highbeam022,mdm001,GEO_HUD_Back,HUD_TAG_?,tcs,tires,handbrake,tormozzz,m_tlights_SUB4,m_tlights_led_SUB1,watertemp_mid_gauge_needle_001,speed_min_gauge_needle_001,fuel_min_gauge_needle_001,mdm,M5F10,priborkam5f10,DISPLAY_DATA,emmmm003,emmmm001,emmmm,warrrning,int_btns_SUB003,al_glassss,m_tlights_led_SUB0,tcs_off,highbeam21,zel_bliz,lighss,VRm_hglass_SUB002,m_hled_SUB0,m_hled_SUB2,
ADAPTIVE_EMISSIVE = 1
[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
#COLOR=11,5,2,1.5
COLOR=11,1,0,1
OFF_COLOR=4,0,0
NAME=tach_min_gauge_needle_43,speed_min_gauge_needle_005,watertemp_mid_gauge_needle_001,watertemp_mid_gauge_needle_002,speed_min_gauge_needle_0014,43,fuel_min_gauge_needle_0024,fuel_min_gauge_needle_0014
LAG=0.0


[EMISSIVE_...]
NAME=int_btns_SUB006
INPUT=RPM
INPUT_THRESHOLD=333
COLOR=1,10,0



[EMISSIVE_EXTRA_C_...]
NAME=niz_gauge002
COLOR=2,2,2,2
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
NAME=lighss,
INPUT=RPM
RPM_THRESHOLD=122
COLOR=0,4,0,1

[EMISSIVE_...]
INPUT=LIGHT
INPUT_THRESHOLD=333
NAME=niz_tempr
OFF_COLOR=2,2.2,2.5,2.5

[EMISSIVE_...]
INPUT=LIGHT
INPUT_THRESHOLD=333
NAME=niz_gauge001,Object007,
OFF_COLOR=2,2.6,3,2

[EMISSIVE_...]
INPUT=LIGHT
NAME=fuelbar_?
COLOR=2,2,2.53,3
OFF_COLOR=2,2,2.53,3


[EMISSIVE_...]
NAME=boot_ok_SUB9
INPUT=EXTRA_A
FALLBACK_HEADLIGHTS_COLOR=15,15,15,5
LAG=0.1
COLOR=15,15,15,5





[SelfLight_Headlights]
MIRROR = 0.11
POSITION=0.0, 0.7, -2.45
DIRECTION=0,-0,1  
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4
FADE_AT=120
FADE_SMOOTH=130
DIFFUSE_CONCENTRATION=0.18
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
RANGE_GRADIENT_OFFSET=0.125
SINGLE_FREQUENCY=0
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO =boot_ok_SUB9
SPOT_SHARPNESS =0.0
SPOT = 220
COLOR=90,100,110,5
SPECULAR_MULT = 1
RANGE = 0.2



[SHAKING_EXHAUST_...]
MESHES = f_shake_x_mu_0_5_SUB0,f_shake_x_mu_0_5_SUB1
POINT_0 = -0.14, 0.1, -0.14
POINT_0_RADIUS = 1
POINT_0_EXP = 0.005



[LIGHT_EXTRA_...]
;hand brake sprite
BIND_TO_HEADLIGHTS=1  
COLOR= 5,5,7,0
LAG=0.9
SIMULATE_HEATING=0.2
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.142, 0.7, -2.45
DIRECTION=0,-0,1  
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.15
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1





[LIGHT_EXTRA_...]
;hand brake sprite
BIND_TO_EXTRA_A=3
COLOR= 10,3,13,0
LAG=0.0
SIMULATE_HEATING=0.2
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=1
MIRROR=0.0
POSITION=-0.000, 0.858, 0.641
DIRECTION=0,-0,1  
RANGE=0.15
RANGE_GRADIENT_OFFSET=0.11
SPECULAR_MULT=1
SPOT=74
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1


[Material_Glass]
Meshes=center_interior_glass
FilmIOR = 2.2



[EMISSIVE_BRAKE_...]
NAME=m_tlights_led_SUB1,
TOGGLE_VISIBILITY = 0
COLOR=40,22,0, 1
LAG=0.25
FALLBACK_BRAKES_COLOR=40,22,0, 1
INPUT_THRESHOLD = 0.99
BLINK_REPEAT = 1; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking
SIMULATE_HEATING=0.35
LOCATION=REAR

[EMISSIVE_BRAKE_...]
NAME=tormozzz,m_tlights_SUB4
TOGGLE_VISIBILITY = 0
COLOR=3,0,0,11
LAG=0.25
FALLBACK_BRAKES_COLOR=3,0,0,11
INPUT_THRESHOLD = 0.99
BLINK_REPEAT = 1; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking
SIMULATE_HEATING=0.35
LOCATION=REAR


[EMISSIVE_BRAKE_...]
NAME=shiq_4
TOGGLE_VISIBILITY = 0
COLOR=3,1,0,35
LAG=0.25
FALLBACK_BRAKES_COLOR = 3,1,0,35
INPUT_THRESHOLD = 0.99
BLINK_REPEAT = 1; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking
SIMULATE_HEATING=0.35
LOCATION=REAR



[LIGHT_EXTRA_...]     ; lightcone Foglight_L for players car only
BOUND_TO=m_tlights_SUB4  ; if "1" on/off with "Alt+NUMPAD7" for players car only;
COLOR= 5,0,0,25151
LAG=0.0
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=155
FADE_SMOOTH=5
MIRROR=0
POSITION=0.0105, 1.26, -1.45
DIRECTION=0,-0, -2
RANGE=0.17
RANGE_GRADIENT_OFFSET=0.15
SPECULAR_MULT=3
SPOT=220
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=povorot0101
LOCATION=REAR
COLOR=2,5,0, 3
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=m_body_SUB011
LOCATION=FRONT
COLOR=9,5,0, 12
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=m_body_SUB9
LOCATION=FRONT
COLOR=9,5,0, 12
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=m_body_SUB9
LOCATION=FRONT
COLOR=9,5,0, 12
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=shiq_003,
LOCATION=REAR
COLOR=22,11,0, 11
OFF_COLOR=00,0,0
LAG=0.0
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=shiq_2,
LOCATION=REAR
COLOR=22,11,0, 11
OFF_COLOR=00,0,0
LAG=0.0
CAST_LIGHT=1
SIMULATE_HEATING=2

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=povorot001
COLOR=7,5,0,2
OFF_COLOR=00,0,0
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=m_tlights_led_SUB005
LOCATION=REAR
COLOR=7,5,0, 15
OFF_COLOR=00,0,0
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=povorot
COLOR=7,5,0,2
OFF_COLOR=00,0,0
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=m_tlights_led_SUB3
LOCATION=REAR
COLOR=9,5,0, 30
LAG=0.7
CAST_LIGHT=1
SIMULATE_HEATING=2

[SHARED_INPUT_...]
NAME = EXTRA_A_INVERSE  ; name to refer to it with
INPUT = EXTRA_A
INPUT_LUT = (| 0=1 | 1=0 |)




[EMISSIVE_...]
INPUT=TURNSIGNAL_LEFT
NAME=al_povor001
COLOR = 40,20,0,2
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=2
LAG=0.0
FALLBACK_IDLE_COLOR=9,10,12,4
FALLBACK_HEADLIGHTS_COLOR=9,10,12,4
SIMULATE_HEATING=0
CLUSTER_THRESHOLD=0




[EMISSIVE_...]
INPUT=TURNSIGNAL_RIGHT
NAME=al_povor
COLOR = 40,20,0,2
OFF_COLOR=0,0,0
REPEAT_FREQENCY_HZ=2
LAG=0.0
FALLBACK_IDLE_COLOR=9,10,12,4
FALLBACK_HEADLIGHTS_COLOR=9,10,12,4
SIMULATE_HEATING=0
CLUSTER_THRESHOLD=0



[INCLUDE: common/selflighting.ini]





[LIGHT_EXTRA_...]     ; lightcone Foglight_L for players car only
BIND_TO_HEADLIGHTS=1   ; if "1" on/off with "Alt+NUMPAD7" for players car only;
COLOR= 5,5,9,0
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=155
FADE_SMOOTH=5
MIRROR=0
POSITION=0.0036, 0.86, 0.72
DIRECTION=0,-1, -5
RANGE=0.1
RANGE_GRADIENT_OFFSET=0.15
SPECULAR_MULT=3
SPOT=120
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_...]     ; lightcone Foglight_L for players car only
BIND_TO_HEADLIGHTS=1   ; if "1" on/off with "Alt+NUMPAD7" for players car only;
COLOR= 5,5,6,0
LAG=0.0
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=155
FADE_SMOOTH=5
MIRROR=0
POSITION=0.402, 0.707, 0.566
DIRECTION=0, 1, 0.1
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=255
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_...]     ; lightcone Foglight_L for players car only
BIND_TO_HEADLIGHTS=1   ; if "1" on/off with "Alt+NUMPAD7" for players car only;
COLOR= 5,5,6, 0
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=155
FADE_SMOOTH=5
MIRROR=0
POSITION=0.38, 0.77, 0.48
DIRECTION=0, 0.9, -0.1
RANGE=0.31
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=222
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_TURNSIGNAL_LEFT_...]
COLOR=1.1,0.4,0
INTERIOR_ONLY=0
EXTERIOR_ONLY=0
OFFSET=-0.20,0,-0.233
RANGE=3
DIRECTION=0.25,0,-1

[LIGHT_TURNSIGNAL_RIGHT_...]
COLOR=1.1,0.4,0
INTERIOR_ONLY=0
EXTERIOR_ONLY=0
OFFSET=0.20,0,-0.233
RANGE=3
DIRECTION=-0.25,0,-1

[WIPERS_TRACE_...]
SURFACE =INT_windscreen_ok_SUB005
WIPERS = wiper_r2,wiper_r3,wiper_l3,wiper_l2

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.45
SPEED_LIMIT = 330
SPEED_FIX = 1             ; use speed of powered wheels for speedometer
SPEED_LAG =0.901085          ; speed lag for SPEED_FIX option



[EMISSIVE_...]
NAME=zel_bliz
INPUT=LIGHT
LAG=0.9
COLOR=0,4,0,1





[EMISSIVE_...]
NAME=tahook_SUB1,speedook_SUB1,oil_SUB1,rpetrolok_SUB1,
INPUT=LIGHT
COLOR=10,2,0,1
OFF_COLOR=2,0,0,1

[EMISSIVE_...]
NAME=int_btns_SUB2,polymsh_SUB5,door_lf_ok_SUB12,door_rf_ok_SUB12,door_rr_ok_SUB11,door_lr_ok_SUB11,
INPUT=LIGHT
COLOR=10,1.1,0



[EMISSIVE_...]
NAME=rl_light_main_002,rl_light_main_01
INPUT=LIGHT
COLOR=200,14,0,0.5




[DI_GEAR_...]
DIGITAL_ITEM = 17
DIGITAL_ITEM_NUMBER_FORMAT=GEAR_AUTO,R,P,D


[DI_GEAR_...]
DIGITAL_ITEM = 8
DIGITAL_ITEM_NUMBER_FORMAT=GEAR_AUTO,R,P,D

[SHADER_REPLACEMENT_...]
MESHES =instrument1,damag_trc,m_hled_SUB016, windscreen_ok_SUB1,warrrning,ffuel,m_tlights_glass_SUB1,bmw_m5_12_cockpit_s_interior_glass_,int_lights_active_icon,kppppppppp,54354310,54354302,54354303,32532510,32532502,32532503,GEO_HUD_main,VRDash,M5F10,GEO_HUD_Back,HUD_TAG_?,HUD_RPM_?,GEO_Paddle_UP_SUB2,GEO_Paddle_DW_SUB2,polymsh_SUB5,higghbeamm2
IS_TRANSPARENT = 1
[SHADER_REPLACEMENT_...]
MESHES =instrument,m_hled_SUB0,m_hled_SUB026,m_hled_SUB025
IS_TRANSPARENT = 1
BLEND_MODE =  ALPHA_BLEND

[SHADER_REPLACEMENT_...]
MESHES =dash_display_overlay_light,bmw_m5_12_cockpit_s_interior_gauge_emissive_
IS_TRANSPARENT = 1
BLEND_MODE =  ALPHA_BLEND 

[SHADER_REPLACEMENT_...]
MESHES = Lempos0_ok_SUB001,Object562
IS_TRANSPARENT = 0

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=92
NAME=engine
COLOR=40,20,4,0.2
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1


[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=5
NAME=or_liniaa,or_car
COLOR=0
OFF_COLOR=40,20,4,0.1
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=0

[DI_AMBIENT_TEMP_...]
DIGITAL_ITEM = 9
DIGITAL_ITEM_NUMBER_FORMAT = 0.1

[DI_DRIVEN_TOTAL_...]
DIGITAL_ITEM=12
DIGITAL_ITEM_NUMBER_FORMAT=1.0

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


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



[DI_OIL_TEMPERATURE_...]
DIGITAL_ITEM=20
DIGITAL_ITEM_NUMBER_FORMAT=1.0
INPUT_MULT=1.15

[DI_OIL_TEMPERATURE_...]
DIGITAL_ITEM=21
DIGITAL_ITEM_NUMBER_FORMAT=1.0
INPUT_MULT=0.15

[DI_GEAR_...]
DIGITAL_ITEM = 14
DIGITAL_ITEM_NUMBER_FORMAT=GEAR,,,1,2,3,4,5,6

[DI_GEAR_...]
DIGITAL_ITEM = 7
DIGITAL_ITEM_NUMBER_FORMAT=GEAR,R,P,D,1,2,3,4,5,6

[DI_GEAR_...]

[DI_FUEL_CONSUMPTION_LPL_TOTAL_...]
DIGITAL_ITEM=15
DIGITAL_ITEM_NUMBER_FORMAT=1.0
INPUT_MULT=2

[INCLUDE: common/navigators.ini]

• Navigator_StyleSimpleLight
• Navigator_StyleSimpleDark
• Navigator_StyleModernLight
• Navigator_StyleModernDark
• Navigator_StyleSygic
• Navigator_StyleRacing

[INCLUDE: common/navigators.ini]
[NAVIGATOR_0 : Navigator_StyleSygic]
Meshes = main_LCD
@ = Navigator_Size, Resolution = "2048, 1024", Offset = "0, 0", Size = "2048, 1024", Scale = 0.35



[SHADER_REPLACEMENT_...]
MATERIALS = LCD_logo
PROP_0 = ksEmissive, 1.5, 1.5, 1.8


[Material_DigitalScreen]
Meshes = Object0017,ni1z_gauge001
MatrixType = TN
ScreenScale = 800
ScreenAspectRatio = 0.5
UseTextureCoordinates = 1



@ = Navigator_MapNavitel
@ = Navigator_ThemeModernDark
@ = Navigator_LayoutModern
@ = Navigator_CameraParamsExtreme


@ = Navigator_Component, ComponentID = MESSAGE
@ = Navigator_FadingComponent, Time = 0.2
@ = Navigator_ComponentLayout, Left = 80, Right = 80, Top = 132, Bottom = 100, Align = "0, 0", Padding = "40, 0", ExtraOffset = "0, 90", SmallFont
@ = Navigator_ComponentLayout_ExtraObject, ObjectID = ICON, ObjectCenter = "52, 62", ObjectSize = 0


@ = Navigator_Component, ComponentID = UPCOMING_TURN
@ = Navigator_ThemedComponent, Button
@ = Navigator_FadingComponent, Up
@ = Navigator_ComponentLayout, Left = $" ${Size:x} / 2 - 80 ", Top = 28, Width = 160, Height = 80, Align = "0.5, 0.5", ExtraOffset = "32, 0", Padding = "40, 15%"
@ = Navigator_ComponentLayout_ExtraObject, ObjectID = ARROW, ObjectCenter = "16%, 40%", ObjectSize = 20
@ = Navigator_ComponentLayout_ExtraLine, LineID = 0, From = "64, 16", To = "64, 68", Thickness = 2, Color = "#FFF, 0.2"
UPCOMING_TURN_ARROW_COLOR = $ButtonFgColor
UPCOMING_TURN_BG_COLOR_0=0,0,0,0
UPCOMING_TURN_BG_COLOR_2=0,0,0,0
UPCOMING_TURN_SIMPLE_ARROW = 0
UPCOMING_TURN_ARROW_THICKNESS = 0
UPCOMING_TURN_ARROW_PARAMS_0 = 1, 0.3, 0.3, 1.4
UPCOMING_TURN_ARROW_PARAMS_1 = 1, 0.6, 0.6, 1.4
UPCOMING_TURN_DISTANCE_THRESHOLD_MAX = 2000


@ = Navigator_Component, ComponentID = TRAVEL_INFO
@ = Navigator_ComponentLayout, Left = 0, Bottom = 96, Width = 120, Height = 94, LargeFont
TRAVEL_INFO_TEXT_COLOR = 0,0,0,0
TRAVEL_INFO_FORMAT = "{DistanceLeft}\nETA: {ETA}"

CAMERA_ALIGN_WITH_CAR = 3
CAMERA_OFFSET = 3, 122
CAMERA_EXTRA_OFFSET = 0, 0
CAMERA_LOOK_FWD_MULT = 1
CAMERA_FOV = 88
CAMERA_SPEED_MULT = 6

LOADING_TIME = 0.0
LOADING_STYLE = 0
LOADING_ICON_SCALE = 2
LOADING_ACCENT_COLOR = "#AAF"
LOADING_THICKNESS_MULT = 0
LOADING_ANIMATION_OFFSET = -0, -211

BrightMap = 0
MAP_COLOR_BG_TOP = "#0900b7",0.3
MAP_COLOR_BG_BOTTOM = "#646464",0.6
MAP_COLOR_GRASS = "#646464",0.9
MAP_OUTLINE_GRASS = 0
MAP_COLOR_ROADS = "#b9b9b9",1
MAP_OUTLINE_ROADS = 0
MAP_COLOR_WALLS = "#646464",0.5
MAP_OUTLINE_WALLS = 0
MAP_COLOR_BUILDINGS = "#646464",1
MAP_OUTLINE_BUILDINGS = 0
MAP_COLOR_WATER = "#646464",1
MAP_OUTLINE_WATER = 0
MAP_INVERT_FALLBACK_MAP = 0
MAP_SCROLL_SPEED = 0.9
CAR_MARK_COLOR_LEFT = "#fb2e2e", 1
CAR_MARK_COLOR_RIGHT = "#a40000", 1
CAR_MARK_COLOR_OUTLINE = "#ff2727",1
CAR_MARK_ARROW_PARAMS = 0.8, 0.3, 0.4, 0.3
CAR_MARK_ARROW_OUTLINE_PARAMS = 1.0, 0.2, 0.9, 0.7
CAR_MARK_ARROW_OFFSET = -10
CAR_MARK_CIRCLE_RADIUS = 24, 24
CAR_MARK_CIRCLE_COLORIZE_WITH_LIVERY = 0
CAR_MARK_CIRCLE_COLOR = "#000",0.5
CAR_MARK_CIRCLE_OUTLINE = 5
CAR_MARK_CIRCLE_OUTLINE_COLOR = "#FFF",1
OTHER_CARS_MARK_COLOR_OUTLINE = "#1000", 0.0
OTHER_CARS_MARK_CIRCLE_OUTLINE_COLOR = "#000",0
OTHER_CARS_MARK_CIRCLE_OUTLINE = 13
OTHER_CARS_MARK_CIRCLE_RADIUS = 1, 1
PATH_COLOR = "#140d94",0.9
PATH_BORDER_COLOR = "#140d94",0
PATH_THICKNESS = 15
LABELS_OUTLINE_COLOR = "#646464",0
PATH_BORDER_THICKNESS = 0
PATH_SMOOTHNESS_DISTANCE= 0
LABELS_OUTLINE_COLOR = "#646464",0



[LIGHT_HEADLIGHT_0]
RANGE=1830
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial =carpaint
CarPaintVersionAware = 3
DisableDev = 1

[Material_CarPaint_Pearl]


; New glass
[INCLUDE: common/materials_glass.ini]
ExteriorGlassHeadlightsMaterials = FL_glass,1detail_glass_red1

[Material_PhotoelasticGlass]
Meshes = glass_red
PhotoelasticityBaseScale = 2     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.1   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.2  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 1   ; how many stripes are there
ProfileFix = 0.02

[REFRACTING_HEADLIGHT_...]
SURFACE =1
INSIDE = FL_plastic_01





[EMISSIVE_...]
NAME=airbag
TOGGLE_VISIBILITY = 1
INPUT =airbag
INPUT_THRESHOLD = 20
INPUT_THRESHOLD_INVERSE = 1


[EMISSIVE_...]
NAME=1engine 
TOGGLE_VISIBILITY = 1
COLOR=40,20,4
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2


[EMISSIVE_...]
NAME=tires
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,0.2
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 36
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2


[EMISSIVE_...]
NAME=ffuel
TOGGLE_VISIBILITY = 1
COLOR=10,5,0,0.4
INPUT=FUEL
INPUT_THRESHOLD = 15
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2


[EMISSIVE_HAZARD_0]
COLOR=40,4,4,3
NAME=Warning_Button
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0.2
LAG=0.2


[EMISSIVE_...]
INPUT=EXTRA_A
COLOR=5,3,0,5
NAME=m_hled_SUB5

[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
COLOR=5,0.5,0,11
NAME=emmmm002,emmmm001,emmmm003,emmmm,

[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
COLOR=5,5,5,16
NAME=878,

[SHADER_REPLACEMENT_...]
MATERIALS = ext_tyre1
PROP_... = ksAmbient,0.2
PROP_... = ksDiffuse, 0.2
PROP_... = ksSpecularEXP, 0
PROP_... = ksSpecular, 0.02
PROP_... = fresnelC, 0.0
PROP_... = fresnelMaxLevel, 0.02551 



[SHADER_REPLACEMENT_...]
MESHES =54645612
PROP_... = ksAmbient,2
PROP_... = ksDiffuse, 2
PROP_... = ksSpecularEXP, 55
PROP_... = ksSpecular, 0.4
PROP_... = fresnelC, 0.03
PROP_... = fresnelEXP, 44
PROP_... = isAdditive, 0
PROP_... = fresnelMaxLevel, 0.5
PROP_... = detailUVMultiplier, 43

[SHADER_REPLACEMENT_...]
MESHES =878
PROP_... = ksAmbient,0.3
PROP_... = ksDiffuse, 0.55
PROP_... = ksSpecularEXP, 55
PROP_... = ksSpecular, 0.2
PROP_... = fresnelC, 0.3
PROP_... = fresnelEXP, 44
PROP_... = isAdditive, 0
PROP_... = fresnelMaxLevel, 0.5

[SHADER_REPLACEMENT_...]
MESHES =speed_min_gauge_needle_0014,43,tach_min_gauge_needle_43
PROP_... = ksAmbient,0.3
PROP_... = ksDiffuse, 0.5
PROP_... = ksSpecularEXP, 0.1
PROP_... = ksSpecular, 0.1

[SHADER_REPLACEMENT_...]
MESHES =watertemp_mid_gauge_needle_00143,watertemp_mid_gauge_needle_00134,Plane003,watertemp_mid_gauge_needle_0046,fuel_min_gauge_needle_0034
PROP_... = ksAmbient,0.0
PROP_... = ksDiffuse, 0.0
PROP_... = ksSpecularEXP, 0
PROP_... = ksSpecular, 0.0

[SHADER_REPLACEMENT_...]
MESHES =int_dash_f_SUB012
PROP_... = ksAmbient,0.05
PROP_... = ksDiffuse, 0.05
PROP_... = ksSpecularEXP, 55
PROP_... = ksSpecular, 0.2
PROP_... = fresnelC, 0.3
PROP_... = fresnelEXP, 44
PROP_... = isAdditive, 0
PROP_... = fresnelMaxLevel, 0.2

[SHADER_REPLACEMENT_...]
MESHES =emmmm002,emmmm001,emmmm003,emmmm
SHADER = ksPerPixelAlpha
PROP_... = ksAmbient,0.8
PROP_... = alpha, 0.012
SEMITRANSPARENT_SHADOWS = 0
IS_TRANSPARENT = 1 ;* for that IsTransparent flag, to make sure mesh would be rendered last
BLEND_MODE =  ALPHA_BLEND 




[LIGHT_EXTRA_...]     ; lightcone Foglight_L for players car only
BIND_TO_RPM=1  ; if "1" on/off with "Alt+NUMPAD7" for players car only;
COLOR= 5,5,6, 0
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=155
FADE_SMOOTH=5
MIRROR=0
POSITION=0.38, 0.77, 0.48
DIRECTION=0, 0.9, -0.1
RANGE=0.21
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=222
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1
[EMISSIVE_TRACTIONCONTROL_0]
NAME=tcs_off,warrrning
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,0.2
LAG=0.2

[ANIMATION_…]
INPUT=GEAR
INPUT_LUT=(| -1=0.1 | 0=0.2 | 1=0.3 |)
FILE = kpp.ksanim
INPUT_LAG_UP = 0.9
INPUT_LAG_DOWN = 0.9
INPUT_AS_PROGRESS = 1
LOOP_WHILE_ACTIVE = 0
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 0

[EMISSIVE_TRACTIONCONTROL_1]
NAME=mdm,
INPUT_EQUALS=1
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=20,10,0
LAG=0.2


[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=40,20,4,0.2
NAME=tcs
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_HANDBRAKE_0]
NAME=handbrake
TOGGLE_VISIBILITY = 1
COLOR=40,4,4,0.2
LAG=0.2
Warning_light

[EMISSIVE_LIGHT_...]
NAME=VrLinza_glass
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=5,5,5,2
LAG=0.2



[EMISSIVE_LIGHT_0]
NAME=LED_LIGHT
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=2,20,2
LAG=0.2

[EMISSIVE_LIGHT_...]
NAME=m_hled_SUB2
BIND_TO_HEADLIGHTS=1
COLOR=90,100,110,11
CAST_LIGHT = 0.8
CLUSTER_THRESHOLD = 0.8
USE_SMOOTH_TRANSITION = 1
LAG=0.0
[EMISSIVE_LIGHT_...]
NAME=m_hled_SUB010
BIND_TO_HEADLIGHTS=1
COLOR=100,110,125,0.5
CHANNEL=1
[EMISSIVE_LIGHT_...]
NAME=m_hled_SUB030
BIND_TO_HEADLIGHTS=1
COLOR=300,300,300,0.05
CHANNEL=1


[EMISSIVE_LIGHT_...]
NAME=VRm_low001
BIND_TO_HEADLIGHTS=1
COLOR=7,7,7,0
LAG=0.0

[EMISSIVE_LIGHT_...]
NAME=m_tlights_led_SUB008,
BIND_TO_HEADLIGHTS=0
COLOR=7,7,7,7
TOGGLE_VISIBILITY_INVERSE=1
LAG=0.0

[SHADER_REPLACEMENT_...]
MESHES = m_hled_SUB010,m_hled_SUB014,m_tlights_SUB1,m_hled_SUB030,
PROP_... = emChannelsMode, 1 

[EMISSIVE_...]
NAME=shiq_1
INPUT=LIGHT
COLOR=11,5,0,2

[EMISSIVE_...]
NAME=shiq_005,
INPUT=LIGHT
COLOR=11,11,1,55

[EMISSIVE_...]
NAME=shiq_0,
INPUT=LIGHT
COLOR=11,11,0,22

[EMISSIVE_...]
NAME=al_glas,al_glassss
INPUT=LIGHT
COLOR=11,1,0,2

[EMISSIVE_...]
NAME=m_hled_SUB0141,m_tlights_SUB1
INPUT=LIGHT
COLOR=30,55,0,0.00
CHANNEL=0

[EMISSIVE_...]
NAME=m_hled_SUB0141,m_tlights_SUB1,
INPUT=EXTRA_D
COLOR=30,55,0,0
CHANNEL=2
[EMISSIVE_...]
NAME=m_btlight_SUB6
INPUT=EXTRA_D
COLOR=30,35,0,5



[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=4
NAME= m_hled_SUB014
COLOR=80,100,110,0.05
OFF_COLOR=0
INPUT_LAG_UP=0.995
FALLBACK_HEADLIGHTS_COLOR=80,100,110,0.1
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0
CHANNEL=0


[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=5
NAME= m_hled_SUB010,
COLOR=80,100,120,0.2
OFF_COLOR=0
INPUT_LAG_UP=0.995
FALLBACK_HEADLIGHTS_COLOR=80,100,120,0.25
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0
CHANNEL=0

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=6
NAME= m_hled_SUB030
COLOR=80,100,120,0.2
OFF_COLOR=0
INPUT_LAG_UP=0.995
FALLBACK_HEADLIGHTS_COLOR=80,100,120,0.25
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0
CHANNEL=0

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=7
NAME=m_hled_SUB7
COLOR=90,100,100,0.23
OFF_COLOR=0
INPUT_LAG_UP=0.995
FALLBACK_HEADLIGHTS_COLOR=80,100,120,0.25
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=9
NAME= m_hled_SUB029
COLOR=90,100,110,0.1
OFF_COLOR=0
INPUT_LAG_UP=0.995
FALLBACK_HEADLIGHTS_COLOR=80,100,120,0.1
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0






[EMISSIVE_LIGHT_...]
NAME=llllllllllloo
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=7,7,9,10
LAG=0.9

[EMISSIVE_...]
INPUT=HIGHBEAM
NAME=m_hled_SUB021
COLOR=100,110,125,10.2
LAG=0.2


[EMISSIVE_...]
INPUT=HIGHBEAM
NAME=m_hled_SUB010,m_hled_SUB014
COLOR=100,110,125,0.5
LAG=0.2
CHANNEL=2


[EMISSIVE_...]
INPUT=HIGHBEAM
NAME=m_hled_SUB030
COLOR=100,100,100,0.5
LAG=0.2
CHANNEL=2


[EMISSIVE_LIGHT_...]
NAME=GEO_HUD_main,HUD_TAG_?,HUD_RPM_?,
BIND_TO_HEADLIGHTS=1
COLOR=2,2,2
OFF_COLOR=2,2,2
LAG=0.0

[EMISSIVE_LIGHT_...]
NAME=GEO_HUD_Back
BIND_TO_HEADLIGHTS=1
COLOR=2,2.3,2,2
OFF_COLOR=2,2.3,2,2
LAG=0.0



[EMISSIVE_LIGHT_...]
NAME=int_btns_SUB003
COLOR=1,1,1
OFF_COLOR=1,1,1


[EMISSIVE_TURNSIGNAL_RIGHT_0] Indikator
NAME=turnSignaRIGHT002
COLOR=40,15,0,2
OFF_COLOR=35,35,35
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_1] Indikator
NAME=povototniki
COLOR=40,15,0,2
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_2] Indikator
NAME=rear_turn_signal1
COLOR=5,0,0
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_3] Indikator
NAME=turn_right
COLOR=0,15,0,5
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE


[EMISSIVE_TURNSIGNAL_LEFT_0] Indikator
NAME=rear_turn_signal002
COLOR=5,0,0
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_1] Indikator
NAME=povototniki001
COLOR=40,15,0,2
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_2] Indikator
NAME=turnSignaRIGHT001
COLOR=40,15,0,5
OFF_COLOR=25,25,35
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_3] Indikator
NAME=TURN_signal_lev
COLOR=40,15,0,0.4
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_8] Indikator
NAME=turn_left
COLOR=0,15,0,5
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_7] Indikator
NAME=TURN_signal_prav
COLOR=40,15,0,0.4
LAG=0.7
SIMULATE_HEATING=0.0
LOCATION=NONE


[EMISSIVE_...]
NAME=FL_main_lighters
INPUT=RPM
COLOR=150,150,200,2





[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=97
NAME=engine0021
COLOR=40,20,4,0.2
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_...]
NAME=spd80
INPUT=SPEEDLIMITER
COLOR=3,3,3,1
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
NAME=spdLim
INPUT=SPEEDLIMITER
INPUT_THRESHOLD_INVERSE=1
COLOR=3,3,3,2
TOGGLE_VISIBILITY=1


[SHADER_REPLACEMENT_...]
MESHES =spd80,spdLim
SHADER = ksPerPixelAlpha
PROP_... = ksAmbient,2.5
PROP_... = alpha, 0.15
SEMITRANSPARENT_SHADOWS = 0
BLEND_MODE =  ALPHA_BLEND 
IS_TRANSPARENT = 1 ;* for that IsTransparent flag, to make sure mesh would be rendered last

[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.1 ; delay between updates
RPM_VINTAGE_SPEED_LAG = 0.51 ; inertia value, from 0 to 1 (needle won’t move with 1)
RPM_VINTAGE_LIMIT = 7300 ; set to some

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=97
NAME=eng_warn_fuel
COLOR=2,2,2,1
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=97
NAME=drivetr_warn
COLOR=2,2,2,2.5
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=97
NAME=Object562
COLOR=0,0,0
OFF_COLOR=2,2.6,3,2
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=97
NAME=niz_oil
COLOR=2,2,2,2
OFF_COLOR=0,0,0,0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=5
NAME=or_liniaa,or_car
COLOR=0
OFF_COLOR=40,20,4,0.1
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=0

[SHADER_REPLACEMENT_...]
MESHES =door_lf_ok_SUB10
SHADER = ksPerPixel
IS_TRANSPARENT = 0  ;* for that IsTransparent flag, to make sure mesh would be rendered last


[SHADER_REPLACEMENT_...]
MESHES =speed_limiter
SHADER = ksPerPixelAlpha
PROP_... = ksAmbient,0.2
PROP_... = alpha, 0.1
SEMITRANSPARENT_SHADOWS = 0
BLEND_MODE =  NONE
IS_TRANSPARENT = 1  ;* for that IsTransparent flag, to make sure mesh would be rendered last


[INCLUDE: common/navigators.ini]
[NAVIGATOR_0 : Navigator_StyleSygic] ; we need it named exactly NAVIGATOR_0 to reference later
Meshes = display2_tex0011
@ = Navigator_Size, Resolution = "1024, 495", Size = "1024, 495", Offset = "0, 0", Scale = 1.0 ; these values 
  ; are a bit of a mess because of mentioned curvature (had to add padding to screen mesh to make sure there
  ; wouldn’t be any holes), usually Size would match Resolution and Offset would be zero. Also to note, extra 
  ; shapes can actually be more than just rectangles and could follow that curvature precisely, but it works
  ; well enough like this, so why going a more tedious route?
Brightness = 0.5
UPCOMING_TURN_DISTANCE_ROUND_TO = 100
DYNAMIC_OPACITY = 0 ; and we’re disabling whole thing from the start

; Now, let’s prepare rear view camera. Script could access actual mirrors and use them, but we only need it 
; to work with reverse gear, so it would be pretty wasteful to add another mirror which would be hidden most
; of the time. So we’re creating a new rendering camera located somewhere above rear license plate.
[RENDERING_CAMERA_0]
DYNAMIC_TEXTURE_ID = camera_rear ; here, we will create “dynamic::camera_rear” texture
POSITION = 0, 0.685, -2.46
DIRECTION = 0, -0.5, -1
INCLUDE_CAR = 1
REFRESH_RATE = 20  ; doesn’t need to update too often, those in-car cameras are usually pretty nasty
INTERIOR_ONLY = 1  ; stop rendering if camera is not interior one
CLIP_NEAR = 0.005  ; the way it’s positioned, it needs to render things that are very close (bits of car)
FOV = 170          ; huge FOV to get that authentic look
RESOLUTION = 1904, 1264 ; and massive resolution too
ACTIVE_BY_DEFAULT = 0 ; inactive by default, activated by a script
WITH_LIGHTING = 1
; RELATIVE_TO = DOOR_L

; Can’t really render camera like that with that huge FOV, gotta add a bit of preprocessing, namely — 
; fisheye filter to get it look curved and zoomed in in the middle.
[TEXTURE_PREPROCESSING_...]
DYNAMIC_TEXTURE_ID = camera_rear_distorted ; new “dynamic::camera_rear_distorted” texture
TEXTURE_SOURCE = dynamic::camera_rear ; use previously specificed camera texture
RESOLUTION = 476, 316 ; target resolution matches screen one, RESOLUTION for camera is just that multiplied by four
EFFECT = FISHEYE  ; use BASIC if you only need color correction (SATURATION, BRIGHTNESS, etc.)
INTENSITY = 1.5   ; intensity of fisheye effect, adjusted for 170° FOV
EXPOSURE = 1      ; this value activates tonemapping to get image from HDR to LDR space
BRIGHTNESS = 0.7  ; a bit dimmer


[ANIMATION_…]
INPUT=TRACTIONCONTROL
FILE = dsc_off1.ksanim
TIME=5
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 0



[EMISSIVE_TRACTIONCONTROL_...]
NAME=dsc_offf,dsc_off
COLOR=0,0,0,0
TIME=11
OFF_COLOR=2,2.5,3,2
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0
LAG=0.0
SIMULATE_HEATING=0.2

[Material_DigitalScreen]
Meshes = Object0017,ni1z_gauge001
MatrixType = TN
ScreenScale = 800
ScreenAspectRatio = 0.5
UseTextureCoordinates = 1

[Material_Glass]
Meshes =m_hglass_SUB1
FilmIOR = 4.5
BrightnessAdjustment=0.0
ThicknessMult=0.5
Desaturate=0
MaskPass=0


[EMISSIVE_...]
NAME=niz_tyre_warn
TOGGLE_VISIBILITY = 1
COLOR=2,2,2,2
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 46
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.0


[EMISSIVE_...]
NAME=ffuel
TOGGLE_VISIBILITY = 1
COLOR=10,5,0,0.4
INPUT=FUEL
INPUT_THRESHOLD = 15
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2


[EMISSIVE_REVERSE_0]
NAME =m_btlight_SUB5 ; name (one or more) of a mesh to glow
COLOR = 20, 20, 20,3       ; glowing color if condition is met
LAG = 0.73                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1      ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 1 

[LIGHT_REVERSE_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 2
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.44832
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0, 0.3, -2.4
RANGE=2
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

[SHADER_REPLACEMENT_...]
MESHES = Lempos0_ok_SUB001,Object562
IS_TRANSPARENT = 0

[SHADER_REPLACEMENT_...]
MESHES = m_wind_lf_SUB0,m_wind_lf_SUB1,int_btns_SUB1,adaprive_cruise1,c_hl_glass001,glas_gaug,warrrning,ffuel,m_tlights_glass_SUB1,bmw_m5_12_cockpit_s_interior_glass_,m_btlight_glass,int_lights_active_icon,kppppppppp,54354310,54354302,54354303,32532510,32532502,32532503,VRDash,M5F10,GEO_HUD_main,GEO_HUD_Back,HUD_TAG_?,HUD_RPM_?,GEO_Paddle_UP_SUB2,GEO_Paddle_DW_SUB2,higghbeamm2
IS_TRANSPARENT = 1


[ANIMATION_...]
INPUT=EXTRA_A
INPUT_LAG_UP=0.99847
INPUT_LAG_DOWN=0.0
FILE =g_comf.ksanim 
INPUT_AS_PROGRESS = 0    ; set to 1 to switch to that second input-as-progress mode
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=0               ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0



[ANIMATION_...]
INPUT=EXTRA_A
INPUT_LAG_UP=0.996
INPUT_LAG_DOWN=0.0
FILE =ard2.ksanim 
INPUT_AS_PROGRESS = 0    ; set to 1 to switch to that second input-as-progress mode
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=0               ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0

[EMISSIVE_...]
NAME=f10car
TOGGLE_VISIBILITY = 1
COLOR=2,2,2,2.7
INPUT_LAG_UP=0.99891
BIND_TO=RPM
INPUT_THRESHOLD = 333
INPUT_THRESHOLD_INVERSE = 1
INPUT_LAG_DOWN=0.0
INPUT_UP_DOWN=0.999989

[ANIMATION_11]
INPUT = RPM          ; bind to reverse gear
FILE = statr.ksanim    ; file name of new animation in “animations” folder
INPUT_UP_DOWN=0.9985
INPUT_THRESHOLD = 333
INPUT_LAG_UP=0.9985


[EMISSIVE_...]
NAME=andridAuto
TOGGLE_VISIBILITY = 1
COLOR=2,2,2,0.8
INPUT_LAG_UP=0.95
BIND_TO=RPM
INPUT_THRESHOLD = 333
INPUT_THRESHOLD_INVERSE = 1
INPUT_LAG_DOWN=0.0
INPUT_UP_DOWN=0.999989

[EMISSIVE_...]
NAME=display2_tex001
TOGGLE_VISIBILITY = 1
COLOR=2,2,2,1
INPUT_LAG_UP=0.95
BIND_TO=RPM
INPUT_THRESHOLD = 333
INPUT_THRESHOLD_INVERSE = 0
INPUT_LAG_DOWN=0.0
INPUT_UP_DOWN=0.999989



[EMISSIVE_...]
NAME=black_gauge,black_fon,
TOGGLE_VISIBILITY = 1
COLOR=2,2,2.3,2
INPUT_LAG_UP=0.95
BIND_TO=RPM
INPUT_THRESHOLD = 333
INPUT_THRESHOLD_INVERSE = 1
INPUT_LAG_DOWN=0.0
INPUT_UP_DOWN=0.999989

[EMISSIVE_...]
NAME=starttt,
INPUT=EXTRA_A
TOGGLE_VISIBILITY = 1
COLOR=20,7,0, 0.8



[EMISSIVE_...]
NAME=adaprive_cruise1,
TOGGLE_VISIBILITY = 1
COLOR=40,4,0, 1
OFF_COLOR=10,0.5,0, 1
INPUT_LAG_UP=0.3
BIND_TO=RPM
INPUT_THRESHOLD = 333
INPUT_THRESHOLD_INVERSE = 1

[EMISSIVE_...]
NAME=highbeam022
INPUT_THRESHOLD_INVERSE = 1
INPUT=SPEEDLIMITER
TOGGLE_VISIBILITY = 1
COLOR=0,1115,0, 0
OFF_COLOR=0,12,0, 4
LAG=0.2



[EMISSIVE_...]
NAME=adaprive_cruise2
INPUT=SPEED
INPUT_THRESHOLD=60
TOGGLE_VISIBILITY = 1
COLOR=40,4,0.5, 2
LAG=0.2
[EMISSIVE_...]
NAME=adaprive_cruise
INPUT=SPEED
INPUT_THRESHOLD=40
TOGGLE_VISIBILITY = 1
COLOR=40,4,0.5, 2
INPUT_LAG_DOWN=0.998

[EMISSIVE_...]
NAME=instrument014
INPUT=SUSP_DAMAGE
INPUT_THRESHOLD=40
COLOR=40,4,0.5, 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_1]
NAME=mdm_mode
INPUT_EQUALS=1
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=20,10,0
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_...]
NAME=sport1Gear001
INPUT_EQUALS=1
TOGGLE_VISIBILITY = 1
COLOR=1,1,1
OFF_COLOR=2,2,2,2
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=40,20,4,0.2
NAME=tcs
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_...]
NAME= speed_limiter
TOGGLE_VISIBILITY = 1
INPUT=SPEEDLIMITER
INPUT_THRESHOLD_INVERSE=0
INPUT_THRESHOLD=10
COLOR=1,1,1,2


[ANIMATION_...]
INPUT=EXTRA_A
FILE =ext_a.ksanim 
TICK_TOCK_MODE=1
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=0
LAG=0.95



[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
NAME=bmw_m5_12_cockpit_s_interior_gauge_emissive_, dash_display_overlay_light,
COLOR=2,2,2,1




[EMISSIVE_...]
INPUT=LIGHT
NAME=banng
COLOR=156,50,174,0.01
OFF_COLOR=40,70,121,0.01
LAG=0.98


[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=333
NAME=int_btns_SUB1
COLOR=2,2,2,1
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY=1

[INCLUDE: common/custom_emissive.ini]
[CustomEmissiveMulti]
Meshes = int_btns_SUB005
Resolution =1024
UseEmissive0AsFallback = 1
@ = AlphaFromTxDiffuse
; Debug = 1 ; uncomment me to see the areas nicely

@ = MultiItem, Role = GEAR_R ,Start = "517, 803.6", Size = "17.5, 20.9",Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_N , Start = "534.5, 831.7", Size = "16.7, 21" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_D ,Start = "593.1, 809.3", Size = "29.5, 24.1" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = LIGHT ,  Start = "513.4, 799.8", Size = "111.5, 90" , Color = "2,0,0" ,

[ANALOG_INDICATOR_...]
NAME=niz_temp1
INPUT=EXTRA_E
LAG=0.0
POS_OFFSET_END =-0.000, -0.001,0.0001
POS_OFFSET_START = -0.0,-0.00, 0.0
SCALE_START = 0,1,1; scale for the minimum value
SCALE_END =1,1,1; scale for the upper bound (allows to create progress bars and such)

[ANALOG_INDICATOR_...]
NAME=niz_temp12
INPUT=EXTRA_A
LAG=0.0
POS_OFFSET_END =-0.000, -0.00,0
POS_OFFSET_START = -0.0,-0.00, 0.0
SCALE_START = 1,1,1; scale for the minimum value
SCALE_END =1,1,1; scale for the upper bound (allows to create progress bars and such)


[ANALOG_INDICATOR_...]
NAME=DISPLAY_DATA_HUD,
INPUT=EXTRA_A
LAG=0.0
INPUT_LAG_UP=0.98
POS_OFFSET_END =0.002, 0.2, 0.12
POS_OFFSET_START = -0.0,-0.00, 0.0
SCALE_START = 0,1,1; scale for the minimum value
SCALE_END =0.78,1,1; scale for the upper bound (allows to create progress bars and such)

[ANIMATION_...]
INPUT = TRACTIONCONTROL 
INPUT_THRESHOLD_INVERSE=1      ; bind to reverse gear
FILE = hud_anim.1ksanim    ; file name of new animation in “animations” folder
TIME = 0.1                  ; animation time
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 



;===SCRIPTS===
[SCRIPT_...]
SCRIPT = "sound.lua"
[EMISSIVE_...]
NAME=main_LCD
INPUT=LIGHT
OFF_COLOR=3,3,3.5
COLOR=1,1,1.5



[EMISSIVE_EXTRA_E_1] 
BIND_TO_EXTRA_E=1
BIND_TO_HEADLIGHTS=0
NAME = Plate_LODA001.001,extra1,Plate_LODA001,rublevka001
COLOR=1,1,1,0.1
OFF_COLOR = 0,0,0,0.1
LAG = 0.01
SIMULATE_HEATING = 0
LOCATION =FRONT
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY_INVERSE=0


[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
;NAME=Plate_LODA001 , Plate_LODA
OFFSET=0.00, 0.03, -0.05
RANGE=0.27
RANGE_GRADIENT_OFFSET=0.5
SPOT=175
SPOT_SHARPNESS=0.9
COLOR=1,1,1,1.3
OFF_COLOR=1,1,1,1.3
FALLBACK_EMISSIVE=1,1,1,1.3
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=1
FADE_SMOOTH=1

[LIGHT_LICENSEPLATE]

; crazy offset, because there is a front license plate as well
; without lights, but it skews license plate pos detection
OFFSET = 0.0, 0.08, 0.1
RANGE_GRADIENT_OFFSET = 0.5
SPOT = 195
SPOT_SHARPNESS = 0.9
COLOR = 1, 1, 1.5, 12
LAYOUT = ONE_ON_TOP






[INCLUDE: common/custom_emissive.ini]
[CustomEmissiveMulti]
Meshes = int_btns_SUB005
Resolution =1024
UseEmissive0AsFallback = 1
@ = AlphaFromTxDiffuse
; Debug = 1 ; uncomment me to see the areas nicely

@ = MultiItem, Role = GEAR_R ,Start = "517, 803.6", Size = "17.5, 20.9",Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_N , Start = "534.5, 831.7", Size = "16.7, 21" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = GEAR_D ,Start = "593.1, 809.3", Size = "29.5, 24.1" , Color = "-3, 2, 0" , 
@ = MultiItem, Role = LIGHT ,  Start = "513.4, 799.8", Size = "111.5, 90" , Color = "2,0,0" ,



FL_headlightR_detail_glass_clear_

[EMISSIVE_HIGHBEAM_...] 
NAME= FL_headlightR_glass_ ,FL_headlightR_detail_glass_clear_
COLOR=80,120,150,2
OFF_COLOR = 0, 0, 0 
LAG= 0.5
SIMULATE_HEATING= 0.6 
LOCATION=FRONT 
ACT_AS_HEADLIGHTS= 0

[EMISSIVE_HIGHBEAM_...] 
NAME=highbeam21
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=0,3.8,6,1
LAG=0
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0





[ANIMATION_...]
INPUT = GEAR_D           ; bind to reverse gear
FILE = head_up1.ksanim    ; file name of new animation in “animations” folder
TIME = 0.5                  ; animation time
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
RANGE=0
UPPER_BOUND = 0  
START = 0 
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_END = 0, 0.25, 0.05
POS_OFFSET_START = -0.0, 0.00, 0.0






[ANIMATION_...]
INPUT = EXTRA_B          ; bind to reverse gear
FILE = luk21.ksanim  ; file name of new animation in “animations” folder
TIME = 2                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0  ; force to update interior reflections mask if animation is 
                            ; playing (slower)

                            
[ANIMATION_...]
INPUT = EXTRA_B           ; bind to reverse gear
FILE = luk.ksanim    ; file name of new animation in “animations” folder
TIME = 2                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0  ; force to update interior reflections mask if animation is 
                            ; playing (slower)



[ANIMATION_...]
INPUT = EXTRA_C        ; bind to reverse gear
FILE = hood.ksanim    ; file name of new animation in “animations” folder
TIME = 0.94                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0  ; force to update interior reflections mask if animation is 
                            ; playing (slower)

[ANIMATION_...]
INPUT = EXTRA_A            ; bind to reverse gear
FILE = bang_sytme.ksanim    ; file name of new animation in “animations” folder
TIME = 0.94
INPUT_LAG_UP=0.991                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0  ; force to update interior reflections mask if animation is 
                            ; playing (slower)
                            
[INCLUDE: common/materials_license_plate.ini]
[Material_LicensePlate_Europe]
Meshes = Plate_LODA0011



[INCLUDE: common/materials_interior.ini]
[Material_Metal_v2]
Materials=chrome_smooth_plastic_interior,chrome_smooth_plastic_interior,
Metalness = 0.4
DetailScale=20
BrightnessAdjustment = 0.2
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.3
OcclusionMap = 0.5
CubemapReflectionBlur = 0.5

[SHADER_REPLACEMENT_...]
MATERIALS = b_exhaust_1__env_4_
PROP_...=ksDiffuse, 0.25
PROP_...=ksAmbient, 0.25

[SHADER_REPLACEMENT_...]
MATERIALS = metal_calipers
PROP_...=ksAmbient, 0.35
PROP_...=ksDiffuse, 0.35


[SHADER_REPLACEMENT_...]
MESHES = m_body_SUB3
PROP_...=ksDiffuse, 0.2
PROP_...=ksAmbient, 0.2


[SHADER_REPLACEMENT_...]
MESHES = m_body_SUB4
PROP_...=ksDiffuse, 0.5
PROP_...=ksAmbient, 0.5
PROP_...=ksSpecularEXP, 0.0
PROP_...=fresnelMaxLevel, 0.025

[Material_Metal_v2]
Materials=b_exhaust_1__env_4_
BrightnessAdjustment = 0.95
Metalness = 0.14
DetailScale=0
DetailNormalBlend = 0
LocalReflectionsSharpness = 0.0
OcclusionMap = 0.53
CubemapReflectionBlur = 0.0

[Material_Metal_v2]
Meshes=banng,
Metalness = 0.9
DetailScale=1
BrightnessAdjustment = 0.4
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.83
OcclusionMap = 0.5
CubemapReflectionBlur = 0.95

[Material_Metal_v2]
Meshes=m_hled_SUB2,m_hled_SUB021,
Metalness = 0.9
DetailScale=0
BrightnessAdjustment = 0.5
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.83
OcclusionMap = 0.5
CubemapReflectionBlur = 0.5

[Material_Metal_v2]
Meshes=bmw_m5_12_s_lod0_badgeR_chrome_,
BrightnessAdjustment = 0.0

[Material_Metal_v2]
Materials=ISM_EURO_STYLE_433_COR_2
BrightnessAdjustment = 0.1
Metalness = 0.4
DetailScale=20
BrightnessAdjustment = 0.12
DetailNormalBlend = 0
LocalReflectionsSharpness = 0.3
OcclusionMap = 0.05
CubemapReflectionBlur = 0.5


[Material_Chrome]
Materials = alum_reshetka,black_reshst_ao
Smoothness = 1
Metalness = 0.1
Reflectance = 0
BrightnessAdjustment = 0.01
CubemapReflectionBlur = 0.9

