;BMW F82 M4 Apex LHD v1 tony cooke
1. Random
2. Car paints
3. Glass Adjust
4. Lights
5. Main Lights
6. Indicators
7. Brake Lights
8. Reverse Lights
9. Cluster lights
10. Interior Lights
11. Brake Discs
12. Exhaust Flames
13. Analogue
14. Animations
15. Extras
16. CSP Animated Wipers
17. Android Auto
18. Deforming Hood

====================RANDOM====================

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
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
DISABLE_WIPER_KSANIM = 0

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.5  ; set G-force for hazards to turn on automatically on sudden braking

[DATA] 
DISABLE_LIGHTSINI=1

[BRAKEDISC_FX]
ACTIVE = 0

[SHADER_REPLACEMENT_...]
MESHES = CSP_B
PROP_0 = ksAmbient, 0
PROP_1 = ksDiffuse, 0
CULL_MODE = DOUBLESIDED

[SMART_MIRROR]
VISIBLE_FIRSTPERSON=RIGHT

[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[INCLUDE: common/selflighting.ini]

[AUDIO_VOLUME]
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.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 1.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0

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

====================CAR PAINTS====================

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Carpaint, INT_OCC_Carpaint

[INCLUDE: common/materials_interior.ini]
[Material_Aluminium_v2]
Materials = EXT_Emissive_Light_Rear
Smoothness = 0.95
Metalness = 0.2
Reflectance = 0.3
BrightnessAdjustment = 0.2
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

[Material_CarPaint]
Skins = Alpine_White
ClearCoatThickness = 0.0	; thickness for absorbing light from underneath
SpecularColor = 1
SpecularMult = 0.08	; adjust specular brightness
FresnelMax = 0.4		; how reflective is the car at glancing angles
FresnelC = 0.04		; how much of that reflection is there on surface facing viewer
FlakesK = 0		; flakes behavior
BrightnessAdjustment = 0.50

[Material_CarPaint_Metallic]
Materials = Carpaint
LocalReflectionsForce = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 1

[Material_InteriorPBRDetail]
Materials = INT_Decals_FLAT_Alfa
Reflectance=0.28
Smoothness=0.25
Metalness=0.1
CubemapReflectionBlur=0.95
Brightness=0.4
OcclusionMult=1
DetailScale=1
ApplyTilingFix=1
OcclusionSource = NONE


====================GLASS ADJUST====================

[INCLUDE: common/materials_glass.ini]

[Material_Glass] ;windscreen
Meshes= glass_front_main
IOR = 4.0              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1.5  ; thicker glass passes less light through
BrightnessAdjustment=0.7
ExtraLightsAdjustment = 0.5

[Material_Glass] ;windscreen banner
Meshes= window_banner
IOR = 5.0              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.5  ; thicker glass passes less light through
BrightnessAdjustment=0.2
ExtraLightsAdjustment = 0.3

[Material_Glass] ;front sides
Meshes= glassl2, glassr2
IOR = 3.5              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.5  ; thicker glass passes less light through
BrightnessAdjustment=0.1
ExtraLightsAdjustment = 0.5

[Material_Glass] ;rear sides, rear window
Meshes= GEO_Chassis_SUB1, GEO_Chassis_SUB3
IOR = 2.5              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
BrightnessAdjustment=0.2
ExtraLightsAdjustment = 0.2

[Material_Glass] ; headlights xxx
Meshes= Glass_002
IOR = 1.5              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.9  ; thicker glass passes less light through
BrightnessAdjustment=0.6
ExtraLightsAdjustment = 0.4

[Material_Glass]
Meshes=apex_light_glass_rear
IOR = 2.0              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1.3  ; thicker glass passes less light through
BrightnessAdjustment=0.3
ExtraLightsAdjustment = 0.3
MaskPass = 1.1            ; mask pass opacity
MaskPassColor = 100, 0, 0  ; mask pass color adjustment




====================LIGHTS====================

[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_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_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

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
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

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1.2, 1.1, 1.2, 18
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.05, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=230
LOWBEAM_RANGE_MULT=1
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.63, 2.1
RANGE=480
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.5
SECOND_SPOT_RANGE=150
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=65
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0

[LIGHT_EXTRA_0]			;lft door light
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=0.615,0.80,0.3
DIRECTION=0,-0.1,-1
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_1]
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=0.615,0.80,0.15
DIRECTION=0,-0.1,-1
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_2]
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=0.615,0.80,0.0
DIRECTION=0,-0.1,-1
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_3]			;rt door light
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.00
POSITION=-0.690,0.80,0.3
DIRECTION=0,-0.1,-1
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_4]
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0.69,0.80,0.15
DIRECTION=0,-0.1,-1
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_5]
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.9
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0.69,0.80,0.0
DIRECTION=0,-0.1,-1
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=320
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_6]				;ohd lt
BIND_TO_HEADLIGHTS=1
COLOR=3,0.5,0.5
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0,1.2,0.25
DIRECTION=0,-0.1,-1
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=100
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_7]			;tail light flood		
BIND_TO_HEADLIGHTS=1
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=5,1,1
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.5
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_EXTRA_8]				;ohd int white lt front
BIND_TO_EXTRA_B=1
COLOR=3,3,3
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0,1.2,0.25			;x,z,y
DIRECTION=0,-90,0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=200
SPOT_SHARPNESS=0.7
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_9]				;ohd int white lt rear
BIND_TO_EXTRA_B=1
COLOR=2,2,2
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0,1.2,-0.75
DIRECTION=0,-90,0
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=180
SPOT_SHARPNESS=0.1
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_10]				;driver footwell light
BIND_TO_EXTRA_C=1
COLOR=8,8,8
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=-0.415,0.566,0.844			;x,z,y
DIRECTION=0,-90,0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=180
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1

