[INCLUDE: common/materials_interior.ini]
DisableDev=1

[INCLUDE: common/materials_glass.ini]
[SHADER_REPLACEMENT_...]
MATERIALS = badge
IS_TRANSPARENT =0
BLEND_MODE=ALPHA_TEST
[Material_Glass]
Materials =EXT_GLASS
ThicknessMult = 1
FilmIOR = 1.7 
;UseNormalMapWithAlpha = 1


[Material_Glass]
Materials = EXT_GLASS_RED
FilmIOR = 1.7     ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 ; thicker glass passes less light through
ProfileFix = 0    ; adds thickness to glass for glazing angles
MaskPass = 1.0      ; mask pass opacity
MaskPassColor = 255, 5, 0  ; mask pass color adjustment
BrightnessAdjustment = 0

[SHADER_REPLACEMENT_...]
MATERIALS =Emissive_Cluster_Alpha
ADAPTIVE_EMISSIVE = 1

[Material_Glass]
Materials=window
FilmIOR=2
MaskPass=0.1
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=2


[EXTRA_FX_EMISSIVE_...]
MESHES =TAIL
RANGE = 0.03
COLOR = 0.02
DIRECTED = 0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0


[EMISSIVE_...]
INPUT= EXTRA_A
BIND_TO_EXTRA_A=1
NAME=drl2
COLOR=50,6,50,1
LAG=0.2
SIMULATE_HEATING=0.3

[INCLUDE: common/materials_carpaint.ini]

[Material_CarPaint_Metallic]
Materials=ext_Body_Paint


[Material_Carbon]
Materials =EXT_PLATE__CARBON_HUGO
DetailScale = 50

[LIGHT_LICENSEPLATE]
MESHES=EXT_PLATE
OFFSET=0.01, 0.01, -0.02
RANGE=0.25
RANGE_GRADIENT_OFFSET=0
SPOT=145
SPOT_SHARPNESS=0.0
COLOR=13,10,8,5
FALLBACK_EMISSIVE=5,4.2,2.9,0.2
LAYOUT=TWO_ON_TOP
FADE_AT=50 
---------------------------------------------- GLASS PBR ----------------------------------------------



[EXTRA_FX]
MASK_GBUFFER= material:glass,normalrearglass material:redtailglass
SKIP_GBUFFER= material:glass,normalrearglass material:redtailglass
GLASS_FILTER = lcd2 

