[BASIC]
BOUNDING_SPHERE_RADIUS=3
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
EXTERIOR_RANGE_FROM=1
EXTERIOR_RANGE_TO=1.1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.1
LIGHT_DAMAGE_SPEED_MAX=90
LIGHT_DAMAGE_SPEED_MIN=40
TURNING_LIGHTS_REPEAT=1

[Material_Glass]
Materials = windshield
FilmIOR = 3.5

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

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

[LIGHT_HEADLIGHT_0]
SELF_LIGHTNING=
POSITION=0, 0.5, 2.05
MIRROR=0.64
SPOT=56.0
SPOT_EDGE=0.04, 0.04, 0.04
SPOT_EDGE_SHARPNESS=10.0
SECOND_SPOT=100

[LIGHT_REVERSE_0]
AFFECTS_TRACK=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=0
FADE_AT=50
FADE_SMOOTH=0.5
INTERIOR_ONLY=0
MIRROR=0
OFF_FADE_MULT=0.3
OFF_MIRROR=0
OFF_MULT=0.1
OFF_POSITION=0, 0.757851, -1.84191
OFF_RANGE_MULT=0.5
POSITION=0, 0.757851, -1.84191
RANGE=2
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=1
SPOT=150
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_BRAKE_0]
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=1
FADE_AT=50
FADE_SMOOTH=3
INTERIOR_ONLY=0
OFF_FADE_MULT=0.37
OFF_MIRROR=0.64
POSITION=0, 0.75, -1.9
OFF_RANGE_MULT=0.55
RANGE=2
SPECULAR_MULT=1

[LIGHT_EXTRA_0]
BIND_TO_BRAKELIGHTS=1
BIND_TO_HEADLIGHTS=0
COLOR=50, 50, 0, 3
DIRECTION=0,0,-1
EXTERIOR_ONLY=0
FADE_AT=7
FADE_SMOOTH=2
INTERIOR_ONLY=0
MIRROR=0
OFF_FADE_MULT=0
OFF_MULT=0
OFF_RANGE_MULT=0.5
POSITION=0.0, 1.00, -0.40
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.010
SELF_LIGHTNING=1
SPOT=0
SPOT_EDGE=0, 0, 0
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0

[LIGHT_EXTRA_1]
BIND_TO_HEADLIGHTS=1
COLOR=1, 1, 1, 1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=1
MIRROR=0
INTERIOR_ONLY=0
POSITION=0.0, 1.00, -0.40
RANGE=1
RANGE_GRADIENT_OFFSET=0.010
SELF_LIGHTNING=1

[LIGHT_FLAMES]
CAR_BRIGHTNESS_MULT=0,5
OFFSET_DIR=0,15
OFFSET_POS=0,25
SPOT=300

[SMART_MIRROR]
VISIBLE_FIRSTPERSON=RIGHT

[LIGHT_REVERSE_0]
OFF_MULT=0.1

[EMISSIVE_REVERSE_0]
NAME=Object043
COLOR=500, 500, 500
LAG=0.8
SIMULATE_HEATING=0.3

[ANIMATION_0]
FILE=lights_l.ksanim
TIME= 0.7
BIND_TO_EXTRA_A=1

[ANIMATION_1]
FILE=lights_r.ksanim
TIME= 0.7
BIND_TO_EXTRA_B=1

[ANIMATION_2]
FILE=car_Door_R.ksanim
TIME= 3
BIND_TO_EXTRA_C=1

[ANIMATION_3]
FILE=car_Door_L.ksanim
TIME= 3
BIND_TO_EXTRA_D=1

[ANIMATION_4]
FILE=lights.ksanim
TIME= 0.7
BIND_TO_EXTRA_E=1

[EMISSIVE_EXTRA_F_0] 
BIND_TO_EXTRA_F=1
BIND_TO_HEADLIGHTS=0
NAME = softtop,Object171,softtop_plastic,softtop_glass
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 0.01
SIMULATE_HEATING = 0
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_EXTRA_F_1] 
BIND_TO_EXTRA_F=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 0.01
SIMULATE_HEATING = 0
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[REFRACTING_HEADLIGHT__0]
SURFACE = headlight_high_glass_R
INSIDE = FRONT_LIGHT_BEAM_R,headlight_high_bulb_R,headlight_high_chrome_R
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.02
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.005
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -0.495,0.5893613,1.6119609
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = -0.45090246,0.743,1.6861264
RADIUS = 0.08381637
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


[REFRACTING_HEADLIGHT__1]
SURFACE = headlight_high_glass
INSIDE = FRONT_LIGHT_BEAM,headlight_high_bulb,headlight_high_chrome
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.02
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.005
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 0.4947815,0.5893613,1.6119609
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = 0.53887904,0.743,1.6861264
RADIUS = 0.08381637
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_2]
SURFACE = headlight_low_glass
INSIDE = headlight_low_chrome, headlight small inside, headlight_low_bulb, drl
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.9
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.71
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = 2
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 0,0.54556215,1.8300164
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = 0.4773566,0.54556215,1.8860677
RADIUS = 0.14926739
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_3]
SURFACE = brake04
INSIDE = Object043
SYNC_EMISSIVE_AUTO = 1

