[INCLUDE: common/materials_interior.ini] 

[INCLUDE: common/materials_glass.ini]
ExteriorGlassMaterials = GlassExt

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Body
[Material_CarPaint_Metallic]
FresnelMax = 0.5
FresnelC = 0.1
BrightnessAdjustment = 0.9
ClearCoatThickness = 0.1
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0


[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1    ; for turbo sound, “throttle” input, same as in engine event

[TYRES_FX_FRONT]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[SHADOWED_WHEELS]
ANGLE=12
OFFSET=0
OPACITY=0.8
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.3
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[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 = 1	           ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 25  ; increase to make more lines
GLOW_OFFSET = 0.4	; 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.11
DISC_RADIUS = 0.3
LUMINOCITY_MASK = 0.125, 0.3
RIM_HEIGHT = 0.15
WEAR_FORCE=0.5
--------------  REFRACTION  ---------------

[REFRACTING_HEADLIGHT_1]
SURFACE = Headlight_Glass2
INSIDE = Headlight_Light002, lamp2

ABSORPTION = 0.005
AMBIENT_MULT = 0
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.48
BULB_BLUR_K = 4
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.466, 0.5, 0.023, 0.061
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 = 0.23
DIFFUSE_MAP_MULT = 0
DIRECTION = 0.00522455, 0.706518, 0.707676
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 10.15
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 1
GLASS_COLOR = 0.626346, 0.626331, 0.626283
GLASS_EMISSIVE_MULT = 0.1
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 20
INNER_SPECULAR_EXP = 1000
IOR = 1.61
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.975636, -0.00017646, -0.000165403
MIRROR_POS = 0.0940552, 0.609413, 1.92371
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.5
ORIGIN = -0.0200195, -0.340843, -0.369797
RADIUS = 0.1034
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.61
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO=1
RELATIVE_TO=PARENTS_PARENT

[REFRACTING_HEADLIGHT_2]
SURFACE = Headlight_Glass1
INSIDE = Headlight_Light1, lamp1

ABSORPTION = 0.005
AMBIENT_MULT = 0
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.48
BULB_BLUR_K = 4
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.5, 0.455, 0.023, 0.061
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 = 0.23
DIFFUSE_MAP_MULT = 0
DIRECTION = 0.00548968, 0.70745, 0.708594
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 10.15
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 1
GLASS_COLOR = 0.626346, 0.626331, 0.626283
GLASS_EMISSIVE_MULT = 0.1
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 20
INNER_SPECULAR_EXP = 1000
IOR = 1.61
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.981901, -0.000201702, 0.000171125
MIRROR_POS = 0.526306, 0.790482, 2.12454
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.5
ORIGIN = 0.00509644, -0.263298, -0.292236
RADIUS = 0.1034
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.61
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO=1
RELATIVE_TO=PARENTS_PARENT

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=Turn_sprite_Lr
COLOR=1300,400,00, 2 
LAG=0.7
SIMULATE_HEATING=3
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Turn_lamp_Lr
COLOR=130,40,00, 1.4  
LAG=0.7
SIMULATE_HEATING=3 
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=Turn_cluster_L
COLOR=0, 10, 0 
LAG=0.2
SIMULATE_HEATING=0 
LOCATION=NONE


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=Turn_sprite_Rr
COLOR=1300,400,00, 2 
LAG=0.7
SIMULATE_HEATING=3 
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Turn_lamp_Rr
COLOR=130,40,00, 1.4  
LAG=0.7
SIMULATE_HEATING=3 
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_6]
NAME=Turn_cluster_R
COLOR=0, 10, 0 
LAG=0.2
SIMULATE_HEATING=0 
LOCATION=NONE


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

[EMISSIVE_ENGINE_DAMAGE_0]
NAME=Oil_warning
COLOR=30,0,1
ENGINE_LIFE_THRESHOLD=700
LAG=0.2

[EMISSIVE_BATTERY_0]
NAME=Battery_warning
COLOR=30,0,1
LAG=0.2

[EMISSIVE_HAZARD_0]
NAME=Hazard
COLOR=4, 0, 0
LAG=0.2
SIMULATE_HEATING=0.0


-------------------------------------------------------------------------------
[Material_Metal_v2]
Materials = Material #27, Material #41, Material #19034, Material #60,chrome1, Material #11260
BrightnessAdjustment = 0.2
DetailScale = 10
Metalness = 0.3
Reflectance = 0.5
LocalReflectionsSharpness = 0

[Material_Metal_v2]
Materials = st_wh_metal
BrightnessAdjustment = 0.15
DetailScale = 15
Metalness = 0.4
Reflectance = 0.9
LocalReflectionsSharpness = 0.3

[Material_Metal_v2]
Materials = Material #68 
BrightnessAdjustment = 0.1
DetailScale = 15
Metalness = 0
Reflectance = 0.2
LocalReflectionsSharpness = 0


[Material_Aluminium_v2]
Materials = Material #19008
Brightness = 0.8
Metalness = 0.4
Reflectance = 0.2

[Material_Metal_v2]
Materials = ext_bolts
BrightnessAdjustment = 0.2
DetailScale = 3
Metalness = 0.4
Reflectance = 0.7
LocalReflectionsSharpness = 1

[Material_Aluminium_v2]
Materials = Int_Plastic
Brightness = 0.5
Metalness = 0.4
Reflectance = 0.5

[Material_Aluminium_v2]
Materials = steer_bolts
Brightness = 0.1
Metalness = 0.4
Reflectance = 0.5

[Material_Carpet_v2]
Materials = alcantara
Reflectance = 0.17
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

[Material_Aluminium_v2]
Materials = Material #19010
Brightness = 0.5
Metalness = 0.3
Reflectance = 0.05

[Material_PhotoelasticGlass]
Meshes = GlassExt
PhotoelasticityBaseScale = 3.5
PhotoelasticityNoiseScale = 0.035
PhotoelasticitySpotsScale = 0.05
PhotoelasticitySpotsOffset = 0.3
ProfileFix = 0.01

[Material_AluminiumOld_v2]
Materials = Material #41
Metalness = 0.7
Reflectance = 1
BrightnessAdjustment = 1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 20
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1

[Material_Carbon]
Materials=carbon
ClearCoatF0=0.25
Brightness=0.8

[Material_Carbon]
Meshes=Material #59, f_kanard1, Material #18926, Material #137, palka_porog, Material #39, dno, INT_OCC_Carbon_type_A, gears, INT_Carbon, ladno, dveri_plastic, Material #18927
ClearCoatF0=0.05
BrightnessAdjustment=0.55
DetailScale=870

[Material_Velvet]
Materials = dash_plastic
BrightnessAdjustment=0.11
OcclusionMap = 1.5

---------------------------------------------------

[ADJUSTABLE_WING_0]
NAME=Wing_SUB0
WING=2
ANGLE_BASE=0
ANGLE_MULT=0.5
DEBUG_MODE=0
ROTATION_AXIS=-1, 0, 0
ROTATION_PIVOT=0, 0, 0

[WIPERS]
WIND_THRESHOLDS_KMH = 60, 250  ; 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 progress to vibrate around

[ODOMETER_MAIN]
NAME=ODO
FONT=odometer_font
BLEND_MODE=0
POSITION=140, 150
ROTATION=00
SCALE=2.2,1
SIZE=230, 100
DIGIT_WIDTH=18
COUNT=6
BACKGROUND=0.19, 0.19, 0.19
COLOR=1, 1, 1
JITTER=0.07
MOVEMENT_INTERVAL=5

[ODOMETER_TRIP]
NAME=ODO
FONT=odometer_font
BLEND_MODE=0
POSITION=120, 20
SIZE=170, 100
SCALE=2.2,1
DIGIT_WIDTH=18
COUNT=4
BACKGROUND=0.19, 0.19, 0.19
COLOR=1, 1, 1
LAST_DIGIT_COLOR=0.19, 0.19, 0.19
LAST_DIGIT_BACKGROUND=1, 1, 1
JITTER=0.09
MOVEMENT_INTERVAL=1



[EMISSIVE_EXTRA_A_0]
NAME= cluster_light, RPM_arrow, FUEL_arrow, TEMP_arrow, badge_on, ODO, 
COLOR=2, 2, 2, 1 
FALLBACK_HEADLIGHTS_COLOR=2, 2, 2, 1 
LAG=0.9
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=1
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_1]
NAME= Time_light
COLOR=5,4,3, 1
FALLBACK_HEADLIGHTS_COLOR=5,4,3, 1
LAG=0.9
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=1
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5


[EMISSIVE_EXTRA_B_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME= LED_Bumper
COLOR=13,13,50
OFF_COLOR=0,0,0
LAG=0.1
SIMULATE_HEATING=3
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_0]
NAME=Indicator_light
COLOR=1,1,30, 1
LAG=0.515:59 20.11.2019
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[PARTICLES_FX]
SPARKS_AS=NONE
COLLIDER_1_SPARKS_AS=CARBON

