[AUDIO_VOLUME]
BODYWORK=0.3
DIRT=0.3
DOWN_SHIFT=1
GEAR_EXT=0.4
GEAR_GRIND=0.4
GEAR_INT=0.3
HORN=0.2
LIMITER=1
BACKFIRE_EXT = 3.4
BACKFIRE_INT = 3.8
TRACTION_CONTROL_EXT=0.4
TRACTION_CONTROL_INT=0.2
TRANSMISSION=0.01
TURBO=0.5
WIND=0.5
BRAKE=0.3




[ANIMATION_0]
FILE=radio.ksanim
TIME= 0.05
BIND_TO_EXTRA_A=1

[SMART_MIRROR]
VISIBLE_FIRSTPERSON = LEFT

[INCLUDE]
INCLUDE=common/no_popup_lights.ini

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

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

[EMISSIVE_TRACTIONCONTROL_0]
NAME=tc_off
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_ABS_0]
NAME=abs
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_ABS_INACTION_0]
NAME=abs_1
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
OFF_COLOR=0
LAG=0.2

[EMISSIVE_HIGHBEAM_0]
NAME=highbeam
ACT_AS_HEADLIGHTS=0
COLOR=0,0,15,1

[EMISSIVE_HIGHBEAM_1]
NAME=headlight_10
ACT_AS_HEADLIGHTS=0
COLOR=250,250,280

[EMISSIVE_...]
NAME=st_wheel
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

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

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

[EMISSIVE_...]
NAME=fuel
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
INPUT=FUEL
INPUT_THRESHOLD = 10
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[INCLUDE: common/navigators.ini]

[Navigator_StyleNavitel]
Meshes = 
Resolution = 1110, 419
Offset = 0, 10
Size = 1100, 405

[EMISSIVE_LIGHT_...]
NAME=ggh_002
COLOR=3,3,3
OFF_COLOR=4,4,4


[EMISSIVE_REVERSE_0]
NAME=reversinglight_l
COLOR=100,100,100
LAG=0.6
SIMULATE_HEATING=0

[EMISSIVE_REVERSE_1]
NAME=reversinglight_r
COLOR=100,100,100
LAG=0.6
SIMULATE_HEATING=0

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=blinker left
COLOR=400, 100, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=light left
COLOR=400, 100, 0
OFF_COLOR=100,100,100
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=door_dside_f_SUB9
COLOR=400, 100, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=MIDDLE

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=lcd_blinker_left
COLOR=0, 10, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=NONE


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=blinker right
COLOR=400, 100, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=light right
COLOR=400, 100, 0
OFF_COLOR=100,100,100
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=door_pside_f_SUB9
COLOR=400, 100, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=MIDDLE

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=lcd_blinker_right
COLOR=0, 10, 0
LAG=0.2
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME= extralight_2,extralight_1
COLOR=500,600,700
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = headlight_l,headlight_r
COLOR= 15,15,19,15
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = taillight_l
COLOR= 15,15,19,2.5
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_BRAKE_0]
NAME=brakelight_r,trunk_brake
COLOR=100,0,0,10
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =100,0,0,10
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 5 ; sets frequency for blinking


