[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]
[INCLUDE: navigators_maps.ini]
[INCLUDE: instument.ini]


[WOBBLY_BIT_...]
NAME = mmp_koku
CONNECTED_TO = -0.0053, 1.25, 0.415
MAX_RANGE = .2              ; max range node can move from its original position
DAMPENING_LAG = 0.9            ; think of it as usual AC lag value, trying to zero node’s speed
G_GAIN =1             ; how much G-forces affect node’s speed
GRAVITY_GAIN =-1              ; how much gravity affects node’s speed
OFFSET_GAIN = 100             ; how strong is returning force
STIFF_AXIS = 1, ,1          ; optional higher stiffness axis to reduce movement along it
STIFF_AXIS_STIFFNESS = 0.7    ; now stiff is optional stiffness axis
G_FILTER = 0.5           ; temporal filter for G-forces
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1 ; either 0 or 1; set it to 1 if you don’t want gravity to skew your stuff when car is in neutral position


[EMISSIVE_...]
NAME = LED_0
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 4500
COLOR = 0,2,10,9
LAG=0.1

[EMISSIVE_...]
NAME = LED_1
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 5000
COLOR = 0,2,10,9
LAG=0.1

[EMISSIVE_...]
NAME = LED_2
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 5500
COLOR = 0,2,10,9
LAG=0.1

[EMISSIVE_...]
NAME = LED_3
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 6000
COLOR = 0,2,10,15
LAG=0.1

[EMISSIVE_LIGHT_...]
NAME =rpmscreen
COLOR =3
OFF_COLOR = 3

[EMISSIVE_LIGHT_...]
NAME =jbo_redline360c
COLOR =5
OFF_COLOR = 5

[EMISSIVE_...]
NAME = LED_4
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 6600
COLOR = 0,2,10,15
BLINKING_PATTERN=(|0=3||1=0|)
BLINKING_DURATION=0.15
LAG=0.1


[SCRIPTABLE_DISPLAY_...]
MESHES = rpmscreen	; mesh the SCRIPTABLE_DISPLAY draws onto.
SCRIPT = stwheel.lua
;GOPRO BLACK
[Material_InteriorPBR]
Meshes =GOPRO_PLASTIC?
Metalness = 0.00
Reflectance =0.07
BrightnessAdjustment = 0.02
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0

[Material_InteriorPBR]
Meshes =GOPRO_CHROME?
Metalness = 0.5
Reflectance =0.5
BrightnessAdjustment = 0.2
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0

[Material_Aluminium_v2]
Meshes =GOPROALU
BrightnessAdjustment = 0.22
Metalness = 0.4
Reflectance = 0.1
BrightnessAdjustment = 0.5
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 30
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2

[EMISSIVE_LIGHT_...]
NAME=go_led003
COLOR=22,1,0,15
OFF_COLOR=22,1,0,15
LAG=0
SIMULATE_HEATING=0
BLINKING_PATTERN=(|0=0|0.0=0|0.52=0|1=0.4|1.5=0.0|2.1=0.0|)
BLINKING_DURATION=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0
CAST_LIGHT=1
──────────────────────────────────────────────
[DATA] 
DISABLE_LIGHTSINI = 1
──────────────────────────────────────────────
[BASIC]
IS_LOW_BEAM_AVAILABLE = 1

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
────────────────────── Exterior PBR Shaders────────────────────────
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[BRAKEDISC_FX]
ACTIVE = 1
DISC_RADIUS = 0.3          ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.05  ; radius of an inside part of a brake disc
────────────────────── DOUBLE SIDED MESH ────────────────────────

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = EXT_Tyre
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.2
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1


