[INCLUDE: common/navigators.ini]
[Navigator_StyleModernLight]
Meshes = Meshpart55
Resolution = 580, 680
Offset = 0, 35
Size = 580, 570


[ANIMATION_0]
FILE=car_door_l.ksanim
TIME=1.5
BIND_TO_EXTRA_B=1


[ANIMATION_1]
FILE=dashboard.ksanim
TIME=1
BIND_TO_EXTRA_A=1
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=1
LOOP_WHILE_ACTIVE=0

[ANIMATION_2]
FILE=car_door_R.ksanim
TIME=1.5
BIND_TO_EXTRA_C=1

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

[Material_CarPaint_Metallic]
FresnelMax = 0.03
FresnelC = 0.01
FlakesK = 1.0
AmbientSpecular = 7
AmbientSpecularEXP = 2
BrightnessAdjustment = 0.3
SpecularBase = 0.9, 120
SpecularSun = 0.01, 10000
UseDiffuseAlphaAsMask = 1
UseMetallicReflections = 1
ClearCoatIOR = 3.3
SpecularMult = 1.0
ClearCoatThickness = 0.5

[INCLUDE: common/materials_glass.ini]
ExteriorGlassFilmedMaterials= 
ExteriorGlassTintedMaterials= 
ExteriorGlassHeadlightsMaterials = 
[Material_PhotoelasticGlass]
Meshes= 


[BRAKEDISC_FX]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 20  ; increase to make more lines
GLOW_OFFSET = 0.8      ; 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

; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.1, 0.2  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition

; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
LUMINOCITY_MASK = 0.01, 0.02  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.5, 0.3        ; everything looking away more than 50% is a deepening


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



[AUDIO_VOLUME]
BACKFIRE_EXT=1
BACKFIRE_INT=1
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=1
ENGINE_INT=1
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=1
TURBO=1
WIND=1

[EMISSIVE_LIGHT_...]
NAME=Meshpart55
COLOR=4,4,4
OFF_COLOR=4,4,4
LAG=0.8
SIMULATE_HEATING=0.6
CAST_LIGHT=1 
LOCATION=FRONT

[EMISSIVE_BRAKE_...]
NAME=p15_body_ext_SUB24_002
COLOR=70,0.5,0,5
FALLBACK_HEADLIGHTS_COLOR=70,0.5,0,2
LAG=0.7
SIMULATE_HEATING=0
CAST_LIGHT=1


[EMISSIVE_REVERSE_0]
NAME= p15_body_ext_SUB27_002
COLOR=100,100,100
LAG=0.6
SIMULATE_HEATING=0

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
MIRROR = 0.77
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.632, 1.76
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = p15_body_ext_SUB9_002
SPOT_SHARPNESS = 0.6
SPOT = 150
COLOR =14,14,19,5
SPECULAR_MULT = 0
RANGE = 0.35

[SelfLight_Headlights]
MIRROR = 0.85
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0, 0.646, 1.74
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = p15_body_ext_SUB9_002_001_001
SPOT_SHARPNESS = 0.6
SPOT = 150
COLOR =14,14,19,5
SPECULAR_MULT = 0
RANGE = 0.35

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = 0.752, 0.472, 2.04
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = p15_body_ext_SUB10_002_001
SPOT_SHARPNESS = 0.6
SPOT = 150
COLOR =14,14,19,5
SPECULAR_MULT = 0
RANGE = 0.5

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0.2, 0.8, 1.9
POSITION = -0.752, 0.472, 2.04
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 1
BOUND_TO = p15_body_ext_SUB10_002
SPOT_SHARPNESS = 0.6
SPOT = 150
COLOR =14,14,19,5
SPECULAR_MULT = 0
RANGE = 0.5

[EMISSIVE_HIGHBEAM_...]
NAME=p15_body_ext_SUB9_002_001_001
BOUND_TO= LOW_BEAM
COLOR=480,480,680 
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
LOCATION=MIDDLE

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME= p15_body_ext_SUB10_002_001
COLOR=200, 20, 0
OFF_COLOR=50,50,80
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=p15_body_ext_SUB24_002_002, p15_body_ext_SUB14_002_001
COLOR=200, 20, 0
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=MIDDLE

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=LED_TURNGLIGT_L
COLOR=3, 10, -3,3
OFF_COLOR=0,0,0
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=MIDDLE
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=p15_body_ext_SUB10_002
COLOR=200, 20, 0
OFF_COLOR=50,50,50
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=p15_body_ext_SUB24_002_001, p15_body_ext_SUB14_002
COLOR=200, 20, 0
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=MIDDLE

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=LED_TURNLIGHT_R
COLOR=-3, 10, -3,3
OFF_COLOR=0,0,0
LAG=0.5
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_HANDBRAKE_0]
NAME=handbreak
TOGGLE_VISIBILITY = 1
COLOR=40,4,4,1
LAG=0.2

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

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

[EMISSIVE_ABS_INACTION_0]
NAME=LED_ABS
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
OFF_COLOR=0
LAG=0.2

