[DATA] 
DISABLE_LIGHTSINI=1

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1    ; for turbo sound, “throttle” input, same as in engine event
ENGINE_EXT_BOOST = 1  ; for exterior engine sound, “boost” input, same as in turbo event
ENGINE_INT_BOOST = 1  ; for interior engine sound, “boost” input, same as in turbo event

[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 | 8300=8820 |)
ENGINE_INT_RPMS = (| 0=0 | 8300=8820 |)

;---------------------///Materials///---------------------

[INCLUDE: common/materials_interior.ini]
DisableDev = 1

[Material_Carpet]
Materials = New_interior, driver_seat
Smoothness = 0.
OcclusionMap = -0.5, 1
DetailScale = 30
BrightnessAdjustment = 0.07


[Material_Metal_v2] ; 
Materials= HKS_EXHAUST, chrome
BrightnessAdjustment = 0.3
DetailScale = 5
Metalness = 0.8
Reflectance = 0.3
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ;  
Materials= metal window trim
BrightnessAdjustment = 0.01
DetailScale = 0.1
Metalness = 0.1
Reflectance = 0.1
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; Interior Chrome
Materials = INT_Metal, ebrakemetal
BrightnessAdjustment = 0.02
DetailScale = 5
Metalness = 0.3
Reflectance = 0.3
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; Exterior Chrome 2
Materials = carPaint_secondary
BrightnessAdjustment = 0.1
DetailScale = 20
Metalness = 0.04
Reflectance = 0
LocalReflectionsSharpness = 0.4

[Material_Plastic_v2] ;int Plastic
Materials = new_alt_mat_dash
BrightnessAdjustment = 0.4
DetailScale = 120
ApplyTilingFix=0.6

[Material_Plastic_v2] ;int Plastic
Materials = dash_vents
BrightnessAdjustment = 0.15
DetailScale = 120
ApplyTilingFix=0.6

[Material_Plastic_v2] ;ext Plastic
Materials = M_Opaque_PaintSatinBlack_Max
BrightnessAdjustment = 0.27
Reflectance = 0.06
DetailScale = 145
ApplyTilingFix=0.6

[Material_Plastic_v2] ;int Plastic
Materials = Fans
BrightnessAdjustment = 10
DetailScale = 190
ApplyTilingFix=0.6
Reflectance = 0.15

[Material_Plastic_v2] ; Exterior Plastic
Materials = Coloured
BrightnessAdjustment = 0.06
DetailScale = 180
Reflectance = 0.5
DetailTextureBlur = 1
DetailNormalBlend = 0

[Material_Metal_v2] ;  
Materials= EXT_Windows_Black
BrightnessAdjustment = 0.066
DetailScale = 0.1
Metalness = 0.1
Reflectance = 0.7
LocalReflectionsSharpness = 0.4

[Material_Carbon] Exterior
Materials = ext_carbon, exterior_carbon, luvre, plane
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.3
Brightness= 0.45
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 500

[Material_Carbon] Mirrors
Materials = mirrors detail
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
Brightness= 0.7
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 750

[Material_Metal_v2] ; Lugs
Materials= chrome_001
BrightnessAdjustment = 0.09
DetailScale = 10
Metalness = 0.2
Reflectance = 0.1
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; 
Materials= Material #11474
BrightnessAdjustment = 0.2
DetailScale = 100
Metalness = 0.05
Reflectance = 0.02
LocalReflectionsSharpness = 0.1

[Material_Metal_v2]
Materials = Headlight main chrome, headlightchrome
Metalness = 0.25
Smoothness = 0.9
Reflectance = 0.5
CubemapReflectionBlur = 0.5
BrightnessAdjustment = 0.13
DetailNormalBlend = 1
DetailScale = 10

[Material_InteriorPBRDetail]
Materials = green cap
Metalness=0.1
Smoothness = 0.2
Reflectance = 0.1
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.5
DetailNormalBlend = 0
DetailScale = 0

[Material_InteriorPBRDetail]
Materials = Material_006_NONE, Material_006, Material #37
Metalness=0.00
Smoothness = 0.2
Reflectance = 0.05
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.17
DetailNormalBlend = 0
DetailScale = 0

