[INCLUDE]
INCLUDE=common/no_popup_lights.ini


;///////////////////////////////////////////PBR_MATERIALS//////////////////////////////////////////

================================CAR PAINT================================

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = EXT_Carpaint,EXT_Carpaint_2,metal_calipers
CarPaintVersionAware = 1
DisableDev = 1

; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = EXT_Carpaint
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
Materials = EXT_Carpaint
LocalReflectionsForce = 1
FresnelMax = 0.4
FresnelC = 0.2
FlakesK = 0.06
BrightnessAdjustment = 0.7
SpecularBase = 1.0, 75
SpecularSun = 0.5, 110
ClearCoatThickness = 0.08

[Material_CarPaint_Metallic]
AmbientSpecular = 1

; Pearlescent car paint, with specular which might be of a different tint
[Material_CarPaint_Pearlx]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
PearlescentSpecular = 1.0
AmbientSpecular = 1.0
AmbientSpecularEXP = 3.0
ClearCoatThickness = 0.09
SpecularBase = 1, 50

; Simple solid car paint
[Material_CarPaint_Solidx]
FresnelMax = 0.5
FresnelC = 0.08
AmbientSpecular = 0.3
SpecularBase = 0.2, 100

; Metallic car paint
[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06

================================GLASS================================

[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials=windows_glass,glass_black_02
ExteriorGlassHeadlightsMaterials=FL_glass
[Material_PhotoelasticGlass]
Meshes=bmw_m5_12_s_lod0_glassRHL_glass_ 

================================INTERIOR================================

[INCLUDE: common/materials_interior.ini]

[Material_Metal_v2]
Materials=int_chrome

[Material_Fabric_v2]
Materials=int_headliner

[Material_Carpet]
Materials=int_carpet

[Material_Leather]
Materials=int_leather1,int_leather2,int_leather3
BrightnessAdjustment = 0.30

[Material_Plastic]
Materials=int_plastic1 
DetailScale = 500

[Material_Carbon]
Materials=

================================EXTERIOR================================

[INCLUDE: common/materials_interior.ini]

[Material_Plastic]
Materials=ext_plastic

[Material_Carbon]
Materials=



[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.7
SPEED_FIX=1
SPEED_LAG=0.96
SPEED_LIMIT=330 

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

[STATUS_BATTERY]
; parameters for overly simplified battery voltage estimation for instruments
; battery voltage reacts to RPM
BASE_VOLTAGE = 12.4  ; base battery voltage
MAX_VOLTAGE = 13.6   ; maximum battery voltage
RPM_LAG = 0.98       ; RPM lag

[STATUS_OIL]
; similar thing, overly simplified estimation for instruments
PRESSURE_BASE = 1.0         ; base oil pressure for idling engine
PRESSURE_STEP = 1.0         ; oil pressure increase for each 1000 RPM
PRESSURE_LAG_UP = 0.998     ; oil pressure increase lag
PRESSURE_LAG_DOWN = 0.9985  ; oil pressure decrease lag

TEMPERATURE_MULT = 1.0         ; relation of oil temperature to water temperature
TEMPERATURE_RPM_FACTOR = 0.03  ; extra increase of oil temperature for each 1000 RPM
TEMPERATURE_LAG_UP = 0.995     ; oil temperature increase lag
TEMPERATURE_LAG_DOWN = 0.995   ; oil temperature decrease lag

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
INTERIOR_FAKE_SHADOW_HEIGHT=0.1
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_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=1
GRADIENT_OFFSET=0.9
MULT=2,2,1.8,1.35
OFFSET=7

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
DIRECTION=-0, 3, -2
MULT=10, 10, 10, 1.5
OFFSET=0, -1, 3
RANGE=5.0
RANGE_GRADIENT_OFFSET=0.6
SPOT=90
SPOT_SHARPNESS=0.3

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

 

 
;//////////////////////////////////////////DIGITAL_INSTRUMENTS//////////////////////////////////////////

[ODOMETER_MAIN]
DIGITAL_ITEM=1
DIGITAL_ITEM_NUMBER_FORMAT=1.0
UPPER_BOUND=999999
; add zero to add leading zeros

[DI_DRIVEN_SESSION_...]
DIGITAL_ITEM=6 
DIGITAL_ITEM_NUMBER_FORMAT=1.1
UPPER_BOUND=999999

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

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

[DI_FUEL_...]
DIGITAL_ITEM = 13
DIGITAL_ITEM_NUMBER_FORMAT = 0.1
UPPER_BOUND = 999999

[DI_FUEL_CONSUMPTION_KPL_TOTAL_...]
DIGITAL_ITEM = 14
DIGITAL_ITEM_NUMBER_FORMAT = 0.1
UPPER_BOUND = 999999

;//////////////////////////////////////////ANALOG_INDICATOR//////////////////////////////////////////

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE              ; any of supported inputs
NAME = ARROW_TEMP
UPPER_BOUND = 170                 ; maximum input value for arrow to move with
LOWER_BOUND = 70                  ; minimum input value
START = 0                     ; offset for starting point, degress
RANGE = 85
 

;//////////////////////////////////////////DASH_LIGHTS//////////////////////////////////////////

[EMISSIVE_HAZARD_...]
NAME= AT_interior_badge_lighting_hazerd 
COLOR=10, 0, 0,2
LAG=0.3
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=Warning_L
COLOR=0, 10, 0
LAG=0.3
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=Warning_R
COLOR=0, 10, 0
LAG=0.3
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_INACTION_...]
COLOR=40,20,4,1
NAME=Warning_TC
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_...]
NAME=Warning_TC_OFF,Warning_TCCorsa.004
COLOR=0,0,0
OFF_COLOR=40,20,4,1
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_...]
NAME=Warning_lane
COLOR=40,20,4,1
OFF_COLOR=0,0,0
LAG=0.2
TOGGLE_VISIBILITY = 1