[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials =glass
FilmIOR = 0.38
ExtraLightsAdjustment = 0.8
BrightnessAdjustment = 0.1
Refraction = 0.8
Desaturate = 0.1

[Material_PhotoelasticGlass]
Meshes =1new_glass
FilmIOR =3
ThicknessMult =3
BrightnessAdjustment=0.91
PhotoelasticityMult = 0.5
PhotoelasticityBaseScale = 0.61
Desaturate = 0.5
MaskPass = 0.5

[Material_Glass]
IOR = 2.4
Materials = glass
ExtraLightsAdjustment = 0
Desaturate = 0.5

[SHADER_REPLACEMENT_0_GLASSTEST : Material_PhotoelasticGlass]
ACTIVE = $" read('csp/version', 0) >= 1279 "
Materials = ;glass
FilmIOR = 2.5
ThicknessMult = 1.0
Desaturate = 1
MaskPass = 1


[EMISSIVE_...]
NAME = 433
INPUT= RPM
COLOR =2,2,2.5


[EMISSIVE_...]
NAME = SVV_higg
INPUT= HIGHBEAM
COLOR =70,30,0,30
#COLOR =10,10,10,50

[EMISSIVE_...]
NAME = drl21
INPUT= LIGHT
COLOR =60,30,0

[EMISSIVE_...]
NAME = SVV_low
INPUT= LOWBEAM
COLOR =10,10,10,30

[EMISSIVE_...]
NAME=HEAD
TOGGLE_VISIBILITY = 0
COLOR=200,200,200,1
LAG=0.31
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.1
SIMULATE_HEATING=3

[EMISSIVE_...]
NAME = BLIZNIY.002, BLIZNIY.001 
INPUT= HIGHBEAM
COLOR =70,70,70,80
#COLOR =10,10,10,50

[EMISSIVE_...]
NAME = BLIZNIY
INPUT= HIGHBEAM
COLOR =70,70,70,0.2
#COLOR =10,10,10,50

[EMISSIVE_...]
NAME = torpeda
INPUT= RPM
INPUT_THRESHOLD=10
CHANNEL = 0
COLOR = 7,2,0

[EMISSIVE_...]
NAME = torpeda,warning_traction_control_off0
INPUT= LIGHT
CHANNEL = 2
COLOR = 1,1,2,2

[EMISSIVE_...]
NAME =warning_traction_control_off0
INPUT= RPM
COLOR=60,20,0,1
INPUT_THRESHOLD=10

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

[DI_GEAR_...]
DIGITAL_ITEM = 0
DIGITAL_ITEM_NUMBER_FORMAT=GEAR_AUTO,R,N,D


[EMISSIVE_...]
NAME = GEO_Controls_center_005 ,
INPUT= RPM
COLOR=4,2,0,2
INPUT_THRESHOLD=10

[EMISSIVE_...]
NAME = bmw_m5_09_cockpit_interior_plastic__SUB2
INPUT= RPM
COLOR =2,2,2
INPUT_THRESHOLD=10







[DATA] 
DISABLE_LIGHTSINI=0


[BRAKEDISC_FX]
ACTIVE = 0

[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

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=2
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
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
LIT_MULT=1
SPECULAR_MULT=1

[BOUNCED_BRAKE_LIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
DIRECTION=0, 1, -2
MULT=1, 1, 1, 1
OFFSET=0, -1, 3
RANGE=3.2
RANGE_GRADIENT_OFFSET=0.9
SPOT=20
SPOT_SHARPNESS=0.9

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3
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.77
RANGE=5
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_BRAKEDISCS_FRONT]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 10.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.88
DIRECTION=1, 0, 0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=1
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=0, 0, 0
RANGE=0.65
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=80
SPOT_SHARPNESS=0.8

[LIGHT_BRAKEDISCS_REAR]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 10.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.88
DIRECTION=1, 0, 0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=1
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=0, 0, 0
RANGE=0.65
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=80
SPOT_SHARPNESS=0.8



[LIGHT_EXTRA_0]
BIND_TO_EXTRA_C=1
BIND_TO_HEADLIGHTS=0
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.1, 0, 5
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.2
RANGE=3
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4



[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=1000
BOUND_EXP=1
COLOR=0.957143, 0.957143, 1, 20
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.8
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.64, 2.2
RANGE=180
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=50
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0

[INSTRUMENTS]
FUEL_SPLASH_MULT=-0
HAZARDS_G_THRESHOLD=-1
SPEED_FIX=1
SPEED_LAG=0.85
SPEED_LIMIT=0


[ANIMATION_0]
FILE=car_hood.ksanim
TIME= 1.5
BIND_TO_EXTRA_A=1

[ANIMATION_...]
FILE=hud.ksanim
TIME= 0.1
INPUT = EXTRA_B
INPUT_AS_PROGRESS = 1   ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=0

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

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

[ANIMATION_2]
INPUT= ENGINE_LIFE
INPUT_THRESHOLD = 800
FILE = Waning_eng.ksanim   ; file name of new animation in “animations” folder
TIME = 2.0                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE = 1

[ANIMATION_3]
INPUT= ENGINE_LIFE
INPUT_THRESHOLD = 910
FILE = Waning_oil.ksanim   ; file name of new animation in “animations” folder
TIME = 2.0               ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE = 1


[ANIMATION_4]
INPUT= STALLED
FILE = Waning_Bat.ksanim   ; file name of new animation in “animations” folder
TIME = 4.0                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_5]
FILE=Radio_Display.ksanim
TIME= 0.06
BIND_TO_EXTRA_C=1

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=bmw_m5_09_lod0_taillightR_detail_glass_clear_,bmw_m5_09_lod0_taillightR_textured_reflector__SUB1
COLOR=85,30,0, 1
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=bmw_m5_09_lod0_headlightL_textured_reflector__SUB1,bmw_m5_09_lod0_taillightL_detail_glass_clear_, turn_RL
COLOR=85,30,0, 1
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=REAR


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=SVV_povorot,  turn_FL
COLOR=85,30,0, 8
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=bmw_m5_09_lod0_headlightR_textured_reflector__SUB1
COLOR=85,30,0, 8
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=SVV_povorotpav
COLOR=85,20,0, 2
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Left_Headlight_indicator_Glass
COLOR=5,1,0, 0.8
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=bulbe_midturn_L
TOGGLE_VISIBILITY = 0
COLOR=15,10,0, 4
LAG=0.6
SIMULATE_HEATING=0.2
LOCATION=SIDE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=Left_Taillight_Indicator, Left_Taillight_Indicator1
TOGGLE_VISIBILITY = 0
COLOR=55,50,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME=warning_left
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_...]
NAME=turb
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=Right_Headlight_indicator, turn_FR
COLOR=85,30,0, 8
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Right_Headlight_indicator_Glass
COLOR=5,1,0, 0.8
LAG=0.6
SIMULATE_HEATING=0.6
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=bulbe_midturn_R
TOGGLE_VISIBILITY = 0
COLOR=15,10,0, 4
LAG=0.6
SIMULATE_HEATING=0.2
LOCATION=SIDE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=Right_Taillight_Indicator, Right_Taillight_Indicator1
TOGGLE_VISIBILITY = 0
COLOR=55,50,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME=warning_right
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_...]
NAME=turb001
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 3
LAG=0.2