[Material_InteriorPBRDetail]
Materials =centre cap
Metalness=0.00
Smoothness = 0.2
Reflectance = 0.05
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.018
DetailNormalBlend = 0
DetailScale = 0

[Material_Carbon] Interior
Meshes = GEO_INT_GARDIS3_CARBON
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1.5
DetailScale = 400
BrightnessAdjustment = 0.35


[Material_Carbon] Interior
Meshes = Wing_deck, Diffuser, Splitter 6_SUB1
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1.5
DetailScale = 820
BrightnessAdjustment = 0.25

[Material_Carbon] Interior
Meshes = floor_well, pedal_plate, doorcard_right, Object130
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1.5
DetailScale = 820
BrightnessAdjustment = 0.25

[Material_Carbon] Interior SEATS
Meshes = seat_L_carbon001, seat_L_carbon
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.8
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 340
BrightnessAdjustment = 0.2

[Material_Carbon] Interior Box
Meshes = Carbon002, suspension_interior
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 620
BrightnessAdjustment = 0.24

[Material_Metal_v2] ; firewall
Materials = metal_floor
BrightnessAdjustment = 0.4
DetailScale = 10
Metalness = 0.04
Reflectance = 0.02
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; base metals interior
Materials =  INT_METAL_base, INT_METAL_black, bottle fittings
BrightnessAdjustment = 0.13
DetailScale = 10
Metalness = 0.04
Reflectance = 0.02
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; Exterior Chrome 2
Materials =  metal rearmount
BrightnessAdjustment = 0.07
DetailScale = 20
Metalness = 0.1
Reflectance = 0.02
LocalReflectionsSharpness = 0.4

[Material_Plastic_v2] ; EBRAKE
Materials = handbrake plastics, handbrake wires
BrightnessAdjustment = 0.23
DetailScale = 10
Reflectance = 0.3
DetailTextureBlur = 1
DetailNormalBlend = 1

[Material_Metal_v2] ;  EBRAKE
Materials= handbrake black metal
BrightnessAdjustment = 0.06
DetailScale = 10
Metalness = 0.02
Reflectance = 0.1
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; 
Materials= INT_Decals_Metal_base
BrightnessAdjustment = 0.2
DetailScale = 10
Metalness = 0.05
Reflectance = 0.05
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; 
Materials= INT_Painted_Metal, metal caps, bottles
BrightnessAdjustment = 0.06 
DetailScale = 10
Metalness = 0.02
Reflectance = 0.1
LocalReflectionsSharpness = 0.4

[Material_Metal_v2] ; 
Materials= INT_Metals
BrightnessAdjustment = 0.25
DetailScale = 10
Metalness = 0.02
Reflectance = 0.1
LocalReflectionsSharpness = 0.4

[Material_Plastic_v2] ; 
Materials = INT_PLASTIC_Grey_Base
BrightnessAdjustment = 0.23
DetailScale = 50
Reflectance = 0.3
DetailTextureBlur = 1
DetailNormalBlend = 1

[Material_Plastic_v2] ; 
Materials = dash vent
BrightnessAdjustment = 0.29
DetailScale = 90
Reflectance = 0
DetailTextureBlur = 1
DetailNormalBlend = 1

[Material_Plastic_v2] ; 
Materials = wingblackplastic
BrightnessAdjustment = 0.35
DetailScale = 60
Reflectance = 0
DetailTextureBlur = 1
DetailNormalBlend = 1

[Material_InteriorPBRDetail] 
Materials = bottles_lines
Metalness=0.07
Smoothness = 0.05
Reflectance = 0.05
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.2
DetailNormalBlend = 0
DetailScale = 0
NormalsMode = BASIC


;--------------PAINT---------------


