[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE:pbr_int.ini]
[INCLUDE:pbr_ext.ini]



[Material_PhotoelasticGlass]
Meshes =  glassclear_headlights, glassDark_windshield, glassDark_windows_doors, glassDark_windows_side, glassDark_window_r
FilmIOR = 2.02
PhotoelasticityMult = 0.1  ; doesn’t look good if too high
ThicknessMult = 1.5
BrightnessAdjustment = 0.31
ExtraLightsAdjustment = 0.065
; 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 = 0.0005     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.0008  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.0000325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.024  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.02

[Material_PhotoelasticGlass]
Meshes = 
FilmIOR = 1.82
PhotoelasticityMult = 0.1  ; doesn’t look good if too high
ThicknessMult = 1.4
BrightnessAdjustment = 0.71
ExtraLightsAdjustment = 2
; 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 = 0.0005     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.0008  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.0000325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.024  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.01


[SelfLight_Headlights]
MIRROR = 0.731
DIRECTION = 0, 0.6,1
POSITION = 0.0, 0.598, 1.819
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = glassLens_headlights_bulbs
SPOT_SHARPNESS =0.0
SPOT = 140
COLOR =53,53,53,5
SPECULAR_MULT = 0
RANGE = 0.45

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = carpaint

[Material_CarPaint_Chameleon]
Skins = 10dark_red, 11bright, 12garnet
BaseSpecularColor = 0.94, 0.3, 0.00  ; specular color
FresnelMax = 0.5
FresnelC = 0.1
AmbientSpecular = 0.9
SpecularBase = 1, 50
SpecularSun = 4, 550
SunMultiplier = 2
BrightnessAdjustment = 0.6
ChameleonColorA = 0.05, 0.026, 0.05, 0.8
ChameleonColorB = 0.25,1.15,0.05, 0.9
ChameleonExponent = 0.7
ChameleonCenter = 0.2
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.2
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 1.8

[Material_CarPaint_Chameleon]
Skins = 8golden, 9cream, 
ChameleonColorA = #D1D1D1, 0.25
ChameleonColorB = #2BA5CE, 0.4
ChameleonExponent = 0.2
ChameleonCenter = 0.5
BrightnessAdjustment = 0.79
FlakesK = 1.8

[Material_CarPaint_Chameleon]
Skins =7dark_yellow, 1bwhite
ChameleonColorA = #D1D1D1, 0.25
ChameleonColorB = #2BA5CE, 0.4
ChameleonExponent = 0.2
ChameleonCenter = 0.2
BrightnessAdjustment = 0.89
FlakesK = 1.8

[Material_CarPaint_Chameleon]
Skins = 2black, 2black2
BaseSpecularColor = 0.14, 0.14, 0.14  ; specular color
FresnelMax = 1
FresnelC = 0.1
AmbientSpecular = 0.13
SpecularBase = 1, 150
SpecularSun = 1, 550
SunMultiplier = 1
BrightnessAdjustment = 0.4
ChameleonColorA = 0.25, 0.25, 0.25, 0.51
ChameleonColorB = 0.35,0.35,0.35, 0.9
ChameleonExponent = 0.7
ChameleonCenter = 0.08
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.02
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 4light_blue, 4light_blue2, 4light_blue3
BaseSpecularColor = 0.14, 0.14, 0.55  ; specular color
FresnelMax = 0.6
FresnelC = 0.15
AmbientSpecular = 0.13
SpecularBase = 1, 150
SpecularSun = 1, 550
SunMultiplier = 1
BrightnessAdjustment = 0.9
ChameleonColorA = 0.25, 0.25, 0.35, 0.51
ChameleonColorB = 0.35,0.35,0.55, 0.9
ChameleonExponent = 0.7
ChameleonCenter = 0.08
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.02
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 3dark_blue
BaseSpecularColor = 0.10, 0.10, 0.55  ; specular color
FresnelMax = 1
FresnelC = 0.1
AmbientSpecular = 2.13
SpecularBase = 5, 150
SpecularSun = 4, 550
SunMultiplier = 2
BrightnessAdjustment = 0.9
ChameleonColorA = 0.05, 0.05, 0.35, 0.151
ChameleonColorB = 0.15,0.15,0.55, 0.19
ChameleonExponent = 0.07
ChameleonCenter = 0.18
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.02
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 3dark_blue2,  3dark_blue3
BaseSpecularColor = 0.10, 0.30, 0.55  ; specular color
FresnelMax = 1
FresnelC = 0.05
AmbientSpecular = 2.13
SpecularBase = 1, 250
SpecularSun = 4, 150
SunMultiplier = 1
BrightnessAdjustment = 0.8
ChameleonColorA = 0.05, 0.15, 0.35, 0.151
ChameleonColorB = 0.15,0.15,0.55, 0.19
ChameleonExponent = 1.7
ChameleonCenter = 0.18
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.2
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 1white, 1white2
FresnelMax = 2
FresnelC = 0.1
ChameleonColorA = #D1D1D1, 0.05
ChameleonColorB = #2BA5CE, 0.04
ChameleonExponent = 0.2
ChameleonCenter = 0.2
BrightnessAdjustment = 1
FlakesK = 1.8

