[BASIC]
RACING_CAR = 0                 ; By default CSP uses car class to determine if car is a race car,
                               ; and it uses this value a lot to determine default parameters (for
                               ; example, racing cars don’t have low beams by default)
DIESEL_ENGINE = 0              ; If engine is diesel or not (used for exhaust smoke color)
BRAKES_THRESHOLD = 0.01        ; How much brake pedal should be pressed for brake lights to turn on
LIGHT_DAMAGE_SPEED_MIN = 80    ; Collision speed for lights to start breaking
LIGHT_DAMAGE_SPEED_MAX = 120   ; Collision speed for lights to fully break
IS_LOW_BEAM_AVAILABLE = 1      ; Are low beams available (by default available on street cars only)

SPARKS_UPWARDS_FORCE = 300     ; Multiplier for force acting on sparks as fly from below the car
                               ; (by default 500 for open wheelers, 300 for racing cars, 100 for 
                               ; the rest)

[DATA]
DISABLE_LIGHTSINI = 0            ; Disables “lights.ini” completely, so you could recreate it 
                                  ; with custom emissives
								  
LIGHT_ANIMATION_TIME = 1          ; Alter duration of headlights animation


[INCLUDE]
INCLUDE = ext_cfg_deforming.ini, ext_cfg_materials.ini, ext_cfg_audio.ini, ext_cfg_lights.ini, ext_cfg_extra.ini, ext_cfg_navigator.ini, ext_cfg_emissive.ini

[INCLUDE]
INCLUDE=common/no_popup_lights.ini


[INCLUDE: common/custom_emissive.ini]

[EXTRA_FX]
SKIP_GBUFFER = console_032_low

# NAVIGATOR

[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]


[Material_DigitalScreen]
Materials = console_070_low
ScreenScale = 600
ScreenAspectRatio = 0.5
MatrixType = TN



[CAR_STEREO_...]
ACTIVE = $" read('csp/version', 0) >= 1279 "
MESHES = console_070_low
RESOLUTION = 2260, 1140
DISPLAY_POS = 650,450
DISPLAY_SIZE = 1024, 384
COLOR=50,45,55,10
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2

; main text
TEXT_CSP_0 = "{Track}"
TEXT_CSP_0_NOALBUM = "{Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 600, 100
TEXT_CSP_0_SIZE = 210, 48
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 1
TEXT_CSP_0_SCALE = 1.0, 1.0
TEXT_CSP_0_BOLD = 0

; main text
TEXT_CSP_3 = "{Artist}"
TEXT_CSP_3_NOALBUM = "{Artist}"
TEXT_CSP_3_NOARTIST = ""
TEXT_CSP_3_FALLBACK = ""
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 600, 67
TEXT_CSP_3_SIZE = 210, 48
TEXT_CSP_3_FONT_TYPE = ITALIC
TEXT_CSP_3_Z_INDEX = 1
TEXT_CSP_3_SCALE = 1.0, 1.0
TEXT_CSP_3_BOLD = 0


