[INCLUDE: motec_cluster.ini]

[DATA] 
DISABLE_LIGHTSINI = 1

[REFLECTIONS_FX]
SKIP_GBUFFER = headlight_glass, tails_glass, tails_red_glass, side_glass, int_cluster_glass, low_beam

;---------------------///Magic///---------------------
[INCLUDE: common/materials_interior.ini]

[Material_Velvet_v2] ; Alcantara
Materials= int_alcantara
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.35
DetailScale = 30
BrightnessAdjustment = 0.06
ClothSheenColor = 1, 1, 1

[Material_Velvet_v2] ; Seats Alcantara
Materials= bride_color 
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.35
DetailScale = 10
BrightnessAdjustment = 0.04
ClothSheenColor = 1, 1, 1

[Material_Velvet_v2] ; Steer Alcantara
Materials= steer_alcantara
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.35
DetailScale = 150
BrightnessAdjustment = 0.06
ClothSheenColor = 1, 1, 1


[Material_Leather] Leathers
Materials = int_leather, int_leather_1, int_leather_2, new_steer_leather, f90_leather_1, f90_leather_2
BrightnessAdjustment = 0.18

[Material_Carpet]
Materials = int_floor, trunkliner_floor_texture
DetailScale = 30
BrightnessAdjustment=0.18

[Material_Metal_v2] Alu
Materials = int_chrome, speaker_chrome, new_steer_chrome, INT_rails, Mechanicals
BrightnessAdjustment = 0.15W
DetailScale = 0.8
Metalness = 0.15
Reflectance = 0.2
LocalReflectionsSharpness = 0.1


[Material_Plastic_v2] ; Plastic
Materials = headlights_plastic, new_plastic_out, door_plastic, lights_plasticcc, int_plastic, f90_plastic,  speaker_plastic, seat_belts, engine_plastic, forgot_haha, new_steer_plastic, Material #62
BrightnessAdjustment = 0.08
DetailScale = 100
DetailTextureBlur = 1
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.1
Reflectance = 0.15

[Material_Plastic_v2] ; Plastic Color
Materials = tails_red_plastic, int_red_plastic
BrightnessAdjustment = 0.2
DetailScale = 100
DetailTextureBlur = 1
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.1
Reflectance = 0.15

[Material_Metal_v2] Chrome
Materials = headlights_chrome, chrome_out, door_chrome, tails_chrome, bmw_chrome, engine_chrome, bulbs_chrome, platebolts, front_suspension_alu 
BrightnessAdjustment = 0.25
DetailScale = 10
Metalness = 0.5
Reflectance = 0.3
LocalReflectionsSharpness = 0.1

[Material_InteriorPBRDetail]
Materials= grill_black, door_red_texture, doorsill_alu, engine_lines, numplate. front_suspension_black
Metalness = 0.01
Reflectance = 0.1
BrightnessAdjustment = 0.2
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 2
Smoothness = 0.5

[Material_InteriorPBRDetail]
Materials= engine_black, plateholder, platecover
Metalness = 0.01
Reflectance = 0.1
BrightnessAdjustment = 0.1
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 2
Smoothness = 0.5

[Material_Carbon] int carbon
Materials = int_trim 
DetailScale = 1000
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15

[Material_Carbon] steer carbon
Materials =  carbon_bride_seats, carbon_bride_og
DetailScale = 300
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15

[Material_Carbon] carbon
Materials = r_carbon, splitter_carbon, carbon_roof
DetailScale = 500
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15

[Material_Carbon] carbon
Meshes = chrome_grills
DetailScale = 500
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15


[Material_Aluminium_v2] Lights
Materials = chrome_textured, tails_red, drl_texture, tails_red_nmm, tails_nm 
Smoothness = 0.05
Metalness = 1
Reflectance = 2
BrightnessAdjustment = 0.35
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1
MaskPass = 1

;---------------------///Paint///---------------------
[INCLUDE: common/materials_carpaint.ini]

CarPaintMaterial = car_paint, door_paint, chassie_color, bbs_rri_a_color, Endless_calipers, front_suspension_color, front_suspension_springs, bbs_rri_a_hw_color, Metal
CarPaintVersionAware = 2
DisableDev = 1

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9
ClearCoatThickness = 0.09
SpecularBase = 2, 40
SpecularMult=0.3
FlakesK = 0.3
NormalsMode = BASIC