--------------------------------------------------------
     ///ODOMETER///


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

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


------------------------------------------------------------------
[INCLUDE: common/custom_emissive.ini]
[CustomEmissive]
Meshes =bmw_m5_09_lod0_body_textured_reflector_
Resolution = 1024, 1024
@ = CustomEmissive_Rect, Channel = 3, Mirror, Start = "949.6, 752.7", Size = "76, 67.4",
@ = TurningLightsFront, Channel = 3 , Intensity=500 , 

[EMISSIVE_REVERSE_...]
NAME= bmw_m5_09_lod0_taillightR_reverse_light_lod0_,bmw_m5_09_lod0_taillightL_reverse_light_lod0_; name (one or more) of a mesh to glow
COLOR = 80, 80, 80 , 8          ; glowing color if condition is met
LAG = 0.4                 ; with zero, turns on and off immediately
SIMULATE_HEATING = 0.5     ; 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       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights


[LIGHT_REVERSE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 3
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.8, -2.8
RANGE=3
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


[EMISSIVE_...]
NAME=warning_wheel_damage
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[EMISSIVE_...]
NAME=warning_engine23
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[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

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMPERATURE
NAME=ARROW_WATER_RPM
;ZERO=-2
STEP=-0.99
MIN_VALUE=0 ;50
LUT=(0=0|50=-71|100=-99)

[INCLUDE: common/custom_emissive.ini]
[CustomEmissiveMulti]
Meshes = bmw_m5_09_cockpit_interior_badge_
Resolution =512, 512
UseEmissive0AsFallback = 1
; Debug = 1 ; uncomment me to see the areas nicely

@ = MultiItem, Role = GEAR_R , Start = "291.5, 245.9", Size = "14.7, 15.8" ,Color = "-6, 10, 0" , 
@ = MultiItem, Role = GEAR_N , Start = "305.7, 265", Size = "12, 13.9" , Color = "-6,10,0" , 
@ = MultiItem, Role = GEAR_D , Start = "352.4, 257.6", Size = "22.7, 22.7" , Color = "-6,10,0" , 
@ = MultiItem, Role = LIGHT ,  Start = "281.1, 217.3", Size = "94, 123.9" , Color = "6,1,0" ,


[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=95
NAME=warning_engine
COLOR=60,12,0.2,1
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

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

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=95
NAME=checkEngine
COLOR=60,12,0.2,1
OFF_COLOR=0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_...]
NAME=warning_low_tire_press
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 35
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_...]
NAME=warning_fuel
TOGGLE_VISIBILITY = 1
COLOR=60,20,0.1,1
INPUT=FUEL
INPUT_THRESHOLD = 12
INPUT_THRESHOLD_INVERSE = 1
LAG=0.4


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


[EMISSIVE_ABS_INACTION_0]
NAME=warning_abs
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_0]
NAME=warning_mdm
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_1]
NAME=warning_traction_control_off
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_...]
NAME=hanbrakeVR
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=60,12,0.2,2
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_2]
NAME=warning_traction_control_off2
TOGGLE_VISIBILITY = 0
COLOR=0
COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_...]
NAME=warning_manual
TOGGLE_VISIBILITY = 0
OFF_COLOR=0,8,0
COLOR=0,0,0
INPUT_EQUALS=1

