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



[ANIMATION_2]
FILE=folding_Cluster.ksanim
TIME=1
INPUT=EXTRA_A



[DATA] 
DISABLE_LIGHTSINI = 1

[Material_PhotoelasticGlass]
Materials = LightGlass
FilmIOR=1.6
ThicknessMult = 1.5

[Material_Carbon]
Meshes = INT_Carbon
BrightnessAdjustment = 0.15
ClearCoatF0 = 0.23
DetailScale = 2000
Reflectance = 0.2
Smoothness = 0.7


[Material_Velvet_v2] ALCANTARA
Materials = INT_Alcantra
ColorSource=DIFFUSE
DetailScale = 125
Brightness= 0.17
ApplyTilingFix=1
OcclusionMult=1
DetailNormalBlend = 5.2

[Material_Velvet_v2] ALCANTARA
Materials = Int_Seatbelt
ColorSource=DIFFUSE
DetailScale = 525
Brightness= 0.25
ApplyTilingFix=1
OcclusionMult=1
DetailNormalBlend = 5.2

[Material_Plastic]
Materials= INT_Plastic
ColorSource=DIFFUSE
Smoothness=1
Brightness=0.4
Reflectance=0.01
BrightnessAdjustment = 0.01
DetailScale = 425

[Material_Aluminium_v2]
Materials = INT_Chrome
ClearCoatF0 = 1
BrightnessAdjustment= 0.31
Reflectance= 0.9
CubemapReflectionBlur=3
Metalness=1.5
DetailScale = 425

[Material_Aluminium_v2]
Materials = cap_rim
ClearCoatF0 = 1
BrightnessAdjustment= 0.11
Reflectance= 0.0
CubemapReflectionBlur=0
Metalness=1.5
DetailScale = 10

[Material_Aluminium_v2]
Materials = 102
ClearCoatF0 = 1
BrightnessAdjustment= 0.4
Reflectance= 0.5
CubemapReflectionBlur=0.9

[Material_Glass]
Meshes = WindowEXT
ThicknessMult = 1.5
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 1
FilmIOR=3



[SHADER_REPLACEMENT_1]
MATERIALS= carb3_diff
PROP_... = ksAmbient,0.4
PROP_... = ksDiffuse, 0.4


[SHADER_REPLACEMENT_2]
MATERIALS= 11BLACK
PROP_... = ksAmbient,0.15
PROP_... = ksDiffuse, 0.15
PROP_... = ksSpecular, 0.05
PROP_... = ksSpecularEXP, 450

---------------------------------------------------

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