;---------------------///Glass///---------------------

[INCLUDE: common/materials_glass.ini]

[Material_Glass] ext_glass 
Materials = glass 
ThicknessMult = 3.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=3

[Material_PhotoelasticGlass] Headlights
Materials = headlights_glass
PhotoelasticityBaseScale = 5    ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.5  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.15   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.1  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 10  ; how many stripes are there
ProfileFix = 0.09
ThicknessMult = 1
FilmIOR=2.5
ExtraLightsAdjustment = 0.018

[Material_PhotoelasticGlass]
Materials = tails_red_glass, tails_glass 
FilmIOR = 2.6
PhotoelasticityMult = 0.4  
ThicknessMult = 1
MaskPass = 10.5
ExtraLightsAdjustment = 0.018
PhotoelasticityBaseScale = 1     
PhotoelasticityNoiseScale = 0.0003  
PhotoelasticitySpotsScale = 0.001   
PhotoelasticitySpotsOffset = 0.32  
PhotoelasticityStripesScale = 3    

;---------------------///refracting and light///---------------------
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/no_popup_lights.ini]


[EXTRA_FX_EMISSIVE_...] EXTRA FX Green Lights
MESHES = int_green_lights, int_green_lights_center
RANGE = 0.01
COLOR=0,25,0, 0.01
DIRECTED = 0
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Doors Symbols
MESHES = int_door_lf_buttons_at, int_door_rf_buttons_at, int_door_rr_buttons_at, int_door_lr_button_at
RANGE = 0.05
COLOR = 5,0.7,0, 0.15
DIRECTED = 0
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Interior Symbols
MESHES = int_digital_display, int_buttons_at_SUB0, int_buttons_at_SUB1, int_buttons_at_SUB2, int_buttons_at_SUB3, int_buttons_at_SUB4, 6speed_h
RANGE = 0.05
COLOR = 5,0.7,0, 0.07
DIRECTED = 0
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Steering Wheel Symbols
MESHES = steer_buttons_at
RANGE = 0.18
COLOR = 5,0.7,0, 0.08
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Android
MESHES =  int_screen, F90_left_seat_screen, F90_right_seat_screen, int_cluster_analog, speed_red, fuel_red, rpm_red, temp_red, Seat M Badge, Seat M 3 Stripe 
RANGE = 0.12
COLOR = 2,2,2, 1
INTERIOR_ONLY = 0
DIRECTED = 1
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Lights 
MESHES =  drl_headlights_texture, high_beam, drl_headlights_texture
RANGE = 0.14
COLOR = 19, 19, 21, 0.08
DIRECTED = 1
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Beams 
MESHES =  drl_headlights_texture
RANGE = 0.14
COLOR = 19, 19, 21, 0.08
DIRECTED = 1
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Reverse 
MESHES = REVERSE  
RANGE = 0.04
COLOR = 19, 19, 21, 2
DIRECTED = 0
LAG=0.6

[EXTRA_FX_EMISSIVE_...] EXTRA FX Brakes
MESHES = BRAKES
RANGE = 0.04
COLOR = 100, 30, 0, 0.8
DIRECTED = 0
LAG=0.6

[EMISSIVE_...] Cluster + interior symbols lighting normal
INPUT=HEADLIGHTS
NAME= speed_red, fuel_red, rpm_red, temp_red, int_digital_display, int_buttons_at_SUB0, int_buttons_at_SUB1, int_buttons_at_SUB2, int_buttons_at_SUB3, int_buttons_at_SUB4, int_door_lf_buttons_at, int_door_rf_buttons_at, int_door_rr_buttons_at, int_door_lr_button_at, steer_buttons_at, int_arrows, 6speed_h, rpm_plastic, temp_plastic, fuel_plastic, speed_plastic, light__sw_At
COLOR=5,0.7,0, 5
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5  

[EMISSIVE_...] Green Lights
INPUT=HEADLIGHTS
NAME= int_green_lights, int_green_lights_center
COLOR=0,25,0, 5
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5  