[EMISSIVE_TRACTIONCONTROL_...]
NAME=m_button
TOGGLE_VISIBILITY = 1
OFF_COLOR=0,8,0,10
COLOR=0,0,0
INPUT_EQUALS=1

[EMISSIVE_...]
NAME=  ggrrrr,powerdclights
INPUT=RPM
INPUT_THRESHOLD=10
COLOR=0,28,0

[EMISSIVE_...]
NAME=  Object017,bmw_m5_09_cockpit_interior_badge_,bmw_m5_09_cockpit_steering_wheel_badge_
INPUT=LIGHT
COLOR=7,1.5,0,1.5




[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=60,12,0.2,1
NAME=warning_traction_control
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_HANDBRAKE_0]
NAME=warning_handbrake
TOGGLE_VISIBILITY = 1
COLOR=60,2,0.2,1
LAG=0.2

[EMISSIVE_HANDBRAKE_...]
NAME=svvvvv
TOGGLE_VISIBILITY = 1
COLOR=60,2,0.2,2
LAG=0.2

[EMISSIVE_...]
NAME=warning_seatbelt, 
TOGGLE_VISIBILITY = 1
COLOR=60,0,0,1
INPUT=STALLED
LAG=0.2

[EMISSIVE_...]
NAME= warning_airbag
TOGGLE_VISIBILITY = 1
COLOR=60,0,0,1
INPUT=BODY_DAMAGE
INPUT_THRESHOLD=20
LAG=0.2

[EMISSIVE_...]
NAME=warning_lane_assist, warning_lane_assist1
TOGGLE_VISIBILITY = 1
COLOR=60,12,0,1
INPUT=STALLED
LAG=0.2

[EMISSIVE_OIL_TEMP_0]
INPUT=OIL_TEMP
INPUT_THRESHOLD=500
NAME=lampa
COLOR=0.2,0.2,0.2
OFF_COLOR=40,20,1
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_...]
NAME=warning_engine2
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 800
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=warning_oil
TOGGLE_VISIBILITY = 0
COLOR=60,20,0,1
INPUT=RPM
INPUT_THRESHOLD = 910


[EMISSIVE_...]
NAME=warning_battery
TOGGLE_VISIBILITY = 0
COLOR=60,0,0,1
INPUT=STALLED
LAG=0.2


EMISSIVE_LIGHT_0]
NAME=Left_Lenz_Inside, Right_Lenz_Inside
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=250,250,280, 50
LAG=0.77
SIMULATE_HEATING=0.7
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_LIGHT_1]
NAME=Right_Lenz, Left_Lenz
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=250,250,280, 2
LAG=0.9
SIMULATE_HEATING=0.88
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...]
NAME=Left_Headlight_Black
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,20,5
CHANNEL=1
LAG=0.9
SIMULATE_HEATING=0.88
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...]
NAME=SVet_highbem
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,20,50
LAG=0.9
SIMULATE_HEATING=0.88
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_2]
NAME=drl21
OFF_COLOR=30,15,5, 2
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_3]
NAME=GEO_controls001, STEER_HR_mesh_SUB3, COCKPIT_HR_mesh_SUB10
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=2,2,3, 2
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_4]
NAME=Gauges_Alpha001, RPM_Water_Gauge_RPM, SPEED_Gauge_COLOR
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1.5
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_5]
NAME=GEO_Controls_center_4
TOGGLE_VISIBILITY = 0
OFF_COLOR=3,0.5,0, 1
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_6]
NAME=RPM_INDICATOR, SPEED_INDICATOR, FUEL_INDICATOR, TEMP_INDICATOR
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=5,5,5, 1
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5