[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

-------------------------------------------------------------

[EMISSIVE_BRAKE_0] ; Emergency Flash
NAME=brakelight_m_Drawable_Geometry_128_vehicle_lightsemissive_002
COLOR=50, 2, -10,30
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =50, 2, -10,5
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 8 ; sets frequency for blinking

[EMISSIVE_BRAKE_1] ; Emergency Flash
NAME=720SLMAP2
COLOR=50, 2, -10,30
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =50, 2, -10,5
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 8 ; sets frequency for blinking

[EMISSIVE_REVERSE_0]
NAME = ReverseLight
COLOR = 10, 10, 10, 50     
LAG = 0.4                  
SIMULATE_HEATING = 0     
LOCATION = REAR    

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = 720SLMAP
COLOR= 25,2,0,4
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1
FALLBACK_BRAKES_COLOR=80,3,0,15
FALLBACK_BRAKES_COLOR_HIGHER=1

[EMISSIVE_...] CLUSTER
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = MCL_720S_18_Graphics_Main25, MCL_720S_18_symbols_DIFF, Nav_screen_LITE
COLOR= 10,10,15, 0.2
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTER
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = MCL_720S_18_Graphics_Main25
COLOR= 10,10,15, 0.3
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTER
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = MCL_720S_18_Graphics_Main256
COLOR= 10,10,15, 0.1
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = bulb
COLOR= 10,10,10,15
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[LIGHT_HEADLIGHT_0]
RANGE=95
COLOR=180,220,325,0.03
POSITION=0,0.8, 2.0
BOUND_TO= bulb
FALLBACK_LOWBEAM_COLOR=0,0,0 
LAG=0.9
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
SPOT=110
CLUSTER_THRESHOLD=0
SPOT_SHARPNESS=0.000
RANGE_GRADIENT_OFFSET=0.7



------------------------- 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 = 1.4   ; 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


------------------------- EXHAUST FX -------------------------------


[PARTICLES_FX_EXHAUST_0]
POSITION=-0.291,0.71,-1.98
DIRECTION=-0.03,0.1,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100


[PARTICLES_FX_EXHAUST_1]
POSITION=0.291,0.71,-1.98
DIRECTION=0.03,0.1,-1
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[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=15 ; 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.8 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0 ; delay after throttle lift
DISCHARGE_DURATION=5 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=0; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7900 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=6000 ; 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=70 ; 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=7000
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=50 ; flame size
LIMITER_RPM_THRESHOLD=7300 ; limiter flames will not shoot below this rpm


------------------------------------- TURN SIGNALS + CASTING LIGHTS ROAD  -----------------------------------


[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_TO=LeftSignalFront 
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.71, 0, 2
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_RANGE_MULT=0.5
POSITION=1.0, 1, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_LEFT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
BOUND_TO=LeftSignalRear
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.6, 0, -0.88
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
OFF_POSITION=1.3, 0.89, -2.3
POSITION=0.4, 0.89, -2.3
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
BOUND_TO=RightSignalFront
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.71, 0, 2
EXTERIOR_ONLY=
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
POSITION=-1.0, 1, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_RIGHT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
BOUND_TO=RightSignalRear
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.6, 0, -0.88
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
OFF_POSITION=-1.3, 0.89, -2.3
POSITION=-0.4, 0.89, -2.3
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= LeftSignalFront
TOGGLE_VISIBILITY = 1
COLOR=250, 40, 0, 5
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
RANGE_DELAY=0.007 	; to compensate for that there are more of them
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= LeftSignalRear
TOGGLE_VISIBILITY = 1
COLOR=250, 40, 0, 5
LAG=0
LOCATION=REAR
SIMULATE_HEATING=0
RANGE_DELAY=0.007 	; to compensate for that there are more of them
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= RightSignalFront
TOGGLE_VISIBILITY = 1
COLOR=250, 40, 0, 5
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
RANGE_DELAY=0.007 	; to compensate for that there are more of them
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= RightSignalRear
TOGGLE_VISIBILITY = 1
COLOR=250, 40, 0, 5
LAG=0
LOCATION=REAR
SIMULATE_HEATING=0
RANGE_DELAY=0.007 	; to compensate for that there are more of them
CAST_LIGHT=1


[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, 0.4, -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=720SLMAP 
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 = Nav_screen_LITE
Resolution = 1305, 1145   ; texture resolution
Size = 640, 380           ; size of the screen area
Offset = 330, 220       ; 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 = 144
aftermarketComponent = 1

[SCRIPTABLE_DISPLAY_...]
MESHES = MCL_720S_18_Graphics_Main256
SCRIPT = cluster.lua


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



[WIPERS_TRACE_...]
SURFACE = WindowEXT
WIPERS=roughness_fine_001_DIFF.001, roughness_fine_001_DIFF.002

[ANIMATED_WIPER_...]
MESHES =roughness_fine_001_DIFF.001, roughness_fine_001_DIFF.002
UNDERLYING_SURFACE = WindowEXT 
DEBUG = 1 ; remove when everything is ready

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

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = roughness_fine_001_DIFF.001, roughness_fine_001_DIFF.002
UNDERLYING_SURFACE = WindowEXT
GROUP_0 = 'roughness_fine_001_DIFF.001@A=*'
GROUP_0_ANGLE_TO = 57.200001
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.712324, 0.856916, 1.132624
GROUP_0_PIVOT = 0.173786, 0.743224, 1.525738
GROUP_0_RUBBER_FROM = -0.462954, 0.812759, 1.364258
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.002557
GROUP_0_RUBBER_OFFSET_POS = 0.506015
GROUP_0_RUBBER_TO = -0.697432, 0.852104, 1.130600
GROUP_0_SCALE_LUT = '(|0.000=1.000|1.019=0.958|)'
GROUP_1 = 'roughness_fine_001_DIFF.002@A=*'
GROUP_1_ANGLE_TO = 84.900002
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.449113, 0.826390, 1.352500
GROUP_1_PIVOT = 0.463918, 0.729112, 1.468592
GROUP_1_RUBBER_FROM = 0.136776, 0.816879, 1.399288
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.022445
GROUP_1_RUBBER_OFFSET_POS = 0.475560
GROUP_1_RUBBER_TO = -0.444709, 0.818184, 1.347095
GROUP_1_SCALE_LUT = '(|-0.005=0.980|1.023=0.939|)'













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


































