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

;===SCRIPTS===
[SCRIPT_...]
SCRIPT = "sound.lua"

[DATA] 
DISABLE_LIGHTSINI=1

[INCLUDE: apple_car_play/config.ini]
[Display_AppleCarPlay]
Meshes = FullCarPlay  ; display mesh
Resolution = 1080,1100    ; texture resolution
Size = 1080,405       ; size of the screen area
Offset = 0, 0              ; left top corner of screen area
Scale = 1.                  ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera




[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=0
TURNING_LIGHTS_REPEAT=1

[PARTICLES_FX]
BODYSPARKS_AMOUNT=0.25
BODYSPARKS_INTENSITY=0.2
BODYSPARKS_LIFETIME=0.4
BODY_SPARKS_COLOR=1, 0.5, 0, 10
COLLIDER_0SPARKS_AMOUNT=0.25
COLLIDER_0SPARKS_INTENSITY=0.2
COLLIDER_0SPARKS_LIFETIME=0.4
COLLIDER_0_SPARKS_COLOR=1, 0.5, 0, 10
DRAG_MULT=2
INTERIOR_BOUNDS_CHECK=1
INTERIOR_BOUNDS_HEIGHT=0.644874
LIFT_MULT=0.1
SPARKS_AMOUNT_MULT=2
SPARKS_COOLDOWN_LAG=0.96
SPARKS_DEPTH_EXP=4
SPARKS_MAX_DEPTH=0.0025
SPARKS_OVERLOAD_LAG=0.7
TRACES_LIGHTS_POS=0.655593, 0.825127, -2.15187

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
SPEED_FIX=1
SPEED_LAG=0.92
SPEED_LIMIT=

[INSTRUMENTS]
RPM_VINTAGE =1 ; set to 1 to enable the whole thing
RPM_VINTAGE_ROUND_TO = 0 ; to what RPMs needle should snap
RPM_VINTAGE_DELAY = 0.11 ; delay between updates
RPM_VINTAGE_SPEED_LAG = 0.80 ; inertia value, from 0 to 1 (needle won’t move with 1)
RPM_VINTAGE_LIMIT = 0 ; set to some

[ANIMATED_WIPER_...]
MESHES =Rwiper,Lwiper 
UNDERLYING_SURFACE = lodA_Exterior_a_Window_1_Hard_NonTextured_NoSkin_Geo,podstiklo
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = Rwiper,Lwiper
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1
[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = Rwiper, Lwiper
UNDERLYING_SURFACE = lodA_Exterior_a_Window_1_Hard_NonTextured_NoSkin_Geo, podstiklo
GROUP_0 = 'Rwiper@A=*'
GROUP_0_ANGLE_TO = 81.3
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_0_END = -0.71002245, 0.88423604, 0.758036
GROUP_0_PIVOT = 0.08297396, 0.8323019, 0.9673681
GROUP_0_SCALE_LUT = '(|0.000=1.000|1.008=0.884|)'
GROUP_0_BASE_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_BASE_PIVOT = 0.08297396, 0.8323019, 0.9673681
GROUP_1 = 'Lwiper@A=*'
GROUP_1_ANGLE_TO = 80.7
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_1_END = -0.2324462, 0.8871692, 0.9001767
GROUP_1_PIVOT = 0.5856712, 0.80256873, 0.93942285
GROUP_1_SCALE_LUT = '(|0.000=1.000|1.004=0.868|)'
GROUP_1_BASE_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_BASE_PIVOT = 0.5856712, 0.80256873, 0.93942285






[ANIMATION_...]
INPUT = GEAR_R
FILE = kapeper.ksanim
TIME = 3 


[ANIMATION_...]
INPUT = GEAR
FILE = kapepen.ksanim
TIME = 2 


[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[REFLECTIONS_FX]
ALLOW_INTERIOR_SSAO=0
ALLOW_INTERIOR_SSGI=0
AUTOFIX=1
MASK_CUBEMAP_ENABLED=1
MASK_CUBEMAP_OFFSET=0, -0.1, 0.2
MASK_CUBEMAP_TWEAK=0.5

[SMART_MIRROR]
DISALLOW_MAPPING_NORMALIZATION=0
DISALLOW_REAR_MIRROR=0
DISALLOW_REFLECTION_TILTING=0
SHAKING=0

[STATUS_BATTERY]
BASE_VOLTAGE=12.4
MAX_VOLTAGE=13.6
RPM_LAG=0.98

[STATUS_EXHAUST]
TEMPERATURE_BOOST=400
TEMPERATURE_IDLE=400
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_RPM=100

[STATUS_OIL]
PRESSURE_BASE=1
PRESSURE_LAG_DOWN=0.9985
PRESSURE_LAG_UP=0.998
PRESSURE_STEP=0.7
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_MULT=1
TEMPERATURE_OFFSET=0
TEMPERATURE_RPM_FACTOR=0.03

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0         ; use ceramic look
CARVED = 30              ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 0.5   ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.110
DISC_RADIUS = 0.200
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0


[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=2
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

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


''''''''''''RGB'''''''''''''''''''''''''

[EMISSIVE_LIGHT_...]
NAME=ambiente
COLOR=100,100,100,0.5
OFF_COLOR=1,1,1,0
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1 
LOCATION=FRONT


[EMISSIVE_LIGHT_...]
NAME=lodA_Interior_a_LabelsEmissive_1_Hard_NonTextured_Skinned_Geo, rul8
COLOR=5,0,0, 0.5
OFF_COLOR=1,1,1,0
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1 
LOCATION=FRONT

[EMISSIVE_LIGHT_...]
NAME=Cluster_FullSportPlus4WDSport,FullCarPlay
COLOR=1,1,1, 2.3
OFF_COLOR=1,1,1, 2.3
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1 
LOCATION=FRONT

[EMISSIVE_LIGHT_...]
NAME=logokovshi
COLOR=1,1,1, 1
OFF_COLOR=1,1,1, 0
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1 
LOCATION=FRONT

'''''''''''''''''''''''''''''''''''''''''



''''''''''''''''''''''''''''''''''''''

[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER = headleftrgl,lodA_LightRear_a_GlassOuter_1_Hard_NonTextured_NoSkin_Geo,linzi,lodA_Exterior_a_Window_1_Hard_NonTextured_NoSkin_Geo,tailred


[EMISSIVE_HEADLIGHTS_0]
NAME=headlight_0
COLOR=100,100,100, 10
LAG=0.0
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_HEADLIGHTS_1]
NAME=taillight_0
COLOR=60,2,0, 10
LAG=0.0
SIMULATE_HEATING=0.2
LOCATION=REAR


[LIGHT_BRAKE_0] ; Brake Cast
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, 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

[LIGHT_EXTRA_0_REARLIGHTS] ; taillight sprite to road
BOUND_TO= tailredlights
BOUND_EMISSIVE_MAX=20
BOUND_EXP= 0.5
POSITION=0,0,-2.2
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.8



[EXTRA_FX_EMISSIVE_...]
MESHES = linziB,linziS,        ; list of meshes
DIGITAL_INSTRUMENTS =   ; filters for digital instruments (for most of them,
    ; names of sections in “digital_instruments.ini”), only for cars
RANGE = 5           ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR=5,5,5,0.5,5                ; optional brightness multiplier (could be an RGBA value)
DIRECTED =                ; set for 0 for point light and 1 for directed light, or to 
    ; something in-between (by default guessed based on mesh shape)

; Optional advanced tweaks for more complex cases
EMISSIVE_TWEAK = 1       ; extra tonemapping for emissive color to balance things out
    ; (set to 0 to disable, set above 1 to further reduce effect or large emissive value)
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 0 ; set to 1 to use COLOR and emissive color only

; Optional distribution settings (can affect performance):
COVERAGE = 3             ; samples density, by default 3 for cars and 2 for tracks (actual
    ; number of samples is controlled by mesh area, light range and coverage)
SAMPLES_LIMIT = 100      ; upper limit for number of samples to make sure generation won’t
    ; take huge amount of time, by default 400 for tracks
SPLIT_ELEMENTS = 0       ; split meshes into elements before generating samples, 
    ; by default 1 for tracks
SPLIT_THRESHOLD = …      ; set to something above 0 to weld vertices within that distance
    ; before splitting elements
NORMAL_SHIFT = 0         ; increase to move light producing samples away from surface alogn
    ; normals (use it if surroundings are too dark)
COVERED_BY = …           ; stop emissive if a mesh with given name is visible

[EXTRA_FX_EMISSIVE_...]
MESHES = headleftrf,headrightrf     ; list of meshes
DIGITAL_INSTRUMENTS =   ; filters for digital instruments (for most of them,
    ; names of sections in “digital_instruments.ini”), only for cars
RANGE = 0.034              ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1,1,1.5,  5               ; optional brightness multiplier (could be an RGBA value)
DIRECTED =                ; set for 0 for point light and 1 for directed light, or to 
    ; something in-between (by default guessed based on mesh shape)

; Optional advanced tweaks for more complex cases
EMISSIVE_TWEAK = 1       ; extra tonemapping for emissive color to balance things out
    ; (set to 0 to disable, set above 1 to further reduce effect or large emissive value)
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 0 ; set to 1 to use COLOR and emissive color only

; Optional distribution settings (can affect performance):
COVERAGE = 3             ; samples density, by default 3 for cars and 2 for tracks (actual
    ; number of samples is controlled by mesh area, light range and coverage)
SAMPLES_LIMIT = 100      ; upper limit for number of samples to make sure generation won’t
    ; take huge amount of time, by default 400 for tracks
SPLIT_ELEMENTS = 0       ; split meshes into elements before generating samples, 
    ; by default 1 for tracks
SPLIT_THRESHOLD = …      ; set to something above 0 to weld vertices within that distance
    ; before splitting elements
NORMAL_SHIFT = 0         ; increase to move light producing samples away from surface alogn
    ; normals (use it if surroundings are too dark)
COVERED_BY = …           ; stop emissive if a mesh with given name is visible






[EMISSIVE_HEADLIGHTS_0]
NAME=headlight_0
COLOR=100,100,100, 13
LAG=0.0
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_BRAKE_...] ; Emergency Flash
NAME=lodA_LightRear_a_PatternANoAlpha_1_Hard_NonTextured_NoSkin_Geo
COLOR=50, 0, 0 , 10
CAST_LIGHT=0
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =50, 0,0, 5 
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[EMISSIVE_BRAKE_...] ; Emergency Flash
NAME=stoplight
COLOR=5, 0, 0 , 80
CAST_LIGHT=0
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =50, 0,0, 5 
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[EMISSIVE_REVERSE_...] ; Reverse Lights
NAME =lodA_LightRear_a_Light_1_Hard_NonTextured_Skinned_Geo  ; name (one or more) of a mesh to glow
COLOR = 80,80,80,2       ; glowing color if condition is met
LAG = 0.2                   ; 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 = 0       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

""""""""""""""""""""""""TURN LIGHTS"""""""""""""

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal
NAME=headleftrf
COLOR=100,20,0,2
FALLBACK_HEADLIGHTS_COLOR =80,100,120,5.5
LAG=0.6
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Left Mid Turnsignal
NAME=midleftpov
COLOR=100,20,0,2
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Rear Left Turnsignal 
NAME=leftlight
COLOR=100,20,0,2
LAG=0.6
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Front Right Turnsignal
NAME=headrightrf
COLOR=100,20,0,2
FALLBACK_HEADLIGHTS_COLOR =80,100,120,5.5
LAG=0.6
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Mid Right Turnsignal
NAME=midrightpov
COLOR=100,20,0,2
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Rear Right Turnsignal 
NAME=rightlight
COLOR=100,20,0,2
LAG=0.6
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5









;;;;;;;;; Audio Volume [CAREFULL WITH THIS] ;;;;;;;;; 
[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

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

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



[ANIMATION_...]
INPUT=RPM
INPUT_MIN = 0
INPUT_MAX = 8000
FILE =RPM_ANIM.ksanim
INPUT_LUT = (0=0| 1000=0.16 |2000=0.32 |3000=0.40 |4000=0.48|5000=0.56|6000=0.72|7000=0.8)  
INPUT_LAG_UP = 0
INPUT_LAG_DOWN = 0
INPUT_AS_PROGRESS = 1       ; 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

[ANIMATION_...]
INPUT=SPEED
INPUT_MIN = 0
INPUT_MAX = 330
FILE =SPEED_ANIM.ksanim
INPUT_LUT = (| 0=0 | 30=0.2  | 60=0.3 | 90=0.36 |120=0.48|150=0.53|160=0.54|200=0.63|210=0.65|270=0.75|330=.91)  
INPUT_LAG_UP = 0.0
INPUT_LAG_DOWN = 0.0
INPUT_AS_PROGRESS = 1      ; 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






[EMISSIVE_...]
INPUT=FUEL
MIN_VALUE=5
NAME=F_0
COLOR=255,1,1,0.2

[EMISSIVE_...]
INPUT=FUEL
MIN_VALUE=26
NAME= F_1
COLOR=255,1,1,0.2

[EMISSIVE_...]
INPUT=FUEL
MIN_VALUE=39
NAME= F_2
COLOR=255,1,1,0.2

[EMISSIVE_...]
INPUT=FUEL
MIN_VALUE=50
NAME= F_3
COLOR=255,1,1,0.2


[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=56
NAME=F2_0
COLOR=1,1,255,0.2

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=62
NAME=F2_1
COLOR=1,1,255,0.2

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=68
NAME=F2_2
COLOR=1,1,255,0.2

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=76
NAME=F2_3
COLOR=1,1,255,0.2


[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=82
NAME=oil_5,
COLOR=1,1,255,0.2
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=90
NAME=oil_6,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=96
NAME=oil_7,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1


[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=102
NAME=oil_8,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=108
NAME=oil_9,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=114
NAME=oil_10,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=120
NAME=oil_11,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=126
NAME=oil_12,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=132
NAME=oil_13,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=138
NAME=oil_14,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1

[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=144
NAME=oil_15,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1
[EMISSIVE_...]
INPUT=OIL_TEMPERATURE
INPUT_THRESHOLD=150
NAME=oil_16,
COLOR=1,1,1,3
TOGGLE_VISIBILITY=1





[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=400
NAME=digscreeclus,0-120,Plane006,Plane008,0-5,120-330,5-8,backgr_sp,backgr_rpm,object_mat_m3_g80_104.001
COLOR=1,1,1,3


[EMISSIVE_...]
INPUT=RPM
INPUT_THRESHOLD=400
NAME=android_oto
COLOR=1,1,1,1


[EMISSIVE_...]
INPUT=LIGHT
NAME=
COLOR=1,1,1,0.5
OFF_COLOR=1,1,1,0.5

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;






///////////////////////////////////////////////////////////////////////////////////



[ANIMATION_...]
FILE=ClusterNavi_CarPlay.ksanim
TIME= 0.01
BIND_TO_EXTRA_B=0



[ANIMATION_...]
FILE=pidrik.ksanim
TIME= 2
BIND_TO_EXTRA_D=1


[ANIMATION_...]
INPUT = BRAKE            ; bind to reverse gear
FILE = brakedaun.ksanim   ; file name of new animation in “animations” folder
TIME = 1               ; animation time
INPUT_AS_PROGRESS = 1       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_...]
INPUT = GAS            ; bind to reverse gear
FILE = pedalik.ksanim  ; file name of new animation in “animations” folder
TIME = 1                ; animation time
INPUT_AS_PROGRESS = 1       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0



[ANIMATION_...]
INPUT = TURNSIGNAL_LEFT             ; bind to reverse gear
FILE = leftdura.ksanim ; file name of new animation in “animations” folder
TIME = 0.5                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_...]
INPUT = TURNSIGNAL_RIGHT             ; bind to reverse gear
FILE = turndura.ksanim ; file name of new animation in “animations” folder
TIME = 0.5                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0




[ANIMATION_...]
INPUT = WIPERS_MODE             ; bind to reverse gear
FILE = wiperdura.ksanim  ; file name of new animation in “animations” folder
TIME = 0.5                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0


[ANIMATION_...]
INPUT = GEAR_R
FILE = GearReverse.ksanim
TIME = 0.7  

[ANIMATION_...]
INPUT = GEAR
INPUT_THRESHOLD_LOWER_INC = 1
FILE = GearDrive_Sport.ksanim
TIME = 0.7  

[ANIMATION_...]
INPUT = HIGHBEAM
FILE = Flash.ksanim
TIME = 0.4

[ANIMATION_...]
INPUT = TURNSIGNAL_LEFT
FILE = TurnSignal_Left.ksanim
TIME = 0.01   

[ANIMATION_...]
INPUT = TURNSIGNAL_RIGHT
FILE = TurnSignal_Right.ksanim
TIME = 0.01  

[ANIMATION_...]
INPUT=RPM
INPUT_MIN = 0
INPUT_MAX = 8000
FILE = RPM_M.ksanim
INPUT_LUT = (0=0.05| 1000=0.25 |2000=0.33 |3000=0.41 | 5000=0.55|6000=0.63|7000=0.71| 8000=0.80)  
INPUT_LAG_UP = 0
INPUT_LAG_DOWN = 0
INPUT_AS_PROGRESS = 1       ; 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

[ANIMATION_...]
INPUT=RPM
INPUT_MIN = 0
INPUT_MAX = 8000
FILE = RPM_M2.ksanim
INPUT_LUT = (0=0.1| 1000=0.25 |2000=0.34 |3000=0.42 | 5000=0.58|6000=0.67|7000=0.76| 8000=0.90)  
INPUT_LAG_UP = 0
INPUT_LAG_DOWN = 0
INPUT_AS_PROGRESS = 1       ; 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

[ANIMATION_...]
INPUT=SPEED
INPUT_MIN = 0
INPUT_MAX = 330
FILE = Speed_M.ksanim
INPUT_LUT = (| 0=0.05| 30=0.25 | 60=0.33 | 90=0.41 |150=0.55| 210=0.63| 270=0.71 | 330=0.80)  
INPUT_LAG_UP = 0.0
INPUT_LAG_DOWN = 0.0
INPUT_AS_PROGRESS = 1      ; 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

[ANIMATION_...]
INPUT = TRACTIONCONTROL
INPUT_THRESHOLD_LOWER_INC= 0
INPUT_THRESHOLD_UPPER = 1
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
FILE =  ClusterNavi_FullSportPlus4WDSport.ksanim ; file name of new animation in “animations” folder
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 0  
TIME = 0.01           ; animation time


[ANIMATION_...]
INPUT = TRACTIONCONTROL
INPUT_THRESHOLD_LOWER = 1
INPUT_THRESHOLD_UPPER = 3
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
FILE = ClusterNavi_FullSport4WD.ksanim   ; file name of new animation in “animations” folder
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 0  
TIME = 0.01           ; animation time

[ANIMATION_...]
INPUT = TRACTIONCONTROL
INPUT_THRESHOLD_LOWER = 2
INPUT_THRESHOLD_UPPER = 4
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
FILE =  ClusterNavi_FullComfort4WD.ksanim  ; file name of new animation in “animations” folder
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 0  
TIME = 0.01           ; animation time


[EMISSIVE_TRACTIONCONTROL_...]
NAME = ExhaustOnOff
INPUT_THRESHOLD_LOWER_INC= 0
INPUT_THRESHOLD_UPPER = 2
TOGGLE_VISIBILITY = 0
COLOR=0,15,0
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_...]
NAME = TractionControlEmissive
INPUT_THRESHOLD_LOWER_INC= 0
INPUT_THRESHOLD_UPPER = 1
TOGGLE_VISIBILITY = 0
COLOR=15,13,1,0.4
LAG=0.2


[Material_Glass]
Materials = glasser
IOR = 2
ThicknessMult = 0.8
MaskPass = 4


[EMISSIVE_...]
NAME = RearCameraEmissive
INPUT = GEAR_R
COLOR=10,0,0
LAG=0.2

[DI_GEAR_...]
DIGITAL_ITEM = 1
DIGITAL_ITEM_NUMBER_FORMAT = GEAR_AUTO,R,P

[DI_GEAR_...]
DIGITAL_ITEM = 2
DIGITAL_ITEM_NUMBER_FORMAT = GEAR, , 

[DI_GEAR_...]
DIGITAL_ITEM = 6
DIGITAL_ITEM_NUMBER_FORMAT = GEAR,R,P

[DI_TYRE_TEMPERATURE_...]
DIGITAL_ITEM = 11
INPUT_SELECTOR = FIRST
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_TYRE_TEMPERATURE_...]
DIGITAL_ITEM = 13
INPUT_SELECTOR = SECOND
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_TYRE_TEMPERATURE_...]
DIGITAL_ITEM = 15
INPUT_SELECTOR = THIRD
DIGITAL_ITEM_NUMBER_FORMAT = 1.0

[DI_TYRE_TEMPERATURE_...]
DIGITAL_ITEM = 17
INPUT_SELECTOR = FORTH
DIGITAL_ITEM_NUMBER_FORMAT = 1.0


[EMISSIVE_LIGHT_...]
NAME=tailredlights
COLOR=25,0,0, 0.35
LAG=0.8

[EMISSIVE_LIGHT_...]
NAME=leftbck, rightbck
COLOR=100, 100, 100, 0.5
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.9
FALLBACK_HEADLIGHTS_COLOR=55,55,55

[LIGHT_HEADLIGHT_...]
NAME=linziB
COLOR=150, 150, 150, 0.15
LAG=0.1
SIMULATE_HEATING=0.9
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.1
FALLBACK_HEADLIGHTS_COLOR=55,55,55


[EMISSIVE_LIGHT_...]
NAME=RPM_M
COLOR=55,55,55, 0.15
OFF_COLOR=55,55,55, 0.02
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.9


[EMISSIVE_LIGHT_...]
NAME=Speed_M
COLOR=55,55,55, 0.15
OFF_COLOR=55,55,55, 0.02  
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.9

[EMISSIVE_LIGHT_...]
NAME=linziB
COLOR=55,55,55, 10
OFF_COLOR=55,55,55, 0.02
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.9

;;;;;;;;; Cluster Config ;;;;;;;;; 
[CustomEmissiveMulti] ; Emissive Warning Lights
Meshes = cluster_warning
Resolution = 812, 812
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "323.1, 422.7", Size = "91.1, 79.9", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "500, 193", Size = "127, 54", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "670, 184", Size = "123, 68", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "0, 0, 100",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "-10, 10, -10",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "201, 184", Size = "110, 71", Color = "10, 3, -50",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "681, 438", Size = "68, 61", Color = "10, 3, -50", InputThreshold = 32, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "70,5,0",


[EMISSIVE_LIGHT_...]
NAME=moscow, moscow001
COLOR=200,22,38,0.25
FALLBACK_HEADLIGHTS_COLOR=
LAG=0.2
SIMULATE_HEATING=0.8
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...]
NAME=team, team001
COLOR=100,100,100, 0.25
FALLBACK_HEADLIGHTS_COLOR=
LAG=0.2
SIMULATE_HEATING=0.8
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

'''''''''''''''''''''''PBR''''''''''''''''''''''''


[Material_Carbon]
Materials = intcarbon
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.1
DetailScale = 180

[Material_Carbon]
Materials = 07 - Default
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.1
DetailScale = 300

[Material_Carbon]
Materials = rulcarbon
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.1
DetailScale = 60

[Material_Carbon]
Materials = rulcarble
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.1
DetailScale = 25

[Material_InteriorPBR]
Materials = intplast,blkyaeby
Smoothness=0.4
Metalness=0
Reflectance=0.03
OcclusionMap=1,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 1
DetailScale = 60


[Material_InteriorPBR]
Materials = lightchromi,tailchromef,wheelobvodka,harman,lodA_LightRear_a_PatternANoAlpha_1_Hard_NonTextured_NoSkin_Geo
Smoothness=0.9
Metalness=0.5
Reflectance=1
OcclusionMap=0,1
BrightnessAdjustment=0.5
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 1
DetailScale = 1


[Material_InteriorPBR]
Materials = grill
Smoothness=0.2
Metalness=0.5
Reflectance=1
OcclusionMap=0,1
BrightnessAdjustment=0
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 1
DetailScale = 1

[Material_Plastic_v2]
Materials = glyanec
BrightnessAdjustment = 0.0
Reflectance = 0.1
LocalReflectionsSharpness = 0.5
DetailNormalBlend = 0.0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 5
DetailTextureBlur = 0
DetailScale = 0

[Material_Plastic_v2]
Materials = plastic,plasticbump,intheadlight
BrightnessAdjustment = 0.15
Reflectance = 0.1
LocalReflectionsSharpness = 0.5
DetailNormalBlend = 0.0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 5
DetailTextureBlur = 0
DetailScale = 0

[Material_Aluminium_v2]
Materials = intchrome
Smoothness = 1
Metalness = 0.2
Reflectance = 0.6
OcclusionMap=0,1
BrightnessAdjustment = 0.1
CubemapReflectionBlur = 1
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=0

[Material_InteriorPBR]
Materials = rul1,kapepesuka
Smoothness=0.5
Metalness=0.03
Reflectance=0.03
OcclusionMap=0,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 1
DetailScale = 8

[Material_InteriorPBR]
Materials = intkozha
Smoothness=0.5
Metalness=0.01
Reflectance=0.03
OcclusionMap=1,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 2
DetailScale = 30

[Material_InteriorPBR]
Materials = NegrShov
Smoothness=0.5
Metalness=0.01
Reflectance=0.03
OcclusionMap=1,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 2
DetailScale = 32

[Material_InteriorPBR]
Materials = alcantara
Smoothness=0.5
Metalness=0.01
Reflectance=0.01
OcclusionMap=1,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 2
DetailScale = 80


[Material_InteriorPBR]
Materials = sidushki,leathershov
Smoothness=0.5
Metalness=0.01
Reflectance=0.04
OcclusionMap=1,1
BrightnessAdjustment=1
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 2
DetailScale = 50

[Material_InteriorPBR]
Materials = rulleatherl
Smoothness=0.5
Metalness=0.03
Reflectance=0.03
OcclusionMap=0,1
BrightnessAdjustment=0.13
CubemapReflectionBlur=0
HasDetailNormals= 1
DetailNormalBlend = 2
DetailScale = 10

[EMISSIVE_CORNERINGLAMP_RIGHT_1]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=linziS1
TOGGLE_VISIBILITY = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=5,5,5,50
LAG=0.8
SIMULATE_HEATING=0.5
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_CORNERINGLAMP_LEFT_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=linsiS2
TOGGLE_VISIBILITY = 0
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=5,5,5,50
LAG=0.8
SIMULATE_HEATING=0.5
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[LIGHT_CORNERINGLAMP_LEFT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=450
BOUND_EXP=1
COLOR= 10,10,10,1
DIFFUSE_CONCENTRATION=1.3
DIRECTION=0.9, 0.21, 0.88
OFF_POSITION=0.5, 0.85, 2.3
POSITION=0.5, 0.85, 2.3
RANGE=5
SPOT=110
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=25
INTERIOR_ONLY=0
MIRROR=0

[LIGHT_CORNERINGLAMP_RIGHT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=450
BOUND_EXP=1
COLOR=10,10,10,1
DIFFUSE_CONCENTRATION=1.3
DIRECTION=-0.9, -0.21, 0.88
OFF_POSITION=-0.5, 0.85, 2.3
POSITION=-0.5, 0.85, 2.3
RANGE=5
SPOT=110
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=25
INTERIOR_ONLY=0
MIRROR=0