[EMISSIVE_LIGHT_7]
NAME=COCKPIT_HR_mesh_SUB14
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1.2, 2.0
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_8]
NAME=Right_Taillight_Light, Left_Taillight_Light
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=50,5,3, 1.4
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_9]
NAME=Left_Taillight_Housing, Right_Taillight_Housing
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=50,5,3, 0.008
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_10]
NAME=Right_Angel_Eyes, Left_Angel_Eyes
OFF_COLOR=7,3,0,25
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=Left_Headlight_Black
OFF_COLOR=30,15,5, 3.5
CHANNEL=0
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=SVet_lglasaaa
OFF_COLOR=30,15,5, 0.3
CHANNEL=0
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[SHADER_REPLACEMENT_...]
MESHES =  Left_Headlight_Black
PROP_... = emChannelsMode, 1 

[EMISSIVE_LIGHT_11]
NAME=RPM_GLASS, SPEED_GLASS, FUEL_GLASS, TEMP_GLASS
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=2,2,2, 1.4
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_12]
NAME=RPM_INDICATOR_BASE, SPEED_INDICATOR_BASE, FUEL_INDICATOR_BASE, TEMP_INDICATOR_BASE
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1, 0.5
LAG=0.6
SIMULATE_HEATING=0.4
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_13]
NAME=warning_lowbeam
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=1,20,1, 1.1
LAG=0.2
SIMULATE_HEATING=0


[EMISSIVE_LIGHT_14]
NAME=Needles_Light
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=0
LAG=0.2
SIMULATE_HEATING=0

[EMISSIVE_LIGHT_15]
NAME=GPS_Screen, GPS_Screen_Background, Radio_Screen
OFF_COLOR=2,2,2, 1.0
LAG=0.2
SIMULATE_HEATING=0

[EMISSIVE_BRAKE_0]
NAME=Right_Taillight_Brake, Left_Taillight_Brake
COLOR=200,40,10, 3
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=REAR
CAST_LIGHT=1


[EMISSIVE_BRAKE_1]
NAME=Middle_Brake_Light
COLOR=200,40,10, 3
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_HIGHBEAM_0]
NAME=Right_Highbeam, Left_Highbeam
COLOR=250,250,250, 6
LAG=0.7
SIMULATE_HEATING=0.5
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...]
NAME=Left_Headlight_Black
COLOR=10,10,20,2
LAG=0.7
CHANNEL=2
SIMULATE_HEATING=0.5
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...]
NAME=SVet_low
COLOR=10,10,20,5
LAG=0.7
SIMULATE_HEATING=0.5
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_1]
NAME=warning_highbeam
TOGGLE_VISIBILITY = 1
COLOR=0.1,0.1,40, 1.0
LAG=0.2
SIMULATE_HEATING=0


[ANALOG_INDICATOR_...]
INPUT=OIL_TEMPERATURE
NAME=ARROW_TEMP
ZERO=-0.0
STEP=-0.83

[LIGHT_EXTRA_3]    
BIND_TO_HEADLIGHTS=1
COLOR= 5,5,6, 10
LAG=0.33
SIMULATE_HEATING=0.2
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.0, 0.9, 0.85
DIRECTION=0, -1, 0
RANGE=0.27
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=100
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1


[LIGHT_EXTRA_4]     
BIND_TO_HEADLIGHTS=1
COLOR= 5,5,6, 0
LAG=0.33
SIMULATE_HEATING=0.2
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0
POSITION=0.35, 0.8, 0.65
DIRECTION=0, 1, 0
RANGE=0.27
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=190
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1


[INCLUDE: common/materials_interior.ini]

[Material_InteriorPBRDetail]
Materials = bbs_chr_rims
ColorSource=DIFFUSE
Reflectance=0.77
Smoothness=0.755
Metalness=0.50
CubemapReflectionBlur=0.463
Brightness=0.5
OcclusionMult=1
DetailScale=0
ApplyTilingFix=0
HasDetailNormals=0

[Material_Plastic]
Materials =wwwwwwww



