[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.0001
HORN_AS_SIREN=0
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
IS_LOW_BEAM_AVAILABLE = 1


[DATA]
DISABLE_ANALOGINSTRUMENTSINI = 1  ; disables “analog_instruments.ini” completely, so you could recreate it with custom analog instruments
DISABLE_LIGHTSINI = 0             ; disables “lights.ini” completely, so you could recreate it with custom emissives (generally, not recommended)

[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[INSTRUMENTS]
RPM_VINTAGE = 1
RPM_VINTAGE_ROUND_TO = 1
RPM_VINTAGE_DELAY = 0
RPM_VINTAGE_SPEED_LAG = 0.95

[STATUS_BATTERY]
; parameters for overly simplified battery voltage estimation for instruments
; battery voltage reacts to RPM
BASE_VOLTAGE = 12.4  ; base battery voltage
MAX_VOLTAGE = 13.6   ; maximum battery voltage
RPM_LAG = 0.98       ; RPM lag

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
INTERIOR_FAKE_SHADOW_HEIGHT=0.1
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

[ANIMATION_0]
FILE=fuck.ksanim
TIME= 3.0
BIND_TO_EXTRA_A=1

;//////////////////////////////////////////ANALOG_INDICATOR//////////////////////////////////////////

[ANALOG_INDICATOR_...]
INPUT = SPEED             ; any of supported inputs
NAME = ARROW_SPEED          ; name of mesh to move
UPPER_BOUND = 280                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 275                    ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=0 | 280=265 | )

[ANALOG_INDICATOR_...]
INPUT = RPM             ; any of supported inputs
NAME = ARROW_RPM          ; name of mesh to move
UPPER_BOUND = 8000                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 240                    ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=0 | 8000=220| )

[ANALOG_INDICATOR_...]
INPUT = FUEL             ; any of supported inputs
NAME = ARROW_FUEL          ; name of mesh to move
UPPER_BOUND = 70                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 87                  ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=0 | 20=30 |30=50| 40=70| 70=87| )

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMPERATURE             ; any of supported inputs
NAME = ARROW_WATERTEMP         ; name of mesh to move
UPPER_BOUND = 140                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 80                    ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=0 | 70=40 | 140=80| )

;//////////////////////////////////////////ANALOG_ODOMETER//////////////////////////////////////////

[ODOMETER_MAIN]  
NAME= bmw_m5e28_88_cockpit_interior_gauge_emissive_  
FONT= odometer_font
BLEND_MODE=0
POSITION= 130,140
SIZE=155, 30
DIGIT_WIDTH=15
COUNT=6
BACKGROUND=0,0,0
COLOR=1, 1, 1
MOVEMENT_INTERVAL=1
OUTPUT_MULT=1

[ODOMETER_TRIP]
NAME= bmw_m5e28_88_cockpit_interior_gauge_emissive_
FONT= odometer_font
BLEND_MODE=0
POSITION= 160,243
SIZE=100, 35
DIGIT_WIDTH=15
COUNT=4
BACKGROUND=0,0,0
COLOR=1, 1, 1
MOVEMENT_INTERVAL=1
OUTPUT_MULT=1
LAST_DIGIT_COLOR=0.06, 0.06, 0.06
LAST_DIGIT_BACKGROUND=0.6, 0.6, 0.6

;//////////////////////////////////////////DASH_LIGHTS//////////////////////////////////////////


[EMISSIVE_TURNSIGNAL_LEFT_...];GREEN 
NAME= Warning_light_ts_L
COLOR=0, 40, 0, 1
LAG=0.1
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT=0
TOGGLE_VISIBILITY = 1

[EMISSIVE_TURNSIGNAL_RIGHT_...];GREEN 
NAME= Warning_light_ts_R
COLOR=0, 40, 0, 1
LAG=0.1
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT=0
TOGGLE_VISIBILITY = 1

[EMISSIVE_HIGHBEAM_...];BLUE
NAME= Warning_light_highbeam,BTN_LIGHT
TOGGLE_VISIBILITY = 1
COLOR=0,0,15,4
LAG=0.3