[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0, 0, 4
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.480602
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=1, 0.0478983, 0, 2
OFF_FADE_MULT=0.764696
OFF_MIRROR=0.499414
OFF_MULT=0.1
OFF_POSITION=0, 0.1, -3
OFF_RANGE_MULT=0.831926
POSITION=-0.1, 0.9, -2.3
RANGE=5
RANGE_GRADIENT_OFFSET=0.275
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=160
SPOT_EDGE=0.406, 0.406, 0.406
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3675

[LIGHT_HEADLIGHT_0]
RANGE=95
COLOR=180,220,325,0.07
POSITION=0,0.8, 2.5
BOUND_TO= headlights
LAG=0.9
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
SPOT=75
CLUSTER_THRESHOLD=0
SPOT_SHARPNESS=0.000
RANGE_GRADIENT_OFFSET=0.7



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


[INCLUDE: common/materials_glass.ini]

[Material_PhotoelasticGlass]
Materials= LIGHTS_GLASS, glass_1 
FilmIOR = 1.6          ; looks better like this
PhotoelasticityMult = 0.29  ; doesn’t look good if too high
ProfileFix = 0.04

[Material_Glass]
Materials = windows
ThicknessMult = 2.0
FilmIOR=2

[EXTRA_FX]
MASK_GBUFFER= material:LIGHTS_GLASS, material:glass_1
SKIP_GBUFFER= material:LIGHTS_GLASS, material:glass_1

-------------- HEADUNIT --------------

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = AVH_280T_Glass
Resolution = 835, 450    ; texture resolution
Size = 640, 380           ; size of the screen area
Offset = 130, 70       ; left top corner of screen area
Scale = 2            ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.1, -2.4  ; position of rear view camera
REFRESH_RATE = 60
aftermarketComponent = 1

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

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


--------------------------------- EMISSIVES BUTTONS ----------------------------------


[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME= misc_d_SUB0, misc_e_SUB3, steer_hr_2_002, door_pside_f_SUB8, door_dside_f_SUB8, door_dside_f_SUB8, door_dside_r_SUB8 
COLOR=160,160,160,0.04
LAG=0.5
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME= COCKPIT_HR_SUB09_002
COLOR=160,160,160,0.01
LAG=0.5
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME= light
COLOR=200,80,0,0.4
LAG=0.5
SIMULATE_HEATING=0
CAST_LIGHT=1


-----------------PLATELIGHT------------------------


[LIGHT_LICENSEPLATE]
MESHES=numplate_001_001
OFFSET=0.00, 0.035, -0.0
RANGE=0.31
RANGE_GRADIENT_OFFSET=0.25
SPOT=140
SPOT_SHARPNESS=0.8
COLOR=20,20,40,0.5
FALLBACK_EMISSIVE=1,1,1,0.9
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=10
FADE_SMOOTH=4
ACTIVE=1
AFFECTS_TRACK=1


---------------------------------------- CASTS LIGHTS ROAD -----------------------------------------------



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



--------------------------------------- HEADUNIT --------------------------------------



[INCLUDE: android_auto/config.ini]

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


[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.2 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=0.1 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
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.2 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DURATION=1 ; length of flame shooting, in seconds
DISCHARGE_DELAY=0 ; delay after throttle lift
DISCHARGE_PROBABILITY=0.6; 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=7000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=2
FLAT_SHIFT_DURATION=0.05
FLAT_SHIFT_GAS_THRESHOLD=0.7
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=0.1
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=0 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=50 ; flame size
LIMITER_RPM_THRESHOLD=4300 ; limiter flames will not shoot below this rpm


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



[WIPERS_TRACE_...]
SURFACE = bodyshell_SUB2 
WIPERS= bodyshell_SUB0.002, misc_f_SUB0.001, bodyshell_SUB0.001, misc_f_SUB0.002 

[ANIMATED_WIPER_...]
MESHES = bodyshell_SUB0.002, misc_f_SUB0.001, bodyshell_SUB0.001, misc_f_SUB0.002 
UNDERLYING_SURFACE = bodyshell_SUB2  
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = bodyshell_SUB0.002, misc_f_SUB0.001, bodyshell_SUB0.001, misc_f_SUB0.002  
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = bodyshell_SUB0.002, misc_f_SUB0.001, bodyshell_SUB0.001, misc_f_SUB0.002
UNDERLYING_SURFACE = bodyshell_SUB2
GROUP_0 = 'misc_f_SUB0.001@A=*', 'bodyshell_SUB0.002@A=*'
GROUP_0_ANGLE_TO = 76.199997
GROUP_0_AXIS = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = -0.662993, 0.979242, 0.925673
GROUP_0_PIVOT = 0.117412, 0.925671, 1.123451
GROUP_1 = 'misc_f_SUB0.002@A=*', 'bodyshell_SUB0.001@A=*'
GROUP_1_ANGLE_TO = 77.500000
GROUP_1_AXIS = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_1_END = -0.194523, 0.961832, 1.047718
GROUP_1_PIVOT = 0.628966, 0.909736, 1.060660