[SCRIPTABLE_DISPLAY_...]
MESHES = bmwx7_seat_FL
SCRIPT = script.lua

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

[DATA] 
DISABLE_LIGHTSINI = 1

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

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

[PARTICLES_FX]
BODYSPARKS_AMOUNT=0.25
BODYSPARKS_INTENSITY=0.2
BODYSPARKS_LIFETIME=0.4
BODY_SPARKS_COLOR=1, 0.5, 0, 10
COLLIDER_0SPARKS_AMOUNT=0.25
COLLIDER_0SPARKS_INTENSITY=0.2
COLLIDER_0SPARKS_LIFETIME=0.4
COLLIDER_0_SPARKS_COLOR=1, 0.5, 0, 10
DRAG_MULT=2
INTERIOR_BOUNDS_CHECK=1
INTERIOR_BOUNDS_HEIGHT=0.644874
LIFT_MULT=0.1
SPARKS_AMOUNT_MULT=2
SPARKS_COOLDOWN_LAG=0.96
SPARKS_DEPTH_EXP=4
SPARKS_MAX_DEPTH=0.0025
SPARKS_OVERLOAD_LAG=0.7
TRACES_LIGHTS_POS=0.655593, 0.825127, -2.15187

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
HAZARDS_G_THRESHOLD=1.5
SPEED_FIX=1
SPEED_LAG=0.92
SPEED_LIMIT=

[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

[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.5   ; 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. 300
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0

[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend
MESHES = bmwx7_steer1
IS_TRANSPARENT = 0

[Material_Glass] ; Windows
Materials = ExtWindows
FilmIOR = 2.3
ExtraLightsAdjustment = .2
BrightnessAdjustment = .3
Refraction = 1
Desaturate = 00
ThicknessMult = 1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1
MaskPassColor=20,20,20

[Material_PhotoelasticGlass] ; Headlights
Materials = ExtGlass
FilmIOR = 2.0
PhotoelasticityMult = 0.8  ; doesn’t look good if too high
ThicknessMult = 1.0
BrightnessAdjustment = 0.3
ExtraLightsAdjustment = 0.35
; Ideally, there would be a texture for that, but we’re not going to draw
; all those textures for Kunos cars, so here are some parameters for perlin noise
; instead
PhotoelasticityBaseScale = 3.5     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.328  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.0  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.0

[WIPERS] ; Wiper Shake 
FRONT_0= 
FRONT_1= 
REAR_0= 
WIND_THRESHOLDS_KMH = 150, 350 ; 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 


------------------------------- VRAY IMPRO -------------------------------------

[EXTRA_FX_0]
MASK_GBUFFER= glasslights , Glassbuyllshit


[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=70,80,100,0.2
DIFFUSE_CONCENTRATION=0.7
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.5
LAG=0.6
FADE_AT=0.0
FADE_SMOOTH=53
MIRROR=0.632, 0.0, 0
POSITION=0.0, 0.856, 1.95
DIRECTION=-1.0, 0.0, 10.0
RANGE=0.42
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=3
SPOT=80
SPOT_SHARPNESS=0.000

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=70,80,100,.6
DIFFUSE_CONCENTRATION=0.7
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.5
LAG=0.6
FADE_AT=0.0
FADE_SMOOTH=53
MIRROR=0.75, 0.0, 0
POSITION=0.0, 0.820, 1.79
DIRECTION=1.0, 3.0, 10.0
RANGE=0.52
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=8
SPOT=80
SPOT_SHARPNESS=0.000


----------------------------------------- EMISSIVES ------------------------------------------------------
[EMISSIVE_LIGHT_...] ; Lowbeam 1 
NAME=idle_lights , glasslights.001
COLOR=80,100,120,4
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 1 
NAME=int_foglights
COLOR=80,100,120,.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=highbeam.001 , highbeam , highbeam.003 , highbeam.004
COLOR=80,100,120,3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_REVERSE_...]
NAME= int_rev_lights
COLOR=70, 70, 80,0.1
LAG=0.7
SIMULATE_HEATING=3
CAST_LIGHT=1
CHANNEL = 0
RESOLUTION_MULT = 4

[EMISSIVE_LIGHT_...] ; DRL Taillights - Colour MUST MATCH "50,2,-10"
NAME=tail_idle, int_idle, led_bulbe
COLOR=50, 2, 0,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] ; Emergency Flash
NAME=brakelights
COLOR=250, 0, -10 , 8
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR =50, 2, -10, 50 
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[EMISSIVE_LIGHT_...] ; Navigation Light
NAME= bmwx7_dash , Interior_SUB4 , Interior003_001_001
COLOR=2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Buttons Light
NAME=bmwx7_emission, bmwx7_emission.001, Interiorx7x7x7x.012, Object001
COLOR=2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[CustomEmissiveMulti]
Meshes = cluster_warning
Resolution = 812, 812
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "0, 10,0 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "0, 10,0 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "327, 439", Size = "80, 47", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "326, 355", Size = "79, 60", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "501, 349", Size = "82, 71", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "0, 0, 80",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "0, 80, 0",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "60, 30, 0",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "60, 30, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "680, 438", Size = "66, 63", Color = "60, 30, 0", InputThreshold = 39, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 
;;;;;;;;; Light Effects Config / By TGN Modding | Nell ;;;;;;;;; 
[SelfLight_Headlights] ; Lowbeam Selflighting
MIRROR = 0.0 ; X Position
DIRECTION = 0, 0,1
POSITION = 0, 0.0, 0.0
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = 
SPOT_SHARPNESS =0.0
SPOT = 60
COLOR=130,120,120,2
SPECULAR_MULT = 1
RANGE = 0.4

[LIGHT_HEADLIGHT_...]
BIND_TO_HEADLIGHTS=1
COLOR=10,10,12,2
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=1
LAG=0.9
FADE_AT=90
FADE_SMOOTH=20
MIRROR=0.66, 0, 0
POSITION=0.0, 0.883, 2.506
DIRECTION=0, 0, 1
RANGE=100
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=50
SPOT_SHARPNESS=0.1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.1
LOWBEAM_RANGE_MAX=40
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4

[LIGHT_BRAKE_...] ; Brakelights Both DRL/Brakelights are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -.5, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.596
MIRROR_DIRECTION=0
POSITION=0.06, 0.609, -1.99
RANGE=7
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.135, 0.135, 0.135
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_REVERSE_...] ; Reverse Lights
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.389
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0, 0.612, -2.07
RANGE=4
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
-------------- HEADUNIT --------------

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]e
Meshes = bmwx7_dash
Resolution = 650, 410   ; texture resolution
Size = 640, 350           ; size of the screen area
Offset = 5, 20       ; left top corner of screen area
Scale = 2            ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.1, -2.4  ; position of rear view camera
REFRESH_RATE = 144
aftermarketComponent = 1