;//////////////////////////////////////////WIPERS//////////////////////////////////////////

[WIPERS]
FRONT_0= GEO_Body_Wiper_L1,GEO_Body_Wiper_L2,GEO_Body_Wiper_L3,GEO_Body_Wiper_L4 
FRONT_1= GEO_Body_Wiper_R1,GEO_Body_Wiper_R2,GEO_Body_Wiper_R3,GEO_Body_Wiper_R4  
WIND_THRESHOLDS_KMH = 150, 200  ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1        ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1        ; multiplier for frequency
WIND_OFFSET = 0.03

[WIPERS_TRACE_...]
SURFACE = EXT_WINDOWS,INT_WINDOWS 
WIPERS = GEO_Body_Wiper_L4,GEO_Body_Wiper_R4

;//////////////////////////////////////////HEAD_LIGHTS//////////////////////////////////////////

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=	1
BOUND_TO=HEADLIGHT
COLOR=3,2.5,1.5,1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.05, -0.15, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
MIRROR=0.6
OFF_MULT=0
POSITION=0, 0.6, 2.1
RANGE=10
RANGE_GRADIENT_OFFSET=0.01
SELF_LIGHTNING=1
SPECULAR_MULT=3
SPOT=100
SPOT_SHARPNESS=0.1

[LIGHT_HEADLIGHT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=3,2.5,1.5,3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.05, -0.15, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
MIRROR=0.4
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=0
POSITION=0, 0.6, 2.15
RANGE=10
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=60
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.45
SECOND_SPOT_SKIP=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SELF_LIGHTNING=1
SPOT=50
SPOT_EDGE=0.03, 0.03, 0.029
SPOT_EDGE_SHARPNESS=45
SPOT_SHARPNESS=0
SPOT_UP=0.05, 1, 0

[EMISSIVE_HIGHBEAM_0]
NAME=HB_Cover
COLOR=300, 240, 200, 1
SIMULATE_HEATING=0.2
ACT_AS_HEADLIGHTS=1
LAG=0.5

;//////////////////////////////////////////EXHAUST//////////////////////////////////////////

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.079,0.25,-2.251		; self explanatory
DIRECTION = 0, 0, -1		; self explanatory
COLOR = 0.75,0.8,1 		; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 1				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 1.0			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.15,0.25,-2.251		; self explanatory
DIRECTION = 0, 0, -1		; self explanatory
COLOR = 0.75,0.8,1 		; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 1				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 1.0			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears


[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=05                 ; 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
DISCHARGE_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=4.1               ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1              ; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=1                ; 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=1                ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=1           ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=2               ; 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=2 ; flame size
LIMITER_RPM_THRESHOLD=2000           ; limiter flames will not shoot below this rpm

[SHAKING_EXHAUST_...]
MESHES = _bmw_m1_echapp2
POINT_0 = 0.5342468 0.293629 -2.213641
POINT_0_RADIUS = 10
POINT_0_EXP = 5

[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = _bmw_m1_echapp2,
COLOR = 555, 20, 0, 3
USE_SMOOTH_TRANSITION = 6
INPUT_MIN = 0
INPUT_MAX = 100
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3

     ///MOVE///

[WOBBLY_BIT_...]
NAME = aroma004
CONNECTED_TO = 0, 0, 0
MAX_RANGE = 1.55
DAMPENING_LAG = 0.93
G_GAIN = 2
GRAVITY_GAIN = 3
OFFSET_GAIN = 100
STIFF_AXIS = 0, 0, 1
STIFF_AXIS_STIFFNESS = 0.7
G_FILTER = 0
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1
 
//////////////////////////////////////////////////////

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


[AUDIO_VOLUME]
BACKFIRE_EXT=1
BACKFIRE_INT=1
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=1
ENGINE_INT=1
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=1
TRACTION_CONTROL_EXT=
TRACTION_CONTROL_INT=
TRANSMISSION=0.2
TURBO=
WIND=1
SCRAPE = 0.5

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