[LIGHT_EXTRA_11]				;passenger footwell light
BIND_TO_EXTRA_B=1
COLOR=10,10,10
LAG=0.8
SIMULATE_HEATING=0.6
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.01
POSITION=0.415,0.600,0.830			;x,z,y
DIRECTION=0,-90,0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=180
SPOT_SHARPNESS=0.2
VOLUMETRIC_LIGHT=1


====================MAIN LIGHTS====================

[EMISSIVE_LIGHT_0]
NAME=Sprite_lowbeam_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 40
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_0]
NAME=Sprite_hibeam_002
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 36
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_1]
NAME=glass_lowbeam_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 9
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_1]
NAME=glass_hibeam_002
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 9
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...]
NAME=g_Headlight_Far_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 40
OFF_COLOR=1,1,1, 5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=Warning_light
TOGGLE_VISIBILITY = 0
COLOR=2,20,2, 1
OFF_COLOR=0.5,5,0.5, 0.5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_...]
INPUT = LIGHT
NAME =g_rear_light
COLOR = 10,0,0, 20
LAG = 0.9
SIMULATE_HEATING = 0.5

[EMISSIVE_...]
BIND_TO_HEADLIGHTS=1
NAME=rSprite_drive
TOGGLE_VISIBILITY = 1
COLOR=20,0,0, 5
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...]
BIND_TO_HEADLIGHTS=0
NAME=g_Headlight_Near_002
COLOR=20,20,25, 5
LAG=0.8
SIMULATE_HEATING=0.3
OFF_COLOR=20,20,35, 3
ACT_AS_HEADLIGHTS = 0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
BIND_TO_HEADLIGHTS=0
NAME=Light_Extra_002
COLOR=20,20,25, 1
LAG=0.8
SIMULATE_HEATING=0.3
OFF_COLOR=20,20,25, 1
ACT_AS_HEADLIGHTS = 0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
BIND_TO_HEADLIGHTS=0
NAME=Sprite_Front_parking_004
COLOR=20,20,25, 4
LAG=0.8
SIMULATE_HEATING=0.3
OFF_COLOR=20,20,25, 1
ACT_AS_HEADLIGHTS = 0
CAST_LIGHT=0

;       ///Угловой свет///