[EMISSIVE_...]
NAME=Warning_lane2
COLOR=40,20,4,1
OFF_COLOR=0,0,0
LAG=0.2
BIND_TO=WATER_TEMPERATURE
INPUT_THRESHOLD = 65
INPUT_THRESHOLD_INVERSE = 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_...]
NAME=Warning_lane.003
COLOR=40,20,4,1
OFF_COLOR=0,0,0
LAG=0.2
BIND_TO=WATER_TEMPERATURE
INPUT_THRESHOLD = 65
INPUT_THRESHOLD_INVERSE = 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_...]
NAME= Warning_car
COLOR=40,4,4,1
LAG=0.2
BIND_TO=WATER_TEMPERATURE
INPUT_THRESHOLD = 65
INPUT_THRESHOLD_INVERSE = 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_ABS_...]
NAME=Warning_ABS
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_ABS_INACTION_...]
COLOR=40,20,4,1
NAME=Warning_Engine.006
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_HANDBRAKE_...]
NAME=Warning_Handbrake,Warning_Handbrake.002,Warning_Engine.004,Warning_PARK
COLOR=40,4,4,1
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_HIGHBEAM_...]
NAME=interior_glow_headlights
ACT_AS_HEADLIGHTS=0
COLOR=0,0,15,1
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=Warning_light
COLOR=2,20,2, 1
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=interior_digital_gauge_warning
COLOR=1,1,0
LAG=0.2
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=interior_glow_error
COLOR=0,0,0
LAG=0.2
TOGGLE_VISIBILITY = 1


[EMISSIVE_TYRES_...]
NAME= Warning_Tires_press
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 38
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

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

[EMISSIVE_...]
NAME=Warning_FUEL
TOGGLE_VISIBILITY = 1
COLOR=30,10,0,1
INPUT=FUEL
INPUT_THRESHOLD = 10
INPUT_THRESHOLD_INVERSE = 1
LAG=0.5

[EMISSIVE_ENGINE_DAMAGE_...]
NAME=Warning_Engine
COLOR=30,10,0,1
LAG=0.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_EXTRA_A_...]
NAME=Warning_FogLampRear 
COLOR=30,10,0,1
LAG=0.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=interior_glow_error
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=Warning_Brake.001
COLOR=0,0,0
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=interior_digital_gauge_sport.001,interior_digital_gauge_comfort.001 
COLOR=2.5,2.5,2.5,1
OFF_COLOR=5,5,5,1

