[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: refractions.ini]
[INCLUDE: pbr.ini]



[Material_Leather]
Materials=paidangpi,neishi_pi,neishi_door,neishi_zhongkong
Brightness=0.3


[Material_Leather]
Materials=neishisuliao
Brightness=0.15

[Material_Leather]
Materials=fengxian,fangxiangpan
Brightness=0.7


[Material_Velvet_v2]
Materials = cheding,ditan
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.5
DetailScale = 60
ClothSheenColor = 1, 1, 1

[Material_plastic_v2]
MATERIALS = STREE_base_suliao
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.1
DetailNormalBlend = 0.3
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 0.6
DetailTextureBlur = 1


[SHADER_REPLACEMENT_...]
MATERIALS = body_paint,pi_2,pi_1,fangxiangpan,zhongkong_metal,duge,wheel,paiqiguan
DOUBLE_FACE_SHADOW_BIASED = 1 

[SHADER_REPLACEMENT_...]
;REAR REFLECTORS
MESHES = rear_Light_2,bump_light_b
PROP_... = extBounceBack, 3
PROP_... = extBounceBackMask, 0, 1, 0, 0
PROP_... = extColoredReflection, 1

[SHADER_REPLACEMENT_...]
MATERIALS = int_chrome_int
KEY_0 = extBounceBack
KEY_1 = extColoredReflection
VALUE_0 = 1
VALUE_1 = 1

[EXTRA_FX]
MASK_GBUFFER=glass_headlight,light_f_int_big,light_f_int_small,glass_rearlight
SKIP_GBUFFER=rear_light_base_2,rear_light_base_1,int_chrome_1
指针
[ANALOG_INDICATOR_...]
INPUT = RPM
INPUT_MAX = 9000
NAME = ARROW_RPM
DELAY = 0
ZERO = -10
LUT =(0=0|900=12|1000=21|1500=35|2000=50|2500=66|3000=81|3500=95|4000=109|4500=125|5000=137|5500=151||6000=166|6500=180|7000=194|7500=208|8000=222|8500=238|)
STEP = 0.03

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMP
INPUT_MIN=0
INPUT_MAX=80
NAME=ARROW_OIL_TEMP
ZERO=0
STEP=-0.3
G_FACTOR = 0, 0, 0 
SPEED_LAG=0.020
LUT =(0=0|50=7|60=15|70=30|80=45|90=55|100=70|110=80|120=95|130=110|140=120|150=130|)

[ANALOG_INDICATOR_...]
INPUT=WATER_TEMP
NAME=ARROW_WATER_TEMP
ZERO=0
STEP=0.825
MIN_VALUE=40
LUT=(60=37|120=66)
[ANALOG_INDICATOR_...]
BIND_TO=SPEED
NAME=ARROW_SPEED
INPUT_LAG=0.9
LUT=(0=0|10=6|20=20|40=45|60=70|80=97|100=134|120=166|140=203|160=228|180=250|260=270)


漆面

[Material_Glass]
Materials=glass_out
MaskPass=1
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=6.7
Desaturate=0
FilmIOR=2.2

[Material_Glass]
Materials = glass_rearlight
FilmIOR = 1.6
PhotoelasticityMult = 0
ProfileFix = 0
BrightnessAdjustment = 0.3
ThicknessMult = 0.15l
MaskPass = 5
MaskPassColor = 255llll, 10, 10


[Material_Aluminium_v2]
Materials=wheel_metal_logobase
BrightnessAdjustment = 0.04
DetailScale = 0
Metalness = 0.5
Reflectance = 0.8
LocalReflectionsSharpness = 0.4

[Material_Aluminium_v2]
Materials = paiqiguan
BrightnessAdjustment = 0.15
DetailScale = 0
Metalness = 0.5
Reflectance = 0.8
LocalReflectionsSharpness = 0.4


[Material_Aluminium_v2]
Materials = headlight_metal ,undone_light,int_chrome_front,turn_light_base,zhongkong_2
BrightnessAdjustment = 0.05
DetailScale = 0
Metalness = 0.5
Reflectance = 1
LocalReflectionsSharpness = 0.1