[EMISSIVE_CORNERINGLAMP_LEFT_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=Sprite_corner_L_002
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_CORNERINGLAMP_LEFT_1]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=glass_corner_L_002
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_CORNERINGLAMP_RIGHT_0]
BIND_TO_HEADLIGHTS=0
NAME=Sprite_corner_R_002
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_CORNERINGLAMP_RIGHT_1]
BIND_TO_HEADLIGHTS=0
NAME=glass_corner_R_002
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_CORNERINGLAMP_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.952381, 0.952381, 1, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.9, -0.2, 0.9
OFF_POSITION=-1.6, 0.61, 2.1
POSITION=-1.6, 0.61, 2.1
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0

[LIGHT_CORNERINGLAMP_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.952381, 0.952381, 1, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.9, 0, 0.9
OFF_POSITION=1.6, 0.61, 2.1
POSITION=1.6, 0.61, 2.1
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0

 ;       ///основной свет///

[EMISSIVE_LIGHT_0]
NAME=Sprite_lowbeam_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_1]
NAME=glass_lowbeam_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_0]
NAME=Sprite_hibeam_002
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 16
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_1]
NAME=glass_hibeam_002
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

====================INDICATORS====================

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=LEFT_turn_LED_002
COLOR=20,10,0, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Sprite_turn_L_002
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 15
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=glass_turn_L_002
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 6
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=mirror_turn_l
BLINK_FREQENCY_HZ=1
COLOR=150, 50, 0, 10
LAG=0.50
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME=tail_ind_ref_left
BLINK_FREQENCY_HZ=1
COLOR=20, 10, 0
LAG=0.80
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_5]
NAME=tail_ind_bulb_left
BLINK_FREQENCY_HZ=1
COLOR=20, 10, 0
LAG=0.80
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_6]
NAME=rSprite_turn_L
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 150
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_7]
NAME=Warning_L
BLINK_FREQENCY_HZ=1
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=RIGHT_turn_LED_002
COLOR=20,10,0, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Sprite_turn_R_002
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 15
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=glass_turn_R_002
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 6
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=mirror_turn_r
BLINK_FREQENCY_HZ=1
COLOR=150, 50, 0, 10
LAG=0.50
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME=tail_ind_ref_right
BLINK_FREQENCY_HZ=1
COLOR=20, 10, 0
LAG=0.80
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_5]
NAME=tail_ind_bulb_right
BLINK_FREQENCY_HZ=1
COLOR=20, 10, 0
LAG=0.80
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_6]
NAME=rSprite_turn_R
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 150
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_7]
NAME=Warning_R
BLINK_FREQENCY_HZ=1
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

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

[EMISSIVE_HAZARD_1]
NAME=rdtria
BLINK_FREQENCY_HZ=4
COLOR=5, 2, 0
LAG=0.50
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_HAZARD_2]
NAME=ldtria
BLINK_FREQENCY_HZ=4
COLOR=5, 2, 0
LAG=0.50
SIMULATE_HEATING=0.0
LOCATION=NONE

[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.71, 0, 0.69
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, 0.66, 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_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.71, 0, 0.69
EXTERIOR_ONLY=
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
POSITION=-1.0, 0.66, 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
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=1.3, 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_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
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=-1.3, 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


====================BRAKE LIGHTS====================

[EMISSIVE_BRAKE_0]
NAME=g_rear_light_brake
COLOR=100, 0, 0
LAG=0.8
SIMULATE_HEATING=0.3

[EMISSIVE_BRAKE_1]
NAME=3rd_stop
COLOR=70,2,0.0, 40
FALLBACK_HEADLIGHTS_COLOR=0,0,0, 0
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_BRAKE_2]
NAME=rSprite_brake
TOGGLE_VISIBILITY = 1
COLOR=40,0,0, 90
FALLBACK_HEADLIGHTS_COLOR=20,0,0, 30
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0


====================REVERSE LIGHTS====================

[EMISSIVE_REVERSE_0]
NAME=g_Rear_Light_Reverse_SUB0
COLOR=50,50,50, 10
LAG=0.8
SIMULATE_HEATING=0.3

