[AUDIO_VOLUME]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 5.0
DIRT = 1.0
DOWN_SHIFT = 1.0
UP_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 0.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.45
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 0.0
LIMITER = 1.0
TURBO = 0.0
RAIN_EXT=1.0
RAIN_INT=2.0
WIPER_EXT=1.0
WIPER_INT=1.0



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

;[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 | 15000=11500 |)
;ENGINE_INT_RPMS = (| 0=0 | 15000=11500 |)

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.15
ANTILAG_INTENSITY=100
ANTILAG_INTERVAL_MAX=.1
ANTILAG_INTERVAL_MIN=0.05
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=1
;DAMAGE_DURATION=0.05
;DAMAGE_INTENSITY=1
;DAMAGE_PROBABILITY=1
DISCHARGE=1
;DISCHARGE_CHARGE_TIME=2
;DISCHARGE_DELAY=1
;DISCHARGE_DURATION=1
DISCHARGE_INTENSITY=100
;DISCHARGE_PROBABILITY=0.88
;DISCHARGE_RPM_THRESHOLD_MAX=5000
;DISCHARGE_RPM_THRESHOLD_MIN=4000
;DISCHARGE_WATER_TEMPERATURE_THRESHOLD=80
FLAT_SHIFT=1
;FLAT_SHIFT_COOLDOWN=0.23
;FLAT_SHIFT_DURATION=0.05
;FLAT_SHIFT_GAS_THRESHOLD=0.3
FLAT_SHIFT_INTENSITY=100
;FLAT_SHIFT_PROBABILITY=1
;FLAT_SHIFT_RPM_THRESHOLD=4000
LIMITER=1
LIMITER_DELAY=0.3
LIMITER_INTENSITY=100
LIMITER_RPM_THRESHOLD=0

[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT=1, 1, 1, 1
INTENSITY_MULT=5
SIZE_MULT=5
TEMPERATURE_MULT=5


;;PBR GLASS
;[INCLUDE: common/materials_glass.ini]
;[Material_Glass]
;Materials = clearglass
;ThicknessMult = 2.5
;EXTRA_MASK_PASS = 1
;EXTRA_MASK_PASS_OPACITY = 5
; FilmIOR=3


[ANIMATION_...]
INPUT = G_FORCE             ; bind to reverse gear
FILE = bike_tilt.ksanim     ; file name of new animation in “animations” folder
INPUT_SELECTOR=X
INPUT_AS_PROGRESS = 1
INPUT_LUT = (|-5=1.0|0=0.5 | 5=0.0 |)
INPUT_LAG_UP = 0.9
INPUT_LAG_DOWN = 0.95

[ANIMATION_...]
INPUT = G_FORCE             ; bind to reverse gear
FILE = steer_tilt.ksanim     ; file name of new animation in “animations” folder
INPUT_SELECTOR=X
INPUT_AS_PROGRESS = 1
INPUT_LUT = (|-5=1.0|0=0.5 | 5=0.0 |)
INPUT_LAG_UP = 0.9
INPUT_LAG_DOWN = 0.95

[ANIMATION_...]
INPUT = STEER             ; bind to reverse gear
FILE = steeringwheel.ksanim     ; file name of new animation in “animations” folder
INPUT_AS_PROGRESS = 1
INPUT_LUT = (|-110=0.0|0=0.5 | 110=1.0 |)

; FRONT Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = BMW_S_1000_RR_2018.233,BMW_S_1000_RR_2018.092,BMW_S_1000_RR_2018.091
COLOR = 255, 128, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = FRONT
CAST_LIGHT = 1


; FRONT Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = BMW_S_1000_RR_2018.096, BMW_S_1000_RR_2018.097,BMW_S_1000_RR_2018.235
COLOR = 255, 128, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = FRONT
CAST_LIGHT = 1


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = BMW_S_1000_RR_2018.1168
COLOR = 0, 1, 0, 6
LAG = 0.1
SIMULATE_HEATING = 0.0
LOCATION = FRONT
CAST_LIGHT = 1

; Rear Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = BMW_S_1000_RR_2018.077,BMW_S_1000_RR_2018.078,BMW_S_1000_RR_2018.044
COLOR = 255, 128, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = BMW_S_1000_RR_2018.1170
COLOR = 0, 1, 0, 6
LAG = 0.1
SIMULATE_HEATING = 0.0
LOCATION = REAR
CAST_LIGHT = 1

;Traction Control Dash Light;
[EMISSIVE_TRACTIONCONTROL_0]
NAME=BMW_S_1000_RR_2018.1165
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=1,0.7,0,6
LAG=0.2
CAST_LIGHT=1


[EMISSIVE_ABS_0]
NAME=BMW_S_1000_RR_2018.1166
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=1,0.7,0,6
LAG=0.2
CAST_LIGHT=1

;Engine Damage Dash Light;
[EMISSIVE_ENGINE_DAMAGE_0]
NAME=BMW_S_1000_RR_2018.1163
ENGINE_LIFE_THRESHOLD=750kj
ACT_AS_HEADLIGHTS=0
COLOR=1,0.7,0,6
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=0

;GEAR R Dash Light
[EMISSIVE_GEAR_N_...]
NAME=BMW_S_1000_RR_2018.1162
COLOR = 0, 1, 0, 6
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0


; Rear Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = BMW_S_1000_RR_2018.082,BMW_S_1000_RR_2018.083,BMW_S_1000_RR_2018.046
COLOR = 255, 128, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_LIGHT_...]
;NAME=228-0-228
NAME=XsMax-screen
;NAME=228-0-228, 227-0-227, 225-0-225
COLOR=1,1,1,1.0
;OFF_COLOR=100,2,0
;LAG=0.8
;SIMULATE_HEATING=0.6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 