[Material_CarPaint_Chameleon]
Skins = 5dark_green, 6light_green
BaseSpecularColor = 0.02, 0.36, 0.05  ; specular color
FresnelMax = 2
FresnelC = 0.1
AmbientSpecular = 1.3
SpecularBase = 1, 150
SpecularSun = 114, 550
SunMultiplier = 2
BrightnessAdjustment = 0.9
ChameleonColorA = 0.12, 0.15, 0.12, 0.21
ChameleonColorB = 0.10,0.25,0.15, 0.4
ChameleonExponent = 0.7
ChameleonCenter = 0.19
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.052
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 6racing_green
BaseSpecularColor = 0.22, 0.76, 0.25  ; specular color
FresnelMax = 0.01
FresnelC = 0.001
AmbientSpecular = 3
SpecularBase = 0.05, 5
SpecularSun = 0.05, 5
SunMultiplier = 1
BrightnessAdjustment = 0.7
ChameleonColorA = 0.12, 0.15, 0.12, 0.21
ChameleonColorB = 0.10,0.25,0.15, 0.2
ChameleonExponent = 0.7
ChameleonCenter = 0.79
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.552
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 2.8

[Material_CarPaint_Chameleon]
Skins = 13gray, 14gray2, 13gray2
BaseSpecularColor = 0.34, 0.34, 0.40  ; specular color
FresnelMax = 2
FresnelC = 0.3
AmbientSpecular = 2.3
SpecularBase = 1, 150
SpecularSun = 11, 55
SunMultiplier = 2
BrightnessAdjustment = 1.1
ChameleonColorA = 0.15, 0.15, 0.25, 0.41
ChameleonColorB = 0.25,0.25,0.35, 0.4
ChameleonExponent = 1.7
ChameleonCenter = 0.8
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.02
ApplyTilingFix=1
UseDiffuseAlphaAsChameleonMask = 1
FlakesK = 3.8


[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

[Material_Metal_v2]
Materials= chrome_ao, rim_chrome, silver
BrightnessAdjustment = 0.8
DetailScale = 60
Metalness = 0.2
Reflectance = 0.02
LocalReflectionsSharpness = -2.6
ApplyTilingFix=1

[Material_Metal_v2]
Materials= 
BrightnessAdjustment = 0.3
DetailScale = 60
Metalness = 0.2
Reflectance = 0.02
LocalReflectionsSharpness = -2.6
ApplyTilingFix=1


[FAKE_SHADOWS_FX]
DISALLOW_REBAKING = 0 ; set to 1 to prevent CSP from generating new fake shadows (not recommended)
CUSTOM_SKIN_SHADOWS = 0 ; change to 1 to make CSP cache shadows for different skins separately (could be
                        ; used in single skin’s extension config), for skins with custom geometry
EXCLUDE_FROM_BAKING = material:win ; list of nodes and meshes to exclude from baking


[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=40 ; flame size
ANTILAG_INTERVAL_MAX=9000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DI3CHARGE_CHARGE_TIME=0.001 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=3.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=9000 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=5 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=80 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=8500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=5 ; flame size
LIMITER_RPM_THRESHOLD=2000 ; limiter flames will not shoot below this rpm