[EMISSIVE_REVERSE_1]
NAME=g_Rear_Light_Reverse_SUB1
COLOR=50,50,50, 10
LAG=0.8
SIMULATE_HEATING=0.3


[EMISSIVE_REVERSE_2]
NAME=seats_badge_m4
COLOR=1, 1, 1, 1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_REVERSE_3]
NAME=rear_gear_cam, rear_cam_texture
COLOR=1, 1, 1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
TOGGLE_VISIBILITY = 1

[EMISSIVE_REVERSE_4]
NAME=revcamlight1
COLOR=0, 20, 0, 10
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_REVERSE_5]
NAME =rSprite_rear  ; name (one or more) of a mesh to glow
TOGGLE_VISIBILITY = 1
COLOR = 20, 20, 20, 30          ; glowing color if condition is met
LAG = 0.73                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1      ; 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
CAST_LIGHT=0
CLUSTER_THRESHOLD=0


====================CLUSTER LIGHTS====================

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

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

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

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


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

[EMISSIVE_...]
INPUT = PERF_METER_DIFF
INPUT_MULT = 0.25
NAME = CSP_B
INPUT_THRESHOLD = 0
COLOR = 0, 4, 0                                       
OFF_COLOR = 4, 0, 0




[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=4,1.5,0, 30
LAG=0.2

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

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

[EMISSIVE_TRACTIONCONTROL_1]
NAME=
COLOR=1, 1, 1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_2]
NAME=tabletface
COLOR=0.7,0.7,0.7
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TRACTIONCONTROL_3]
NAME=sporttc
TOGGLE_VISIBILITY = 1
COLOR=1,1,1
OFF_COLOR=5,2.5,0
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_4]
NAME=warning_mdm
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
OFF_COLOR=0,0,0
INPUT_THRESHOLD_LOWER_INC = 1
INPUT_THRESHOLD_UPPER = 2
LAG=0.5

[EMISSIVE_TRACTIONCONTROL_5]
NAME=warning_dscsymb_off
TOGGLE_VISIBILITY = 1
COLOR=20,20,20
OFF_COLOR=0
BLINK_REPEAT = 1
BLINK_FREQENCY_HZ = 0.1
INPUT_THRESHOLD_LOWER_INC = 0
INPUT_THRESHOLD_UPPER = 1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_6]
NAME=warning_dscoff
TOGGLE_VISIBILITY = 1
COLOR=20,20,20
OFF_COLOR=0
BLINK_REPEAT = 1
BLINK_FREQENCY_HZ = 0.1
INPUT_THRESHOLD_LOWER_INC = 0
INPUT_THRESHOLD_UPPER = 1
LAG=0.2

[EMISSIVE_HANDBRAKE_0]
NAME=Warning_Handbrake
COLOR=40,4,4,1
LAG=0.0
TOGGLE_VISIBILITY = 0

====================INTERIOR LIGHTS====================

