;==================================================================================================

;                                   Config for Toyota Supra GR

;==================================================================================================

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = MonitorGlass; display mesh
Resolution = 1280, 720   ; texture resolution
Size = 1070, 680          ; size of the screen area
Offset =100, 0              ; left top corner of screen area
Scale = 0.75                  ; might need adjusting to get the scale right
RearCameraPosition = -0.0086, 0.693, -2.13  ; position of rear view camera


[DATA]
DISABLE_LIGHTSINI = 1

[BASIC]
IS_LOW_BEAM_AVAILABLE = 1
HEADLIGHTS_ARE_HEADLIGHTS=1

[SHADOWED_WHEELS]
WIDTH = 0.1

[SHADOWED_WHEELS_REAR]
WIDTH = 0.08
OFFSET = 0.05
ANGLE = 15

[BOUNCED_INTERIOR_LIGHT]
MULT = 1, 1, 1, 0.5

[ODOMETER_MAIN]
DIGITAL_ITEM=6
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=7
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999

[WIPERS]
WIND_AMPLITUDE_MULT=1
WIND_FREQUENCY_MULT=1
WIND_OFFSET=0.03
WIND_THRESHOLDS_KMH=60, 150

;==================================================================================================

                                            LIGHTS

;==================================================================================================

[INCLUDE: common/materials_glass.ini]

[Material_PhotoelasticGlass]
Meshes = headlight_lens_r, headlight_lens_l
FilmIOR = 2.5


[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1
LIT_MULT=1
SPECULAR_MULT=1


[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7


;================================================

;                 HEAD LIGHTS

;================================================


[EMISSIVE_LIGHT_0]
NAME = headlight_lens_lowbeam, headlight_leds_lowbeam
COLOR = 200, 200, 210, 5
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT


[EMISSIVE_HIGHBEAM_...]
NAME = headlight_lens_highbeam, headlight_leds_highbeam
COLOR = 200, 200, 210, 5
LAG = 0.1
SIMULATE_HEATING = 0.0
LOCATION = FRONT




;================================================

;                 MATRIX LIGHTS

;================================================

[EMISSIVE_CORNERINGLAMP_LEFT_...]
NAME = turning_light_glass_lf, turning_light_led_lf
COLOR = 50, 50, 60, 2
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT


[EMISSIVE_CORNERINGLAMP_RIGHT_...]
NAME = turning_light_glass_rf, turning_light_led_rf
COLOR = 50, 50, 60, 2
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT




;================================================

;                   FRONT DRL

;================================================

;   ▼▼▼ Set up in Indicators down below ▼▼▼




;================================================

;                 TAIL LIGHTS

;================================================

; Inner Rear Running Lights

[EMISSIVE_LIGHT_...]
NAME = Breaklight001
COLOR = 25, 1, 0, 0.5
;COLOR = 255, 128, 0, 2
OFF_COLOR = 40, 5, 5, 0.1
FALLBACK_HEADLIGHTS_COLOR = 40, 0, 0, 3
FALLBACK_BRAKES_COLOR = 255, 20, 0, 5
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

;COLOR = 255, 128, 0, 2
;OFF_COLOR = 40, 5, 5, 0.45
;FALLBACK_HEADLIGHTS_COLOR = 40, 0, 0, 3
;FALLBACK_BRAKES_COLOR = 255, 20, 0, 20
;LAG = 0.1
;SIMULATE_HEATING = 0.01
;LOCATION = REAR

; 3rd Brake Light

[EMISSIVE_BRAKE_...]
NAME = Glass_5, Bulb_2
COLOR = 255, 10, 10, 5
FALLBACK_HEADLIGHTS_COLOR = 20, 1, 1, 0.5
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

; Rain / Fog Light



;    ▼▼▼ Brakes in Indicators down below ▼▼▼
;    ▼▼▼ Brakes in Indicators down below ▼▼▼



;================================================

;                REVERSE LIGHTS

;================================================

[EMISSIVE_REVERSE_...]
NAME = reverse_light
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0




;================================================

;                LICENCE LIGHTS

;================================================

[LIGHT_LICENSEPLATE]
MESHES=Plate_A
OFFSET=-0.15, 0.05, 0.0
RANGE=0.6
RANGE_GRADIENT_OFFSET=0.4
SPOT=100
SPOT_SHARPNESS=0.2
COLOR=1,1,1,3.0
FALLBACK_EMISSIVE=1,1,1,2
; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM
LAYOUT=TWO_ON_TOP




;================================================

;                  INDICATORS

;================================================


; Front Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = sidemarker_lens_rf
COLOR = 25, 5, 0, 1
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Front Right DRL

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = dlr_ind_rf
COLOR = 50, 4, 0, 2
OFF_COLOR = 0, 0, 0, 2
FALLBACK_BASE_COLOR = 10, 10, 12, 2
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Front Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = sidemarker_lens_lf
COLOR = 255, 128, 0, 2
OFF_COLOR = 0, 0, 0, 1

LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1



; Front Left DRL

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = dlr_ind_lf
COLOR = 255, 128, 0, 2
OFF_COLOR = 0, 0, 0, 1
FALLBACK_BASE_COLOR = 10, 10, 12, 2
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1



;================================================

; Mirror Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = MirrorLight_11
COLOR = 25, 5, 0, 1
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = SIDE
CAST_LIGHT = 1


; Mirror Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = MirrorLight1
COLOR = 25, 5, 0, 1
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = SIDE
CAST_LIGHT = 1



;================================================

; Rear Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = rear_turn_r
COLOR = 255, 128, 0, 2
OFF_COLOR = 40, 5, 5, 0.45
FALLBACK_HEADLIGHTS_COLOR = 40, 0, 0, 3
FALLBACK_BRAKES_COLOR = 255, 20, 0, 20
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR


; Rear Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = rear_turn_l
COLOR = 255, 128, 0, 2
OFF_COLOR = 40, 5, 5, 0.45
FALLBACK_HEADLIGHTS_COLOR = 40, 0, 0, 3
FALLBACK_BRAKES_COLOR = 255, 20, 0, 20
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR






;==================================================================================================

;                                              INTERIOR

;==================================================================================================


[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.1


; Dash, Shifter, Heater icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneBase
COLOR=3,1.5,2


; Right Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneRight
COLOR=3,1.5,2


; Left Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneLeft
COLOR=3,1.5,2




;================================================


[EMISSIVE_HIGHBEAM_...]
NAME = gauge_highbeam
COLOR = 0.1, 0.1, 1, 5
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_LOWBEAM_...]
NAME = gauge_lowbeam
COLOR = 0.1, 1, 0.1, 5
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = gauge_ind_l
COLOR = 0, 1, 0.1, 5
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = gauge_ind_r
COLOR = 0, 1, 0.1, 5
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_HAZARD_...]
NAME = hazard_button
COLOR = 2, 1, 1, 2
Cast_Light = 0
TOGGLE_VISIBILITY = 0
LAG=0.1


[EMISSIVE_HANDBRAKE_...]
NAME = gauge_brake
COLOR = 2, 1, 1, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_...]
NAME = gauge_traction
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_INACTION_...]
NAME = gauge_traction_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_...]
NAME = gauge_abs
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_INACTION_...]
NAME = gauge_abs_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1