------------------------- ANIMS-------------------------------

[ANIMATION_...]
BIND_TO_EXTRA_A=1
FILE = window_driver.ksanim
TIME = 6
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0

[ANIMATION_...]
BIND_TO_EXTRA_B=1
FILE = window_passenger.ksanim
TIME = 6
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0

------------------------- 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.5   ; 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.080
DISC_RADIUS = 0.310
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0

-----------------PLATELIGHT------------------------

[EMISSIVE_LIGHT_...]
NAME=platelight
COLOR=200, 200, 250, 1
OFF_COLOR=0,0,0
CAST_LIGHT=1
LAG = 0.8
CHANNEL = 0

[LIGHT_LICENSEPLATE]
MESHES=numplate_001_001
OFFSET=0.0, 0.02, -0.0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.15
SPOT=190
SPOT_SHARPNESS=0.02
COLOR=10,10,10,2
MIRROR=0, 0, 0
FALLBACK_EMISSIVE=2, 2 , 1.8, 3
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=ONE_ON_TOP
FADE_AT=180
FADE_SMOOTH=1
ACTIVE=1
AFFECTS_TRACK=1

-----------------TURNSIGNALS------------------------

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= turn_FL
COLOR=200, 40, 2, 4
LAG=0.7
BLINK_FREQENCY_HZ=1.4  
SIMULATE_HEATING=1
LOCATION=FRONT


[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= turn_RL
COLOR=200, 40, 2, 1
LAG=0.7
BLINK_FREQENCY_HZ=1.4 
SIMULATE_HEATING=0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= turn_RR
COLOR=200, 40, 2, 1
LAG=0.7
BLINK_FREQENCY_HZ=1.4  
SIMULATE_HEATING=1
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= turn_FR
COLOR=200, 40, 2, 4
LAG=0.7
BLINK_FREQENCY_HZ=1.4 
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Mid Right Turnsignal
NAME=mid_turn_RIGHT
COLOR=200, 40, 2, 4
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Mid Left Turnsignal
NAME=mid_turn_LEFT
COLOR=200, 40, 2, 4
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

------------------------- EXHAUST -------------------------------

[PARTICLES_FX_EXHAUST_0]
POSITION=-0.692,0.407,-2.3
DIRECTION=0.67,-0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_1]
POSITION=-0.597,0.407,-2.33
DIRECTION=0.67,-0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_2]
POSITION=0.625,0.407,-2.30
DIRECTION=0.67,-0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_3]
POSITION=0.721,0.407,-2.28
DIRECTION=0.67,-0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100