[EMISSIVE_LIGHT_4]
NAME=but_1, decalsport, decalmgear, but_2, decalgearshift, decalgearmode, sportpark, sportcam, sportthrot, sportspring, sportsteer, decalstalk, decallights, decalhaz, decalbonn, geo_cockpit_hr_decals_sub0, idrivering
BIND_TO_HEADLIGHTS=1
COLOR=5,0.5,0, 1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_5]
NAME=Cylinder4, Cylinder3, Cylinder6, Cylinder5, redlayer_014, redlayer_016, decalstart
BIND_TO_HEADLIGHTS=1
COLOR=1.4,1.4,1.4, 2
OFF_COLOR=2,2,2
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_6]		;gauge back
NAME=gaugecluster_a_002
BIND_TO_HEADLIGHTS=1
COLOR=2,2,2
OFF_COLOR=4,4,4
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_7]
NAME=polymsh_extracted13
BIND_TO_HEADLIGHTS=1
COLOR=3,3,3
OFF_COLOR=2,2,2
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_8]
NAME=centerstackbezels_agtr
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1
OFF_COLOR=2,2,2
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_9]
NAME=hevacdisplay
BIND_TO_HEADLIGHTS=1
COLOR=5,0.5,0,1
OFF_COLOR=10,10,15
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_10]
NAME=polymsh_SUB5
BIND_TO_HEADLIGHTS=1
COLOR=1,0.4,0, 1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_11]
NAME=rearplatelights
BIND_AS=LICENSE_PLATE
COLOR=5,5,5, 20
LAG=0.5
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_12]
NAME=plate_rear
BIND_AS=LICENSE_PLATE
COLOR=1,1,1, 0.5
LAG=0.5
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_13]
NAME=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
OFF_COLOR=2,2,2, 1
LAG=0.2
SIMULATE_HEATING=0.20
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_14]
NAME=GEO_HUD_Back, GEO_HUD_main
OFF_COLOR=2,2,2, 1
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_15]
NAME=HUD_RPM_21
OFF_COLOR=2,1.2,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_16]
NAME=HUD_RPM_22, HUD_RPM_23, HUD_RPM_24, HUD_RPM_25, HUD_RPM_26, HUD_RPM_27, HUD_RPM_28, HUD_RPM_29, HUD_RPM_30
OFF_COLOR=2,0,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_17]
NAME=HUD_TAG_0, HUD_TAG_1, HUD_TAG_2, HUD_TAG_3, HUD_TAG_4, HUD_TAG_5
OFF_COLOR=2,2,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_18]
NAME=HUD_TAG_6, HUD_TAG_7
OFF_COLOR=2,0,0, 2
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_19]
NAME=Vent_screen
BIND_TO_HEADLIGHTS=1
COLOR=2,1.4,1
OFF_COLOR=1,0.7,0.5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_20]
NAME=rpm_bar
BIND_TO_HEADLIGHTS=1
COLOR=1,0.7,0
OFF_COLOR=3.5,2.5,0
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_21]
NAME=hp_display
COLOR=1, 1, 1.5
OFF_COLOR=1, 1, 1.5
LAG=0.2
SIMULATE_HEATING=0.3

[EMISSIVE_LIGHT_22]
NAME=decalgreen
BIND_TO_HEADLIGHTS=0
COLOR=0, 20, 0, 5
OFF_COLOR=0, 10, 0, 5
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_23]		;needle backlight
NAME=arrow_light
BIND_TO_HEADLIGHTS=1
COLOR=15,15,15, 2
LAG=0.2
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5



[EMISSIVE_LIGHT_25]		
NAME=m21, polymsh_extracted13_SUB1, polymsh_extracted13_SUB0, CSP_B, kmhtitle
BIND_TO_HEADLIGHTS=1
COLOR=6,6,6
OFF_COLOR=1,1,1
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_26]		
NAME= tablet2_SUB0
BIND_TO_HEADLIGHTS=1
COLOR=0.5,0.5,0.5
OFF_COLOR=0
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_27]		
NAME= main_idrive_screen
BIND_TO_HEADLIGHTS=1
COLOR=1.0,1.0,1.0
OFF_COLOR=0
LAG=0.6
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0


====================BRAKE DISCS====================

[LIGHT_BRAKEDISCS_FRONT]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 1.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=130
SPOT_SHARPNESS=0.8

[LIGHT_BRAKEDISCS_REAR]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 1.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=130
SPOT_SHARPNESS=0.8