[SHADER_REPLACEMENT_...]
MATERIALS =EXT_BODY,EXT_CARBON
CULL_MODE = DOUBLESIDED
────────────────────── TRANSPARENT ────────────────────────
[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend,
MATERIALS = 
IS_TRANSPARENT = 1

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_PLATE_LOGO.001
IS_TRANSPARENT = 1
CAST_SHADOWS = 0 
BLEND_MODE = ALPHA_TEST

[SHADER_REPLACEMENT_...]
MATERIALS = star
IS_TRANSPARENT = 1
BLEND_MODE = ALPHA_BLEND
──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,material:EXT_GLASS_orange,material:EXT_RED_GLASS,EXTORANGEGLASSNM
SKIP_GBUFFER = 
GLASS_FILTER = 
────────────────────── EXHAUST ────────────────────────
[LIGHT_FLAME_0] ; Flame Brightness
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT = 1,1,1
TEMPERATURE_MULT =1
SIZE_MULT =  1.0
INTENSITY_MULT =1.00

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



[PARTICLES_FX_EXHAUST_...]
POSITION = 
DIRECTION = 
COLOR = 0.75,0.8,1
LIFE = 1, 0.03 				    ; how long particles last in the air before disappearing
SPEED = 0.5, 8 				    ; how fast smoke particles fly from the exhaust
SPREAD = 0.1				    ; initial spread of particles
STARTING_SIZE = 0.035			; initial size of particles
SPAWN_OFFSET = 0.01			    ; initial spawn point offset (length-wise)
INTENSITY = 0.1, 0.5			; smoke intensity
TEMPERATURE_LAG = 1			    ; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears


────────────────────── AUDIO ────────────────────────

[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

[AUDIO_VOLUME]
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
HORN=1
LIMITER = 1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=1
TURBO=1
WIND=1

[AUDIO_PITCH]
ENGINE_EXT = 1
ENGINE_INT = 1
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
BACKFIRE_INT = 1
TRACTION_CONTROL_EXT = 1
TRACTION_CONTROL_INT = 1
TRANSMISSION = 1
LIMITER = 1
TURBO = 1
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = 1
SKID_INT = 1

────────────────────── LICENSE PLATE LIGHTS ────────────────────────

;Plate Light
[EMISSIVE_LIGHT_...]
NAME=
COLOR=255, 255, 255, 0.05
OFF_COLOR=0,0,0
CAST_LIGHT=1
LAG = 0.8
CHANNEL = 0

[LIGHT_LICENSEPLATE]
MESHES=boot_SUB7.001
OFFSET= 0.025 ,0, -0.015
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.4
SPOT=170
SPOT_SHARPNESS=0.5
COLOR=10,13,13,1
FALLBACK_EMISSIVE=1,0.7,0.3,0.9
FADE_AT=100
FALLBACK_LOWBEAM_COLOR=1,0.7,0.3,0.9


────────────────────── LIGHTS ────────────────────────

[EMISSIVE_LIGHT_...] ; Lowbeam 
NAME=headlight_r
COLOR=120,120,150,2      
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=1231232214124
COLOR=120,120,160,3
FALLBACK_HEADLIGHTS_COLOR=120,120,150,2   
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; DRL 
NAME=DRL_SUB0
COLOR=100,100,122
OFF_COLOR=100,100,122
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_HEADLIGHTS]
COLOR=2,2,2,5
POSITION=0, 0.6, 2.3        ; position, relative to car, without X component
MIRROR=0.622                  ; and here is X: if non-zero, lights merge with distance
DIRECTION=0,-0.04, 3          ; direction for spotlight
RANGE_FIRSTPERSON=790.0       ; range when car is close to camera
RANGE_CARS_NEARBY=270.0        ; range when car is nearby, to avoid blinding
RANGE_CARS_DISTANT=190.0      ; range when car is far away
RANGE_GRADIENT_OFFSET=0.0     ; increase to move gradient further from the camera
FADE_FROM=l0.0               ; when to fade until full deactivation, from
FADE_TO=990.0                 ; when to fade, to
SPOT=98.0                     ; angle of spotlight, in degress
SPOT_SHARPNESS=0.1          ; how sharp should be spotlight
SPOT_EDGE=0.14, 0.14, 0.14    ; at what point of vertical axis (0�1, where 1 is fully vertical), light should stop
                              ; three numbers are for three color channels, for cheap chromatic abberations effectlllSPOT_EDGE_SHARPNESS=5.0      ; how sharp should be this limitation
SECOND_SPOT=89.0             ; second spotlight, to lit up areas nearby
SECOND_SPOT_SHARPNESS=0.1     ; how sharp second spotlight should be
SECOND_SPOT_SKIP=0.2         ; that�s the cheapest move, but you can make it ignore areas nearby to kind of imitate shadows
SECOND_SPOT_RANGE=93.0        ; range of second spotlight
SECOND_SPOT_INTENSITY=0.4    ; intensity of second spotlight

────────────────────── TAIL LIGHTS ────────────────────────

;DRL 
[EMISSIVE_LIGHT_...] 
NAME=taillight_r,taillight_l
COLOR=50, 0, 0, 4
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

; Brakelights 
[EMISSIVE_BRAKE_...] 
NAME=t123123,ta213
COLOR=50, 2, 0,5
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

;DRL + BRAKE 
[EMISSIVE_BRAKE_...]
NAME=
COLOR=50, 5, -10,5
FALLBACK_HEADLIGHTS_COLOR = 50, 5, -10
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

;EMERGENCY BRAKE
[EMISSIVE_BRAKE_...] 
NAME=brakelight_m
COLOR=110, 10, 10, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 110, 10, 10, 2
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[LIGHT_BRAKE_0] ; Brakelights Both DRL/Brakelights are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -.5, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.568
MIRROR_DIRECTION=0
POSITION=0.0, 0.673, -2.07
RANGE=7
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.135, 0.135, 0.135
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4
────────────────────── REVERSE LIGHT ────────────────────────

; Reverse Lights
[EMISSIVE_REVERSE_...] 
NAME =reversinglight_l,reversinglight_r ; name (one or more) of a mesh to glow
COLOR = 5     ; glowing color if condition is met
LAG = 0.0                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1        ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

[LIGHT_REVERSE_0] ; Reverse Lights
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.620
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0.0, 0.696, -1.99
RANGE=4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4
────────────────────── INDICATORS ────────────────────────

; Front Left Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]  
NAME=BLINKERLF
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Left Mid Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=mirror_l_SUB4
COLOR=100,20,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