[EMISSIVE_LIGHT_...]
NAME=BMW_S_1000_RR_2018.634
COLOR=1,0,0,50
OFF_COLOR=1,0,0,50
;LAG=0.8
;SIMULATE_HEATING=0.6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 

[EMISSIVE_LIGHT_...]
NAME= BMW_S_1000_RR_2018.1122,BMW_S_1000_RR_2018.1123
COLOR=0.1,0,0,50
OFF_COLOR=0.1,0,0,50
;LAG=0.8
;SIMULATE_HEATING=0.6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 

[EMISSIVE_HIGHBEAM_...]
NAME= BMW_S_1000_RR_2018.445
COLOR=0,0.3,1,6
;LAG=0.8
;SIMULATE_HEATING=0.6
FALLBACK_LOWBEAM_COLOR=0,1,0,6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 


[EMISSIVE_LIGHT_...]
NAME=BMW_S_1000_RR_2018.1130
COLOR=1,0,0,50
OFF_COLOR=1,0,0,50
;LAG=0.8
;SIMULATE_HEATING=0.6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 

[EMISSIVE_LIGHT_...]
NAME=BMW_S_1000_RR_2018.446
COLOR=0.4,0.5,0.7,2.5
OFF_COLOR=0.4,0.5,0.5,2.5
;LAG=0.8
;SIMULATE_HEATING=0.6
LAG=0.2
SIMULATE_HEATING=0
CAST_LIGHT=1 