[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

====================EXHAUST FLAMES====================

[EXHAUST_FLAMES]
ANTILAG=1.0
ANTILAG_DELAY=0.02
ANTILAG_INTENSITY=140
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=2
DISCHARGE_INTENSITY=100
DISCHARGE_PROBABILITY=8
DISCHARGE_RPM_THRESHOLD_MAX=8000
DISCHARGE_RPM_THRESHOLD_MIN=3000
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=8000
LIMITER=8000
LIMITER_DELAY=0.0
LIMITER_INTENSITY=3
LIMITER_RPM_THRESHOLD=8000


====================ANALOGUE====================

[ANALOG_INDICATOR_...]
INPUT=ENGINE_POWER
NAME=rpm_Display
ZERO=0
STEP=-0.0165
INPUT_LAG_DOWN=0.98

[ANALOG_INDICATOR_...]
INPUT = ENGINE_TORQUE
NAME = torque_inv
ZERO=0.0
STEP=-0.40
INPUT_LAG_DOWN=0.98

[ANALOG_INDICATOR_...]
INPUT=ENGINE_POWER
NAME = hp2
ZERO=0.0
STEP=-0.45
INPUT_LAG_DOWN=0.98

[ANALOG_INDICATOR_...]
INPUT = PERF_METER_DIFF
INPUT_MULT = 0.25
NAME = CSP_B
SCALE_START = -1, 1, 1
SCALE_END = 1
RANGE = 0
SPEED_LAG = 0
LOWER_BOUND = -1
UPPER_BOUND = 1

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

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

====================ANIMATIONS====================


[ANIMATION_0]
BIND_TO_EXTRA_A=1
FILE=hood.ksanim
TIME=1.0
INPUT_AS_PROGRESS = 0                   ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_1]
FILE=car_DOOR_L.ksanim
TIME=2
BIND_TO_EXTRA_B=1
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=1
LOOP_WHILE_ACTIVE=0

[ANIMATION_2]
FILE=car_Door_R.ksanim
TIME=2
BIND_TO_EXTRA_C=1
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=1
LOOP_WHILE_ACTIVE=0

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

====================EMISSIVE EXTRAS ====================



;EXTRA_B


[EMISSIVE_EXTRA_B_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=door_light_lft
COLOR=50,0,0, 10
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_B_1]	
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=introoflights
COLOR=2,2,2, 1
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_B_2]	
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=intspotsfront
COLOR=50,50,25, 20
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_B_3]	
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=intspotsrear
COLOR=50,50,25, 20
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_B_4]		;doorplate light	
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=GEO_Cockpit_HR_SUB20
COLOR=10,10,10
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

;EXTRA_C

[SelfLight_Headlights]	;right door light
POSITION=-1.9, 0.2, 0.42
BOUND_TO = door_light_rt
RANGE=1.2
SPOT=100
DIRECTION=-0.45, -0.5, -0.45
COLOR= 50,10,10, 3
AFFECTS_TRACK=1
LAG=0.87
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[EMISSIVE_EXTRA_C_0]	
BIND_TO_EXTRA_C=1
BIND_TO_HEADLIGHTS=0
NAME=door_light_rt
COLOR=50,0,0, 1
LAG=0.88
SIMULATE_HEATING=0.1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5





;Extra D

[EMISSIVE_EXTRA_D_0]
BIND_TO_EXTRA_D=1
NAME=sunvisors_down
TOGGLE_VISIBILITY = 1
COLOR=0.1,0.1,0.1
OFF_COLOR=0

[EMISSIVE_EXTRA_D_1]
BIND_TO_EXTRA_D=1
NAME=sunvisors_up
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=0.1,0.1,0.1

;EXTRA_E

[EMISSIVE_EXTRA_E_0]
BIND_TO_EXTRA_E=1
NAME=main_idrive_screen_new
TOGGLE_VISIBILITY = 1
COLOR=1,1,1
OFF_COLOR=0


====================CSP ANIMATED WIPERS====================

[ANIMATED_WIPER_...]
DEBUG = 0
MESHES = wiperarmR, wiperbrushR, wiperarmL, wiperbrushL
UNDERLYING_SURFACE = glass_front_main
GROUP_0 = wiperarmR, wiperbrushR
GROUP_0_ANGLE_TO = -80
GROUP_0_AXIS = -0.10, 0.495, 0.35					;swivel
GROUP_0_AXIS_OFFSET_0 = 0.707107, -0.707107, -0.707107
GROUP_0_END = 0.224, 0.953, 0.899				;outer tip of whole blade remove minus values
GROUP_0_PIVOT = -0.5910, 0.8852, 0.9500			;actual pivot (from 3Dsim)
GROUP_0_RUBBER_FROM = -0.372, 0.956, 0.878		; inner part of rubber blade pos remove minus values
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.00
GROUP_0_RUBBER_OFFSET_POS = 0.0
GROUP_0_RUBBER_TO = 0.224, 0.953, 0.899			;should be same as group 0 end top end of blade