; Rear Left Turnsignal 
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=
COLOR=100,30,0,1
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

; Front Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=BLINKERRF
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Mid Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=mirror_r_SUB4
COLOR=100,20,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=LR0
RANGE_PREFIX=LR
RANGE_START_INDEX=00
RANGE_END_INDEX=11
RANGE_DELAY=0.02 	
COLOR=200, 100, 0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.6

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=ML
RANGE_PREFIX=ML
RANGE_START_INDEX=0
RANGE_END_INDEX=12
RANGE_DELAY=0.03 	
COLOR=200, 50, 0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=MR
RANGE_PREFIX=MR
RANGE_START_INDEX=0
RANGE_END_INDEX=12
RANGE_DELAY=0.03 	
COLOR=200, 50, 0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.6


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=RR0
RANGE_PREFIX=RR
RANGE_START_INDEX=11
RANGE_END_INDEX=0
RANGE_DELAY=0.02 	
COLOR=200, 100, 0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.6

────────────────────── REFRACTION ────────────────────────
[REFRACTING_HEADLIGHT_0]
SURFACE =GLSREVERSE
INSIDE = boot_SUB1
INSIDE_BULBS=reversinglight_l,reversinglight_r
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.3
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.04
GLASS_COLOR = 0.48459578,0.48454732,0.48454732
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0043000085
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.56
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -0.0005353391,0.8626305,-2.2032049
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.64
ORIGIN = 0.42431465,0.8626305,-2.22077
RADIUS = 0.07815001
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1


────────────────────── INTERIOR LIGHTS ────────────────────────

; Cluster Light
[EMISSIVE_LIGHT_...] 
NAME=misc_a_SUB11
COLOR=2,2,3,2
OFF_COLOR=1,1,1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
DISABLE_WITH_EMISSIVE_LIGHT = 1

; Interior Decal Lights
[EMISSIVE_LIGHT_...] 
NAME=chassis_SUB14,steeringwheel_SUB6,door_dside_f_SUB12,chassis_SUB16,door_pside_f_SUB11,chassis_SUB16
COLOR=2,2,3,2
OFF_COLOR=2
LAG=0
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

; Arrows Light
[EMISSIVE_LIGHT_...] 
NAME=SCREEN
COLOR=2,2,2,1
OFF_COLOR=2,2,2
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] 
NAME=chassis_SUB20,door_dside_f_SUB13,door_pside_f_SUB12
COLOR=0.5,0,2,2
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] 
NAME=star001
COLOR=0.5,0,2,100
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

;RPM
[EMISSIVE_...]
NAME = 
INPUT = RPM
CAST_LIGHT=1
INPUT_THRESHOLD = 7500
COLOR = 1,00,0,0.1
BLINKING_PATTERN=(|0=3||1=0|)
BLINKING_DURATION=0.15

────────────────────── STERO/GPS ────────────────────────
[Navigator_StyleModernDark]
Meshes = GEO_INT_CENTRAL_DISPLAY
@ = Navigator_Size, Resolution = "512, 512", Size = "512, 272", Offset = "0, 120", Scale = 1.5
Brightness = 0.5
UPCOMING_TURN_DISTANCE_ROUND_TO = 100


