[BASIC]
IS_LOW_BEAM_AVAILABLE=1
HEADLIGHTS_ARE_HEADLIGHTS = 1 
[DATA]
DISABLE_LIGHTSINI = 0
LIGHT_SWITCH_LAG_REAR_LIGHT6 = 0.1



[LIGHTING]
INTERIOR_DARKEN_LIGHT=1.0
INTERIOR_DARKEN_SPECULAR=0.5
INTERIOR_FAKE_SHADOW_OPACITY=0.8
INTERIOR_FAKE_SHADOW_HEIGHT=0.0
LIT_MULTIPLIER=0.5
SPECULAR_MULTIPLIER=1
 

[LIGHT_BRAKEDISCS]
COLOR=0.5, 0.1, 0, 2

[BRAKEDISC_FX]
ACTIVE = 0             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else




 
[EXHAUST_FLAMES]
ANTILAG=1 ; turbó antilag, ezt még nem teszteltem
ANTILAG_DELAY=0 ; mennyi idővel az antilag trigger után indulnak el a lángok, másodpercek alatt
ANTILAG_INTENSITY=3 ; flame size
ANTILAG_INTERVAL_MAX=0.25
ANTILAG_INTERVAL_MIN=0
ANTILAG_TURBO_THRESHOLD=0 
DAMAGE=1 ; engine damage? idk
DAMAGE_DURATION=10.00
DAMAGE_INTENSITY=5
DAMAGE_PROBABILITY=1
DISCHARGE=1 ; leemelve a gázkart
DISCHARGE_CHARGE_TIME=2 ; mennyi ideig kell nyomni a gázkart a lángok "feltöltéséhez".
DISCHARGE_DELAY=0.02 ; késleltetés a gázemelés után
DISCHARGE_DURATION=3 ; a lánglövés hossza, másodpercben
DISCHARGE_PROBABILITY=0.8; a láng kilövése esélye emelésre, 1 garantált, 0 soha
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=4100 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=4000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1 ; felfelé váltáskor
FLAT_SHIFT_COOLDOWN=0.2 ; felfelé váltás után
FLAT_SHIFT_DURATION=0.1 ; a lánglövés hossza, másodpercben
FLAT_SHIFT_GAS_THRESHOLD=50 ; mennyi gázt kell nyomni a felfelé kapcsolásnál a lánghoz, a 100-as teljesen nyitva van
FLAT_SHIFT_INTENSITY=3 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; felfelé váltáskor láng keletkezik
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=7700 ; a limiter eltalálásakor
LIMITER_DELAY=0.0 ; késleltetés, másodpercben
LIMITER_INTENSITY=0.5 ; flame size
LIMITER_RPM_THRESHOLD=8600 ; A korlátozó lángok nem lőnek ki ezen fordulatszám alatt

[SHAKING_EXHAUST_0]
MESHES = exh_b_m_shiny_SUB1, exh_b_m_shiny_SUB0
POINT_0 = -15, -15, -11
POINT_0_RADIUS = 30
POINT_0_EXP = 1

EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = exh_b_m_shiny_SUB1
COLOR = 5, 1.2, 0, 2
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 200
INPUT_LUT = (| 84 = 0 | 110 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3
ExhaustPoint = 15.05, 20.77, -344.56
ExhaustLightPoint = 15.05, 20.77, -344.56
ExhaustMeshes_MultiMap = exh_b_m_shiny_SUB1
ExhaustMeshes_PerPixel = exh_b_m_shiny_SUB1



[EMISSIVE_REVERSE_0]
NAME=SUPRA_LIGHTS
CHANNEL=0
COLOR=255,255,255, 0.5
LAG=0.5
LOCATION=REAR
SIMULATE_HEATING=1
CAST_LIGHT=1




[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=indexbe
COLOR=240,150,0,2
LAG=0.5
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=indexbo
COLOR=240,150,0,2
LAG=0.5
SIMULATE_HEATING=1
LOCATION=SIDE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=indexbh
COLOR=240,150,0,2
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0





[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=indexje
COLOR=240,150,0,2
LAG=0.5
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0



[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=indexjo
COLOR=240,150,0,2 
LAG=0.5
SIMULATE_HEATING=1
LOCATION=SIDE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0



[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=indexjh
COLOR=240,150,0,2
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0



[EMISSIVE_TURNSIGNAL_NOHAZARD_LEFT_...]
NAME=indexbb
TOGGLE_VISIBILITY = 0
COLOR=25,15,0, 15
LAG=0.2


[EMISSIVE_TURNSIGNAL_NOHAZARD_RIGHT_...]
NAME=indexjb
TOGGLE_VISIBILITY = 0
COLOR=25,15,0, 15
LAG=0.2





[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_FRONT

[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_LEFT

[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_RIGHT

[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_SIDE

[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_REAR

[Material_PhotoelasticGlass]
Meshes= SUPRA_GLASS_EXT_REAR_LIGHTS

[Material_PhotoelasticGlass]
Meshes= SUPRA_LIGHTS_GLASS







------------AUDIO-----------

[AUDIO_PITCH]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 1.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0

[AUDIO_VOLUME]
ENGINE_EXT = 0.5
ENGINE_INT = 1.5
GEAR_EXT = 3.0
GEAR_INT = 3.0
BODYWORK = 3.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND =    3.0
BACKFIRE_EXT = 3.0
BACKFIRE_INT = 3.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 4.0
LIMITER = 0.1
TURBO = 2.0







[AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 0=0 | 8500=7100 |)
ENGINE_INT_RPMS = (| 0=0 | 8500=7100 |)







[ANIMATION_...]
INPUT=EXTRA_D
FILE=car_door_R.ksanim
TIME=1.0
INPUT_AS_PROGRESS = 0                   ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_...]
INPUT=EXTRA_D
FILE=car_door_L.ksanim
TIME=1.0
INPUT_AS_PROGRESS = 0                   ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0





[LIGHT_EXTRA_0]                                 ;(REAR)
LINE_FROM=-258.08, 123.5, 2221.59                      ;position of the glow
LINE_TO=-258.08, 123.5, 2221.59                         ;position of the glow
BIND_TO_EXTRA_B=0 
BIND_TO_HEADLIGHTS=0                           ;(1=turn on with headlights) (0=always on)
COLOR=0,0,0,0                                 ;more zeroes=brighter
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.1
SPOT=150
SPOT_SHARPNESS=0.3
SPECULAR_MULT=0
DIRECTION=0, 1, 0
SELF_LIGHTNING=0                                ;(1=glow will light up objects surrounding it)
EXTERIOR_ONLY=1                                 ;(1=only visible from outside)
INTERIOR_ONLY=0                                 ;(1=only visible from cockpit view)



--------------------------------------------------------------------------------------------------
{Interior}
--------------------------------------------------------------------------------------------------


[LIGHT_EXTRA_1]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.99, 0.1
LINE_TO=0.2, 0.99, 0.1
BIND_TO_EXTRA_C=1
COLOR=5,5,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[LIGHT_EXTRA_2]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.99, -0.4
LINE_TO=0.2, 0.99, -0.4
BIND_TO_EXTRA_C=1 
COLOR=5,5,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0



[EMISSIVE_HIGHBEAM_...]  
NAME= supra_front_light_main_mask_light    
COLOR=89,98,102,2.5
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT


[EMISSIVE_HIGHBEAM_...]  
NAME= SUPRA_FRONT_LIGHT_MAIN_003     
COLOR=89,98,102,2.5
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT


[EMISSIVE_HIGHBEAM_...]  
NAME= SUPRA_INT_LIGHT
COLOR=0,0,100,1
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT


[EMISSIVE_HAZARD_...]
NAME=haz1, haz2
TOGGLE_VISIBILITY = 0
COLOR=20,0.2,0, 4
LAG=0.2

[LIGHT_LICENSEPLATE]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
MESHES=Plate_LODA
OFFSET=-0.0, -0.05, -0.1
RANGE=0.29
RANGE_GRADIENT_OFFSET=0.1
SPOT=300
SPOT_SHARPNESS=0.1
COLOR=5,4,2.25,0.5
FALLBACK_EMISSIVE=5,4.2,3.3,0.1
LAYOUT=TWO_ON_TOP
FADE_AT=199


[EMISSIVE_LIGHT_...]
NAME = platelight
COLOR=4,2,1,10
OFF_COLOR = 0, 0, 0         
LAG = 0.4                   
SIMULATE_HEATING = 0.8     
LOCATION = FRONT
BIND_TO_HEADLIGHTS=1


[TYRES_FX_CUSTOMTEXTURE_SM]
TXDIFFUSE = TIRestyre_SS_Kumho_v730_diff.DDS
TXBLUR = TIRestyre_SS_Kumho_v730_diff.DDS
TXNORMAL = TIRestyre_SS_Kumho_v730_nm.DDS
TXNORMALBLUR = TIRestyre_SS_Kumho_v730_nm.DDS






[SHADER_REPLACEMENT_...]
MATERIALS = supra_exterior_window_frame, Material #61, supra_exterior_plastic
PROP_... = ksAmbient, 0.05
PROP_... = ksDiffuse, 0.05
PROP_... = fresnelEXP, 5
PROP_... = fresnelMaxLevel, 1
PROP_... = fresnelC, 0.04
PROP_... = ksSpecular, 0.08
PROP_... = ksSpecularEXP, 20
PROP_... = extExtraSharpLocalReflections, -0.001
DOUBLE_FACE_SHADOW_BIASED = 1


[SHADER_REPLACEMENT_...]
MATERIALS = supra_body, AP_racing, SpokeMat, chroom
SHADER = ksPerPixelMultiMap_emissive
FILL_MISSING_TEXTURES = 1
PROP_... = ksAmbient, 0.43
PROP_... = ksDiffuse, 0.4
PROP_... = fresnelEXP, 5
PROP_... = fresnelMaxLevel, 1
PROP_... = fresnelC, 0.1
PROP_... = ksSpecular, 1
PROP_... = ksSpecularEXP, 600
PROP_... = isAdditive, 2
PROP_... = extExtraSharpLocalReflections, -0.001
DOUBLE_FACE_SHADOW_BIASED = 1


[SHADER_REPLACEMENT_...]
MATERIALS = SSR_obod, SSR_bolts
PROP_... = ksAmbient, 0.3
PROP_... = ksDiffuse, 0.3
PROP_... = fresnelEXP, 5
PROP_... = fresnelMaxLevel, 0.5
PROP_... = fresnelC, 0.4
PROP_... = ksSpecular, 1
PROP_... = ksSpecularEXP, 400
PROP_... = isAdditive, 0
PROP_... = extExtraSharpLocalReflections, -0.2
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...]
MATERIALS = tyre
PROP_... = ksAmbient, 0.321
PROP_... = ksDiffuse, 0.1
PROP_... = fresnelEXP, 5
PROP_... = fresnelMaxLevel, 0.05
PROP_... = fresnelC, 0
PROP_... = ksSpecular, 0.05
PROP_... = ksSpecularEXP, 40



[SHADER_REPLACEMENT_...]
MATERIALS = EXT_Disc
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = fresnelEXP, 5
PROP_... = fresnelMaxLevel, 1
PROP_... = fresnelC, 0.04
PROP_... = ksSpecular, 0.5
PROP_... = ksSpecularEXP, 200
PROP_... = isAdditive, 0
PROP_... = extExtraSharpLocalReflections, -0.001
DOUBLE_FACE_SHADOW_BIASED = 1




[EMISSIVE_EXTRA_E_0] 
BIND_TO_EXTRA_E=1
BIND_TO_HEADLIGHTS=0
NAME = r_widening_2_sub48_only_x
COLOR=0,0,0,0
OFF_COLOR = 0,0,0
LAG = 0.01
SIMULATE_HEATING = 0
LOCATION =FRONTCFCC
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0