GROUP_1 = wiperarmL, wiperbrushL
GROUP_1_ANGLE_TO = -83
GROUP_1_AXIS = -0.015, 0.67, 0.499					;swivel
GROUP_1_AXIS_OFFSET_0 = 0.707107, -0.707107, -0.707107
GROUP_1_END = 0.697, 0.992, 0.692				;outer tip of whole blade remove minus values
GROUP_1_PIVOT = -0.1340, 0.8852, 1.0033			;actual pivot (from 3Dsim)
GROUP_1_RUBBER_FROM = 0.295, 0.943, 0.901		; inner part of rubber blade pos remove minus values
GROUP_1_RUBBER_OFFSET_AMOUNT = 0
GROUP_1_RUBBER_OFFSET_POS = 0
GROUP_1_RUBBER_TO = 0.697, 0.992, 0.692			;should be same as group 0 end top end of blade
GROUP_1_BASE_AXIS = 0, 0.5, 0.73
GROUP_1_BASE_PIVOT = -0.135, 0.901, 1.011

[MESH_ADJUSTMENT_...]
MESHES = wiperarmR, wiperbrushR, wiperarmL, wiperbrushL
MOVE_TO = modelRoot:y

====================ANDROID AUTO====================

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = main_idrive_screen_new ; display mesh
Resolution =  1024, 512   ; texture resolution
Size = 1024, 410          ; size of the screen area
Offset = 8, 100         ; left top corner of screen area
Scale = 1                ; might need adjusting to get the scale right
RearCameraPosition = -0.053, 0.860, -2.47  ; position of rear view camera
aftermarketComponent = 1


====================DEFORMING HOOD====================

[DEFORMING_HOOD]
NAME = g_bonnet_sub0, hood_liner_new, g_Bumper_Front_SUB0, carbon_grill, grill_inner, g_Bumper_Front_SUB5, plate_front, plate_mountfront, carbon_bumper_inlets, sensorsfront1, FRONT_SPLITTER, cannew2, cannew3, g_Bumper_Front_SUB3, g_Bumper_Front_SUB4, g_Bumper_Front_SUB2, scoops, GEO_Chassis_SUB6, hl_glassfront, EXT_Emissive_Light_Front001, EXT_Glass_Front_Inner, ext_glass_front_face, EXT_Emissive_Turnsignal_FR, EXT_Emissive_Turnsignal_FL, low_beam, headlights_toplow, headlights_bottomhigh, high_beam, light_projector_centre, eng_rubber, eng_carpaint, eng_plastic_metal, eng_bay_complete, eng_plastic, flscam, frcam, geo_chassis_sub0front, geo_chassis_sub7front, geo_chassis_sub9front, DAMAGE_GLASS_FRONT_1, Glass_002, GEO_Chassis_SUB4_002, taillights_004, Glass_2_002, g_Headlight_Far_002, g_Headlight_Near_002, GEO_Chassis_SUB10_002, LEFT_turn_LED_002, Light_Extra_002, RIGHT_turn_LED_002, gts_front_splitter, gts_split_lwr, bonnet_furniture, glass_turn_L_002, glass_turn_R_002, glass_lowbeam_002, glass_hibeam_002, Sprite_turn_L_002, Sprite_turn_R_002, Sprite_Front_parking_004, Sprite_lowbeam_002, Sprite_hibeam_002, adaptiver, adaptive


OFFSET_Y_MIDDLE = 0.12    ; how high would it offset in the center at full damage
OFFSET_Y_END = -0.05       ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.27       ; how far would it offset at the far end
BULGING_EXTRA = 0.1       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 4.0    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = 0.25 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = -0.2   ; and horizontal noise at the far end
NOISE_Y_FREQUENCY = 9.0    ; which adds
NOISE_Z_FREQUENCY = 7.0    ; some randomization
Z_FACTOR = 3.5            ; how center is being found
Z_BIAS = -0.15              ; with, if needed, manual offset