[Display_AndroidAuto]
Meshes = SCREEN
Resolution = 840,640
Size =740, 640
Offset = 66, 0
Scale = 1,0.75
RearCameraPosition = 0.0056, 0.914, -1.95
aftermarketComponent=1

[CAR_STEREO_...]
MESHES = Geometry82_SUB18
RESOLUTION = 512, 128
DISPLAY_POS = 0, 0
DISPLAY_SIZE = 512, 128
BACKGROUND = 0, 0, 0, 1
FONT = digital_big
TEXT_0 = "{Artist} - {Track}"
TEXT_0_NOALBUM = "{Artist} - {Track}"
TEXT_0_NOARTIST = "{Track}"
TEXT_0_FALLBACK = "FM{Random:1,4} {Random:80,120}.{Random}"
TEXT_0_ALIGN = CENTER
TEXT_0_START = 26, 16
TEXT_0_LETTER = 24, 64
TEXT_0_LETTERS_LIMIT = $" floor((512 - 26 * 2) / 24) "
TEXT_1 = "{Time:%p %I:%M}"
TEXT_1_ALIGN = CENTER
TEXT_1_START = 26, 84
TEXT_1_LETTER = 12, 28
TEXT_1_LETTERS_LIMIT = 8
ICON_0 = @SOURCE
ICON_0_FALLBACK = FM
ICON_0_START = 174, 84
ICON_0_SIZE = 17, 24
ANIMATION_0 = 10, 4
ANIMATION_0_START = 204, 80
ANIMATION_0_BLOCK = 24, 4
ANIMATION_0_MARGIN = 4, 4
ANIMATION_0_BASE_ROW = BOTTOM