[EMISSIVE_BRAKE_...]
NAME=BRAKES
COLOR=100, 30, 0, 5
FALLBACK_HEADLIGHTS_COLOR=0,0,0
CAST_LIGHT=1
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR

[EMISSIVE_LIGHT_...]
NAME=TAILS_LIGHT, tails_red_texture
COLOR=100, 30, 0, 0.8
CAST_LIGHT=1
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR

[EMISSIVE_LIGHT_...]
NAME=tails_brake_light
COLOR=100, 30, 0, 0.3
CAST_LIGHT=1
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR


[EMISSIVE_BRAKE_...]
NAME= int_tail_brake
COLOR=100, 30, 0, 80
CAST_LIGHT=1
LAG=0.5
SIMULATE_HEATING=0
LOCATION=REAR

[EMISSIVE_LIGHT_...] ; Angle eyes 
NAME= angel_eyes
COLOR= 90,90,120, 2.5
LAG=0.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Low Beam Lights
NAME= low_beam
COLOR=150,150,150, 2
LAG=0.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME= h_refracting_glass
COLOR=150,150,150, 3
LAG=0.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_REVERSE_...] ; Reverse Lights
NAME = REVERSE      
COLOR = 20, 20, 32, 15       
LAG = 0.4                   
SIMULATE_HEATING = 1
CAST_LIGHT=1        	
LOCATION = REAR             
ACT_AS_HEADLIGHTS = 1       

[REFRACTING_HEADLIGHT_0]
SURFACE = h_refracting_glass
INSIDE = headlights_chrome, high_beams

[REFRACTING_HEADLIGHT_0]
ABSORPTION = 0.000000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 0.030000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 0.500000
BULB_REFLECTION_K = 0.020000
CUSTOM_BULB_0 = 0.738000,0.583000,0.155000,0.153000
CUSTOM_BULB_1 = 0.493000,0.387000,0.000000,0.000000
CUSTOM_BULB_2 = 0.493000,0.451000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.507000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 2.570000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.001490,0.022409,-0.999748
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.100000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.970000
GLASS_COLOR = 0.760279,0.771063,0.772463
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.002750,0.000180,-0.008303
MIRROR_POS = -0.000940,0.407634,1.953630
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 0.180000
ORIGIN = 0.610000,0.479000,2.004481
RADIUS = 0.140900
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.200000
REFLECTIVENESS_DIFFUSE_MULT = 3.900000
REFLECTIVENESS_MULT = 8.200000
REFLECTIVE_GAMMA = 0.500000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_2]
SURFACE = low_beam
INSIDE = headlights_plastic

[REFRACTING_HEADLIGHT_2]
ABSORPTION = 0.006000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 0.030000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 0.500000
BULB_REFLECTION_K = 0.020000
CUSTOM_BULB_0 = 0.439000,0.506000,0.216000,0.216000
CUSTOM_BULB_1 = 0.493000,0.387000,0.000000,0.000000
CUSTOM_BULB_2 = 0.493000,0.451000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.507000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 2.570000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = -0.049903,-0.153819,-0.986869
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.530000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.130000
GLASS_COLOR = 0.067190,0.067196,0.067197
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.002750,0.000180,-0.008303
MIRROR_POS = -0.000940,0.407634,1.953630
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.000000
ORIGIN = 0.663000,0.518000,2.004577
RADIUS = 0.073900
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.200000
REFLECTIVENESS_DIFFUSE_MULT = 3.900000
REFLECTIVENESS_MULT = 8.200000
REFLECTIVE_GAMMA = 0.500000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.510000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1






;---------------------///Cluster///---------------------

[ODOMETER_MAIN]
DIGITAL_ITEM=5	
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=6
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999


[ANALOG_INDICATOR_...]
INPUT = RPM
INPUT_MAX = 8250
NAME = ARROW_RPM
DELAY = 0
ZERO = 0
STEP = 0.029

[ANALOG_INDICATOR_...]
INPUT = SPEED
INPUT_MAX = 330
NAME = ARROW_SPEED
ZERO = 1
STEP = 0.08
LUT = (0=0|60=60|170=160|330=260|) 

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE
NAME = ARROW_TEMP
ZERO = -700
STEP = -0.1