[DEFORMING_REAR]
NAME = g_Trunk_SUB0, apex_wing_1, apex_wing_mount, plate_rear, g_Bumper_Rear_SUB0, g_Bumper_Rear_SUB3, trunk_sill, stickerrear, carbonrearinserts, g_Bumper_Rear_SUB5, g_Bumper_Rear_SUB4, g_Bumper_Rear_SUB1, sensorrear, g_Trunk_002, g_Trunk_SUB2A, compbadge4, trunkbay_a__slod_008, trunkbay_a__slod_014, trunkbay_a__slod_016, trunkbay_a__slod_002, trunkliner_a__slod_004, trunkliner_a__slod_002, trunkliner_a__slod_006, trunklinershade, trunkliner_a__slod_014, trunkbay_a__slod_006, trunkliner_a__slod_020, trunkliner_a__slod_012, rearplatelights, rearplatelighthousing, ext_glass_rear_outerin, ext_emissive_light_rear001i, rlindicatori, ext_emissive_taillightsin, rrindicatorbi, trunk_a_004, Diffuser, REAR_DIFFUSER_A, REAR_DIFFUSER_BLACK, Diffuser_bolts_SUB1, Diffuser_bolts_SUB0, geo_chassis_exaust_sub09_SUB0, geo_chassis_exaust_sub09_SUB1, geo_chassis_exaust_sub09_SUB2, geo_chassis_exaust_sub9, REAR_DIFFUSER_BLACK_a, trunkbay_a__slod_018, glassltl_a_002, glassctl_a_002, glassctl_a_004, rear_gear_lights, taillightc_a_014, taillightl_a_006, taillightc_a_006, taillightc_a_004, taillightl_a_002, blinker_lr, blinker_rr, blinker_lr_1, blinker_rr_1, rear_cs_1, taillightl_a_006_n, taillightl_a_002_n, taillightl_a_004, rear_lights_14, rear_lights_13, rear_lights_12, rear_lights_11, rear_lights_10, rear_lights_9, rear_lights_8, rear_lights_7, rear_lights_6, rear_lights_5, rear_lights_4, rear_lights_3, rear_lights_2, rear_lights_1, rear_lights_0, cs_logo, geo_chassis_sub0rear, geo_chassis_sub9rear, trunkbay_a__slod_004, DAMAGE_GLASS_REAR_2, DAMAGE_GLASS_REAR_1, GEO_Chassis_SUB3, geo_chassis_sub2, roofrails, GEO_Chassis_SUB1, DAMAGE_GLASS_CENTER_1, GEO_Defrost_Lines, gts_wing_complete, taillightl_a_008, taillightc_a_008, gts_badge, g_Trunk_SUB3, DAMAGE_GLASS_REAR_3, apex_light_glass_rear, trunk_apex, apex_tail_inner, g_rear_light, apex_tail_light_complete, rSprite_turn_L, tail_ind_ref_left, rSprite_brake, g_rear_light_brake, tail_ind_bulb_left, bmw_logo_tailight, rGlass_fog, apex_light_frame_boot2, apex_light_frame_boot, rSprite_rear, g_Rear_Light_Reverse_SUB1, rSprite_fog, g_rear_light_brake_inner, rGlass_turn_R, rSprite_turn_R, tail_ind_bulb_right, tail_ind_ref_right, rGlass_rear, rsprite_drive, g_Rear_Light_Reverse_SUB0, rGlass_brake


OFFSET_Y_MIDDLE = -0.05    ; how high would it offset in the center at full damage
OFFSET_Y_END = 0.01      ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.10       ; how far would it offset at the far end
BULGING_EXTRA = 0.9       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 0.5    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = 0.2 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = 0.4   ; and horizontal noise at the far end
NOISE_Y_FREQUENCY = 9.0    ; which adds
NOISE_Z_FREQUENCY = 7.0    ; some randomization
Z_FACTOR = 10.5            ; how center is being found
Z_BIAS = 1.1              ; with, if needed, manual offset