[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = M_CarPaint_Max, mot_wheel
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
FresnelMax = 0.65
FresnelC = 0.16
FlakesK = 2
BrightnessAdjustment = 0.8
ClearCoatThickness = 0.16
SpecularMult = 0.05
AmbientSpecular = 1,0       
AmbientSpecularEXP = 6.5
PearlescentSpecular = 0.2
ColoredSpecular = 0.9
SpecularBase = 1, 50
NormalsMode = BASIC

[Material_CarPaint_Metallic]
CarPaintMaterial = Material #1916
FresnelMax = 0.6
FresnelC = 0.1
FlakesK = 1
BrightnessAdjustment = 0.8
ClearCoatThickness = 0.1
SpecularMult = 0.2
AmbientSpecular = 1       
AmbientSpecularEXP = 160
PearlescentSpecular = 0
UseMetallicReflections = 0.75

;---------------------///Glass///---------------------

[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials = 
ExteriorGlassHeadlightsMaterials = GlassMtl

[EXTRA_FX]
SKIP_GBUFFER = Glass, M_Chassis_Max

[Material_Glass] 
Materials = M_Chassis_Max
FilmIOR = 3
ThicknessMult = 1.2
EXTRA_MASK_PASS = 3
EXTRA_MASK_PASS_OPACITY = 0.4

;---------------------///Brake Lights///---------------------
[EMISSIVE_BRAKE_0]
NAME=rear_led
COLOR=20,0.5,0, 20
FALLBACK_HEADLIGHTS_COLOR=10,0.3,0, 5
SIMULATE_HEATING=1
LOCATION=REAR

[EMISSIVE_BRAKE_1]
NAME=rear_vert_lights
COLOR=20,0.5,0, 20
FALLBACK_HEADLIGHTS_COLOR=10,1,0, 0
SIMULATE_HEATING=1
LOCATION=REAR
LAG=0.1

[EMISSIVE_BRAKE_2]
NAME=vdc_rear_light, vdc_front_light
COLOR=150,3,3, 30
SIMULATE_HEATING=1
LAG=0.1
CAST_LIGHT=1
LOCATION=REAR

;-----///Emissive Lights///-----

[EMISSIVE_LIGHT_...]
NAME=Plane006
COLOR=195,206,235, 0.007

[EMISSIVE_LIGHT_...]
NAME=MotecScreen
COLOR=160,100,100, 0.03

[EMISSIVE_LIGHT_...]
NAME=front_led_right, front_led_left
COLOR=95,80,80, 3

;---------------------///Exterior Lights///---------------------

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=1
BOUND_EXP=1
COLOR=1.85,2.06,2.35, 8
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=150
LOWBEAM_RANGE_MULT=1.2
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.69
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=0, 0,0, 0
OFF_FADE_MULT=0.612379
OFF_MIRROR=0.646549
OFF_MULT=0
OFF_POSITION=0, 0.694678, 2.17753
OFF_RANGE_MULT=0.180782
POSITION=0, 0.5, 2.01753
RANGE=150
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=100
SECOND_SPOT_INTENSITY=1.0
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=0.5
SPOT=70
SPOT_EDGE=0.040704, 0.039936, 0.0384
SPOT_EDGE_SHARPNESS=42
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0

[LIGHT_BRAKES]
COLOR=2, 0.15, 0, 2
POSITION=0, 0.4, -1.89 
DIRECTION=0, -0.5, -1
MIRROR=0.5
RANGE_FIRSTPERSON=3.0
RANGE_CARS_NEARBY=2.0
RANGE_CARS_DISTANT=7.0
RANGE_GRADIENT_OFFSET=0.5
FADE_FROM=150.0
FADE_TO=180.0
SPOT=150
SPOT_SHARPNESS=0.2
SPOT_EDGE=0.0, 1.0, 1.0
SPOT_EDGE_SHARPNESS=10.0
BRAKELIGHT_LIGHT_MULT=0.2        ; how bright should be brakelight in headlights role
BRAKELIGHT_LIGHT_RANGE_MULT=0.5   ; distance multiplier
BRAKELIGHT_LIGHT_FADE_MULT=0.7    ; how faster it should fade with distance in headlighs role

[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
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=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

[EMISSIVE_EXTRA_A_0] 
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=RaceSmokie
COLOR=0,0,1,1
OFF_COLOR=0,0,0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
ACT_AS_HEADLIGHTS=0  
TOGGLE_VISIBILITY=1    
TOGGLE_VISIBILITY_INVERSE=1