;;Sat Navigation
;[NAVIGATOR_0 : Navigator_StyleModernDark]
;Meshes = XsMax-screen
;Resolution = 473, 1024
;Offset = 0, 0
;Size = 473, 1024
;BTN_PHONE_MESSAGE = "Come join RVZ on Discord\ndiscord.gg/FkEJKMnzJ5"
;;DYNAMIC_OPACITY = 0  ; disabling component from the start, relying on scriptable display to activate it when needed
;
;
;
;[CAR_STEREO_0]
;ACTIVE = $" read('csp/version', 0) >= 1279 "
;
;MESHES = XsMax-screen
;RESOLUTION = 473, 1024
;DISPLAY_POS = 0, 0
;Size = 473, 1024
;COLOR = 2, 2, 4
;;FADE_WHEN_INACTIVE = 0.95
;DITHERING = 2
;
;;; background
;;RECT_4 = 1
;;RECT_4_START = 0, 0
;;RECT_4_SIZE = 473, 1024
;;RECT_4_COLOR = 0, 0, 0, 1
;;RECT_4_Z_INDEX = -10
;
;; 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.0
;TEXT_CSP_0_START = 210, 85
;TEXT_CSP_0_SIZE = 450, 48
;TEXT_CSP_0_FONT_TYPE = MONOSPACE
;TEXT_CSP_0_Z_INDEX = 10
;TEXT_CSP_0_SCALE = 1
;TEXT_CSP_0_BOLD = 1
;
;; main text
;TEXT_CSP_4 = "{Artist}"
;TEXT_CSP_4_NOALBUM = "{Artist}"
;TEXT_CSP_4_NOARTIST = ""
;TEXT_CSP_4_FALLBACK = "Spotify Not Detected"
;TEXT_CSP_4_ALIGN_LAYOUT = 0.0
;TEXT_CSP_4_START = 210, 130
;TEXT_CSP_4_SIZE = 450, 48
;TEXT_CSP_4_FONT_TYPE = MONOSPACE
;TEXT_CSP_4_Z_INDEX = 10
;TEXT_CSP_4_SCALE = 1
;TEXT_CSP_4_BOLD = 0
;;
;; track position
;TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
;TEXT_CSP_1_ALIGN_LAYOUT = 0
;TEXT_CSP_1_START = 204, 175
;TEXT_CSP_1_SIZE = 460, 48
;TEXT_CSP_1_FALLBACK = " "
;TEXT_CSP_1_FONT_TYPE = MONOSPACE
;TEXT_CSP_1_Z_INDEX = 10
;TEXT_CSP_1_SCALE = 0.8
;TEXT_CSP_1_BOLD = 0
;
;; track duration
;TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
;TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
;TEXT_CSP_2_START = 260, 175
;TEXT_CSP_2_SIZE = 80, 48
;TEXT_CSP_2_FALLBACK = " "
;TEXT_CSP_2_FONT_TYPE = MONOSPACE
;TEXT_CSP_2_Z_INDEX = 10
;TEXT_CSP_2_SCALE = 0.8
;TEXT_CSP_2_BOLD = 0
;
;; track duration
;TEXT_CSP_3 = "/"
;TEXT_CSP_3_ALIGN_LAYOUT = 1, 0
;TEXT_CSP_3_START = 260, 175
;TEXT_CSP_3_SIZE = 20, 48
;TEXT_CSP_3_FALLBACK = " "
;TEXT_CSP_3_FONT_TYPE = MONOSPACE
;TEXT_CSP_3_Z_INDEX = 10
;TEXT_CSP_3_SCALE = 0.8
;TEXT_CSP_3_BOLD = 0
;;
;;; progress bar background
;;RECT_5 = 1
;;RECT_5_START = 65, 236
;;RECT_5_SIZE = 113, 1
;;RECT_5_Z_INDEX = 12
;;RECT_5_COLOR = 1, 1, 1, 1
;;
;;; progress bar background
;;RECT_6 = 1
;;RECT_6_START = 65, 232
;;RECT_6_SIZE = 113, 5
;;RECT_6_Z_INDEX = 11
;;RECT_6_COLOR = 1, 0.5, 0, 1
;;RECT_6_SCALE_WITH_PROGRESS = 1, 0
;;
;;; album cover in the middle
;ALBUM_COVER_0 = 1
;ALBUM_COVER_0_START = -50, 170
;ALBUM_COVER_0_SIZE = 570, 570
;ALBUM_COVER_0_Z_INDEX = -1
;ALBUM_COVER_0_FALLBACK = ;MUSIC
;ALBUM_COVER_0_FALLBACK_COLOR = 0.3, 0.3, 0.3, 1
;ALBUM_COVER_0_FALLBACK_BACKGROUND = 0.05, 0.05, 0.05, 0
;ALBUM_COVER_0_FALLBACK_SIZE = 30
;ALBUM_COVER_0_COLOR = 1, 1, 1, 1
;;
;;; animation below album cover
;;ANIMATION_0 = 12, 8
;;ANIMATION_0_START = 40, 152
;;ANIMATION_0_BLOCK = 10, 2
;;ANIMATION_0_MARGIN = 3, 3
;;ANIMATION_0_BASE_ROW = BOTTOM
;;
;;; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
;;ALBUM_COVER_1 = 1
;;ALBUM_COVER_1_START = -60, 0
;;ALBUM_COVER_1_SIZE = 427, 472
;;ALBUM_COVER_1_COLOR = 1, 1, 1, 0.04
;;ALBUM_COVER_1_Z_INDEX = -10
;
;; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
;ALBUM_COVER_1 = 1
;ALBUM_COVER_1_START = -520, 0
;ALBUM_COVER_1_SIZE = 1500, 1500
;ALBUM_COVER_1_COLOR = 1, 1, 1, 0.09
;ALBUM_COVER_1_Z_INDEX = -10


