[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = display; display mesh
Resolution = 1680, 920   ; texture resolution
Size = 1680, 920          ; size of the screen area
Offset = 0, 0              ; left top corner of screen area
Scale = 0.55                  ; might need adjusting to get the scale right
RearCameraPosition = -0.00, 0.486, -2.2  ; position of rear view camera
aftermarketComponent=1

[BASIC]
IS_LOW_BEAM_AVAILABLE=1
ENGINE_STALLED_RPM_THRESHOLD=100

[INCLUDE: common/no_popup_lights.ini]

[AUDIO_VOLUME]
ENGINE_EXT = 0.3
ENGINE_INT = 0.3
WIND = 0.3

[EMISSIVE_LIGHT_3]
NAME=Box006
BIND_AS=LICENSE_PLATE
COLOR=5,5,4.5, 20
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE

[SHADER_REPLACEMENT_0SCREEN]
TAGS=display
SHADER=smDigitalScreen
PROP_0=smScreenType, 1 ; 0 for TN, 1 for IPS
PROP_1=smScreenScale, 480, 120
PROP_2=smUseTextureCoordinates, 1
PROP_6=ksEmissive, 4

[EMISSIVE_LIGHT_...]
BIND_TO_HEADLIGHTS=1
COLOR=3,3,3
OFF_COLOR=5,5,5
LAG=0
LOCATION=	
NAME=display
SIMULATE_HEATING=0

[TEMPLATE: Material_LicensePlate]
Debug = 0                       ; change to 1 to see different areas highlighted
Depth = 1                       ; depth multiplier
TextureRatio = 4.0              ; width-to-height ratio, very important
LettersDarkening = 0.0          ; increase to make letters darker
LettersSpecularDarkening = 0.0  ; increase to make letters specular darker
BounceBackBrightness = 0.0      ; increase to make light bouncing back brighter
ExtrudeLetters = 1              ; set to 0 do disable letters extrusion (for glowing letters which would be more like holes in the surface)

[LIGHT_LICENSEPLATE]
MESHES=39_0
OFFSET=-0.02, 0.025, -0.05
RANGE=0.6
RANGE_GRADIENT_OFFSET=0.3
SPOT=140
SPOT_SHARPNESS=0.3
COLOR=1,1,1,3.5
FALLBACK_EMISSIVE=1,1,1,0.9
; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM
LAYOUT=TWO_ON_TOP

[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=0
NAME=gls_opaque
COLOR=1,1,1, 10
OFF_COLOR=0,0,0
LAG=0.9
SIMULATE_HEATING=1
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
INTERIOR_ONLY=0
EXTERIOR_ONLY=0

[EMISSIVE_OPENDOORS_0]
NAME=Plane003
COLOR=25, 0, 0
LAG=0.3
SIMULATE_HEATING=0

[EMISSIVE_HAZARD_0]
NAME=hazards
COLOR=3,0,0
OFF_COLOR=3,3,3
LAG=0
REPEAT_FREQENCY_HZ=2
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=0
REPEAT_FREQENCY_HAZARDS_HZ=0

[EMISSIVE_REVERSE_0]
NAME = Object024
COLOR = 5, 5, 5
OFF_COLOR = -1, -1, -1
LAG = 0.8
SIMULATE_HEATING = 0.3
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[LIGHT_EXTRA_0]
LINE_FROM=-0, 0.2, -0.8
LINE_TO=-0, 1, 0
BIND_TO_HEADLIGHTS=0
BIND_TO_EXTRA_A=1
COLOR=242,226,169, 0.03
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.1
SPOT=1000
SPOT_SHARPNESS=0.75
SPECULAR_MULT=0
DIRECTION=0, 0, 0
SELF_LIGHTNING=1
DIRECTION=0, -1, 0
INTERIOR_ONLY=0
EXTERIOR_ONLY=0

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=Object029_SUB1, Object029_SUB0
COLOR=1.5,1,0
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=blinker_rl
COLOR=4,2,0
OFF_COLOR = -1, -1, -1
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=rightcorner
COLOR=5,200,5,0.1
LAG=0.10
BLINK_FREQENCY_HZ=2.0
SIMULATE_HEATING=10
LOCATION=INTERIOR
SIMULATE_HEATING=0
CAST_LIGHT=0
REPEAT_FREQENCY_HAZARDS_HZ=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=repiter_L
COLOR=4,2,0
OFF_COLOR = -1, -1, -1
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=FENDER

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=blinker_rr
COLOR=4,2,0
OFF_COLOR = -1, -1, -1
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=blinker_fr_SUB1, blinker_fr_SUB0
COLOR=1.5,1,0
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=leftcorner
COLOR=5,200,5,0.1
LAG=0.10
BLINK_FREQENCY_HZ=2.0
SIMULATE_HEATING=10
LOCATION=INTERIOR
SIMULATE_HEATING=0
CAST_LIGHT=0
REPEAT_FREQENCY_HAZARDS_HZ=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=repiter_R
COLOR=4,2,0
OFF_COLOR = -1, -1, -1
LAG=0.9
SIMULATE_HEATING=0.5
LOCATION=FENDER

[EMISSIVE_ENGINE_DAMAGE_0]
NAME=Plane006, 
COLOR=25, 0, 0
ENGINE_LIFE_THRESHOLD=100
LAG=0.3

[EMISSIVE_...]
NAME=Plane004, Plane005, Plane006
BIND_TO=STALLED 
COLOR=50,3,1,0.3
LAG=0.3

[EMISSIVE_...]
NAME=Plane003
BIND_TO=FUEL
INPUT_THRESHOLD=7  
INPUT_THRESHOLD_INVERSE=1
COLOR=50,25,0,1
LAG=0.3

[EMISSIVE_BATTERY_N]
NAME=Plane004
INPUT_THRESHOLD_INVERSE=1
COLOR=25, 0, 0
LAG=0.3

[EMISSIVE_HANDBRAKE_0]
NAME=Object030
COLOR=30,0,0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=NONE

[REFRACTING_HEADLIGHT_0]
SURFACE = blinker_fr_glass
INSIDE = blinker_fr_SUB1, blinker_fr_SUB0
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 0.61
BASE_EMISSIVE_K = 0.16
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = -0.93
CUSTOM_BULB_0 = 0.595, 0.486, 0.068, 0
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 = 100
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, 1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 500
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.34
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -0.457085, 0.456094, 1.96466
NM_SHARE_EXT = 0.39
NM_SHARE_INT = 1
ORIGIN = -0.439857, 0.456094, 1.95556
RADIUS = 0.041112
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_1]
SURFACE = blinker_fl_glass
INSIDE = Object029_SUB1, Object029_SUB0
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 0.61
BASE_EMISSIVE_K = 0.16
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = -0.93
CUSTOM_BULB_0 = 0.595, 0.486, 0.068, 0
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 = 100
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, 1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 500
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.34
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = 0.453179, 0.456094, 1.96466
NM_SHARE_EXT = 0.39
NM_SHARE_INT = 1
ORIGIN = 0.470026, 0.455986, 1.95556
RADIUS = 0.0412195
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_2]
SURFACE = breakelight1glass
INSIDE = brakelight
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.151
AMBIENT_MULT = 0.41
BASE_EMISSIVE_K = 1
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 1.7
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.37, 0.506, 1, 0
CUSTOM_BULB_1 = 0.58, 0.5, 1, 0
CUSTOM_BULB_2 = 0.815, 0.5, 1, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 10
DIFFUSE_MAP_MULT = 0
DIRECTION = 0, 0, 1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 9.55
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1, 0, 0
GLASS_EMISSIVE_MULT = 0.56
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -0.00272082, 0.844515, -2.06855
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.0715512, 0.844547, -2.07219
RADIUS = 0.03428
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_3]
SURFACE = repiter_glassR
INSIDE = repiter_R
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 1
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.531, 0.617, 1, 0
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 = 10
DIFFUSE_MAP_MULT = 0
DIRECTION = 0, 0, 1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 7.87
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 1
GLASS_COLOR = 1, 0.498315, 0
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -0.854586, 0.548677, 0.926327
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = -0.850291, 0.548677, 0.89235
RADIUS = 0.0439775
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 1
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_4]
SURFACE = repiter_glassL
INSIDE = repiter_L
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.617, 0.444, 0, 0
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 = 10
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, 1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2.81
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 1
GLASS_COLOR = 1, 0.454112, 0
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.026
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = 0.854617, 0.548677, 0.926327
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.858927, 0.548828, 0.893834
RADIUS = 0.0420895
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0.6
REFRACTION_MASKING = 1
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