[Material_InteriorPBRDetail]
Materials = redtail
DetailScale=1
BrightnessAdjustment=1
Smoothness=0.95
Metalness=0.95
Reflectance=0.5
[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

[WIPERS]
WIND_THRESHOLDS_KMH = 60, 150 ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1 ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1 ; multiplier for frequency
WIND_OFFSET = 0.03 ; base animation 

[EMISSIVE_EXTRA_C_1]
BIND_TO_EXTRA_C=1
NAME=warning_foglight
TOGGLE_VISIBILITY = 1
COLOR=50,25,0, 1.5
LAG=0.55
SIMULATE_HEATING=0.5
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_...]
NAME=  greenac
INPUT=RPM
INPUT_THRESHOLD=10
COLOR=0,18,0

[EXTRA_FX_EMISSIVE_...]
MESHES = EXT_REVERSE
RANGE = 0.1
COLOR = 0.1
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 8
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0



[SHADER_REPLACEMENT_...]
MESHES =GEO_HUD_main,orangew,redr,yrllowhu,GEO_HUD_Back,g1,g2,g3,g4,HUD_TAG_0,HUD_TAG_1,HUD_TAG_2,HUD_TAG_3,HUD_TAG_4,HUD_TAG_5,HUD_TAG_6,HUD_TAG_7,HUD_RPM_0,HUD_RPM_1,HUD_RPM_2,HUD_RPM_3,HUD_RPM_4,HUD_RPM_5,HUD_RPM_6,HUD_RPM_7,HUD_RPM_8,HUD_RPM_9,HUD_RPM_10,HUD_RPM_11,HUD_RPM_12,HUD_RPM_13,HUD_RPM_14,HUD_RPM_15,HUD_RPM_16,HUD_RPM_17,HUD_RPM_18,HUD_RPM_19,HUD_RPM_20,HUD_RPM_21,HUD_RPM_21,HUD_RPM_22,HUD_RPM_23,HUD_RPM_24,HUD_RPM_25,HUD_RPM_26,HUD_RPM_27,HUD_RPM_28
BLEND_MODE =  ALPHA_BLEND
CAST_SHADOWS=0
IS_TRANSPARENT = 1

[Material_Leather]
Materials=int_leather1
Brightness=0.5
Reflectance = 0.04
Smoothness = 0.35

[SHADER_REPLACEMENT_...]
MATERIALS =recaro_stickers
BLEND_MODE =  ALPHA_TEST

[Material_Leather]
Materials=niz_leather
Brightness=1
[Material_Aluminium_v2]
Materials=sliver__env_14_spec_
Brightness=.3


[Material_Leather]
Materials=steeringplastic
Brightness=.8


[SHADER_REPLACEMENT_...]
MESHES =turb , turb001
BLEND_MODE =  ALPHA_BLEND
CAST_SHADOWS=0
IS_TRANSPARENT = 1
DOUBLE_FACE_SHADOW_BIASED =0

[SHADER_REPLACEMENT_...]
MATERIALS =brake_decals
BLEND_MODE=ALPHA_TEST

-----------------------------------------------------------------------------------------
	///NAVI&SPOTIF

[INCLUDE: common/navigators.ini]

INCLUDE: common/materials_interior.ini]

[INCLUDE: android_auto/config.ini]



[Material_DigitalScreen]
Meshes=
MatrixType=TN
ScreenScale=1920
ScreenAspectRatio=0.1
UseTextureCoordinates=1



[Display_AndroidAuto]
Meshes = bmw_m5_09_cockpit_interior_plastic__SUB2
Resolution = 1279,400
Size =1280,400
Offset = 5, 1
Scale = 1.0
RearCameraPosition = 0, 0.75, -2.45
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


-------------------------------- AUDIO ADJUSTMENTS ---------------------------------


[AUDIO_PITCH]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.1
GEAR_GRIND = 1.06
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 0
LIMITER = 0
TURBO = 1.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.2
SKID_INT = 1.2

[AUDIO_VOLUME]
BACKFIRE_INT=15.0
BACKFIRE_EXT=15.0
BODYWORK=1.0
DIRT=1.0
DOWN_SHIFT=1.0
ENGINE_EXT=2.2
ENGINE_INT=2.4
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=0.7
TRACTION_CONTROL_EXT=0
TRACTION_CONTROL_INT=0
TRANSMISSION=0
TURBO=1.0
WIND=0.25
SKID_EXT = 0.5
SKID_INT = 1.0


----------------------------------------------- REFRACTION -----------------------------------------------


