;    ///SPOTIFY V. YouTube Music Integration///
[CAR_STEREO_...]
ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = ecran
RESOLUTION = 1920, 1080
DISPLAY_POS = 655, 305
DISPLAY_SIZE = 748, 748
COLOR = 1, 1, 1, 1
FADE_WHEN_INACTIVE = 1.00
DITHERING = 20

[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=40 ; flame size
ANTILAG_INTERVAL_MAX=9000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DI3CHARGE_CHARGE_TIME=0.001 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=3.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=9000 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=5 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=80 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=8500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=5 ; flame size
LIMITER_RPM_THRESHOLD=2000 ; limiter flames will not shoot below this rpm

; artist text
TEXT_CSP_0 = "{Artist}"
TEXT_CSP_0_NOALBUM = "{Artist}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = "Please Connect Device"
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 50, 218
TEXT_CSP_0_SIZE = 350, 400
TEXT_CSP_0_FONT_TYPE = ARIAL
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 1, 1
TEXT_CSP_0_BOLD = 1

; track text
TEXT_CSP_3 = "{Track}"
TEXT_CSP_3_NOALBUM = "{Track}"
TEXT_CSP_3_NOARTIST = "{Track}"
TEXT_CSP_3_FALLBACK = "Unknown Song"
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 50, 180
TEXT_CSP_3_SIZE = 350, 200
TEXT_CSP_3_FONT_TYPE = ARIAL
TEXT_CSP_3_Z_INDEX = 10
TEXT_CSP_3_SCALE = 1, 1
TEXT_CSP_3_BOLD = 1

; album text
TEXT_CSP_4 = "{Album}"
TEXT_CSP_4_NOALBUM = "{Album}"
TEXT_CSP_4_NOARTIST = "{Album}"
TEXT_CSP_4_FALLBACK = "Unknown Album"
TEXT_CSP_4_ALIGN_LAYOUT = 0
TEXT_CSP_4_START = 50, 255
TEXT_CSP_4_SIZE = 355, 200
TEXT_CSP_4_FONT_TYPE = ARIAL
TEXT_CSP_4_Z_INDEX = 10
TEXT_CSP_4_SCALE = 1, 1
TEXT_CSP_4_BOLD = 1

; track position
TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
TEXT_CSP_1_ALIGN_LAYOUT = 0
TEXT_CSP_1_START = 15, 307
TEXT_CSP_1_SIZE = 620, 48
TEXT_CSP_1_FONT_TYPE = MONOSPACE
TEXT_CSP_1_Z_INDEX = 10
TEXT_CSP_1_SCALE = 0.8
TEXT_CSP_1_BOLD = 1

; track duration
TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
TEXT_CSP_2_START = 300, 307
TEXT_CSP_2_SIZE = 100, 50
TEXT_CSP_2_FONT_TYPE = MONOSPACE
TEXT_CSP_2_Z_INDEX = 10
TEXT_CSP_2_SCALE = 0.8
TEXT_CSP_2_BOLD = 1

; progress bar background
RECT_5 = 1
RECT_5_START = 80, 315
RECT_5_SIZE = 250, 5
RECT_5_Z_INDEX = 11
RECT_5_COLOR = 0.2, 0., 0., 0.5

; progress bar background
RECT_6 = 1
RECT_6_START = 80, 315
RECT_6_SIZE = 250, 5
RECT_6_Z_INDEX = 12
RECT_6_COLOR = 0.8, 0.5, 0.25, 1
RECT_6_SCALE_WITH_PROGRESS = 1, 0


; album cover in the middle
ALBUM_COVER_0 = 1
ALBUM_COVER_0_START = 400, 185
ALBUM_COVER_0_SIZE = 150, 150
ALBUM_COVER_0_Z_INDEX = -1
ALBUM_COVER_0_FALLBACK = MUSIC
ALBUM_COVER_0_FALLBACK_COLOR = 1.5, 1.5, 0, 0.5
ALBUM_COVER_0_FALLBACK_BACKGROUND = 0.05, 0.05, 0.05, 1
ALBUM_COVER_0_FALLBACK_SIZE = 50


;     ///SPOTIFY V. YouTube Music Integration///
[CAR_STEREO_...]
ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = ecran
RESOLUTION = 1000, 1000
DISPLAY_POS = 189, -172
DISPLAY_SIZE = 248, 248
COLOR = 1, 1, 1, 1
FADE_WHEN_INACTIVE = 0.95
DITHERING = 20

; track text
TEXT_CSP_3 = "{Track}"
TEXT_CSP_3_NOALBUM = "{Track}"
TEXT_CSP_3_NOARTIST = "{Track}"
TEXT_CSP_3_FALLBACK = ""
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 50, 180
TEXT_CSP_3_SIZE = 155, 200
TEXT_CSP_3_FONT_TYPE = MONOSPACE
TEXT_CSP_3_Z_INDEX = 10
TEXT_CSP_3_SCALE = 1, 1
TEXT_CSP_3_BOLD = 0

-----------------Cligno---------------------

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=clignoavg
COLOR=100,100,100
LAG=0
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=clignoavd
COLOR=100,100,100
LAG=0
SIMULATE_HEATING=0.56
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=clignoarrg
COLOR=100,100,100
LAG=0
SIMULATE_HEATING=0.6
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=clignoarrd
COLOR=100,100,100
LAG=0
SIMULATE_HEATING=0.56
LOCATION=FRONT

-----------------Fam--------------------------

[ANIMATION_...]
INPUT = HANDBRAKE        
FILE = FAM.ksanim          
TIME = 0.7                 
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0       
LOOP_KEEP_UNTIL_DONE = 1    
TICK_TOCK_MODE = 0   

[ANIMATION_...]
INPUT = HANDBRAKE        
FILE = HANDBRAKE.ksanim          
TIME = 2.0                 
INPUT_AS_PROGRESS = 0       
LOOP_WHILE_ACTIVE = 0       
LOOP_KEEP_UNTIL_DONE = 1    
TICK_TOCK_MODE = 0         

[ANIMATION_...]
INPUT = EXTRA_C
FILE = toitouvrant.ksanim
TIME = 1.0 
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 1
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 1

[ANIMATION_...]
INPUT = EXTRA_B
FILE = coffre.ksanim
TIME = 1.0 
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 1
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 1

[ANIMATION_...]
INPUT = EXTRA_A
FILE = capot.ksanim
TIME = 1.0 
INPUT_AS_PROGRESS = 0
LOOP_WHILE_ACTIVE = 0
LOOP_KEEP_UNTIL_DONE = 1
TICK_TOCK_MODE = 0
AFFECTS_INTERIOR_SHAPE = 1

[SHAKING_EXHAUST_...]
MESHES = default004, , yugo_55, ventiloturbo
POINT_0 = 0.397, 0.29, -1.8
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.12, 0.3, 0.06

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

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

[WIPERS_TRACE_...]
SURFACE= default040
WIPERS = Objet020, Objet019

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Car_Paint
DisableDev = 1


[Material_PhotoelasticGlass]

Meshes = default027, default032, 
ExteriorGlassHeadlightsMaterials = 
FilmIOR = 0.2              ; looks better like this
PhotoelasticityMult = 0.2  ; doesn’t look good if too high
ProfileFix = 0.08          ; a bit thicker edge

; 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 = 20      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.18  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.8   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.1  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 10   ; how many stripes are there

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




