[INCLUDE]
INCLUDE = common/no_popup_lights.ini

[BASIC]
IS_LOW_BEAM_AVAILABLE = 1

[DATA] 
DISABLE_LIGHTSINI = 0

[BOUNCED_INTERIOR_LIGHT]
MULT = 1

[LIGHTING]
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT = 0.04
INTERIOR_FAKE_UPPER_SHADOW_FADE = 0.05
INTERIOR_FAKE_SHADOW_OPACITY = 0.9
INTERIOR_FAKE_SHADOW_HEIGHT = -0.4
INTERIOR_FAKE_SHADOW_FADE = 0.5
EMISSIVE_PARKINGLIGHTS_MULT = 1.5
EMISSIVE_BRAKELIGHTS_MULT = 2.5

[LIGHT_EXTRA_0]
BIND_TO_BRAKELIGHTS = 0
BIND_TO_HEADLIGHTS = 1
COLOR = 1, 0.2, 0.2 10
LINE_FROM = -0.345,0.0770.5
LINE_TO = -0.385,0.77,0.5
POSITION = -0.365, 0.715, 0.445
DIRECTION = 0,0,-1
INTERIOR_ONLY = 1
EXTERIOR_ONLY = 0
FADE_AT = 7
FADE_SMOOTH = 2
MIRROR = 0
RANGE = 0.25
RANGE_GRADIENT_OFFSET = 0.5
DIFFUSE_CONCENTRATION = 0.8
SPECULAR_MULT = 0
SPOT = 0

[LIGHT_HEADLIGHTS]
BOUND_TO =1

; Extra A lighting in front
[LIGHT_EXTRA_0_EXTRA_A_FRONT]
BIND_TO_EXTRA_A=1
LAG=0.9
COLOR=10, 10, 10, 0.5    ; just a tiny bit of light
NOT_WITH_HEADLIGHTS=1  ; turn off when headlights are enabled, to save FPS
POSITION=0, 0.16, 2.0
MIRROR=0.64
MIRROR_DIRECTION=1
DIRECTION=0, 0, 1
AFFECTS_TRACK=1
SELF_LIGHTNING = 0
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
SPECULAR_MULT = 1
DIFFUSE_CONCENTRATION = 0.6
RANGE_GRADIENT_OFFSET = 0
SPOT=140
SPOT_SHARPNESS=0.0
FADE_AT=10
FADE_SMOOTH=5
RANGE=4

[EMISSIVE_LIGHT_0_HEADLIGHTS]
NAME = EM_LENS
COLOR = 120, 110, 115, 10
LAG = 0.0
SIMULATE_HEATING = 0
LOCATION = FRONT
ACT_AS_HEADLIGHTS = 1

[EMISSIVE_LIGHT_0_HEADLIGHTS_GLASS]
NAME = EM_LENSGLASS
COLOR = 90, 80, 85, 0.5
LAG = 0.0
SIMULATE_HEATING = 0
LOCATION = FRONT
ACT_AS_HEADLIGHTS = 0

[SHADER_REPLACEMENT_...]
MESHES = EM_GLOW2
CULL_MODE = FRONT
DEPTH_MODE = DEPTH_LESSEQUAL_NOWRITE

; ideally, that should’ve been done with priority in ksEditor
IS_TRANSPARENT = 0
MOVE_MESH_BEHIND = headlight_plastic

[EMISSIVE_HIGHBEAM_0]
NAME = EM_GLOW2
COLOR = 120, 110, 100, 6
FALLBACK_HEADLIGHTS_COLOR = 120, 110, 100, 0.4
LAG = 0.0
SIMULATE_HEATING = 0
LOCATION = FRONT
ACT_AS_HEADLIGHTS = 1

[EMISSIVE_HIGHBEAM_1]
NAME = EM_GLOWGLASS
COLOR = 80, 70, 60, 0.5
FALLBACK_HEADLIGHTS_COLOR = 80, 70, 60, 0
LAG = 0.0
SIMULATE_HEATING = 0
LOCATION = FRONT
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_EXTRA_A_0]
NAME = EM_FOGL
COLOR = 120, 110, 120
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = FRONT
CLUSTER_THRESHOLD = 0.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_EXTRA_A_1]
NAME = EM_FOGLGLASS
COLOR = 50, 40, 45
SIMULATE_HEATING = 0
LOCATION = FRONT
CLUSTER_THRESHOLD = 0.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_BRAKE_0]
NAME = EM_REARBRL
COLOR = 10, 10, 10, 4
FALLBACK_HEADLIGHTS_COLOR = 8, 8, 8, 4
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = REAR
TOGGLE_VISIBILITY = 1