[EMISSIVE_HIGHBEAM_0]
NAME=Object037
COLOR=130,135,140
ACT_AS_HEADLIGHTS=1
LAG=0.45

[EMISSIVE_HIGHBEAM_1]
NAME=Object031
COLOR=1,1,500
ACT_AS_HEADLIGHTS=1
LAG=0.45
CAST_LIGHT=0

[ANIMATION_...]
INPUT = EXTRA_A            ; bind to reverse gear
FILE = hood.ksanim    ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 1  ; force to update interior reflections mask if animation is 
                            ; playing (slower)

[ANIMATION_...]
INPUT = EXTRA_B            ; bind to reverse gear
FILE = wing1.ksanim    ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 1  ; force to update interior reflections mask if animation is 
                            ; playing (slower)

;;;;;Engine Shake;;;;;
[SHAKING_EXHAUST_...]
MESHES = engine_SUB0,engine_SUB1,engine_SUB3,engine_SUB4,engine_SUB5,engine_SUB6,engine_SUB7engine_SUB8,engine_SUB10,engine_SUB11,engine_SUB12,engine_SUB13,engine_SUB14,engine_SUB15,engine_SUB16
POINT_0 = -0.06,2.86,0.0
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.3, 0.3, 0.2

;;;;;Exhaust Shake;;;;;
[SHAKING_EXHAUST_...]
MESHES =exhin,exh
POINT_0 = -0.06,2.86,0.0
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.3, 0.3, 0.2

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.446573,0.1432322,-2.169827
DIRECTION=-0.03712021,0,-0.9993109
SPREAD = 0.7
GROW = 0.9
LIFE = 1.0,0.7
SPEED = 1.0, 1.0
INTENSITY = 0.6, 2.9
TEMPERATURE_THRESHOLD = 1
SPEED_THRESHOLD = 10, 40
STARTING_SIZE = 0.06

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.1
ANTILAG_INTENSITY=1.5
ANTILAG_INTERVAL_MAX=0.2
ANTILAG_INTERVAL_MIN=0.01
ANTILAG_TURBO_THRESHOLD=0.3
DAMAGE=0
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0.01
DISCHARGE_DURATION=0.6
DISCHARGE_PROBABILITY=0.45
DISCHARGE_INTENSITY=1.3
DISCHARGE_RPM_THRESHOLD_MAX=8300
DISCHARGE_RPM_THRESHOLD_MIN=4800
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0
FLAT_SHIFT_COOLDOWN=0.5
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=50
FLAT_SHIFT_INTENSITY=0.25
FLAT_SHIFT_PROBABILITY=1
FLAT_SHIFT_RPM_THRESHOLD=6800
LIMITER=1
LIMITER_DELAY=0.1
LIMITER_INTENSITY=1
LIMITER_RPM_THRESHOLD=8200

; HK51 indicator sound
[SCRIPTABLE_DISPLAY_...]
MESHES=rightcorner,leftcorner
SCRIPT=HK51_indicator.lua

[INCLUDE: common/gt3_exhaust_glow.ini]
ExhaustMeshes_MultiMap = engine_SUB12,exh
ExhaustRadiusInner = 0.02
ExhaustRadiusThicknessInv = 12
ExhaustGlowTint = 0.1
ExhaustNormalsK = 0.1