[ANALOG_INDICATOR_...]
INPUT = FUEL
NAME = ARROW_FUEL
ZERO = 0
STEP = -1.55

[INCLUDE: common/custom_emissive.ini]

[CustomEmissiveMulti]
Meshes = int_cluster_lights
Resolution = 812, 812
UseEmissive0AsFallback = 1
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "46, 438", Size = "105, 88" , Color = "0, 10,0 " , Lag=0.5
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "153, 441", Size = "94, 90" , Color = "0, 10,0 " , Lag=0.5
@ = MultiItem, Role = ABS_INACTION, Start = "320, 434", Size = "94, 58", Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "479, 180", Size = "158, 69", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "63, 251", Size = "93, 90", Color = "0, 0, 80",
@ = MultiItem, Role = LIGHT, Start = "676, 358", Size = "86, 54", Color = "0, 80, 0", 
@ = MultiItem, Role = TC_INACTION , Start = "156, 262", Size = "76, 78", Color = "60, 30, 0",
@ = MultiItem, Role = DashWarningTC, Start = "188, 181", Size = "130, 75", Color = "60, 30, 0",
@ = MultiItem, Role = DashWarningTC, Start = "156, 262", Size = "81, 79", Color = "60, 30, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "672, 426", Size = "85, 83", InputThreshold = 39, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = Start = "153, 346", Size = "83, 78", Color = "80, 0, 0",

;---------------------///Turn Signlas///---------------------

[EXTRA_FX_EMISSIVE_...] EXTRA FX Turning Front Singlas 
MESHES =  h_l_turn, h_r_turn
RANGE = 0.03
COLOR = 187, 63, 0, 0.5
DIRECTED = 0
LAG=0.5


[EXTRA_FX_EMISSIVE_...] EXTRA FX Turning Rear Singlas 
MESHES =  turn_rear_l, turn_rear_l_support, turn_rear_r, turn_rear_r_support
RANGE = 0.03
COLOR = 187, 63, 0, 0.1
DIRECTED = 0
LAG=0.5