;//////////////////////////////////////////SELFLIGHTING//////////////////////////////////////////

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
POSITION=0.0, 0.51, 2.0
BOUND_TO = bmw_m5_12_s_lod0_headlightR_head_light_
MIRROR=0.68
RANGE=0.2
SPOT=80
DIRECTION=0, 0, 0.1
COLOR=32,32,32, 10

[SelfLight_Headlights]
POSITION=0, 0.52, 2.1
BOUND_TO = FL_headlightR_glass_
MIRROR=0.575
RANGE=0.2
SPOT=80
DIRECTION=0, 0, 0.1
COLOR=32,32,32, 5

;//////////////////////////////////////////WIPERS//////////////////////////////////////////

[WIPERS]
FRONT_0= Wiper_Left_1,Wiper_Left_2,Wiper_Left_3
FRONT_1= Wiper_Right_1,Wiper_Right_2,Wiper_Right_3
WIND_THRESHOLDS_KMH = 180, 300  ; 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

[WIPERS_TRACE_...]
SURFACE = glassF_window,windscreen_interior
WIPERS = Wiper_Left_3, Wiper_Right_3

;//////////////////////////////////////////TURNSIGNAL//////////////////////////////////////////

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=turnsignal_LF 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 60, 0, 10
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=turnsignal_RF 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 60, 0, 10
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=turnsignal_L_side 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 60, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=turnsignal_R_side 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 60, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=turnsignal_LR_1 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 15, 0, 10
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=turnsignal_RR_1 
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=120, 15, 0, 10
LAG=0.3
REPEAT_FREQENCY_HZ=1.8

[LIGHT_TURNSIGNAL_LEFT_...];SIDE
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=3, 0.8, 0, 0.7
DIFFUSE_CONCENTRATION=0.35
DIRECTION=0.99, 0, -0.07
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0.15
MIRROR_DIRECTION=0.02
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0
OFF_MULT=0.1
OFF_POSITION=0.99, 0.555623, 0.947931
OFF_RANGE_MULT=0.5
POSITION=0.99, 0.555623, 0.947931
RANGE=1.5
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

[LIGHT_TURNSIGNAL_RIGHT_...];SIDE
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=3, 0.8, 0, 0.7
DIFFUSE_CONCENTRATION=0.35
DIRECTION=-0.99, 0, -0.07
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0.15
MIRROR_DIRECTION=0.02
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0
OFF_MULT=0.1
OFF_POSITION=-0.99, 0.555623, 0.947931
OFF_RANGE_MULT=0.5
POSITION=-0.99, 0.555623, 0.947931
RANGE=1.5
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

;//////////////////////////////////////////HEAD_LIGHTS//////////////////////////////////////////

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 0.95, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.15, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=70
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.7
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.75843
OFF_MULT=0
OFF_POSITION=0, 0.601118, 1.98723
OFF_RANGE_MULT=0.125
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=1
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.6, 2.15
RANGE=240
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=110
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.45
SECOND_SPOT_SKIP=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=60
SPOT_EDGE=0.03, 0.03, 0.029
SPOT_EDGE_SHARPNESS=45
SPOT_SHARPNESS=0
SPOT_UP=0.05, 1, 0

[EMISSIVE_LIGHT_...];headlight
NAME=bmw_m5_12_s_lod0_headlightR_head_light_
COLOR=600, 600, 585, 10
SIMULATE_HEATING=0.2
LAG=0.1

[EMISSIVE_LIGHT_...];daytime runninglight
NAME=FL_main_lighters
COLOR=50, 50, 50
OFF_COLOR=50, 50, 50
SIMULATE_HEATING=0.2
LAG=0.1

[EMISSIVE_HIGHBEAM_...]
NAME=FL_headlightR_glass_
COLOR=450, 450, 445, 10
SIMULATE_HEATING=0.2
LAG=0.1

[EMISSIVE_LIGHT_...]
NAME=FL_obj
COLOR=12,2,0
OFF_COLOR=12,2,0
SIMULATE_HEATING=0.2
LAG=0.1