[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.1 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=0.7 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.8 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0 ; delay after throttle lift
DISCHARGE_DURATION=5 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=0.5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7900 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=3000 ; 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=70 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=0.5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=0.5 ; flame size
LIMITER_RPM_THRESHOLD=7500 ; limiter flames will not shoot below this rpm


------------------------------------- EMISSIVES TURN SIGNALS CAR LIGHTS ROAD  ------------------


[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.71, 0, 10
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.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

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.71, 0, 10
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

------------------------------- REFRACTIONS ---------------------------

[REFRACTING_HEADLIGHT_0]
SURFACE = tail_idle
INSIDE = int_idle, led_bulbe
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.001000
AMBIENT_MULT = 0.500000
BASE_EMISSIVE_K = 0.110000
BOUNCED_BACK_MULT = 0.690000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = -0.100000
CUSTOM_BULB_0 = 0.255000,0.500000,0.345000,0.000000
CUSTOM_BULB_1 = 0.755000,0.500000,0.345000,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 = 2.540000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.962978,0.009427,0.269513
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.520000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 308.000000
F0 = 0.470000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 0.400000
INNER_SPECULAR_EXP = 581.000000
IOR = 1.540000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000006,-0.003445,0.010537
MIRROR_POS = 0.008907,1.020950,-2.440384
NM_SHARE_EXT = 0.260000
NM_SHARE_INT = 0.590000
ORIGIN = 0.727215,0.618156,-2.421959
RADIUS = 1.000000
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.900000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1




[REFRACTING_HEADLIGHT_1]
SURFACE = revlights
INSIDE = int_rev_lights, bulbe_revlights
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.500000
BASE_EMISSIVE_K = 0.000000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = -0.100000
CUSTOM_BULB_0 = 0.255000,0.500000,0.345000,0.000000
CUSTOM_BULB_1 = 0.755000,0.500000,0.345000,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 = 2.540000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.535174,-0.084805,0.840474
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 30.139999
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 40.000000
F0 = 1.000000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 0.400000
INNER_SPECULAR_EXP = 581.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.998543,0.006760,-0.055054
MIRROR_POS = -0.055367,0.981705,-2.388906
NM_SHARE_EXT = 0.260000
NM_SHARE_INT = 0.590000
ORIGIN = 0.773014,1.078705,-2.475685
RADIUS = 0.063100
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_2]
SURFACE = turn_RL
INSIDE = int_RL
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.002000
AMBIENT_MULT = 0.500000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = -0.100000
CUSTOM_BULB_0 = 0.255000,0.500000,0.345000,0.000000
CUSTOM_BULB_1 = 0.755000,0.500000,0.345000,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 = 2.540000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.153497,-0.258100,0.953846
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 10.690000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 40.000000
F0 = 1.000000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.035500
INNER_SPECULAR = 0.400000
INNER_SPECULAR_EXP = 581.000000
IOR = 1.270000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.998169,-0.044287,0.043224
MIRROR_POS = -0.055386,0.981857,-2.388962
NM_SHARE_EXT = 0.260000
NM_SHARE_INT = 0.590000
ORIGIN = 0.619057,1.032021,-2.562813
RADIUS = 0.338100
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1





[REFRACTING_HEADLIGHT_3]
SURFACE = turn_RR
INSIDE = bmwx7_tailgatelight_R.001
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.002000
AMBIENT_MULT = 0.500000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 1.000000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = -0.100000
CUSTOM_BULB_0 = 0.255000,0.500000,0.345000,0.000000
CUSTOM_BULB_1 = 0.755000,0.500000,0.345000,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 = 2.540000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.224539,-0.129391,0.965836
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 10.690000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 40.000000
F0 = 1.000000
GLASS_COLOR = 1.000000,0.020756,0.000000
GLASS_EMISSIVE_MULT = 0.000000
GLASS_EXTRA_THICKNESS = 0.035500
INNER_SPECULAR = 0.400000
INNER_SPECULAR_EXP = 581.000000
IOR = 1.270000
IOR_FLYOUT_FLAT = 0.540000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -0.999592,0.015063,0.027719
MIRROR_POS = -0.055429,0.981766,-2.388905
NM_SHARE_EXT = 0.260000
NM_SHARE_INT = 0.590000
ORIGIN = -0.740692,0.991043,-2.675941
RADIUS = 0.337100
RAYTRACE_STEP_INCREASE = 1.000000
RAYTRACE_STEP_START = 0.000000
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_4]
SURFACE=idle_headlights
INSIDE= idle_lights
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.028000
AMBIENT_MULT = 0.760000
BASE_EMISSIVE_K = 0.320000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.500000
BULB_REFLECTION_K = 0.520000
CUSTOM_BULB_0 = 0.478000,0.500000,0.076000,0.000000
CUSTOM_BULB_1 = 0.000000,0.500000,0.022000,1.000000
CUSTOM_BULB_2 = 1.000000,0.500000,0.011000,1.000000
CUSTOM_BULB_3 = 0.500000,0.359000,1.000000,0.022000
DIFFUSE_MAP_FILTER_MULT = 1.030000
DIFFUSE_MAP_MULT = 0.553000
DIRECTION = -0.171611,0.020316,-0.984962
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.780000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 707.000000
F0 = 0.550000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.230000
GLASS_EXTRA_THICKNESS = 0.011400
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 57.000000
IOR = 1.000000
IOR_FLYOUT_FLAT = 0.170000
LOD_BIAS = -0.200000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = 0.999340,-0.001358,-0.037137
MIRROR_POS = 0.009094,0.606040,2.272880
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 0.550000
ORIGIN = 0.777391,0.832214,2.588833
RADIUS = 0.000100
REFLECTIVENESS_DIFFUSE_MULT = 41.299999
REFLECTIVENESS_MULT = 5.000000
REFLECTIVE_GAMMA = 1.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.290000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1