[EMISSIVE_...]
NAME=gauge_fuel_lit
TOGGLE_VISIBILITY = 1
COLOR= 2, 1, 0, 4
INPUT=FUEL
INPUT_THRESHOLD = 7
INPUT_THRESHOLD_INVERSE = 1
LAG=0.1

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


;==================================================================================================

;                                          REFRACTIONS
;							   ++++++++ MAY NOT BE USED ++++++++

;==================================================================================================

;     Tail and Brake Lights (Right Side Based)

[REFRACTING_HEADLIGHT_...]
SURFACE = 
INSIDE = 
ABSORPTION = 0.001
AMBIENT_MULT = 0.50
BASE_EMISSIVE_K = 0.1
BOUNCED_BACK_MULT = 0.1
BULB_BLUR_K = 1.0
BULB_REFLECTION_K = 0
CUSTOM_BULB_0 = 0.5, 0.5, 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 = 1
DIFFUSE_MAP_MULT = 0.1
DIRECTION = 0.0, 0.0, 1.0
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 250
F0 = 0.5
GLASS_COLOR = 0, 0, 0
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0010
INNER_SPECULAR = 1.0
INNER_SPECULAR_EXP = 100
IOR = 2.5
IOR_FLYOUT_FLAT = 0.5
LOD_BIAS = 0
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 0
MIRROR_DIR = 1, 1, 1
MIRROR_POS = 0.5, 0.5, 0.5
NM_SHARE_EXT = 1
NM_SHARE_INT = 0
ORIGIN = 0, 0, 0
RADIUS = 0.1233
REFLECTIVENESS_DIFFUSE_MULT = 10
REFLECTIVENESS_MULT = 4.2
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.45
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 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 = wing.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_C            ; bind to reverse gear
FILE = skirt.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_D            ; bind to reverse gear
FILE = hud.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
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 =Exhaust_ArkPerformance_GRIP,Kit6_SpecularTint
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.5301179,0.2938501,-2.037645
DIRECTION=-0.07602371,0.1112128,-0.9908845
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

[PARTICLES_FX_EXHAUST_...]
POSITION=0.516167,0.274564,-2.008305
DIRECTION=-0.03088887,0.1529523,-0.9877508
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=6500
DISCHARGE_RPM_THRESHOLD_MIN=3500
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=5000
LIMITER=1
LIMITER_DELAY=0.1
LIMITER_INTENSITY=1
LIMITER_RPM_THRESHOLD=6400

[AUDIO_VOLUME]
ENGINE_EXT = 4.8
ENGINE_INT = 4.8
GEAR_EXT = 5.0
GEAR_INT = 5.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 5.0
DOWN_SHIFT = 1.0
HORN = 2.8
GEAR_GRIND = 5.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 3.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 10.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0

[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=5
ENGINE_INT_BOOST=5
TURBO_THROTTLE=5

; HK51 indicator sound
[SCRIPTABLE_DISPLAY_...]
MESHES=gauge_ind_l,gauge_ind_r
SCRIPT=HK51_indicator.lua

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