[REFRACTING_HEADLIGHT_0]
SURFACE = bmw_m5_09_lod0_glassLTL_detail_glass_clear_
INSIDE = bmw_m5_09_lod0_taillightL_textured_reflector__SUB1, bmw_m5_09_lod0_taillightL_detail_glass_clear_, turn_RR 
SYNC_EMISSIVE_AUTO = 1



ABSORPTION = 0.000000
AMBIENT_MULT = 0.000000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 0.530000
BULB_BLUR_K = 3.700000
BULB_REFLECTION_K = 0.100000
CUSTOM_BULB_0 = 0.283000,0.505000,0.216000,0.345000
CUSTOM_BULB_1 = 0.708000,0.505000,0.216000,0.354000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.160000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.634000
DIRECTION = -0.469312,-0.005602,0.883029
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.890000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 298.000000
F0 = 0.800000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 4.000000
INNER_SPECULAR_EXP = 95.000000
IOR = 2.010000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -1.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = 1.000290,0.000014,-0.000072
MIRROR_POS = 0.001770,0.855795,-2.183040
NM_SHARE_EXT = 0.390000
NM_SHARE_INT = 0.530000
ORIGIN = 0.723718,0.956833,-2.238997
RADIUS = 0.215100
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 4.900000
REFLECTIVENESS_MULT = 1.200000
REFLECTIVE_GAMMA = 0.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0
RESOLUTION_MULT=4



[REFRACTING_HEADLIGHT_1]
SURFACE = bmw_m5_09_lod0_glassRTL_detail_glass_clear_ 
INSIDE = bmw_m5_09_lod0_taillightR_textured_reflector__SUB1, turn_RR, bmw_m5_09_lod0_taillightR_detail_glass_clear_ 
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.000000
AMBIENT_MULT = 0.000000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 0.530000
BULB_BLUR_K = 3.700000
BULB_REFLECTION_K = 0.100000
CUSTOM_BULB_0 = 0.283000,0.505000,0.216000,0.345000
CUSTOM_BULB_1 = 0.708000,0.505000,0.216000,0.354000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.160000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.634000
DIRECTION = 0.374747,-0.004632,0.927121
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.890000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 298.000000
F0 = 0.800000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 4.000000
INNER_SPECULAR_EXP = 95.000000
IOR = 2.010000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -1.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = -1.000000,0.000014,-0.000072
MIRROR_POS = 0.001770,0.855795,-2.183040
NM_SHARE_EXT = 0.390000
NM_SHARE_INT = 0.530000
ORIGIN = -0.694473,0.949702,-2.229154
RADIUS = 0.202700
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 4.900000
REFLECTIVENESS_MULT = 1.200000
REFLECTIVE_GAMMA = 0.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0
RESOLUTION_MULT=4



[REFRACTING_HEADLIGHT_2]
SURFACE = bmw_m5_09_lod0_glassRTL_detail_glass_clear_.001 
INSIDE = bmw_m5_09_lod0_taillightR_reverse_light_lod0_, bmw_m5_09_lod0_taillightR_reverse_light_lod0_.001 
SYNC_EMISSIVE_AUTO = 1



ABSORPTION = 0.000000
AMBIENT_MULT = 0.000000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 0.530000
BULB_BLUR_K = 3.700000
BULB_REFLECTION_K = 0.100000
CUSTOM_BULB_0 = 0.283000,0.505000,0.216000,0.345000
CUSTOM_BULB_1 = 0.708000,0.505000,0.216000,0.354000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.160000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.634000
DIRECTION = -0.069598,-0.003829,0.997568
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.890000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 298.000000
F0 = 0.800000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 4.000000
INNER_SPECULAR_EXP = 95.000000
IOR = 1.950000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -1.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = 1.000087,-0.001056,0.012817
MIRROR_POS = 0.001587,0.859233,-2.387917
NM_SHARE_EXT = 0.390000
NM_SHARE_INT = 0.530000
ORIGIN = 0.543137,0.809389,-2.429916
RADIUS = 0.039600
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 4.900000
REFLECTIVENESS_MULT = 1.200000
REFLECTIVE_GAMMA = 0.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0
RESOLUTION_MULT=4