[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = 10__display.001
Resolution = 1280, 800
Size = 1200, 720
Offset = 40, 40
Scale = 1
RearCameraPosition = -0.00, 0.57, -2.58
DYNAMIC_OPACITY = 1
KEEP_BACKGROUND = 1

; [Navigator_Base]
; Meshes =Monitor
; AftermarketComponent=1

; @ = Navigator_Size, Resolution = "512, 512", Offset = "72, 156", Size = "365, 201";*Offset = "58, 130", Size = "405, 268"

; @ = Navigator_Component, ComponentID = UPCOMING_TURN
; @ = Navigator_ThemedComponent
; @ = Navigator_ComponentLayout, Left = 85, Top = -96, Width = 400, Height = 698, Align = "0, 0.5", Padding = 0, ExtraOffset = "110, 2"
; @ = Navigator_ComponentLayout_ExtraObject, ObjectID = ARROW, ObjectCenter = "14, 20%", ObjectSize = 104
; UPCOMING_TURN_ARROW_COLOR ="#42ff00",8	
; ;*UI_SKIP_FRAMES = 10 
; ;*UI_SKIP_FRAMES_MAP=100
; UPCOMING_TURN_SIMPLE_ARROW = 0
; UPCOMING_TURN_ARROW_THICKNESS = 32
; UPCOMING_TURN_ARROW_PARAMS_0 = $" vec4(0.5, 0.3, 0.3, 0.7) * 1.2 "
; UPCOMING_TURN_ARROW_PARAMS_1 = $" vec4(0.5, 0.6, 0.6, 0.7) * 1.2 "
; UPCOMING_TURN_BG_COLOR_0 = "#000",0.1
; UPCOMING_TURN_BG_COLOR_2 = "#000",0.1
; UPCOMING_TURN_COLOR_2 = "#000",0.001

; @ = Navigator_Component, ComponentID = SPEED_LIMIT
; @ = Navigator_ComponentLayout, Left = 30, Top = 130, Radius = 30
; SPEED_LIMIT_BG_COLOR = "#FFFFFF"
; SPEED_LIMIT_TEXT_COLOR = 0, 0, 0
; SPEED_LIMIT_BORDER_THICKNESS = 8
; SPEED_LIMIT_BORDER_COLOR = "#FF0000"
; SPEED_LIMIT_FORMAT = "%.0f"

; @ = Navigator_Component, ComponentID = CURRENT_TRACK
; @ = Navigator_FadingComponent, Up
; @ = Navigator_ComponentLayout, Left = -80, Right = 4, Top = -25, Height = 120,\
	; Padding = "92, 10, 20", Align = "0, 0.5", IconCenter = "48, 50%", IconSize = 40
; CURRENT_TRACK_FORMAT = "{Track}\n{Artist}"
; CURRENT_TRACK_NOARTIST_FORMAT = "{Track}"
; CURRENT_TRACK_BG_COLOR = "#000",120.0
; CURRENT_TRACK_TEXT_COLOR = "#FFF"
; CURRENT_TRACK_BORDER_THICKNESS = 0
; CURRENT_TRACK_BORDER_RADIUS = 0
; CURRENT_TRACK_BORDER_COLOR = 0, 0, 0, 0
; CURRENT_TRACK_ICON_COLOR = "#000"
; BACKGROUND=0,0,0
; MAP_POS = 0, 0
; MAP_SIZE=0,0
; CAR_MARK_SIZE = 0
; CAR_MARK_SCALE_WITH_SPEED = 0
; CAR_MARK_ARROW_PARAMS = 0, 0, 0, 0.0
; CAR_MARK_CIRCLE_RADIUS = 45, 45
; CAR_MARK_CIRCLE_COLORIZE_WITH_LIVERY = 0
; CAR_MARK_CIRCLE_COLOR = "#000",0
; CAR_MARK_CIRCLE_OUTLINE =0
; CAR_MARK_CIRCLE_OUTLINE_COLOR="#FFF",0
; CAR_MARK_ARROW_PARAMS = 0, 0, 0, 0
; CAR_MARK_ARROW_OUTLINE_PARAMS = 0, 0, 0.0, 0.0



; MAP_COLOR_BG_TOP = "#0000",0.0
; MAP_OUTLINE_ROADS = 0
; MAP_COLOR_BG_BOTTOM = "#0000",0.0
; MAP_COLOR_GRASS = "#0000",0.0
; MAP_COLOR_ROADS = "#0000", 0
; POI_BORDER_COLOR = "#0000",0
; MAP_ROAD_THICKNESS = 0
; MAP_OUTLINE_ROADS = 0


; LABELS_OUTLINE_COLOR = "#000", 0.0
; MAP_COLOR_BUILDINGS = "#000", 0.0
; MAP_OUTLINE_BUILDINGS = 0.0,0.0
; BrightTheme = 0
; FgColor = "#000",0.0
; BgColor = "#000", 0.0
; BorderColor = "#000", 0.0
; BorderThickness = 0
; BorderRadius = 0
; CAR_MARK_COLOR_LEFT = "#000",0
; CAR_MARK_COLOR_RIGHT = "#000",0
; POI_BORDER_COLOR = "#000",0
; POI_BORDER_COLOR = "#000",0
; PATH_COLOR = "#000",0
; PATH_BORDER_COLOR = "#000",0
; PATH_BORDER_THICKNESS = 0
; PATH_SMOOTHNESS_DISTANCE = 0
; PATH_SMOOTHNESS_EXP = 0
; PATH_FINISH_RADIUS_MULT = 0



[CustomEmissive]
Meshes = LIGHTS_BRAKE
ColorMasksAsMultiplier = 1
Resolution = 1024, 1024
MirrorOffset = -0.5
@ = CustomEmissive_Color, Channel = 2, Mirror, Color = "1, 0.6, 0"
@ = CustomEmissive_Rect, Channel = 2, Mirror, Start = "731.3, 15.8", Size = "143.2, 343.9", CornerRadius = 0.8
@ = TurningLightsRear, Channel = 2, Intensity = 2

@ = CustomEmissive_Color, Channel = 0, Color = "1.0, 0, 0", ThresholdLevel = 0.975
@ = CustomEmissive_Rect, Channel = 0, Start = "874, 4", Size = "151, 362", CornerRadius = 0.8
@ = BrakingLights, Channel = 0, Intensity = 10, HeadlightsIntensity = 0.08

[CustomEmissive]
Meshes = EXTERIOR_LIGHT_REAR_MESH
Resolution = 1024, 1024
@ = CustomEmissive_Rect, Channel = 3, Mirror, Start = "805.3, 372.8", Size = "201.1, 209.2", CornerRadius = 0.9
@ = TurningLightsFrontCorner, Channel = 3, Intensity = 2

[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE
OBJECT_NAME=ARROW_OIL_PRESSURE
UPPER_BOUND = 10
LOWER_BOUND = 0
INPUT_LAG_UP = 0.995
INPUT_LAG_DOWN = 0.995
LUT = (| 0=-175 | 6.9=94 |)
SPEED_LAG=0.88

[SHAKING_EXHAUST_...]
MESHES = EXTERIOR_PLATES_MESH
POINT_0 = 0.0, 0.441, 0.225
POINT_0_RADIUS = 0.3
POINT_0_EXP = 1.5
POINT_0_SCALE = 0.2


;Code to hide poorly animated suspension arms which break on replay
[MODEL_REPLACEMENT_...]
FILE=?.kn5
HIDE=Cylinder072,Cylinder071,Spring001,Cylinder069,Cylinder070,Cylinder068,Cylinder066,Cylinder067,Cylinder064,Spring002,Cylinder060,Object118,Object123
INSERT =
INSERT_AFTER =EXTERIOR_BODY_MESH


[EXTRA_FX]
SKIP_GBUFFER = SUPRA_GLASS_INT_FRONT, SUPRA_GLASS_INT_RIGHT, SUPRA_GLASS_INT_LEFT, SUPRA_GLASS_EXT_SIDE001, SUPRA_GLASS_INT_REAR

[BRAKEDISC_FX]
ACTIVE = 1
AMBIENT_MULT=0.6
REFLECTION_MULT=10
RIM_INTERNAL_RADIUS=0.06
SIMPLIFY_NORMALS_K=0.9
DISC_INTERNAL_RADIUS_SHARPNESS=250

[BRAKEDISC_FX_FRONT]
DISC_INTERNAL_RADIUS=0.13

[BRAKEDISC_FX_REAR]
DISC_INTERNAL_RADIUS=0.13

[SHADOWED_WHEELS]
ANGLE=16
WIDTH=0.16
OPACITY=1.0
EXTRA_AMBIENT_BRIGHTNESS=0.1

[SHADOWED_TYRES]
ANGLE=25
EXTRA_AMBIENT_BRIGHTNESS=0.15
OFFSET=0.03
WIDTH=0.10
OPACITY=1.0

[REFLECTIONS_FX]
MASK_CUBEMAP_TWEAK = 1.7
MASK_CUBEMAP_SKIP = SUPRA_GLASS_INT_FRONT, SUPRA_GLASS_INT_RIGHT, SUPRA_GLASS_INT_LEFT, SUPRA_GLASS_EXT_SIDE001, SUPRA_GLASS_INT_REAR

[WIPERS]
FRONT_0 = WIPER_MID_MESH, WIPER_FACE_MESH
WIND_THRESHOLDS_KMH = 60, 260 ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1.4 ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1.2 ; multiplier for frequency
WIND_OFFSET = 0.03 ; base animation

[WIPERS_TRACE_...]
SURFACE = EXTERIOR_WINDOWS_MESH.001
WIPERS = WIPER?


; Odometers
[ODOMETER_MAIN]
NAME = SUPRA_MAIN_DASH
FONT = arial_big
FONT_SCALE = 0.8
POSITION = 314, 136
SIZE = 150, 27
DIGIT_WIDTH = 20
COUNT = 6
BACKGROUND = 0.12
MOVEMENT_INTERVAL = 5

[ODOMETER_TRIP]
NAME = SUPRA_MAIN_DASH
FONT = arial_big
FONT_SCALE = 0.8
POSITION = 329, 267
SIZE = 118, 27
DIGIT_WIDTH = 20
COUNT = 4
LAST_DIGIT_BACKGROUND_LOCATION = 0, 0
BACKGROUND = 0.12

Self-lighting:


[]
Meshes = 
@ = TurningLights, Channel = 3, NotCastingLight
1


--------------  EXHAUST  ---------------

[PARTICLES_FX_EXHAUST_0]
POSITION = 0.54, 0.31, -2.25

[PARTICLES_FX_EXHAUST_0]
DIRECTION = 20, -15.0, -75
; SPAWN_OFFSET = 0.02
SPREAD = 1
; COLOR = 0.7, 0.8, 1, 1
GROW = 0.5
LIFE = 2, 4
SPEED = 0.8, 1.8
INTENSITY = 0.2, 0.4
TEMPERATURE_THRESHOLD = 1




--------------  GAUGE  ---------------

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMP
NAME = ARROW_OIL_TEMP
ZERO = -42
STEP = 2.73

--------------  GAUGE EMISSIVE  ---------------

[EMISSIVE_HANDBRAKE_0]
NAME=int_gauge_symbol_handbrake
COLOR=50, 0, 0 1
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE
INPUT_THRESHOLD_INVERSE=0

[EMISSIVE_BATTERY_0]
NAME=int_gauge_symbol_battery
COLOR=50, 0, 0 1
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE
INPUT_THRESHOLD_INVERSE=1

[EMISSIVE_OPENDOORS_0]
NAME=int_gauge_symbol_doors
COLOR=50, 0, 0 1
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE
INPUT_THRESHOLD_INVERSE=0

[EMISSIVE_SEATBELT_0]
NAME=int_gauge_symbol_belts
COLOR=50, 0, 0 1
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE
INPUT_THRESHOLD_INVERSE=1


--------------  SOUND  ---------------
[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1

--------------  ANIMATIONS  ---------------

[ANIMATION_1]
INPUT = HANDBRAKE             ; bind to reverse gear
FILE = handbrake.ksanim    ; file name of new animation in “animations” folder
TIME = 0.2                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_2]
INPUT = TURNSIGNAL_LEFT             ; bind to reverse gear
FILE = blinker_left.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_3]
INPUT = TURNSIGNAL_RIGHT             ; bind to reverse gear
FILE = blinker_right.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_4]
INPUT = HAZARD            ; bind to reverse gear
FILE = hazard_button.ksanim   ; file name of new animation in “animations” folder
TIME = 0.25                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_5]
INPUT = EXTRA_A           ; bind to reverse gear
FILE = glass_right.ksanim   ; file name of new animation in “animations” folder
TIME = 2                ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_6]
INPUT = EXTRA_B           ; bind to reverse gear
FILE = glass_left.ksanim   ; file name of new animation in “animations” folder
TIME = 2                  ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_7]
INPUT = LIGHT          ; bind to reverse gear
FILE = headlights_circle.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_8]
INPUT = HORN          ; bind to reverse gear
FILE = horn_button.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_9]
INPUT = GAS        ; bind to reverse gear
FILE = throttle_pedal.ksanim   ; file name of new animation in “animations” folder
TIME = 0.3                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_10]
INPUT = BRAKE         ; bind to reverse gear
FILE = brake_pedal.ksanim   ; file name of new animation in “animations” folder
TIME = 0.3                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_11]
INPUT = CLUTCH          ; bind to reverse gear
FILE = clutch_pedal.ksanim   ; file name of new animation in “animations” folder
TIME = 0.3                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=1