[Material_Aluminium_v2]
Materials =chrome_final
BrightnessAdjustment = 0.6
DetailScale = 0
Metalness = 10
Reflectance = 0
LocalReflectionsSharpness = 10




[Material_CarPaint_Metallic]
Materials = brake_R ,brake_peijian,brake_F
FresnelMax = 0.3
FresnelC = 0.1
FlakesK = 0.0
BrightnessAdjustment = 0.5 ; compensates for ambient specular
BaseSpecularColor = 1, 1, 1
SpecularBase = 1, 200
SpecularSun = 0.1, 5
SunMultiplier = 1
ClearCoatThickness = 0.2
ClearCoatTint=0, 0, 0
UseDiffuseAlphaAsMask = 1
UseDiffuseAlphaAsClearCoatMask = 0


[Material_CarPaint_Metallic]
CarPaintMaterial= body_paint,handel,logo_base_new,taojian_carpaint
FresnelMax = 1
FresnelC = 0.1
FlakesK = 0.0
BrightnessAdjustment = 0.35 ; compensates for ambient specular
BaseSpecularColor = 1, 1, 1
SpecularBase = 1, 50
SpecularSun = 0.1, 500
SunMultiplier = 1
ClearCoatThickness = 0.2
ClearCoatTint=0, 0, 0
UseDiffuseAlphaAsMask = 1
UseDiffuseAlphaAsClearCoatMask = 0


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MATERIALS = Wheel
PROP_0 = fresnelC, 1.2
PROP_1 = fresnelEXP, 1.2
PROP_2 = fresnelMaxLevel, 0.5
PROP_3 = ksSpecular, 0.5
PROP_4 = ksSpecularEXP, 30
PROP_5 = sunSpecular, 0.1
PROP_6 = sunSpecularEXP, 15
PROP_7 = ksAmbient, 0
PROP_8 = ksDiffuse, 0.

[Material_CarPaint_Metallic]
Materials = wheel
BaseSpecularColor = 150,150,150
FresnelMax = 0.3
FresnelC = 0.2
FlakesK = 3.2
BrightnessAdjustment = 0.6
SpecularBase = 0.5, 30
SpecularSun = 0.0, 1000000
AmbientSpecular = 5.0
AmbientSpecularEXP = 8
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.25
ClearCoatTint = 0, 0, 0
UseMetallicReflections = 5
ApplyTilingFix = 1

[EMISSIVE_REVERSE_...]
NAME = rear_bump_light_back
COLOR = 10, 10, 10, 10     
LAG = 0.4                  
SIMULATE_HEATING = 0     
LOCATION = REAR    

[EMISSIVE_BRAKE_...]
NAME=brake_surface
COLOR=200,5,0,100
LAG=0.4
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1


[EMISSIVE_BRAKE_0]
NAME=rear_light_b
FALLBACK_HEADLIGHTS_COLOR=20,10,5,0.5
LAG=0.6
COLOR=30,80,80,20
CAST_LIGHT = 1




[EMISSIVE_TURNSIGNAL_LEFT_0]
front bumper
NAME=int_bubl_L
COLOR=10,4,0, 10
LAG=0.7
SIMULATE_HEATING=3
LOCATION=LEFT
FADE_AT=50

[EMISSIVE_TURNSIGNAL_RIGHT_0]
front bumper
NAME=int_bubl_R
COLOR=10,4,0, 10
LAG=0.7
SIMULATE_HEATING=3
LOCATION=FRONT
FADE_AT=550



[Material_Glass]
Materials=BEAM
MaskPass=0
Desaturate=0
FilmIOR=3
ThicknessMult=0.2

[EMISSIVE_...]
NAME=134,light_int_suliao_ewai
BIND_TO=LIGHT
LAG=0.5
COLOR=10,10,15,50

[EMISSIVE_...]
NAME=BEAM
BIND_TO=LIGHT
LAG=0.5
COLOR=10,10,15,200

[EMISSIVE_...]
NAME=weizhideng
BIND_TO=LIGHT
LAG=0.5
COLOR=15,10,10,5



[Material_Glass]
Materials=glass_light
MaskPass=0
Desaturate=0
FilmIOR=0.55
ThicknessMult=0.2