;cluster needles
[EMISSIVE_...]
NAME=BMW_S_1000_RR_2018.447,BMW_S_1000_RR_2018.107
COLOR = 0.05,0.05,1,100
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
INPUT = RPM
INPUT_THRESHOLD = 12000
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[LIGHT_HEADLIGHT_0]
 COLOR	=	0.977465, 0.988732, 1, 10
 MIRROR = 0.1
 POSITION	=	0, 0.787387, 0.80729
 
 [EMISSIVE_LIGHT_...]
NAME=BMW_S_1000_RR_2018.088,BMW_S_1000_RR_2018.647,BMW_S_1000_RR_2018.086
COLOR=1,1,1,1000
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0

[EMISSIVE_LIGHT_...]
NAME=BMW_S_1000_RR_2018.1145
COLOR=1,1,1,15
OFF_COLOR=1,1,1,15
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0

[EMISSIVE_HIGHBEAM_1]
NAME=BMW_S_1000_RR_2018.087,BMW_S_1000_RR_2018.089
ACT_AS_HEADLIGHTS=1
COLOR=1,1,1,1500

;Brake Lights
[EMISSIVE_BRAKE_...]
NAME=BMW_S_1000_RR_2018.300,BMW_S_1000_RR_2018.301,BMW_S_1000_RR_2018.302,BMW_S_1000_RR_2018.303,BMW_S_1000_RR_2018.304,BMW_S_1000_RR_2018.305,BMW_S_1000_RR_2018.306,BMW_S_1000_RR_2018.307,BMW_S_1000_RR_2018.308,BMW_S_1000_RR_2018.309,BMW_S_1000_RR_2018.310,BMW_S_1000_RR_2018.311,BMW_S_1000_RR_2018.312,BMW_S_1000_RR_2018.313,BMW_S_1000_RR_2018.314,BMW_S_1000_RR_2018.315,BMW_S_1000_RR_2018.316, BMW_S_1000_RR_2018.317
COLOR=1, 0, 0,900
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_HEADLIGHTS_COLOR=1, 0, 0,90


;[BRAKEDISC_FX]
;DEBUG = 0
;ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
;CERAMIC = 0          ; use ceramic look
;CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
;CARVED_FREQUENCY = 20  ; increase to make more lines
;GLOW_OFFSET = 0.8      ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle
;
;; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
;ALPHA_MASK = 0.1, 0.3  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition
;
;; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
;LUMINOCITY_MASK = 0.01, 0.03  ; everything darker than 0.01 is a deepening
;NORMAL_MASK = 0.5, 0.1        ; everything looking away more than 50% is a deepening
;
;; Patch would try and guess size of brake disc and its inside area from its mesh, but if it fails:
;DISC_RADIUS = 055.211           ; radius of a brake disc
;DISC_INTERNAL_RADIUS = 0.1192  ; radius of an inside part of a brake disc



; exhaust glow
[INCLUDE: common/gt3_exhaust_glow.ini]
ExhaustLightPoint =-0.0, 0.201, -0.196
ExhaustPoint = -0.217, 0.564, -0.756
ExhaustMeshes_MultiMap = BMW_S_1000_RR_2018.749,BMW_S_1000_RR_2018.750,BMW_S_1000_RR_2018.751,BMW_S_1000_RR_2018.753,BMW_S_1000_RR_2018.752,BMW_S_1000_RR_2018.006,BMW_S_1000_RR_2018.748
ExhaustRadiusInner = 0.202
ExhaustRadiusThicknessInv =0.01
ExhaustGlowTint = 0.02
ExhaustNormalsK = 0.1
ExhaustAreaScale = 0.1, 1, 0.03
ExhaustMirror = 0
ExhaustLightRange = 0.5
;ExhaustTemperatureMin = 1
;ExhaustTemperatureMax = 3
;ExhaustPositioningHelp = 1

[DRIVER3D_MODEL]
NAME=driver_niko2
POSITION=0.0,0.0,0.0