[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1
NAME= 
LAG=0.5
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= h_l_turn, turn_side_l
COLOR=187, 63, 0, 0.5
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
LOCATION=FRONT 

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= turn_rear_l, turn_rear_l_support
COLOR=187, 63, 0, 0.5
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
LOCATION=REAR 

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= h_r_turn, turn_side_r
COLOR=187, 63, 0, 0.5
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
LOCATION=FRONT 

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= turn_rear_r, turn_rear_r_support
COLOR=187, 63, 0, 0.5
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=1
LOCATION=REAR 

[LIGHT_LICENSEPLATE]
MESHES=platelightus_a
OFFSET=0.03, 0.015, -0.02
RANGE=0.21
RANGE_GRADIENT_OFFSET=0.1
SPOT=150
SPOT_SHARPNESS=0.9
COLOR=3,3,3,3.3
FALLBACK_EMISSIVE=1,1,1,1.3
LAYOUT=TWO_ON_TOP
FADE_AT=10
FADE_SMOOTH=5


;---------------------///Android///---------------------

[INCLUDE: android_auto/config.ini]

[Display_AndroidAuto]
Meshes = int_screen, F90_left_seat_screen, F90_right_seat_screen
Resolution = 1280, 800
Size = 1280, 800
Offset = 0, 0
Scale = 1.0
RearCameraPosition = 0, 0.69, -2.58
aftermarketComponent=1

[EMISSIVE_LIGHT_...]
NAME=int_screen, F90_left_seat_screen, F90_right_seat_screen, int_cluster_analog, cluster_tga_logo, Seat M Badge, Seat M 3 Stripe 
COLOR=2,2,2,3
OFF_COLOR=2,2,2,1
LAG=0.6

;---------------------///Wipers///---------------------

[WIPERS_TRACE_...]
SURFACE = windshield_out
WIPERS = WIPER_L, WIPER_R, WIPER_SUPPORT_L, WIPER_SUPPORT_R

;---------------------///Animations///---------------------



[ANIMATION_...] Hood Animation
INPUT = EXTRA_A            
FILE = hood.ksanim    
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1  

[ANIMATION_...] Trunk Animation
INPUT = EXTRA_B            
FILE = trunk.ksanim   
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1  

[ANIMATION_...] Left Door Animation
INPUT = EXTRA_C            
FILE = car_door_L.ksanim   
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1  

[ANIMATION_...] Right Door Animation
INPUT = EXTRA_C            
FILE = car_door_R.ksanim    
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1  

[ANIMATION_...] Rear Right Door Animation
INPUT = EXTRA_C           
FILE = Right_rear_door.ksanim   
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1 

[ANIMATION_...] Rear Left Doors Animation
INPUT = EXTRA_C           
FILE = Left_rear_door.ksanim     
TIME = 1.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1 

[ANIMATION_...] Plate Animation
INPUT = EXTRA_D           
FILE = plate.ksanim     
TIME = 2.0                  
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0                                                               
LOOP_KEEP_UNTIL_DONE = 1                               
TICK_TOCK_MODE = 0                                      
AFFECTS_INTERIOR_SHAPE = 1 

[EMISSIVE_EXTRA_E_...] Hood Remove
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME = hoodliner_color, hoodliner_plastic, hood_liner_bolts_at, hoodliner_chrome, hoodliner_stickers_at, hoodliner_plastic_moving, hoodliner_black, hood_plastic_out, bmw_logo_h, hood_paint, f_bmw_chrome
COLOR=0,0,1,1         
OFF_COLOR = 0,0,0         
LAG = 0.01                  
SIMULATE_HEATING = 0      
LOCATION =FRONT             
ACT_AS_HEADLIGHTS = 0       
TOGGLE_VISIBILITY=1	
TOGGLE_VISIBILITY_INVERSE=1

[ANIMATION_...]
INPUT=LIGHT
FILE=high_beam_anim.ksanim
TIME=1.0
INPUT_AS_PROGRESS = 0                   ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

;---------------------///Exhaust and Audio stuff///---------------------

[EXHAUST_FLAMES]
ANTILAG=1.0
ANTILAG_DELAY=0.02
ANTILAG_INTENSITY=14
ANTILAG_INTERVAL_MAX=10.0
ANTILAG_INTERVAL_MIN=0.0
ANTILAG_TURBO_THRESHOLD=0.4
DAMAGE=0
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0.02
DISCHARGE_DURATION=0.2
DISCHARGE_INTENSITY=1
DISCHARGE_PROBABILITY=1
DISCHARGE_RPM_THRESHOLD_MAX=8500
DISCHARGE_RPM_THRESHOLD_MIN=8600
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.5
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=50
FLAT_SHIFT_INTENSITY=0.25
FLAT_SHIFT_PROBABILITY=0.4
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=8210
LIMITER_DELAY=0.0
LIMITER_INTENSITY=1
LIMITER_RPM_THRES


;---------------------///Brake and Tyre fx///---------------------

[BRAKEDISC_FX_FRONT]
ACTIVE=1
DISC_INTERNAL_RADIUS=0.115
DISC_RADIUS=0.15
GLOW_OFFSET=0.9

[BRAKEDISC_FX_REAR]
ACTIVE=1
DISC_INTERNAL_RADIUS=0.115
DISC_RADIUS=0.15
GLOW_OFFSET=0.9

[BRAKEDISC_FX]
CERAMIC=0
CARVED=0
CARVED_FREQUENCY=10
ALPHA_MASK=0.0, 0.3
LUMINOCITY_MASK=0.15, 0.2
OVERRIDE_NORMAL_MAP=0

DEBUG = 0
WEAR_FORCE = 0.65
;GLOW_FORCE = 0.8

[TYRES_FX_FRONT]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=10000
DIRT_FADE=100
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=20
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=10000
DIRT_FADE=100
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=20
VISIBLE_IN_INTERIOR_CAM=0

[SHADER_REPLACEMENT_...]
MATERIALS = wire_177028149
PROP_... = ksAmbient, 0.06
PROP_... = ksDiffuse, 0.21
PROP_... = fresnelMaxLevel, 0.06

;---------------------///REAL MIRRORS///---------------------


;---------------------///Double Side///---------------------
[SHADER_REPLACEMENT_...]
MESHES = black_under, banner
CULL_MODE = DOUBLESIDED