────────────────────── WARNING LIGHTS ────────────────────────
; Interior Left Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=Left_Int_Turn
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=Right_Int_Turn
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior High Beam
[EMISSIVE_HIGHBEAM_...] 
NAME=Warning_HighBeam
COLOR=0,0,10,3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Low Beam
[EMISSIVE_LIGHT_...] ; 
NAME=Warning_LowBeam
COLOR=0,10,0,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5
TOGGLE_VISIBILITY = 1
; Interior Hazard
[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1.5
NAME=hazard
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0.2
LAG=0.2

; Warning ABS Inaction
[EMISSIVE_ABS_INACTION_0] 
NAME=Warning_ABS
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
LAG=0.2

; Warning ABS Off
[EMISSIVE_ABS_0] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=0,0,0
OFF_COLOR=10,5.6,-4
LAG=0.2

; Warning Traction Off 1
[EMISSIVE_TRACTIONCONTROL_0] 
NAME=Warning_TC_OFF
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=20,6,0.1,3.5
LAG=0.2

;Warning Traction In Action
[EMISSIVE_TRACTIONCONTROL_INACTION_0] 
COLOR=20,4,0.1,3.5
NAME=Warning_TCActive
TOGGLE_VISIBILITY = 0
LAG=0.2

; Warning Handbrake
[EMISSIVE_HANDBRAKE_0]
NAME=Warning_Handbrake
TOGGLE_VISIBILITY = 0
COLOR=45,0.7,0, 1.8
LAG=0.25

[EMISSIVE_...] ; Warning Suspension
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2
 
; Warning Engine
[EMISSIVE_...] 
NAME=Warning_Engine
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

; Warning Tyre Pressure
[EMISSIVE_...] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 38
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

; Warning Fuel
[EMISSIVE_...] 
NAME=
TOGGLE_VISIBILITY = 0
COLOR=20,3.5,0.1,35
INPUT=FUEL
INPUT_THRESHOLD = 12
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

; Stalled Manual Only
[EMISSIVE_...] 
NAME=
BIND_TO=STALLED 
TOGGLE_VISIBILITY = 0
COLOR=5,0 ,0 , 3.5
LAG=0.3

────────────────────── INTERIOR EMISSIVE FX ────────────────────────


;DECAL EMISSIVE
[EXTRA_FX_EMISSIVE_...]
MESHES =SCREEN
RANGE = 0.05            ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 1.0               ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 1
INTERIOR_ONLY = 1

[EXTRA_FX_EMISSIVE_...]
MESHES=chassis_SUB20
RANGE = 0.068            ; range in meters (by default 0.08 for cars and 5 for tracks)
COLOR = 0.8             ; optional brightness multiplier (could be an RGBA value)
DIRECTED = 0
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1.9
NORMAL_SHIFT = 0.01


[INCLUDE: common/selflighting.ini]
[SelfLight_Headlights] ;
MIRROR =0.748 ; X Position
DIRECTION = -0.1, 0,1
POSITION = 0, 0.725, 1.85
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = headlight_r
SPOT_SHARPNESS =0.0
SPOT = 60
COLOR=160,160,160,.1
SPECULAR_MULT = 1
RANGE = 0.7

[SelfLight_Headlights] ;
MIRROR =0.611 ; X Position
DIRECTION = 0, 0,1
POSITION = , 0.712, 1.98
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = 1231232214124
SPOT_SHARPNESS =0.0
SPOT = 60
COLOR=160,160,160,.1
SPECULAR_MULT = 1
RANGE = 0.5


[EXTRA_FX_EMISSIVE_...]
MESHES = DRL_SUB0
RANGE = 0.1
COLOR = 0.01
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE =3
SAMPLES_LIMIT = 300
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.0

[EXTRA_FX_EMISSIVE_...]
MESHES = taillight_l,taillight_r
RANGE = 0.07
COLOR = 0.004
DIRECTED = 0.8
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 7
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[EXTRA_FX_EMISSIVE_...]
MESHES = t123123,ta213
RANGE = 0.1
COLOR = 0.01
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.0
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 3
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0



[EXTRA_FX_EMISSIVE_...]
MESHES = headlight_r,1231232214124
RANGE = 0.2
COLOR = .5
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0.6
MIP_BIAS = 0
IGNORE_TEXTURE_COLOR = 0
COVERAGE = 5
SAMPLES_LIMIT = 400
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0.



[LIGHT_EXTRA_...] ; Ambient Light
BOUND_TO=star001
COLOR=50
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.5
LAG=0.6
FADE_AT=0.0
FADE_SMOOTH=53
MIRROR=0
POSITION=0.0158, 1.32, -0.35
DIRECTION=-0.0, -1, 0
RANGE=1.2
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.1
SPOT=180
SPOT_SHARPNESS=0.001

────────────────────── OUTSIDE EMISSIVE FX ────────────────────────



────────────────────── MATERIALS (PAINT) ────────────────────────

[INCLUDE: common/materials_carpaint.ini]




────────────────────── MATERIALS (EXTERIOR) ────────────────────────

;assets
RESOURCE_0 =
RESOURCE_TEXTURE_0 =
ColorSource = DIFFUSE


[SHADER_REPLACEMENT_...]
MATERIALS=
PROP_...=ksAmbient, 0.0
PROP_...=ksDiffuse, 0.0



[INCLUDE: common/materials_interior.ini]

[Material_DigitalScreen]
Meshes =
MatrixType = IPS         ; valid values: IPS, TN
UseTextureCoordinates = 0  ; with 0, vertex coordinates will be used. sometimes it’s better, sometimes it’s buggier
ScreenScale = 1920          ; amount of pixels horizontally
ScreenAspectRatio = 7   ; aspect ratio, height/width
Emissive = 0.5          ; screen brightness
FlipXY = 0                 ; rotate display 90°

;Int Plastic
[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.2
DetailScale = 50
DetailTextureBlur = 1
DetailNormalBlend = 0.5
Reflectance = 0.02
Smoothness = 0.1

;Int Fake Leather
[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.2
DetailScale =80
DetailNormalBlend = -0.5
Reflectance = 0.02
Smoothness = 0.1
RESOURCE_1 = txNormalDetail
RESOURCE_TEXTURE_1 = 

;Int Smooth Plastic
[Material_Plastic_v2]
Materials=INT_PLASTIC
Smoothness=0.9
DetailScale=0
Brightness=0.15

;Int Piano Black
[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.9
DetailScale = 0
Reflectance = 0.15
Smoothness = 0.999999

;Int Alcantara
[Material_Velvet_v2]
Materials = 
DetailScale=70
DetailNormalBlend = 1
BrightnessAdjustment=0.17
ApplyTilingFix=0

;Int Carpet
[Material_Velvet_v2]
Materials = 
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.8
DetailScale = 60
ClothSheenColor = 1,1,1
BrightnessAdjustment = 0.1

;Int Detailed Leather
[Material_LeatherDetailed]
Materials =
Smoothness = 0
Reflectance = 0.004
ApplyTilingFix = 0
HasDetailNormals = 1
DetailNormalBlend = 0.1
DetailScale = 140
DetailNormalPBRFormat = 1
DetailNormalTexture = common/pbr_leather_spotty.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.1
DetailNormalPBRReflectance = 0.5

[Material_Leather_v2]
Materials= 
DetailScale = 150
DetailNormalPBRSecondaryColor = 0.5, 0.5, 0.5, 0.1
Brightness = 1

[Material_Leather]
Materials=
Brightness=0.65
Reflectance = 0.02

;Int Old Leather
[Material_Leather_v2]
Materials = 
Reflectance = 0.02
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 100
BrightnessAdjustment = 0.34

;Int Metal
[Material_InteriorPBR]
Materials=metal_int
Smoothness=0.9
Metalness=0.5
Reflectance=0
OcclusionMap=-1,0.5
BrightnessAdjustment=0.8
CubemapReflectionBlur=0
HasDetailNormals=0
ExtraSharpLocalReflections=1

;Int Alu 1 
[Material_MetalOld_v2]
Materials = HRE
Metalness = 0.09
Brightness = 0.05
Reflectance = 0.09
DetailScale = 15

[Material_InteriorPBR]
Materials=EXT_ABT_RIM
Smoothness=0.9
Metalness=0.8
Reflectance=0
OcclusionMap=1
BrightnessAdjustment=0.0
CubemapReflectionBlur=0
HasDetailNormals=0
ExtraSharpLocalReflections=1


────────────────────── MATERIALS (EXTERIOR) ────────────────────────

;Ext Metal
[Material_Metal_v2]
Materials = EXT_CHROME
Brightness = 0.1
DetailScale = 50
Metalness = 0.5
Reflectance = 0.5




;Ext Metal Headlight House
[Material_Metal_v2]
Materials = 
Smoothness = 0.5
Metalness = 0.9
Reflectance = 0.6
BrightnessAdjustment = 1
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1


;Ext Smooth Plastic
[Material_Plastic_v2]
Materials =EXT_MATTE_PLASTIC
Metalness = 0.0
Reflectance = 0.02
Smoothness = 0.8
BrightnessAdjustment = 0.25
ApplyTilingFix = 0
DetailScale = 0


;Ext Smooth Plastic
[Material_Plastic_v2]
Materials =EXT_PLASTIC
Metalness = 0.0
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.1
ApplyTilingFix = 0
DetailScale = 0

[Material_Plastic_v2]
Materials =ext_chrome_delete
Metalness = 0.0
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.01
ApplyTilingFix = 0
DetailScale = 0


[Material_Carbon]
Materials =EXT_PLATE__CARBON_HUGO
DetailScale = 60

;Ext Carbon
[Material_Carbon]
Materials =EXT_CARBON
DetailScale = 400
Brightness = 0.4
ClearCoatF0 = 0.2
CubemapReflectionBlur = 0,0

[Material_Carbon]
Materials =vehicle_generic_carbon
DetailScale = 600
RESOURCE_2 = txNormalDetail
RESOURCE_FILE_2 = PBR_CARBON_NM.dds
RESOURCE_3 = txDetail
RESOURCE_FILE_3 = PBR_CARBON_D.dds
Brightness = 0.2
ClearCoatF0 = 0.2
CubemapReflectionBlur = 0,0



────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]

ExteriorGlassHeadlightsMeshes=
ExteriorGlassFilmedMaterials=

;Clear Glass
[Material_Glass]
Materials =EXT_GLASS
ThicknessMult = 1
IOR =2
BrightnessAdjustment = 0
ExtraLightsAdjustment = 0
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1
PROP_1... = ksAmbient, 0.1

[Material_PhotoelasticGlass]
Meshes = ext_window_other
PhotoelasticityMult = 0.1



[Material_Glass]
Materials = EXT_RED_GLASS
IOR = 2.0          ; looks better like this
FilmIOR = 2     ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 ; thicker glass passes less light through
ProfileFix = 0    ; adds thickness to glass for glazing angles
MaskPass = 1.0     ; mask pass opacity
MaskPassColor = 255, 5, 0  ; mask pass color adjustment
BrightnessAdjustment = 0.2
Desaturate = 0

; Window Glass
[Material_Glass]
Materials=EXT_WINDOWS
ThicknessMult=1.2
Desaturate=0
FilmIOR=2.5



────────────────────── MATERIALS (TIRES) ────────────────────────