[EMISSIVE_BRAKE_1]
NAME = EM_REARBRLGLASS
COLOR = 10, 10, 10, 2 
FALLBACK_HEADLIGHTS_COLOR = 10, 8, 8
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = REAR
TOGGLE_VISIBILITY = 1

[EMISSIVE_BRAKE_2]
NAME = taillight_tail_light_lod0
COLOR = 10, 3, 0, 2 
FALLBACK_HEADLIGHTS_COLOR = 10, 4.5, 0
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = REAR
TOGGLE_VISIBILITY = 0

[EMISSIVE_BRAKE_3]
NAME = EM_GLASSBRSPOILER
COLOR = 10, 15, 10, 3
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = REAR
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_0]
NAME = plate_lamp
BIND_AS = LICENSE_PLATE
COLOR = 5,5, 4.5, 1
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = NONE

[EMISSIVE_LIGHT_1]
NAME = ODO
COLOR = 4,4,6.5
LAG = 0.3

[EMISSIVE_LIGHT_3]
NAME = bumperR_reflector
COLOR = 5,4,4
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = REAR

[EMISSIVE_LIGHT_4]
NAME = EM_DASH
COLOR = 7,7,7
LAG = 0.7
SIMULATE_HEATING = 0
LOCATION = NONE

[EMISSIVE_LIGHT_5]
NAME = interior_needle_fuel, interior_needle_temp, interior_needle_tach, interior_needle_speed
COLOR = 10,10,10
LAG = 0.5
SIMULATE_HEATING = 0
LOCATION = NONE

[EMISSIVE_LIGHT_6]
NAME = interior_glow_gauges
COLOR = 20,50,20
LAG = 0.5
SIMULATE_HEATING = 0
LOCATION = NONE

[EMISSIVE_LIGHT_7]
NAME = interior_glow_emissive
COLOR = 70,1.5,1
LAG = 0.5
SIMULATE_HEATING = 0
LOCATION = NONE

[EMISSIVE_HAZARD_0]
NAME = interior_glow_hazard
COLOR = 10, 1.3, 1.3  
LAG = 0.0
SIMULATE_HEATING = 0.0

[EMISSIVE_REVERSE_0]
NAME = EM_REVERSE
COLOR = 50, 50, 50, 1
LAG = 0.8
SIMULATE_HEATING = 0.0
TOGGLE_VISIBILITY = 1

[EMISSIVE_REVERSE_1]
NAME = EM_GLASSREVERSE
COLOR = 15, 15, 15
LAG = 0.8
SIMULATE_HEATING = 0.0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME = EM_FL_IND
COLOR = 120,70,10, 3
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = FRONT
CAST_LIGHT = 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME = EM_GLASSIND_FL
COLOR = 40, 40, 15, 1.5
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = FRONT
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME = EM_MIRL
COLOR = 60, 40, 0, 50
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = RIGHT
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME = EM_IND_RL
COLOR = 10, 5, 3, 10
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0 
LOCATION = REAR
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME = EM_RL_INDGLASS
COLOR = 10, 5, 3, 10 
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0 
LOCATION = REAR
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_LEFT_5]
NAME = glow_blinkers_left
COLOR = 0, 30, 0 
LAG = 0.7 
SIMULATE_HEATING = 0 
LOCATION = NONE

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME = EM_FR_IND
COLOR = 120,70,10, 10
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = FRONT
CAST_LIGHT = 1
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME = EM_GLASSIND_FR
COLOR = 40, 40, 15, 1.5 
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = FRONT
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME = EM_MIRR
COLOR = 60, 40, 0, 50
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = RIGHT
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME = EM_IND_RR
COLOR = 10, 5, 3, 10
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0 
LOCATION = REAR
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME = EM_RR_INDGLASS
COLOR = 10, 5, 3, 10 
LAG = 0.7
BLINK_FREQENCY_HZ = 1.4  
SIMULATE_HEATING = 0
LOCATION = REAR
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_5]
NAME = glow_blinkers_right
COLOR = 0, 30, 0 
LAG = 0.7
SIMULATE_HEATING = 0 
LOCATION = NONE