[REFRACTING_HEADLIGHT_3]
SURFACE=midturn_R
INSIDE=bulbe_midturn_R, in_midturn_R
SYNC_EMISSIVE_AUTO = 1



ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.997047,0.032226,-0.069711
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 95.239998
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.010000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.000002,-0.001273,-0.027930
MIRROR_POS = -0.021271,0.978750,1.144873
NM_SHARE_EXT = 0.490000
NM_SHARE_INT = 0.600000
ORIGIN = -1.137009,0.646277,1.091027
RADIUS = 0.064200
REFLECTIVENESS_DIFFUSE_MULT = 59.599998
REFLECTIVENESS_MULT = 3.700000
REFLECTIVE_GAMMA = 1.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.400000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0




[REFRACTING_HEADLIGHT_4]
SURFACE=midturn_L
INSIDE=bulbe_midturn_L, in_midturn_L
SYNC_EMISSIVE_AUTO = 1



ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 1.000000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 0.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = -0.972762,0.042530,0.227870
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 94.570000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.010000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,-0.001273,-0.027930
MIRROR_POS = -0.021271,0.978750,1.144873
NM_SHARE_EXT = 0.490000
NM_SHARE_INT = 0.600000
ORIGIN = 1.164734,0.640257,1.011269
RADIUS = 0.064200
REFLECTIVENESS_DIFFUSE_MULT = 59.599998
REFLECTIVENESS_MULT = 3.700000
REFLECTIVE_GAMMA = 1.400000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.400000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

---------------------------------------------- CASTING TURNS --------------------------------

[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_TO= turn_FL
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= bmw_m5_09_lod0_taillightL_textured_reflector__SUB1 
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= turn_FR 
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= bmw_m5_09_lod0_taillightR_textured_reflector__SUB1 
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_EXTRA_...]
BOUND_TO =HEAD
MIRROR =0.667
POSITION =0, 0.696, 2.12
DIRECTION=-0.0,-0.0, 1
COLOR =150
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT = 1
SPOT = 110
AMBIENT_INFLUENCE= 0
FADE_AT=0


[LIGHT_EXTRA_...]
BOUND_TO =BLIZNIY.001
MIRROR =0.546
POSITION =, 0.701, 2.2
DIRECTION=-0.0,-0.0, 1
COLOR =150
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT = 1
SPOT = 110
AMBIENT_INFLUENCE= 0
FADE_AT=0

[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=5000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=.8 ; 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=3000
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 = new_glass
WIPERS= bmw_m5_09_lod0_body_rubber_trim_.001, bmw_m5_09_lod0_body_weatherstrip_.001

[ANIMATED_WIPER_...]
MESHES = bmw_m5_09_lod0_body_rubber_trim_.001, bmw_m5_09_lod0_body_weatherstrip_.001
UNDERLYING_SURFACE = new_glass 
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = bmw_m5_09_lod0_body_rubber_trim_.001, bmw_m5_09_lod0_body_weatherstrip_.001
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = bmw_m5_09_lod0_body_rubber_trim_.001, bmw_m5_09_lod0_body_weatherstrip_.001
UNDERLYING_SURFACE = new_glass
GROUP_0 = 'bmw_m5_09_lod0_body_rubber_trim_.001@A=*'
GROUP_0_ANGLE_TO = 64.000000
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.672878, 0.996731, 0.993106
GROUP_0_PIVOT = 0.214529, 0.988752, 1.147196
GROUP_0_RUBBER_FROM = -0.120112, 0.991980, 1.127895
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.029181
GROUP_0_RUBBER_OFFSET_POS = 0.446946
GROUP_0_RUBBER_TO = -0.663380, 0.983078, 0.985641
GROUP_0_SCALE_LUT = '(|0.000=1.000|1.018=0.949|)'
GROUP_1 = 'bmw_m5_09_lod0_body_weatherstrip_.001@A=*'
GROUP_1_ANGLE_TO = 78.300003
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.206095, 1.021894, 1.081605
GROUP_1_PIVOT = 0.627063, 0.941375, 1.131376
GROUP_1_RUBBER_FROM = 0.327785, 1.005585, 1.070721
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.020536
GROUP_1_RUBBER_OFFSET_POS = 0.430140
GROUP_1_RUBBER_TO = -0.203610, 1.021771, 1.075310










