[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]

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes =  Object054 ; display mesh
Resolution = 2039,783 ; texture resolution
Size = 2039,783          ; size of the screen area
Offset = 0,0             ; left top corner of screen area
Scale = 0.6 ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.7, -4  ; position of rear view camera
aftermarketComponent=1

[Material_PhotoelasticGlass]
Meshes =  Glass, Object043, DoorRF_Glass
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


[LIGHTING]
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.02
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.02
EMISSIVE_HEADLIGHTS_MULT=1.4
EMISSIVE_PARKINGLIGHTS_MULT=2.5
EMISSIVE_BRAKELIGHTS_MULT=0.5


[SelfLight_Headlights]
MIRROR = 0.58
DIRECTION = 0, -0.0,1
POSITION = 0.0, 0.758, 2.07
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = Object038
SPOT_SHARPNESS =0.0
SPOT = 80
COLOR =120,120,250,5
SPECULAR_MULT = 0
RANGE = 0.5
[SelfLight_Headlights]
MIRROR = 0.81
DIRECTION = 0, -0.0,1
POSITION = 0.0, 0.758, 2.1
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = Object038
SPOT_SHARPNESS =0.0
SPOT = 80
COLOR =120,120,250,5
SPECULAR_MULT = 0
RANGE = 0.5

[SelfLight_Headlights]
MIRROR = 0.7
DIRECTION = 0, -1,0
POSITION = 0, 1.0, 0.50
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = Object053
SPOT_SHARPNESS =0.0
SPOT = 220
COLOR =44,44,220
SPECULAR_MULT = 0
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, -1,0
POSITION = -0.4, 1.0, 0.50
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = Object053
SPOT_SHARPNESS =0.0
SPOT = 220
COLOR =144,44,20
SPECULAR_MULT = 0
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, -1,0
POSITION = 0, 1.0, 0.50
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = Object053
SPOT_SHARPNESS =0.0
SPOT = 220
COLOR =44,44,120
SPECULAR_MULT = 0
RANGE = 0.6

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=3,3,25.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=10
FADE_SMOOTH=10
MIRROR=0
POSITION=0.7, 1.0, 0.50
DIRECTION=0,-1,0
RANGE=0.14
RANGE_GRADIENT_OFFSET=-0.0
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=23,3,3.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=10
FADE_SMOOTH=10
MIRROR=0
POSITION=0.7, 0.95, 0.10
DIRECTION=0,-1,0
RANGE=0.14
RANGE_GRADIENT_OFFSET=-0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=3,3,25.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=10
FADE_SMOOTH=10
MIRROR=0
POSITION=-0.7, 1.0, 0.50
DIRECTION=0,-1,0
RANGE=0.14
RANGE_GRADIENT_OFFSET=-0.0
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=33,3,3.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=10
FADE_SMOOTH=10
MIRROR=0
POSITION=-0.7, 0.99, 0.50
DIRECTION=0,-1,0
RANGE=0.14
RANGE_GRADIENT_OFFSET=-0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=3,3,25.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1
FADE_SMOOTH=1
MIRROR=0
POSITION=-0.55, 1.0, 0.50
DIRECTION=0,-1,0
RANGE=0.24
RANGE_GRADIENT_OFFSET=-0.1
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=0.5
[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=3,3,25.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1
FADE_SMOOTH=1
MIRROR=0
POSITION=-0.3, 1.0, 0.50
DIRECTION=0,-1,0
RANGE=0.24
RANGE_GRADIENT_OFFSET=-0.1
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=23,0,0.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1
FADE_SMOOTH=1
MIRROR=0
POSITION=-0.40, 0.97, 0.48
DIRECTION=0,-1,0
RANGE=0.16
RANGE_GRADIENT_OFFSET=-0.1
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=05


[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=3,3,25.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1
FADE_SMOOTH=1
MIRROR=0
POSITION=-0.0, 0.8, 0.50
DIRECTION=0,-1,0
RANGE=0.44
RANGE_GRADIENT_OFFSET=-0.1
SPECULAR_MULT=1
SPOT=220
SPOT_SHARPNESS=0.5

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=33,3,3.0,5
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1
FADE_SMOOTH=1
MIRROR=0
POSITION=0.1, 0.92, 0.48
DIRECTION=0,-1,0
RANGE=0.34
RANGE_GRADIENT_OFFSET=-0.1
SPECULAR_MULT=1
SPOT=60
SPOT_SHARPNESS=0.5


[ANIMATION_...]
INPUT=RPM
INPUT_MIN = 0
INPUT_MAX = 8000
FILE = rpm.ksanim
INPUT_LUT = (0=0.1| 1000=0.25 |2000=0.34 |3000=0.42 | 5000=0.58|6000=0.67|7000=0.70| 8000=0.77)  
INPUT_LAG_UP = 0
INPUT_LAG_DOWN = 0
INPUT_AS_PROGRESS = 1       ; set to 1 to switch to that second input-as-progress mode
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=1

[ANIMATION_...]
INPUT=SPEED
INPUT_MIN = 0
INPUT_MAX = 350
FILE = speed.ksanim
INPUT_LUT = (| 0=0.05| 30=0.25 | 60=0.33 | 90=0.41 |150=0.55| 210=0.63| 270=0.71 | 330=0.80)  
INPUT_LAG_UP = 0.0
INPUT_LAG_DOWN = 0.0
INPUT_AS_PROGRESS = 1      ; set to 1 to switch to that second input-as-progress mode
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=0



[INCLUDE: common/materials_carpaint.ini]
[Material_CarPaint_Solid]
CarPaintMaterial = CarPaint?
BrightnessAdjustment = 0.85
FlakesK = 0.3
SKINS = ?
FresnelMax = 0.55
FresnelC = 0.045
FresnelEXP = 4.5
AmbientSpecular = 0.35
ColoredSpecular = 0.65
SpecularBase = 0.2, 100
DiffuseSmoothness = 0, 0  ; min and max brightness values for txDiffuse

[Material_CarPaint_Metallic]
CarPaintMaterial = CarPaint?
SKINS = ?Metallic?
UseMetallicReflections = 0.8
FlakesK = 2
FresnelMax = 1
FresnelC = 0.2
FresnelEXP = 5
BrightnessAdjustment = 0.8
ColoredSpecular = 0.85
AmbientSpecular = 0.75
AmbientSpecularEXP = 5
SpecularBase = 0.2, 100
ClearCoatThickness = 0.0

[Material_CarPaint_Pearl]
CarPaintMaterial = CarPaint?
SKINS = ?pearl?
FresnelMax = 0.6
FresnelC = 0.10
FresnelEXP = 4
BrightnessAdjustment = 0.65
PearlescentSpecular = 1
AmbientSpecular = 0.3
AmbientSpecularEXP = 3.5
ClearCoatThickness = 0
SpecularBase = 10.2, 70

[Material_CarPaint_Matte]
CarPaintMaterial = CarPaint?
BrightnessAdjustment = 0.8
FlakesK = 5
ApplyMatteFix = 1
SKINS = ?Matte?
FresnelMax = 0.05
FresnelC = 0.01
FresnelEXP = 5
AmbientSpecular = 3
AmbientSpecularEXP = 5
PearlescentSpecular =1.2
ClearCoatThickness = 0.3
SpecularBase = 1.2, 50
SpecularSun = 1, 110



[Material_CarPaint_Metal]
Materials = chrome_int
FresnelMax = 1.1
FresnelC = 0.5
FlakesK = 4
BrightnessAdjustment = 0.7
ColoredSpecular = 1
AmbientSpecular = 0.20
SpecularMult = 0
BaseSpecularColor = 500,500,600
AmbientSpecularEXP = 1
ClearCoatThickness = 0.12

[Material_CarPaint_Metal]
Materials = chrome_ext
FresnelMax = 0.7
FresnelC = 0.2
FlakesK = 2
BrightnessAdjustment = 0.1
ColoredSpecular = 1
AmbientSpecular = 0.20
SpecularMult = 1
BaseSpecularColor = 200,200,250
AmbientSpecularEXP = 1
ClearCoatThickness = 0.12


[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= black_gloss_int, black_gloss_ext,rim
BrightnessAdjustment = 0.015
DetailScale = 600
Metalness = 0.016
Reflectance = 0.12
LocalReflectionsSharpness = -2.6
ApplyTilingFix=1

[ANIMATED_WIPER_...]
MESHES = Object036, Object035, Object102, Object103
UNDERLYING_SURFACE = Object043, Object104, Object105
DEBUG = 0; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = Object036, Object035, Object102, Object103
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = Object036, Object035, Object102, Object103
UNDERLYING_SURFACE = Object043, Object104, Object105
GROUP_0 = 'Object035@A=*', 'Object102@A=*'
GROUP_0_ANGLE_TO = 76
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = -2.354557e-05, 0.55871356, 0.82936066
GROUP_0_AXIS_OFFSET_1 = -2.354557e-05, 0.55871356, 0.82936066
GROUP_0_END = -0.2641669, 1.017821, 1.0269471
GROUP_0_PIVOT = 0.6349547, 0.91589886, 1.1396525
GROUP_0_RUBBER_FROM = 0.37696838, 1.0102463, 1.0093937
GROUP_0_RUBBER_OFFSET_AMOUNT = 0
GROUP_0_RUBBER_TO = -0.25587463, 1.0108852, 1.0222607
GROUP_1 = 'Object036@A=*', 'Object103@A=*'
GROUP_1_ANGLE_TO = 87.2
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_1_END = -0.73380804, 1.04058, 0.8953445
GROUP_1_PIVOT = 0.086299725, 0.95671076, 1.150319
GROUP_1_RUBBER_FROM = -0.28334045, 1.0052872, 1.0154171
GROUP_1_RUBBER_OFFSET_AMOUNT = 0
GROUP_1_RUBBER_TO = -0.72817993, 1.0286121, 0.8851032




[WIPERS]
WIND_THRESHOLDS_KMH = 100, 250  
WIND_AMPLITUDE_MULT = 1      
WIND_FREQUENCY_MULT = 1     
WIND_OFFSET = 0.03   

    
[EMISSIVE_REVERSE_0]
NAME= Object026
COLOR=50,50,50
LAG=0.3
SIMULATE_HEATING=3
CAST_LIGHT=1
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=  Object020
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=  Object019
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=  DoorLF_Light
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=  DoorRF_Light
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=  Object024
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=  Object096
RANGE_DELAY=0.3 	; to compensate for that there are more of them
COLOR=106, 66, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1



[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME= Object080
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=0, 60, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME= Object082
RANGE_DELAY=0.05 	; to compensate for that there are more of them
COLOR=0, 60, 0, 1
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=0

[LIGHT_LICENSEPLATE]
MESHES= Object025
OFFSET=0.0, 0.01, -0.01
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.0
SPOT=220
SPOT_SHARPNESS=0.64
COLOR=2,1.7,0.8,6
FALLBACK_EMISSIVE=1,0.7,0.3,0.9
LAYOUT=ONE_ON_TOP
FADE_AT=100

[Material_Carbon]
Materials = carbon_int
HasDetailNormals = 1
BrightnessAdjustment = 0.4
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0.035
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 0.3
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 100

[Material_Carbon]
Materials = carbon_ext
HasDetailNormals = 1
BrightnessAdjustment = 0.2
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0.035
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 0.3
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 100

[ODOMETER_MAIN]
DIGITAL_ITEM=3
UPPER_BOUND=999999

[ODOMETER_TRIP]
DIGITAL_ITEM=4
UPPER_BOUND=999


[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