[LIGHT_LICENSEPLATE]
MESHES = R_plate
OFFSET = -0.02, 0.04, 0.0
RANGE = 0.4 ; def: 0.27
RANGE_GRADIENT_OFFSET = 0.3 ; def: 0.5
SPOT_SHARPNESS = 0.3 ; def: 0.9
COLOR = 4, 4, 4, 0.6
FALLBACK_EMISSIVE = 1, 1, 1, 0.9 ; def: 1
LAYOUT = TWO_ON_TOP
FADE_AT = 10
FADE_SMOOTH = 4

[EMISSIVE_HANDBRAKE_0]
NAME = handbrake_emessive
COLOR = 25, 1, 0
LAG = 0.0
SIMULATE_HEATING = 0.0
LOCATION = NONE

[EMISSIVE_TRACTIONCONTROL_0]
NAME = emessive_traction
COLOR = 0, 0, 0
OFF_COLOR = 24, 12, 1

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
NAME = emessive_traction_inaction
COLOR = 24, 12, 1
OFF_COLOR = 0, 0, 0

[EMISSIVE_ENGINE_DAMAGE_0]
NAME = interior_glow_check
COLOR = 24, 12, 1
OFF_COLOR = 0, 0, 0
ENGINE_LIFE_THRESHOLD = 10

[EMISSIVE_ENGINE_DAMAGE_1]
NAME=Warning_Oil
COLOR=30,3,5
ENGINE_LIFE_THRESHOLD=800
LAG=0.2

[EMISSIVE_ABS_0]
NAME = emessive_abs
COLOR = 0, 0, 0
OFF_COLOR = 24, 12, 1, 2

[EMISSIVE_BATTERY_0]
NAME=Warning_Bat
COLOR=30,3,5
LAG=0.2

[ODOMETER_MAIN]
NAME = ODO
FONT = digital_big
BLEND_MODE = 1
POSITION = 65, 75
ROTATION = 00
SCALE = 0.85,1.4
SIZE = 200, 50
DIGIT_WIDTH = 40
COLOR = 0, 0, 0
MOVEMENT_INTERVAL = 999

[BRAKEDISC_FX]
AMBIENT_MULT = 1.5
REFLECTION_MULT = 70
RIM_INTERNAL_RADIUS = 0.05
SIMPLIFY_NORMALS_K = 0.9
DISC_INTERNAL_RADIUS_SHARPNESS = 250

[BRAKEDISC_FX_FRONT]
DISC_INTERNAL_RADIUS = 0.112

[BRAKEDISC_FX_REAR]
DISC_INTERNAL_RADIUS = 0.112

[SHADOWED_WHEELS]
ANGLE = 16
WIDTH = 0.16
OPACITY = 1.0
EXTRA_AMBIENT_BRIGHTNESS = 0.1

[SHADOWED_TYRES]
ANGLE = 20
EXTRA_AMBIENT_BRIGHTNESS = 0.15
OFFSET = 0.01
WIDTH = 0.10
OPACITY = 1.0

[INSTRUMENTS]
SPEED_LAG = 0.9

[LIGHT_TURNSIGNAL_LEFT_0]
COLOR=1, 0.6, 0, 3
DIRECTION=1, 0, 1
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

[LIGHT_TURNSIGNAL_LEFT_1]
COLOR=1, 0.6, 0, 3
RANGE=1.6
DIRECTION=1, -1, 0
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

[LIGHT_TURNSIGNAL_LEFT_2]
COLOR=1, 0.6, 0, 3
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

[LIGHT_TURNSIGNAL_RIGHT_0]
COLOR=1, 0.6, 0, 3
DIRECTION=-1, 0, 1
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

[LIGHT_TURNSIGNAL_RIGHT_1]
COLOR=1, 0.6, 0, 3
RANGE=1.6
DIRECTION=-1, -1, 0
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

[LIGHT_TURNSIGNAL_RIGHT_2]
COLOR=1, 0.6, 0, 3
SPOT_SHARPNESS = 0
RANGE_GRADIENT_OFFSET = 0.2

; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = body
DisableDev = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 1.5
ColoredSpecular = 0.5
AmbientSpecularEXP = 3.5
BrightnessAdjustment = 0.8

; New glass
[INCLUDE: common/materials_glass.ini]
ExteriorGlassMaterials = window_ext, black_glass
ExteriorGlassHeadlightsMaterials = glass