[REFRACTING_HEADLIGHT_5]
SURFACE=foglights
INSIDE= int_foglights, bulbe_foglights
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.014000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.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 = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.069751,-0.000266,-0.997572
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 5.400000
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 = 1.820000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000001,0.000000,-0.000001
MIRROR_POS = 0.000139,0.623489,2.465965
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.600000
ORIGIN = 0.708687,0.608429,2.549709
RADIUS = 0.107600
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.300000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER = bmwx7_bumper_F_a.005


[EMISSIVE_LIGHT_...] Lower Grille Inner
NAME=Starlightsforchriscuzhesexy
COLOR=128,0,128,.01
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] Lower Grille Inner
NAME=asshole
COLOR=128,0,128,0.017
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] Lower Grille Inner
NAME=ambient_lightingx7
COLOR=255,0,255,2
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=128,0,128,0.1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0, 1.9, -0.5
DIRECTION=0,-1,0
RANGE=1.55
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=160
SPOT_SHARPNESS=0


[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=128,0,128,0.1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.372, 1.05, 0.663
DIRECTION=0,0,-1
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=60
SPOT_SHARPNESS=0

------------------------------- CSP Wipers (Ram) -------------------------------------

[ANIMATED_WIPER_0]
ANIMATION_CURVE_EXP = 2.200000
ANIMATION_CURVE_X = 0.300000
DEBUG = 0
MESHES = wiper_left, wiper_right
UNDERLYING_SURFACE = bmwx7_tailgateglass.003
GROUP_0 = 'wiper_left@A=*'
GROUP_0_ANGLE_TO = 81.000000
GROUP_0_AXIS = -0.000458, -0.532084, 0.846691
GROUP_0_AXIS_OFFSET_0 = 0.000229, -0.485744, 0.874101
GROUP_0_AXIS_OFFSET_1 = 0.000229, -0.485744, 0.874101
GROUP_0_BENDING_FROM = -0.015000
GROUP_0_BENDING_TO = 0.185000
GROUP_0_END = -0.127819, -0.945071, 1.178693
GROUP_0_PIVOT = 0.672737, -0.889435, 1.118042
GROUP_0_RUBBER_FROM = 0.528065, -0.861588, 1.140213
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.015900
GROUP_0_RUBBER_OFFSET_EXP = 3.000000
GROUP_0_RUBBER_TO = -0.123177, -0.939499, 1.173218
GROUP_0_SCALE_LUT = '(|0.010=0.845|0.939=0.845|)'
GROUP_0_BASE_AXIS = -0.000458, -0.532084, 0.846691
GROUP_0_BASE_PIVOT = 0.672737, -0.889435, 1.118042
GROUP_1 = 'wiper_right@A=2'
GROUP_1_ANGLE_FROM = -1.000000
GROUP_1_ANGLE_TO = 82.599998
GROUP_1_ARM = 'wiper_right@A=1'
GROUP_1_AXIS = -0.001853, -0.640002, 0.768371
GROUP_1_AXIS_OFFSET_0 = -0.000266, -0.656715, 0.754139
GROUP_1_AXIS_OFFSET_1 = -0.000266, -0.656715, 0.754139
GROUP_1_BENDING_FROM = -0.100000
GROUP_1_BENDING_TO = 0.100000
GROUP_1_END = -0.676794, -0.777252, 1.207400
GROUP_1_PIVOT = 0.215759, -1.003664, 1.119017
GROUP_1_RUBBER_FROM = -0.237549, -0.886345, 1.178867
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.019000
GROUP_1_RUBBER_OFFSET_EXP = 3.000000
GROUP_1_RUBBER_TO = -0.679176, -0.776188, 1.191097
GROUP_1_SCALE_LUT = '(|0.001=0.980|0.977=0.749|)'
GROUP_1_BASE_AXIS = -0.001853, -0.640002, 0.768371
GROUP_1_BASE_PIVOT = 0.215759, -1.003664, 1.119017

[BASIC]
DISABLE_WIPER_KSANIM = 1