;//////////////////////////////////////////taillight//////////////////////////////////////////

[EMISSIVE_LIGHT_...];taillight
NAME=rl_light_main_01,rl_light_main_01.001
COLOR=100, 0, 0
SIMULATE_HEATING=0.2
ACT_AS_HEADLIGHTS=1
LAG=0.1

;//////////////////////////////////////////BREAK_LIGHTS//////////////////////////////////////////

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=5
COLOR=1, 0.02, 0, 4
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.005, -0.1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.7
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=1, 0.02, 0.01, 1
OFF_FADE_MULT=0.77
OFF_MIRROR=0.7
OFF_MULT=0.1
OFF_POSITION=0, 0.838973, -1.7
OFF_RANGE_MULT=0.833185
POSITION=0, 0.838973, -1.7
RANGE=6
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=2.5
SPOT=135
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.35

[EMISSIVE_BRAKE_0]
COLOR=2500,10,0,2
NAME=RL_brake_light
LAG=0.45

[EMISSIVE_BRAKE_1]
COLOR=25,0.2,0,20
NAME=mbody_textured_reflector_
LAG=0.45

;//////////////////////////////////////////REVERSE_LIGHTS//////////////////////////////////////////

[LIGHT_REVERSE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 0.99, 4.5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.776774
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.776774
OFF_MULT=0.1
OFF_POSITION=0, 0.762814, -1.79663
OFF_RANGE_MULT=0.5
POSITION=0, 0.762814, -1.79663
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_REVERSE_0]
COLOR=50, 50, 50 ,10
LAG=0.3
NAME=bmw_m5_12_s_lod0_trunk_reverse_light_

;//////////////////////////////////////////INTERIOR_LIGHTS//////////////////////////////////////////

[EMISSIVE_LIGHT_...];DASHLIGHT
NAME=bmw_m5_12_cockpit_s_interior_gauge_emissive_,dash_display_overlay_light,tach_min_gauge_needle_,speed_min_gauge_needle_,watertemp_mid_gauge_needle_,fuel_min_gauge_needle_
COLOR=10, 10, 10
OFF_COLOR=5, 5, 5
LAG=0.1

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=12,12,10,1
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=3.0
FADE_SMOOTH=5
MIRROR=0
POSITION=0.35, 0.858, 0.599
DIRECTION=0,0,-0.9
RANGE=0.5;1.25
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=60
SPOT_SHARPNESS=0.3

[EMISSIVE_GEAR_N_1_...]
NAME=AT_interior_badge_lighting.003
COLOR=20,0,,2, 1

[EMISSIVE_LIGHT_...]
NAME=AT_interior_badge_lighting,doorcardLF_badges,doorcardRF_badge_,steering_wheel_badges
COLOR=2,0.9,0.2, 1.5
LAG=0.3

[EMISSIVE_EXTRA_B_...];ceiling light front
NAME=bmw_m5_12_cockpit_s_interior_smooth_metal_.001
COLOR=15, 15, 12, 1.2
LAG=0.3

[LIGHT_EXTRA_...]; top interior light
AFFECTS_TRACK=0
BIND_TO_EXTRA_B=1
COLOR=12, 12, 10, 5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.01,1.13,0.0
DIRECTION=0,-2,0.1
RANGE=1.0
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_EXTRA_C_...];ceiling light front
NAME=bmw_m5_12_cockpit_s_interior_smooth_metal_.001
COLOR=15, 15, 12, 1.2
LAG=0.3

[LIGHT_EXTRA_...]; top interior light
AFFECTS_TRACK=0
BIND_TO_EXTRA_C=1
COLOR=12, 12, 10, 5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.01,1.13,0.0
DIRECTION=0,-2,0.1
RANGE=1.0
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_EXTRA_D_...];ceiling light rear
NAME=bmw_m5_12_cockpit_s_interior_smooth_metal_.002
COLOR=15, 15, 12, 1.2
LAG=0.3