[EMISSIVE_HIGHBEAM_0]
NAME=LED_HIGHBEAM
ACT_AS_HEADLIGHTS=0
COLOR=0,0,30,2

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

[EMISSIVE_LIGHT_...]
NAME=LED_LOWBEAM, led_lights
COLOR=0, 10, -3,3
OFF_COLOR=0,0,0
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0


[EMISSIVE_LIGHT_...]
NAME=arrow_rpm01
COLOR=1,-0.1,-0.3
OFF_COLOR=1,1,1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0




[EMISSIVE_LIGHT_...]
NAME=gauge_large_001_001
COLOR=1,1,1
OFF_COLOR=1,1,1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0


[EMISSIVE_LIGHT_...]
NAME=gauge_large_002_001, gauges_small_001_001
COLOR=3,3,3
OFF_COLOR=1,1,1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0


[LIGHT_EXTRA_...]

COLOR=5,5,6,3
OFF_COLOR=2,2,3
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.323, 0.9, 0.7
DIRECTION=0,0,-1
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,5,6,0.5
OFF_COLOR=2,2,3
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.0085, 0.773, 0.552
DIRECTION=0,0,-1
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.3


[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES=numplate_001_001_001
OFFSET=0.02, 0.01, 0
RANGE=0.6
RANGE_GRADIENT_OFFSET=0.03
SPOT=230
SPOT_SHARPNESS=0.09
COLOR=5,4,4,2
OFF_COLOR=0,0,0
FALLBACK_EMISSIVE=5,4,4,2

;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = Glass_Window, Glass_Window3, Vehicle Exterior_mm_windows, Light_Glass
ThicknessMult = 2.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=2.0




;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = Carbon
BrightnessAdjustment = 0.5
ClearCoatF0 = 0.35
DetailScale = 5


[Material_Carbon]
Materials = Carbon4 
BrightnessAdjustment = 0.5
ClearCoatF0 = 0.35
DetailScale = 600

[INCLUDE: common/materials_carpaint.ini]
[Material_InteriorPBRDetail]
Materials = 
DetailNormalTexture = common/pbr_metal_satin.dds
DetailScale = 15
ApplyTilingFix = 1
BrightnessAdjustment = 0.25
DetailNormalPBRSmoothness = 0.8
DetailNormalPBRSmoothnessGamma = 1
Metalness = 0.2
Reflectance = 0.1
LocalReflectionsSharpness = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

[INCLUDE: common/materials_carpaint.ini]
[Material_Metal_v2]
Materials = Grey
BrightnessAdjustment = 0.1
DetailScale = 10
Metalness = 0.1
Reflectance = 0.10
LocalReflectionsSharpness = 0.1
DetailTexture = 1


[INCLUDE: common/materials_carpaint.ini]
[Material_Metal_v2]
Materials =
BrightnessAdjustment = 0.3
DetailScale = 0
Metalness = 0.9
Reflectance = 0.5
LocalReflectionsSharpness = 0.0			
DetailTexture = 0

[Material_Plastic_v2]
Materials = Wiper_Black, Radiator, EXT_PLATE_plastic, 
BrightnessAdjustment = 0.1
DetailScale = 100

;INTERIOR PBR
[INCLUDE: common/materials_interior.ini]
[Material_Metal_v2]
Materials = Kromme, Engine_2
BrightnessAdjustment = 0.2
DetailScale = 10
Metalness = 0.2
Reflectance = 0.2
LocalReflectionsSharpness = 0.9
DetailTexture = 1
[Material_Metal_v2]
Materials = 
BrightnessAdjustment = 0.2
DetailScale = 10
Metalness = 0.1
Reflectance = 0.1
LocalReflectionsSharpness = 0
DetailTexture = 1
[Material_Velvet]
Materials=Alcantara_2, Alcantara_1, leatherst
BrightnessAdjustment=0.15
[Material_Carpet]
Materials=Material #63

[Material_Carpet]
Materials=Material #63, cluster, cluster2, GPS, Material #36
BrightnessAdjustment=0.15

[Material_Leather]
Materials=leatherst, Material #63
BrightnessAdjustment=0.2
[Material_Plastic]
Materials=Engine_0, Wiper_Black, lpframe
BrightnessAdjustment = 0.050
[Material_Plastic]
Materials=Black
BrightnessAdjustment = 0.1
[Material_Plastic]
Materials=screen122
BrightnessAdjustment = 1
[Material_Plastic]
Materials=Misc_Black, Glass_Black
BrightnessAdjustment =0.3
[Material_Plastic]
Materials=Radiator
BrightnessAdjustment =0.05
[Material_Carbon]
Materials=Engine_Carbon, carbon2
DetailScale = 250
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.25
Reflectance = 0.2
[Material_Carbon]
Materials=Carbon3
DetailScale = 3
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.25
Reflectance = 0.2
[Material_Carbon]
Materials=Carbon1M_Material
DetailScale = 3
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.25
Reflectance = 0.2


[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_glass.ini]	

[INCLUDE: common/custom_emissive.ini]


[LIGHT_FLAME_0]
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1.8
CAR_RANGE_MULT=0.2
COLOR=5,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.8

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