[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_LEFT_1
AFFECTS_TRACK=11
COLOR=12, 5, 0, 1.2
DIRECTION=0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_LEFT_2]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=0.6, -1, 0.4
OFF_MULT=0.1
RANGE=0.9
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=-0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_RIGHT_1]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=-0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_RIGHT_2]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=-0.6, -1, 0.4
OFF_MULT=0.1
RANGE=0.9
SPOT=90
SPOT_SHARPNESS=0.550.55

[EMISSIVE_TURNSIGNAL_LEFT_0]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,2,0, 5
LAG=0.50.5
LOCATION=FRONT
NAME=Object
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_LEFT_1]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,2,0, 5
LAG=0.50.5
LOCATION=REAR
NAME=Object179
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_LEFT_2]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,3,0, 13
LAG=0.50.5
LOCATION=REAR
NAME=blinker_lr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,2,0, 5
LAG=0.50.5
LOCATION=FRONT
NAME=Object175
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_1]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,2,0, 5
LAG=0.50.5
LOCATION=REAR
NAME=Object183
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,3,0, 13
LAG=0.50.5
LOCATION=REAR
NAME=blinker_rr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_4]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=5,3,0, 3 
LAG=0.50.5
LOCATION=REAR
NAME=blinker_rr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_HIGHBEAM_0]   
NAME=EXT_HLHighbeams
COLOR=135,220,350,0.15
CAST_LIGHT	=	1
LOCATION=FRONT

[INSTRUMENTS]
FUEL_SPLASH_MULT=-0.055
SPEED_LAG=0.2
SPEED_LIMIT=180

[ODOMETER_TRIP]
NAME=gauges_numbers
FONT=odometer_font
BLEND_MODE=0
POSITION=118, 333
SIZE=106, 24
DIGIT_WIDTH=12
COUNT=4
BACKGROUND=0.08, 0.08, 0.09
COLOR=1, 1, 1
LAST_DIGIT_COLOR=0, 0, 0
LAST_DIGIT_BACKGROUND=1, 1, 1
LAST_DIGIT_BACKGROUND_LOCATION=82,18
JITTER=0.2
MOVEMENT_INTERVAL=1

[MODEL_REPLACEMENT_0]
FILE=mazda_miata.kn5
INSERT=miata_lampen_zusatz2.kn5
INSERT_AFTER=CINTURE_ON

[EMISSIVE_BATTERY_0]
NAME=box004
COLOR=12, 0, 0

[EMISSIVE_AIRBAG_0]
NAME=box004_010
COLOR=12, 0, 0

[EMISSIVE_LIGHTADJ_0]
NAME=box004_008
COLOR=10, 10, 10

[EMISSIVE_SEATBELTS_0]
NAME=box004_006
COLOR=0, 10, 0

[EMISSIVE_STALLED_0]
NAME=box004_004
COLOR=10, 10, 10

[EMISSIVE_HANDBRAKE_1]
NAME=box004_002
COLOR=12, 0, 0

[EMISSIVE_LIGHT_0]
NAME=box004_012
COLOR=0, 0, 16
LAG=0
SIMULATE_HEATING=0
LOCATION=NONE

[INCLUDE]
INCLUDE=common/no_popup_lights.ini, common/dev_material_carpaint.ini, common/dev_material_interior.ini

[DEFAULTS]
CarPaintMaterial = ext_chassis
CarPaintVersionAware = 4

; Pearlescent car paint, with specular which might be of a different tint
[TEMPLATE: Material_CarPaint_Pearl EXTENDS Material_CarPaint]
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

[Material_Aluminium_v2]
Materials = equip_rim, ext_exhaust

[Material_Metal_v2]
Materials = equip_spoke
Metalness = 0.7
Reflectance = 0.3
Brightness = 0.3
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 1

[LIGHT_LICENSEPLATE]
ACTIVE=1
MESHES=RearPlate
COLOR=0.8, 0.7, 0.6, 2.5
FADE_AT=0
FADE_SMOOTH=20
FALLBACK_EMISSIVE=1, 1, 1, 1
LAYOUT=TWO_ON_TOP
OFFSET=0, 0.02, -0.03
RANGE=0.30
RANGE_GRADIENT_OFFSET=0.5
SPOT=170
SPOT_SHARPNESS=0.8

[EMISSIVE_HIGHBEAM_0]   
NAME=drl
COLOR=135,220,350,0.15
CAST_LIGHT	=	1
LOCATION=FRONT