[LIGHT_EXTRA_...]; top interior light rear
AFFECTS_TRACK=0
BIND_TO_EXTRA_D=1
COLOR=12, 12, 10, 5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.01,1.13,-0.9
DIRECTION=0,-2,0.1
RANGE=1.5
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_EXTRA_F_...];trunk light
NAME=bmw_m5_12_s_lod0_trunk_reflector_.002,bmw_m5_12_s_lod0_boot_reflector_
COLOR=15, 15, 12, 1.2
LAG=0.3

;//////////////////////////////////////////LICENSE_LIGHTS//////////////////////////////////////////

[LIGHT_LICENSEPLATE]
MESHES=Plate
OFFSET=-0.0, 0.015, -0.15
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPOT=175
SPOT_SHARPNESS=0.9
COLOR=1.1, 1, 1, 2.0
FALLBACK_EMISSIVE=1,1,1,1
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=50
FADE_SMOOTH=4
ACTIVE=1
AFFECTS_TRACK=1

[EMISSIVE_LIGHT_...];LICENSE_LIGHTS
NAME=bmw_m5_12_s_lod0_trunk_reflector_
COLOR=10, 10, 10
SIMULATE_HEATING=0.2
LAG=0.1

;//////////////////////////////////////////FOG_LIGHT//////////////////////////////////////////

[EMISSIVE_EXTRA_A_...]
NAME=Rear_Fog_Lights
COLOR=800, 0, 0, 10
SIMULATE_HEATING=0.3

;//////////////////////////////////////////TYRES//////////////////////////////////////////

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

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
OFFSET=0.03
WIDTH=0.1

[TYRES_FX_FRONT]
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=50
DIRT_DIRT_DEBUG=0
DIRT_FADE=20
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
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=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
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=50
DIRT_DIRT_DEBUG=0
DIRT_FADE=20
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
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=16
VISIBLE_IN_INTERIOR_CAM=0

;//////////////////////////////////////////DEFORMING//////////////////////////////////////////

[DEFORMING_HOOD]
NAME = bmw_m5_12_cockpit_s_hooda_body_,bmw_m5_12_cockpit_s_hooda_body_2_,bmw_m5_12_cockpit_s_hooda_body_2_.001,bmw_m5_12_cockpit_s_hooda_plastic_      ; name of parenting node containing all meshes to deform
OFFSET_Y_MIDDLE = 0.05    ; how high would it offset in the center at full damage
OFFSET_Y_END = 0.02       ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.1       ; how far would it offset at the far end
BULGING_EXTRA = 0.0       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 2.0    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = -0.16 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = 0.2   ; and horizontal noise at the far end
NOISE_Y_FREQENCY = 7.0    ; which adds
NOISE_Z_FREQENCY = 7.0    ; some randomization
Z_FACTOR = 2.5            ; how center is being found
Z_BIAS = 0.0              ; with, if needed, manual offset

[DEFORMING_REAR]
NAME = bmw_m5_12_s_lod0_trunk_body_,bmw_m5_12_s_lod0_badgeR_emblem_,bmw_m5_12_s_lod0_badgeR_chrome_,Plate_R,numplate_frame,RL_glass_M,rl_light_main_01.001,RL_glass_reverse_light,RL_tectured_reflector.001,bmw_m5_12_s_lod0_trunk_tiling_cloth2_,bmw_m5_12_s_lod0_trunk_plastic_,bmw_m5_12_s_lod0_trunk_reflector_,bmw_m5_12_s_lod0_trunk_metal_,RL_glass_M_Broken,Rear_Fog_Lights,RL_glass_reverse_light,bmw_m5_12_s_lod0_trunk_reverse_light_
OFFSET_Y_MIDDLE = 0.04    ; how high would it offset in the center at full damage
OFFSET_Y_END = 0.02       ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.0       ; how far would it offset at the far end
BULGING_EXTRA = 0.0       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 2.0    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = -0.16 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = 0.2   ; and horizontal noise at the far end
NOISE_Y_FREQENCY = 7.0    ; which adds
NOISE_Z_FREQENCY = 7.0    ; some randomization
Z_FACTOR = 2.5            ; how center is being found
Z_BIAS = 0.0              ; with, if needed, manual offset