[Material_Glass]
Materials=glass_out
MaskPass=0
Desaturate=0
FilmIOR=0.7
ThicknessMult=0.2

[1Material_Glass]
Materials=houchuang_wuxian
MaskPass=0
Desaturate=0
FilmIOR=0.7
ThicknessMult=0.2



[Material_Glass]
Materials=brake_glass
MaskPass=0
Desaturate=0
FilmIOR=0.7
ThicknessMult=0.2

[Material_Glass]
Materials=1ewai_light
MaskPass=0
Desaturate=0
FilmIOR=0.7
ThicknessMult=0.2

[SelfLight]
POSITION=0, 0.55, 1.71
SPOT=100
RANGE=0.2
COLOR = 1,1,1.2,40
BOUND_TO = BEAM
DIRECTION = -0.05,0,1
MIRROR=0.64,0,0


[EMISSIVE_LIGHT_...]
NAME=int_chrome_1
COLOR=8,8,10,3
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=dash_suliao
COLOR=1,1,1,2
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=dash_suliao_2
COLOR=1,1,1,10
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=light_int_suliao_1,light_int_suliao_2,light_int_suliao_3
COLOR=8,8,10,0.8
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=rear_light_base_1,rear_light_base_2
COLOR=5,5,5,2
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5



[EMISSIVE_LIGHT_...]
NAME=rear_Light_2
COLOR=1,1,1,4
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_...]
NAME=rear_light_base_3
COLOR=1,1,1,0.5
LAG=0.2
SIMULATE_HEATING=3
LOCATION=FRONT
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=rear_Light_2
COLOR=1,1,1,10
LAG=0.2
SIMULATE_HEATING=3
LOCATION=REAR
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_...]
NAME=dash,mark_3,MARK,steer_mark2,screen
COLOR=1,1,1,5
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
BIND_TO_HEADLIGHTS=1
NAME=pai_deng
COLOR=23,16,9,1.5
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_...]
NAME=zhizhen_right,zhizhen_mid,zhizhen_left_left,zhizhen_left_right,zhizhen_2,zhizhen_1
COLOR=2,4,1,2
LAG=0.8
SIMULATE_HEATING=3
LOCATION=REAR
BIND_TO_HEADLIGHTS=1
CAST_LIGHT=2
CLUSTER_THRESHOLD=0.5

指示灯==========================
[CustomEmissiveMulti]
Meshes = mark_5        
Resolution = 640,640     ; texture resolution for coordinates to work
UseEmissive0AsFallback = 0  ; use ksEmissive (aka emissive channel #0) for glow everywhere untouched by other areas
@ = DashHighlight           ; bind dashboard highlight to emissive channel #0
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "42,190", Size = "143,158"
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "242, 195", Size = "153,144"
@ = MultiItem, Role = LIGHT,  Start = "41,24", Size = "221,128"
@ = MultiItem, Role = HIGHBEAM, Start = "276,11", Size = "211,152"
@ = MultiItem, Role = HANDBRAKE, Start = "482,160", Size = "125,99

仪表===================
[DI_DRIVEN_SESSION_...]
DIGITAL_ITEM = 2
DIGITAL_ITEM_NUMBER_FORMAT = 04.1
UPPER_BOUND = 9999


[LIGHT_LICENSEPLATE]
MESHES=pai_deng
OFFSET=0.05, 0.0,-0.01
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.2
SPOT=150
SPOT_SHARPNESS=0.7
COLOR=23,16,9,1.5
FALLBACK_EMISSIVE=1,0.7,0.3,0.9
FADE_AT=100
FALLBACK_LOWBEAM_COLOR=1,0.7,0.3,0.9

[SelfLight]
POSITION=0,0.663,-2.12
SPOT=100
RANGE=0.2
COLOR = 1,1,1.2,40
BOUND_TO = BEAM
DIRECTION = -0.05,0,1
MIRROR=0.64,0,0





LOL IS A TRUCK NOW


[AUDIO_PITCH]
ENGINE_EXT = 1.15
ENGINE_INT = 1.15


[AUDIO_VOLUME]
ENGINE_EXT = 3.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 = 10.0
BACKFIRE_INT = 5.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 10.0

; New options added in 0.1.67:
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0

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