;//////////////////////////////////////////EXHAUST//////////////////////////////////////////

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.557028,0.182506,-2.52494
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=0.462019,0.182506,-2.52494
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=0.557028,0.182506,-2.52494
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.462019,0.182506,-2.52494
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.2			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[EXHAUST_FLAMES]
ANTILAG=0                                     ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.02                              ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=3.0                           ; flame size
ANTILAG_INTERVAL_MAX=4000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
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.001                    ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.6                            ; delay after throttle lift
DISCHARGE_DURATION=0.3                        ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=0.25                        ; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5.0                        ; flame size
DISCHARGE_RPM_THRESHOLD_MAX=4800               ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000               ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0                                   ; on upshift
FLAT_SHIFT_COOLDOWN=0                          ; after upshift
FLAT_SHIFT_DURATION=1                          ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=1                     ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=15                        ; flame size
FLAT_SHIFT_PROBABILITY=1                       ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=8500
LIMITER=0                                     ; on hitting the limiter
LIMITER_DELAY=0.25                                ; delay, in seconds
LIMITER_INTENSITY=8                            ; flame size
LIMITER_RPM_THRESHOLD=2000                     ; limiter flames will not shoot below this rpm

[SHAKING_EXHAUST_...]
MESHES = Exhaust,Exhaust_inner,exhR,exhtR
POINT_0 = 0.5342468 0.293629 -2.213641
POINT_0_RADIUS = 10
POINT_0_EXP = 5

;//////////////////////////////////////////NAVIGATORS//////////////////////////////////////////

[INCLUDE: common/navigators.ini]

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

[Navigator_StyleNavitel]
Meshes = screen_L,screen_R 
Resolution = 1200, 800
Offset = 45, 0
Size = 1100, 800

[EMISSIVE_LIGHT_...];screen
NAME= __navigator_mesh_1,screen_L,screen_R 
COLOR=1.5, 1.5, 1.5
OFF_COLOR=3, 3, 3
LAG=0.1

;//////////////////////////////////////////ANIMATION//////////////////////////////////////////

[ANIMATION_...]
FILE= car_door_L.ksanim
TIME= 1
BIND_TO_EXTRA_B=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_door_R.ksanim
TIME= 1
BIND_TO_EXTRA_C=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_door_LR.ksanim
TIME= 1
BIND_TO_EXTRA_D=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_door_RR.ksanim
TIME= 1
BIND_TO_EXTRA_D=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_hood.ksanim
TIME= 1
BIND_TO_EXTRA_E=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_trunk.ksanim
TIME= 1
BIND_TO_EXTRA_F=1
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE= car_hud.ksanim
TIME= 0.1
INPUT_THRESHOLD_INVERSE = 0
BIND_TO_TRACTIONCONTROL=1

[ANIMATION_...]
FILE= Gauge_S.ksanim
TIME= 0.01
INPUT_THRESHOLD_INVERSE = 1
BIND_TO_TRACTIONCONTROL=1

[ANIMATION_...]
FILE= Gauge_B.ksanim
TIME= 0.01
BIND_TO=WATER_TEMPERATURE
INPUT_THRESHOLD = 65
INPUT_THRESHOLD_INVERSE = 0

[ANIMATION_...]
FILE=  
TIME= 0.01
INPUT=GEAR_R

 ;//////////////////////////////////////////ANDROID_AUTO//////////////////////////////////////////
[INCLUDE: android_auto/config.ini]

[Display_AndroidAuto]
@ = Display_ExtraShape, P1 = "0.110, 0.825, 0.525", P2 = "-0.143, 0.832, 0.506", P3 = "-0.134, 0.740, 0.454", P4 = "0.111, 0.750, 0.498"
RearCameraPosition = -0.0526, 0.704, -2.6
aftermarketComponent=1

[SHADER_REPLACEMENT_...]
MESHES = main_LCD
SHADER = ksPerPixel
PROP_... = ksEmissive, 1, 1, 1

[EXTRA_FX]
GLASS_FILTER = __navigator_mesh_1
SKIP_GBUFFER = material:INT_Glass_Display

[MESH_ADJUSTMENT_...]
MESHES = main_LCD
IS_RENDERABLE = 0

 


 



 