[INCLUDE] 
INCLUDE=common/selflighting.ini, common/materials_glass.ini, common/materials_license_plate.ini, common/materials_interior.ini, common/materials_carpaint.ini, common/custom_emissive.ini, common/navigators.ini, common/conditions.ini
──────────────────────────────────────────────



[SCRIPTABLE_DISPLAY_...]
MESHES =INT_Cluster_1.001
REFRESH_RATE = 60
SKIP_FRAMES = 0
SCRIPT = 'local rpmframe
local rpmmaxframe = 300
local rpmvideosize = vec2(960, 1080)*0.35
local rpmposition = vec2(436,70)
local rpmStartUp = 0
local carRPM = 0

local speedframe
local speedmaxframe = 300
local speedvideosize = vec2(960, 1080)*0.35
local speedposition = vec2(100,70)
local speedStartUp = 0

local blinkerstate = 0
local leftstate = 0
local rightstate = 0
local hazardstate = 0

local dashReady = false

local indicator_1 = ui.MediaPlayer() 
local indicator_2 = ui.MediaPlayer()
indicator_1:setSource("./sounds/on.mp3")
indicator_2:setSource("./sounds/indicator.mp3")
 
function update(dt)
    ui.setAsynchronousImagesLoading(true)
    if rpmStartUp < rpmmaxframe then
        rpmStartUp = rpmStartUp + 1
        ui.drawImage("./assets/frames_rpm/rpm" .. rpmStartUp .. ".jpg", rpmposition, vec2(rpmposition.x+rpmvideosize.x, rpmposition.y+rpmvideosize.y))
    end
    if speedStartUp < speedmaxframe then
        speedStartUp = speedStartUp + 1
        	ui.drawImage("./assets/frames_speed/speed" .. speedStartUp .. ".jpg", speedposition, vec2(speedposition.x+speedvideosize.x, speedposition.y+speedvideosize.y))
    end
    local time = string.format("%02d:%02d",sim.timeHours,sim.timeMinutes)
    local temp = "+" .. sim.ambientTemperature .. "C"
    local distance = (car.fuel * sim.trackLengthM ) / car.fuelPerLap .. "km"

    if rpmStartUp == 300 and speedStartUp == 300 then
		ui.setAsynchronousImagesLoading(false) 
        carRPM = math.applyLag(carRPM, car.rpm, 0.8, dt)

        rpmframe = math.min(rpmmaxframe, (rpmmaxframe/9000)*carRPM)
        rpmframe = math.floor(rpmframe)
    
        ui.drawImage("./assets/frames_rpm/rpm" .. rpmframe .. ".jpg", rpmposition, vec2(rpmposition.x+rpmvideosize.x, rpmposition.y+rpmvideosize.y))
        

        if car.speedKmh >= 0 and car.speedKmh <= 30 then
            speedframe = (35/30)*car.speedKmh
        elseif car.speedKmh > 30 and car.speedKmh <= 60 then
            speedframe = ((73-35)/(60-30))*car.speedKmh+(35-(((73-35)/(60-30))*30))
        elseif car.speedKmh > 60 and car.speedKmh <= 90 then
            speedframe = ((108-73)/(90-60))*car.speedKmh+(73-(((108-73)/(90-60))*60))
        elseif car.speedKmh > 90 and car.speedKmh <= 120 then
            speedframe = ((142-108)/(120-90))*car.speedKmh+(108-(((142-108)/(120-90))*90))
        elseif car.speedKmh > 120 and car.speedKmh <= 150 then
            speedframe = ((175-142)/(150-120))*car.speedKmh+(142-(((175-142)/(150-120))*120))
        elseif car.speedKmh > 150 and car.speedKmh <= 210 then
            speedframe = ((215-175)/(210-150))*car.speedKmh+(175-(((215-175)/(210-150))*150))
        elseif car.speedKmh > 210 and car.speedKmh <= 270 then
            speedframe = ((250-215)/(270-210))*car.speedKmh+(215-(((250-215)/(270-210))*210))
        elseif car.speedKmh > 270 and car.speedKmh <= 330 then
            speedframe = ((280-250)/(330-270))*car.speedKmh+(250-(((280-250)/(330-270))*270))
        elseif car.speedKmh > 330 then
            speedframe = ((340-280)/(400-330))*car.speedKmh+(280-(((340-280)/(400-330))*330))
        end

        ui.drawImage("./assets/frames_speed/speed" .. math.min(speedmaxframe, math.floor(speedframe)) .. ".jpg", speedposition, vec2(speedposition.x+speedvideosize.x, speedposition.y+speedvideosize.y))
    end
    if dashReady == false then
        if rpmStartUp == rpmmaxframe and speedStartUp == speedmaxframe then
            display.text{
            text = "DASH READY",
            pos = vec2(350,200),
            letter = vec2(20, 40):scale(1),
            font = "fonts/340i",
            color = rgbm.colors.green,
            alignment = 0,
            width = 1000,
            spacing = 0.5
            }
           setTimeout(function () dashReady = true end, 1)            
        else
            display.text{
                text = "    DASH \nINITIALISING",
                pos = vec2(-210,200),
                letter = vec2(20, 40):scale(1),
                font = "fonts/340i",
                color = rgbm.colors.white,
                alignment = 1,
                width = 1000,
                spacing = 0.5
            }
        end
    end
    display.text {
        text = math.round(car.speedKmh, 0),
        pos = vec2(170,235),
        color = rgbm(1,1,1,1),
        letter = vec2(50, 100):scale(.4),
        font = "./fonts/mil",
        width = 200,
        alignment = 0.5
    }

    if car.gear == -1 then
        display.text {
            text = "R",
			pos = vec2(440,235),
			color = rgbm(1,1,1,1),
			letter = vec2(50, 100):scale(.4),
            font = "./fonts/mil",
            width = 200,
            alignment = 1
        }
    elseif car.gear == 0 then
        display.text {
            text = "N",
			pos = vec2(440,235),
			color = rgbm(1,1,1,1),
			letter = vec2(50, 100):scale(.4),
            font = "./fonts/mil",
            width = 200,
            alignment = 1
        }
    else
        display.text {
            text = car.gear,
			pos = vec2(440,235),
			color = rgbm(1,1,1,1),
			letter = vec2(50, 100):scale(.4),
            font = "./fonts/mil",
            width = 200,
            alignment = 1
        }
    end

    display.text {
        text = time,
			pos = vec2(100,370),
			color = rgbm(1,1,1,1),
			letter = vec2(50, 100):scale(.2),
        font = "bmw",
        width = 100,
        alignment = 1
    }
    display.text {
        text = "TOTAL " .. math.floor(car.distanceDrivenTotalKm) .. " km",
			pos = vec2(600,370),
			color = rgbm(1,1,1,1),
			letter = vec2(50, 100):scale(.2),
        font = "e92_big",
        width = 100,
        alignment = 1
    }

 
        ----- outside temp ------
local temp = string.format("+%.0f", sim.ambientTemperature)

ui.drawRectFilled(vec2(2900, 1630), vec2(3130, 1695), rgbm(0,0,0,0.5), 20)

display.text {
    text = temp .. " @",
    pos = vec2(250,370),
    color = rgbm(1,1,1,1),
    letter = vec2(50, 100):scale(.2),
    font = "e92_big",
    width = 100,
    alignment = 1
}

    if not car.lowBeams and car.headlightsActive then
        local pos = vec2(120,300)
        ui.drawImage("./assets/icons/headlight.png", pos,vec2(pos.x+25, pos.y+25) , rgbm(0.1,0.1,1,1))
    end
    if car.lowBeams and car.headlightsActive then
        local pos = vec2(120,300)
        ui.drawImage("./assets/icons/low_beam_headlight.png", pos,vec2(pos.x+25, pos.y+25) , rgbm(0.1,1,0.1,1))
    end
    if not lasttrueTC then
        lasttrueTC = 0
    end
    if car.tractionControlInAction then
        setInterval(function() tractionControlInAction = not tractionControlInAction end, 0.15, "tractionControlInAction")
        lasttrueTC = os.clock()
	elseif (os.clock() - lasttrueTC > 0.5) then 
        clearInterval("tractionControlInAction")
		tractionControlInAction = false
        
    end
    if car.tractionControlMode == 0 or tractionControlInAction then
        local pos = vec2(730,300)
        ui.drawImage("./assets/icons/traction_controle.png", pos,vec2(pos.x+25, pos.y+25) , rgbm(25,2,0,1))
    end
 	
    if car.turningLeftLights or car.turningRightLights then
		setInterval(function() indicatorActive = not indicatorActive end, 0.334, "indicatorActive")
	else
		clearInterval("indicatorActive")
		indicatorActive = false
	end


	if car.turningLeftOnly and indicatorActive then 
		local pos = vec2(350,150)
		ui.beginRotation()
        ui.drawImage("./assets/icons/turn_signal.png", pos,vec2(pos.x+25, pos.y+25) , rgbm(0.1,1,0.1,1))
		ui.endRotation(-90)
    elseif car.turningRightOnly and indicatorActive then 
		local pos = vec2(520,150)
        ui.drawImage("./assets/icons/turn_signal.png", pos,vec2(pos.x+25, pos.y+25) , rgbm(0.1,1,0.1,1))
    elseif car.hazardLights and indicatorActive then
		local pos1 = vec2(520,150)
        ui.drawImage("./assets/icons/turn_signal.png", pos1,vec2(pos1.x+25, pos1.y+25) , rgbm(0.1,1,0.1,1))
		local pos2 = vec2(350,150)
		ui.beginRotation()
        ui.drawImage("./assets/icons/turn_signal.png", pos2,vec2(pos2.x+25, pos2.y+25) , rgbm(0.1,1,0.1,1))
		ui.endRotation(-90)
	end
end'


[BASIC]
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001

[INSTRUMENTS]
HAZARDS_G_THRESHOLD = 1  ; set G-force for hazards to turn on automatically on sudden braking
SPEED_FIX = 1             ; use speed of powered wheels for speedometer
SPEED_LAG = 0.85          ; speed lag for SPEED_FIX option
SPEED_LIMIT = 0           ; if more than zero, used as upper bound for speed for SPEED_FIX option


──────────────────────────────────────────────
[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = EXT_Plastic_3, EXT_Plastic_2, EXT_Plastic_1
UNDERLYING_SURFACE = EXT_Window_0
GROUP_0 = 'EXT_Plastic_2@A=*'
GROUP_0_ANGLE_TO = 78.7
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_0_END = -0.2667495, 0.903671, 1.007763
GROUP_0_PIVOT = 0.6338044, 0.7885031, 1.13048
GROUP_1 = 'EXT_Plastic_3@A=*'
GROUP_1_ANGLE_TO = 113.2
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_1_END = -0.73954356, 0.92002183, 0.88577104
GROUP_1_PIVOT = 0.09248755, 0.8189272, 1.1200012
GROUP_2 = 'EXT_Plastic_1@A=*'
GROUP_2_ANGLE_TO = -174
GROUP_2_AXIS = -0.013756773, 0.7599749, -0.6498069
GROUP_2_AXIS_OFFSET_0 = 0, 0.70710677, -0.70710677
GROUP_2_AXIS_OFFSET_1 = 0, 0.70710677, -0.70710677
GROUP_2_END = -0.3700315, 0.9870429, -2.3709412
GROUP_2_PIVOT = 0.00040531158, 0.97074217, -2.3911037
GROUP_2_BASE_AXIS = -0.013756773, 0.7599749, -0.6498069
GROUP_2_BASE_PIVOT = 0.00040531158, 0.97074217, -2.3911037






[MESH_ADJUSTMENT_...]
MESHES =   EXT_Plastic_3,EXT_Plastic_2,EXT_Plastic_1
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1
──────────────────────────────────────────────
[DATA]
DISABLE_LIGHTSINI = 1

──────────────────────────────────────────────
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

──────────────────────────────────────────────


──────────────────────────────────────────────
[BRAKEDISC_FX]
ACTIVE =1
DEBUG=0
CERAMIC = 0  
WEAR_FORCE=0.2  
────────────────────── SHADER_REPLACEMENT ────────────────────────
[SHADER_REPLACEMENT_...]
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...]
MATERIALS = 
MESHES = 
CULL_MODE = DOUBLESIDED
DOUBLE_FACE_SHADOW_BIASED = 1
IS_TRANSPARENT = 1
BLEND_MODE =ALPHA_TEST  ; OPAQUE, ALPHA_TEST, ALPHA_BLEND




[SHADER_REPLACEMENT_...]
MATERIALS =EXT_REFLECTOR
PROP_0 = extBounceBack, 1
PROP_1 = extColoredReflection,1

[SHADER_REPLACEMENT_...]
MESHES =EXT_BLACK_MISC_3
CULL_MODE = DOUBLESIDED
[SHADER_REPLACEMENT_...]
MATERIALS =INT_Window
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1

[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =INT_Glass
SHADER=ksPerPixelReflection
PROP_0 = fresnelC, 0.1
PROP_1 = fresnelEXP, 2.5
PROP_2 = fresnelMaxLevel, .5
PROP_3 = ksSpecular, 0.2
PROP_4 = ksSpecularEXP,450


[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =INT_Cluster_Black,INT_Cluster,INT_Gps
PROP_0 = fresnelC, 0.02

[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_Glass_Red_Nm
PROP_... = extColoredReflection,1
PROP_... = extBounceBack,1
PROP_...= ksAmbient, 0.1
PROP_...= ksDiffuse, 0.15


[SHADER_REPLACEMENT_...]
MATERIALS =EXT_LIGHT_STRIP_EMISSIVE
PROP_0 = ksSpecular,0.1
PROP_1 = ksSpecularEXP, 70


[SHADER_REPLACEMENT_...]
MATERIALS =INT_Plastic_Cluster
PROP_0 = ksSpecular,0.05
PROP_1 = ksSpecularEXP, 120
PROP_2=fresnelC,0.25
PROP_3 = fresnelEXP, 2.5
PROP_4 = fresnelMaxLevel, .5

[SHADER_REPLACEMENT_...]
MATERIALS =EXT_Plastic_Color
PROP_...= ksAmbient, 0.2
PROP_...= ksDiffuse, 0.2
PROP_...= ksSpecular,0.1
PROP_...= ksSpecularEXP, 90
PROP_...= fresnelEXP, 4
PROP_...= fresnelMaxLevel, 0.4
PROP_...=fresnelC,0.05
PROP_1 = extColoredReflection,0
[SHADER_REPLACEMENT_...]
MATERIALS =EXT_Emissive_Bulb
PROP_5 = ksAmbient, 0.05
PROP_6 = ksDiffuse, 0.05
PROP_0 = ksSpecular,0.05
PROP_1 = ksSpecularEXP, 270
PROP_...=fresnelC,0.1

[SHADER_REPLACEMENT_...]
MATERIALS =
SHADER=ksPerPixelNM
PROP_...= ksAmbient, 0.2
PROP_...= ksDiffuse, 0.2
PROP_...= ksSpecular,0.1
PROP_...= ksSpecularEXP, 90
PROP_...= fresnelEXP, 2.5
PROP_...= fresnelMaxLevel, 0.4
PROP_...=fresnelC,0.1

[SHADER_REPLACEMENT_...]
MATERIALS =INT_RPM_LIGHT
PROP_5 = ksAmbient, 0.05
PROP_6 = ksDiffuse, 0.05






[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_Glass_RED_Reflector
PROP_0 = extBounceBack, .5
PROP_1 = extColoredReflection,1




[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_Grill
PROP_0 = ksDiffuse, 0.02
PROP_1 = ksAmbient, 0.02
PROP_2 = ksSpecular, 0.1
PROP_3 = ksSpecularEXP,20
PROP_4 = ksAlphaRef,0.95
IS_TRANSPARENT = 1
BLEND_MODE=ALPHA_BLEND

[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_Decal_Exhaust
IS_TRANSPARENT = 1
BLEND_MODE=ALPHA_BLEND
PROP_0 = ksDiffuse, 0.1
PROP_1 = ksAmbient, 0.1
PROP_2 = ksSpecular, 0.5
PROP_3 = ksSpecularEXP,20


[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_Badge,EXT_Rim_Badge
PROP_2 = ksSpecular, 0.05
PROP_3 = ksSpecularEXP,250
PROP_...= fresnelMaxLevel, 0.7
PROP_...=fresnelC,0.1
PROP_...= fresnelEXP, 3
PROP_...=isAdditive,1
PROP_... = ksAmbient, 0.3
PROP_... = ksAmbient, 0.3
[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =Tyre
PROP_0 = ksDiffuse, 0.135
PROP_1 = ksAmbient, 0.135
PROP_2 = ksSpecular, 0.025
PROP_3 = ksSpecularEXP,10

[SHADER_REPLACEMENT_...]
MATERIALS =?Glass?,EXT_Window,INT_Window,INT_Decal
IS_TRANSPARENT = 1

[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =INT_Decal
PROP_... = ksAmbient, 0.20
PROP_... = ksAmbient, 0.20
PROP_... = ksSpecular, 0.0
PROP_... = ksSpecularEXP,270
──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_Glass,material:EXT_Glass_Red,material:EXT_GLASS_YELLOW,material:EXT_Glass_Nm,material:EXT_GLASS_NM_2,material:EXT_GLASS_LENS,material:EXT_Glass_Square_NM,Material:EXT_Glass_NM_DRL
SKIP_GBUFFER = material:INT_Glass,material:INT_Decal,material:EXT_DECAL_PERF,material:INT_DECAL_SW,material:INT_DECAL_EMBROID,material:INT_STITCHING,material:EXT_VLCT_LOGO,material:INT_SPEAKER_GRILL,material:INT_SEAT_BADGE,material:INT_Stitch,material:INT_STITCH_SW,material:EXT_TL_GLASS_REF,material:EXT_Logo_Mustang,material:material:EXT_Grill,material:INT_Logo_GTD,material:EXT_Rim_Badge,,material:INT_Cluster,material:EXT_Decal_Exhaust
DELAYED_RENDER=material:INT_HUD

──────────────────────


[LIGHT_HEADLIGHTS]
ACTIVE=1
BIND_TO_HEADLIGHTS=1
COLOR=10
DIRECTION=0, -0.0, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
MIRROR=0.759
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=, 0.626, 2.18
RANGE=100
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1.15
SECOND_SPOT_RANGE=60
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPOT_EDGE_SHARPNESS=21.2
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0



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

[INCLUDE: common/materials_carpaint.ini]


; body paint
[Material_CarPaint_Metallic]
Materials=ext_Body_Paint
ColoredSpecular =0.9
;SpecularBase = 0.1, 40
BrightnessAdjustment=0.5

[Material_CarPaint_Solid]
Materials=ext_Body_Paint2

BrightnessAdjustment=1.5

[Material_CarPaint_Metallic]
Materials=
NormalsMode=BASIC
FILL_MISSING_TEXTURES=1
SpecularBase = 0.03, 200
FresnelMax=1
FresnelC=0.2
BrightnessAdjustment=0.8
UseMetallicReflections=1

; body paint matte
[Material_CarPaint_Matte]
Materials=
ColoredSpecular=1
FresnelMax = 1
;FresnelC = 0.1
AmbientSpecular = 1.0
AmbientSpecularEXP = 4.0
SpecularBase = 0.125, 4
SpecularSun = 0.0,5
PROP_...=detailUVMultiplier,0

; interior paint
[Material_CarPaint_Metal]
Materials=int_Body_Paint
AmbientSpecular = 0
FresnelC = 0.2
BrightnessAdjustment=0.5

; caliper paint
[Material_CarPaint_Solid]
Materials=ext_Wheel_brake_caliper
AmbientSpecular = 0
BrightnessAdjustment=0.5



; wheel chrome look
[Material_CarPaint_Solid]
Materials =ext_Wheel_paint1,ext_Wheel_paint2
FresnelC = 0.15
;FresnelMax = 0.55
AmbientSpecular=0.15
SpecularBase = 0.1,40
BrightnessAdjustment=1
UseMetallicReflections=0
────────────────────── MATERIALS (GLASS) ────────────────────────
[INCLUDE: common/materials_glass.ini]

[Material_Glass]
Materials =EXT_Glass
FilmIOR=1.8
IOR=1.8
Desaturate = 1


[Material_Glass]
Materials=EXT_Window
FilmIOR=2
MaskPass=0.3
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1.75





[Material_Glass]
Materials=EXT_Glass_Red
MaskPass=1
MaskPassColor=255,1,1
BrightnessAdjustment=0.2
PROP_...=extColoredReflection,0.5
IOR=1.8

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

[Material_Metal]
Materials = EXT_Chrome
DetailScale=0
Brightness=1
Metalness = 0.7

[Material_Metal_v2]
Materials = EXT_Metal_Light_Pyramid
Brightness=.1
DetailNormalTexture=SquareNM.DDS
DetailNormalBlend=-1
DetailNormalPBRSmoothness=0.2
DetailScale=400
Smoothness=0.1

[Material_Metal_v2]
Materials = EXT_Metal_Blue
DetailNormalPBRSecondaryColor=0,0.3,1,1
DetailScale=0
DetailNormalPBRSmoothness=0.2

[Material_Aluminium_v2]
Materials =EXT_Aluminium_Dark
Brightness=0.1
Metalness=0.95
DetailScale=0
DetailNormalPBRSmoothness=0.74


[Material_MetalOld_v2]
Materials=EXT_Intercooler_Chrome
DetailScale=5
Brightness=0.
Metalness=0.9

[Material_InteriorPBR]
Materials =EXT_Intercooler
Brightness=1
Reflectance=0.1
Smoothness=0
DetailScale=140
Metalness=0.9

[Material_InteriorPBR]
Materials =EXT_Metal_Brushed
Brightness=0.6
DetailScale=100
Metalness=0.8

DetailNormalBlend=1

[Material_MetalOld_v2]
Materials =EXT_Exhaust
DetailScale=10
DetailNormalPBRSmoothness=1
Brightness=0.8

[Material_MetalOld_v2]
Materials =EXT_Metal_Taillight_Red
Brightness=.6
Metalness=0.45
Smoothness=0.95
DetailNormalPBRSecondaryColor=.4,0,0,1

[Material_InteriorPBR]
Materials =EXT_Emissive_Tex
Brightness=1
DetailScale=1
Metalness=0.7
Smoothness=0.95

[Material_Metal_v2]
Materials =EXT_CHROME_LIGHT_SQUARE
DetailNormalTexture=generic_light_nm.DDS
DetailScale=600
Metalness=0.9
Brightness=0.3
Reflectance=0
DetailNormalPBRSmoothness = 1

[Material_Metal_v2]
Meshes =EXT_HL_TURN_LF
PROP_...=ksAmbient,1
PROP_...=ksDiffuse,1

[Material_MetalOld_v2]
Materials = EXT_Rim_Chrome
Brightness=0.5
Reflectance=0.5
DetailScale=12
DetailNormalBlend=1


[Material_CarPaint_Solid]
Materials =EXT_Plastic_Gloss
BrightnessAdjustment=.02
SpecularBase=0.02,150
AmbientSpecular=.5




[Material_Plastic]
Materials =EXT_Plastic 
DetailNormalBlend = .25
DetailScale=140
Brightness=0.4
Smoothness=0.6



[Material_Carbon]
Materials =EXT_Carbon
Brightness=0.45
HasDetailNormals = 1
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend =0
DetailScale = 400
Smoothness=0.9

────────────────────── MATERIALS (INTERIOR) ────────────────────────
[Material_InteriorPBR]
Materials = 
Meshes =
RESOURCE_0 =
RESOURCE_TEXTURE_0 =
ColorSource = DIFFUSE
DetailTexture = 
DetailNormalTexture =
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
OcclusionMult = 1.0 
UseClearCoat=1
BrightnessAdjustment = 1
Metalness = 0
Reflectance = 0
DetailScale =0
CubemapReflectionBlur = 0
Smoothness =0
HasDetailNormals=0


[INCLUDE: common/materials_interior.ini]

[Material_Plastic]
;Materials =EXT_Badge
Brightness=0.7
Reflectance = 0.2
Smoothness = 0.9
Metalness=0.5


[Material_InteriorPBR]
Materials =ext_intercooler
DetailScale=0
Brightness=0.1
ColorSource=DIFFUSE
Metalness=0.2
Reflectance=0.1
Smoothness=0.2

[Material_InteriorPBR]
Materials =INT_Metal_Red
Brightness=0.4
Metalness = 0
Smoothness=0.9


;[Material_InteriorPBR]
;Materials = INT_BADGE
;Metalness = 0.7
;Brightness=.5

[Material_Plastic_v2]
Materials =INT_Plastic_Red
Brightness=0.5
DetailScale=60

[Material_Plastic]
Materials = 
DetailScale=200
DetailNormalBlend=1
;Reflectance=0.05
Brightness=0.25
Smoothness=0.5

[Material_Plastic_v2]
Materials =INT_Plastic
DetailScale=70

Brightness=0.3

[Material_Aluminium_v2]
Materials =INT_Knob_Aluminium
Brightness=1
DetailNormalTexture=PYRAMID_NM.dds
DetailNormalPBRFormat=1
DetailNormalPBRSmoothness=0.7
DetailScale=150
DetailNormalBlend=-1



[Material_CarPaint_Solid]
Materials =INT_Plastic_Gloss
BrightnessAdjustment=0.02
SpecularBase=0.02,150
;SpecularSun=0.02,2000
AmbientSpecular=.25
FresnelC=0.1
[Material_Plastic]

Smoothness=0.99
Metalness=0.9
Brightness=0.5

[Material_Velvet_v2]
Materials = INT_Alcantara,
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
DetailScale = 120
Brightness=0.4
ClothSheenColor = 1, 1, 1
Reflectance = 0.05
[Material_Fabric_v2]
Materials = INT_Roof
Brightness=0.15

[Material_Fabric]
Materials =INT_Fabric
Brightness=0.4

[Material_Velvet_v2]
Materials = INT_Carpet
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
DetailScale = 80
Brightness=0.2
ClothSheenColor = 1, 1, 1
Reflectance = 0.05

[Material_Leather]
Materials=INT_Leather
DetailScale=120
Smoothness=0.6
Brightness=0.35
DetailTextureBlur=0
DetailNormalBlend=1

[Material_Leather]
Materials=INT_Leather_Red
Smoothness=0.4
Brightness=0.45
[Material_Leather]
Materials=INT_Skin
DetailScale=100
Brightness=0.3
DetailNormalBlend=1
Reflectance = 0.1
Smoothness = 0.3
;;; paintshop materials ;;;

[Material_Leather]
Materials=int_leather_paint?
Brightness=0.5
Reflectance = 0.05
Smoothness = 0.45

;;; paintshop materi9 ;;;
[Material_Aluminium_v2]
Materials = INT_Chrome
Brightness = 0.4
DetailNormalPBRSmoothness=0.6
DetailScale=0
[Material_Aluminium_v2]
Meshes= _luaallow_INT_Chrome_2
Brightness = 0
DetailNormalPBRSmoothness=0.6
DetailScale=0
Metalness=0.8


[Material_Metal_v2]
Materials = INT_Chrome_Dark
Brightness = 0
DetailNormalPBRSmoothness=0.5
DetailNormalBlend=0.5
DetailScale=0

;Int Carbon
[Material_Carbon]
Materials =INT_Carbon
DetailScale =1500
DetailNormalBlend=.1
UseClearCoat=1
Brightness=0.4

Smoothness=0.6
ClearCoatF0 =0.1



────────────────────── LICENSE PLATE ────────────────────────

[INCLUDE: plate.ini]


;Plate Light
[EMISSIVE_LIGHT_...]
NAME=EXT_PLATE_LIGHT
COLOR=10,12,11,4
OFF_COLOR=0,0,0
CAST_LIGHT=1
LAG = 0

[LIGHT_LICENSEPLATE]
MESHES=EXT_LP_US
OFFSET = 0.05, 0.025, -0.05
;SPOT = 179
;RANGE=0.3
LAYOUT = TWO_ON_TOP
COLOR=3
;RANGE_GRADIENT_OFFSET = 0.1
SPOT_SHARPNESS = 0.3
────────────────────── EXT LIGHTS ────────────────────────
; Highbeam
[EMISSIVE_HIGHBEAM_...]
NAME=EXT_HL_HB
COLOR=205, 220, 255,0.15
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_LIGHT_...]
NAME=EXT_HL_LB
COLOR=205, 220, 255,0.15
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT



[EMISSIVE_CORNERINGLAMP_LEFT_...]
NAME=EXT_HL_CORNER_L
COLOR=205, 220, 255,0.15
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION = FRONT

[EMISSIVE_CORNERINGLAMP_RIGHT_...]
NAME=EXT_HL_CORNER_R
COLOR=205, 220, 255,0.15
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION = FRONT



[LIGHT_CORNERINGLAMP_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.7, -0.2, 0.9
POSITION=-0.552, 0.59, 2.27
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
BOUND_TO=EXT_HL_CORNER_R

[LIGHT_CORNERINGLAMP_LEFT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.7, 0, 0.9
POSITION=0.552, 0.59, 2.27
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
BOUND_TO=EXT_HL_CORNER_L


;;;;;;;;;;;;;;;

; DRL

; R
[EMISSIVE_LIGHT_...]
ACTIVE=1
NAME=EXT_HL_DRL_GRILL
COLOR=100,110,130,.1
FALLBACK_BASE_COLOR=100,110,130,.1
LOCATION=NONE
SIMULATE_HEATING=0
; M 

[EMISSIVE_LIGHT_...]
ACTIVE=1
NAME=EXT_Glass_NM_DRL
COLOR=215, 240, 255,0.05
FALLBACK_BASE_COLOR=215, 240, 225,0.05
LOCATION=NONE
SIMULATE_HEATING=0
;F

[EMISSIVE_LIGHT_...]
ACTIVE=1
NAME=EXT_Glass_Nm
COLOR=215, 240, 255,1
FALLBACK_BASE_COLOR=215, 240, 225,1
LOCATION=NONE
SIMULATE_HEATING=0










────────────────────── TAIL LIGHTS ────────────────────────
[LIGHT_BRAKE_0]
ACTIVE=1
BIND_TO_BRAKELIGHTS=1
COLOR=2, 0, 0,1.5
EXTERIOR_ONLY=0



;DRL + BRAKE 
[EMISSIVE_LIGHT_...]
NAME=EXT_TL_DRL
COLOR = 50, 10, 0,1
OFF_COLOR = 50, 10, 0,.0
LOCATION=REAR
LAG=0.1
CAST_LIGHT=1




[EMISSIVE_...]
NAME=EXT_TL_BRAKE
COLOR = 50,10, 0,5
FALLBACK_BRAKES_COLOR = 50,10, 0,5
INPUT = G_FORCE
;INPUT_DEBUG=0
INPUT_SELECTOR = Z
INPUT_MULT=-1
INPUT_THRESHOLD =1.1
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking
CHANNEL=0



[EMISSIVE_...]
NAME=EXT_TL_CHMSL
COLOR = 50,10, 0,6
FALLBACK_BRAKES_COLOR = 50,10, 0,3
INPUT = G_FORCE
;INPUT_DEBUG=0
INPUT_SELECTOR = Z
INPUT_MULT=-1
INPUT_THRESHOLD =1.1
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking








────────────────────── REVERSE LIGHT ────────────────────────
; Reverse Lights
[EMISSIVE_REVERSE_...]
NAME =EXT_TL_REVERSE
COLOR = 10,11,13,3
LAG = 0.3      
SIMULATE_HEATING =0    
CAST_LIGHT=1    
LOCATION = REAR    
ACT_AS_HEADLIGHTS=1  
CHANNEL=0




[LIGHT_REVERSE_...]
SPOT=179
EXTERIOR_ONLY=0
DIRECTION=0,0,-1




 
────────────────────── INDICATORS ────────────────────────
[SHADER_REPLACEMENT_...]
MESHES=EXT_HL_GLASS_LF,EXT_HL_GLASS_RF
RESOURCE_0=txDiffuse
RESOURCE_COLOR_0=1,1,1,1
BLEND_MODE=OPAQUE
PROP_...=ksAmbient,0.1
PROP_...=ksDiffuse,0.1

; Left Front Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_HL_GLASS_LF
COLOR=100,35,0,2
FALLBACK_BASE_COLOR=100,110,130,2
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_HL_GLASS_RF
COLOR=100,35,0,2
FALLBACK_BASE_COLOR=100,110,130,2
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0

; Left Front Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_HL_GLASS_NM_LF
COLOR=100,35,0,4
FALLBACK_BASE_COLOR=100,110,130,4
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_HL_DRL_LF
COLOR=100,35,0,0.5
FALLBACK_BASE_COLOR=100,110,130,0.5
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0


; Left Mid Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_TURN_LM
COLOR=100,25,0
LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1

; Rear Left Turnsignal 

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_TL_TURN_L
COLOR=100,25,0,2
LOCATION=REAR
CAST_LIGHT=1
LAG=0

; Right Front Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_HL_GLASS_NM_RF
COLOR=100,35,0,2
FALLBACK_BASE_COLOR=100,110,130,2
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0




[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_HL_DRL_RF
COLOR=100,35,0,0.5
FALLBACK_BASE_COLOR=100,110,130,0.5
NO_FALLBACK_WHILE_BLINKING=1
;LAG = 0 
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0

; Mid Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_TURN_RM
COLOR=100,25,0
LAG = 0     
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1

; Rear Right Turnsignal 
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_TL_TURN_R
COLOR=100,25,0,4
LOCATION=REAR
CAST_LIGHT=1
LAG=0


────────────────────── OUTSIDE EMISSIVE FX ────────────────────────
[EXTRA_FX_EMISSIVE_...]
MESHES =EXT_HL_LB,EXT_HL_HB
RANGE = 0.1
COLOR =0.2
DIRECTED =1
INTERIOR_ONLY =0
EXTERIOR_ONLY =1
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0


[EXTRA_FX_EMISSIVE_...]
MESHES =EXT_HL_GLASS_LF,EXT_HL_GLASS_RF
RANGE = 0.05
COLOR =0.001
DIRECTED =0
INTERIOR_ONLY =0
EXTERIOR_ONLY =1
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0







[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =EXT_HL_TURN_?
RANGE = 0.1
COLOR =0.1
DIRECTED = 0
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[SelfLight]
POSITION=, 0.624, 2.15
MIRROR=0.759
DIRECTION =0,-0,1
SPOT=150
DIFFUSE_CONCENTRATION=0.9
RANGE=0.2
COLOR=50
BOUND_TO = EXT_HL_LB
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[SelfLight]
POSITION=, 0.598, 2.22
MIRROR=0.623
DIRECTION =0,-0,1
SPOT=150
DIFFUSE_CONCENTRATION=0.9
RANGE=0.25
COLOR=50
BOUND_TO = EXT_HL_HB
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
────────────────────── REFRACTION ────────────────────────


────────────────────── INT LIGHTS ────────────────────────

[SHADER_REPLACEMENT_...]
MATERIALS=INT_Cluster,INT_CLUSTER_DIGITAL,INT_Gps,int_light_paint1,INT_CLUSTER_LUA,INT_HEADSUP_DISPLAY_LUA,INT_CLUSTER_NEEDLE,INT_SCREEN_REAR,INT_Decal,INT_SW_Screen,INT_Led,INT_HUD,int_light_paint_1
ADAPTIVE_EMISSIVE = 1



[SHADER_REPLACEMENT_...]
MATERIALS =INT_Cluster
BLEND_MODE=ALPHA_BLEND
IS_TRANSPARENT=1

[EMISSIVE_LIGHT_...]
NAME=INT_HUD,INT_Cluster_1.001
COLOR=2
OFF_COLOR=2



[EMISSIVE_LIGHT_...]
NAME=INT_HUD_RPM_?
COLOR=15
OFF_COLOR=15
[SCRIPTABLE_DISPLAY_...]
MESHES =INT_HUD
SCRIPT = sw.lua


[SCRIPTABLE_DISPLAY_...]
MESHES =
SCRIPT =Cluster.lua
[SCRIPTABLE_DISPLAY_...]
MESHES =INT_SW_LED
SCRIPT =sw_led.lua

SKIP_FRAMES = 0



[EMISSIVE_LIGHT_...]
NAME=material:int_light_paint_1
COLOR=2
FALLBACK_BASE_COLOR=2
LOCATION=INTERIOR
LAG=0.9

[EMISSIVE_LIGHT_...]
NAME=material:INT_Decal
COLOR=2
OFF_COLOR=1
LOCATION=INTERIOR

[EMISSIVE_...]
INPUT=LIGHT
NAME=material:int_light_alpha_paint1
COLOR=10
LAG=0
TOGGLE_VISIBILITY=1
LOCATION=INTERIOR

;;;;;;;;;;;;;;;;;;;;;;;

[EXTRA_FX_EMISSIVE_...]
MESHES =INT_Gps,INT_SCREEN_C
RANGE = 0.2
COLOR =0.25
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =0
EMISSIVE_TWEAK=0




[EXTRA_FX_EMISSIVE_...]
MESHES =INT_Cluster_0
RANGE = 0.2
COLOR =1
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
MESHES =INT_DECAL_DIGITAL
RANGE = 0.065
COLOR =0.2
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0


[EXTRA_FX_EMISSIVE_...]
ACTIVE=0
MESHES =INT_SW_LED
RANGE = 0.01
COLOR =0.05
DIRECTED = 0
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0


[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_5
RANGE = 0.4
COLOR =1
DIRECTED = 0.9
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_3
RANGE = 0.2
COLOR =0.25
DIRECTED = 0
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_0
RANGE = 0.4
COLOR =0.25
DIRECTED = 0
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_7
RANGE = 0.2
COLOR =0.5
DIRECTED = 1
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_2
RANGE = 0.09
COLOR =0.25
DIRECTED = 1
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0

[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1_1
RANGE = 0.6
COLOR =0.25
DIRECTED = 0
INTERIOR_ONLY =0
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0
;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;


[EMISSIVE_EXTRA_A_...]
NAME=
COLOR=18,18,19
LAG=0.5
LOCATION=INTERIOR

[SelfLight]
POSITION=, 1.28, 0.099
MIRROR=0.065
DIRECTION =0.2,-1,-0.2
SPOT=140
RANGE=1.2
COLOR=250
BOUND_TO = 
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
;;;;;;;;;;;;;;;;;;;;;;;

;GPS

[EMISSIVE_LIGHT_...]
ACTIVE=1
NAME=INT_Gps
COLOR=2,2.02,2
OFF_COLOR=2,2.02,2
LAG=0
LOCATION=INTERIOR


; INT_SW_SCREEN

[EMISSIVE_LIGHT_...]
NAME=INT_SW_SCREEN
COLOR=10
OFF_COLOR=10
LAG=0
LOCATION=INTERIOR

[;SCRIPTABLE_DISPLAY_...]
;MESHES =INT_SW_SCREEN
;SCRIPT = sw.lua
;;;;;;;;;;;;;;;;;;;;;;;


[SHADER_REPLACEMENT_...]
MATERIALS=INT_Cluster_Warning


;Custom Emissive
[CustomEmissiveMulti]
Meshes =INT_Cluster_Warning
Resolution = 812, 812
UseEmissive0AsFallback =0
PROP_... = emAlphaFromDiffuse, 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "434, 30.2", Size = "81.3, 76.5" , Color = "0, 10,0 " ,
@ = MultiItem, Role =TURNSIGNAL_RIGHT,Start = "718.8, 31.6", Size = "81.9, 76.5" , Color = "0, 10,0 " ,
@ = MultiItem, Role = DashWarningABS, Start = "325.5, 343.6", Size = "81.3, 77.1", Color = "10,2,0",
@ = MultiItem, Role = DashWarningEngine, Start = "587.5, 259.4", Size = "77.6, 79.4" , Color = "10,5,0",
@ = MultiItem, Role = HANDBRAKE, Start = "679.3, 267.4", Size = "66.8, 58.9", Color = "35,2, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67.4, 257.8", Size = "83.5, 71.4", Color = "0, 15, 45", ; HIGHBEAM
@ = MultiItem, Role = LIGHT,Start = "670.1, 349.3", Size = "100.7, 65.3", Color = "0, 15, 0",

@ = MultiItem, Role = DashWarningSuspDamage, Start = "1269.9, 945.4", Size = "155.7, 165" , Color = "15,0,0",
@ = MultiItem, Role = TC_INACTION ,Start = "421.7, 435.6", Size = "61.5, 67.1", Color = "25, 5, 0",
@ = MultiItem, Role = DashWarningTC, Start = "510, 430.8", Size = "61.6, 77.8", Color = "15,5, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "680.4, 433", Size = "66.1, 62.3", Color = "40, 30, 0", InputThreshold = 40, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt,Start = "162.7, 342.8", Size = "58.9, 80.5" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "246.2, 344.4", Size = "70.9, 84.3", Color = "80, 0, 0",
@ = MultiItem, Role = WATER_TEMP , Start = "677, 360", Size = "85, 45" ,Color = "0,80,0" , InputThreshold=10,


[EXTRA_FX_EMISSIVE_...]
ACTIVE=1
MESHES =int_light_paint_1
RANGE = 0.15
COLOR =0.1
DIRECTED = 0
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0
────────────────────── STERO/GPS ────────────────────────



[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = INT_Gps
Resolution =1000,314
Size = 920,314
Offset =0,5
Scale=1.3
RearCameraPosition = 0.000, 0.842, -2.49
aftermarketComponent=1





────────────────────── EXHAUST ────────────────────────

; Exhaust Smoke
[PARTICLES_FX_EXHAUST]         ; how long particles last in the air before disappearing
SPEED = 0.5, 2               ; how fast smoke particles fly from the exhaust
SPREAD = 0.25                ; initial spread of particles
STARTING_SIZE = 0.04            ; initial size of particles
SPAWN_OFFSET = 0.02            ; initial spawn point offset (length-wise)
TEMPERATURE_LAG = 1             ; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100    
LIFE=1,0.25
GAS_LAG=0.9
[EXHAUST_FLAMES]
DISCHARGE=1
DISCHARGE_CHARGE_TIME=1
DISCHARGE_DELAY=.5
DISCHARGE_DURATION=0.5
DISCHARGE_INTENSITY=0.2
DISCHARGE_PROBABILITY=0.75
DISCHARGE_RPM_THRESHOLD_MAX=7500
DISCHARGE_RPM_THRESHOLD_MIN=400
DISCHARGE_WATER_TEMPERATURE_THRESHOLD= 78
LIMITER=0
LIMITER_DELAY=0.5
LIMITER_INTENSITY=0.125
LIMITER_RPM_THRESHOLD=6750
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.03 
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=0.99
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=0.75
FLAT_SHIFT_RPM_THRESHOLD=5500
ANTILAG=0
ANTILAG_DELAY=0.1
ANTILAG_INTENSITY= 0.1
ANTILAG_INTERVAL_MAX=0.2
ANTILAG_INTERVAL_MIN=0.55
ANTILAG_TURBO_THRESHOLD=0.35

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

[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1
[AUDIO_VOLUME]
ENGINE_EXT =2
ENGINE_INT =2
GEAR_EXT =1
GEAR_INT = 1
BODYWORK = 1
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER =1
TURBO =2

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



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

────────────────────── might be useful ────────────────────────

[WINDSCREEN_REFLECTION]
DEBUG_MESH = 0    
;;REFLECTING = INT_Window
FILTER_ELEMENTS = 1    
REFLECTED = COCKPIT_HR, STEER_HR
REFLECTED_EXCLUDE = INT_HEADSUP_DISPLAY 
REFLECTED_DRIVER = 1            
REFLECTED_TRANSPARENT = 1                        
DEPTH_OFFSET = 0.009             
APPLY_DEPTH_FIX = 0             
;INTENSITY = 0.25 

────────────────────── FOG LIGHTS ────────────────────────



[EMISSIVE_EXTRA_A_...]
NAME=INT_Chrome_3
COLOR=20,19,18,2
LAG=0.9
LOCATION=INTERIOR

[SelfLight]
POSITION=, 1.2, 0.213
MIRROR=0.0507
DIRECTION =0.1,-1,-0.2
SPOT=120
RANGE=1.3
COLOR=100,95,90,0.2
BOUND_TO = INT_Chrome_3
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[ANALOG_INDICATOR_...]
ACTIVE=0
INPUT = WATER_TEMPERATURE
NAME =ARROW_WATER_TEMP
!INPUT_DEBUG=120
LUT = (| 40 = -4 | 120 =-70|)

[ANALOG_INDICATOR_...]
ACTIVE=1
INPUT = FUEL
NAME =ARROW_FUEL
;INPUT_DEBUG=53
LUT = (| 0 = -115 | 53 =-0|)


[ANALOG_INDICATOR_...]

INPUT = RPM
NAME =ARROW_RPM
;INPUT_DEBUG=7000
!INPUT_LAG_UP = 0.3
!INPUT_LAG_DOWN = 0.3
LUT = (| 0 = 0 |  7000 =-226|)



;;;;;;;; MPH TO KMH ;;;;;;;;;;;;;;;;

| MPH | KM/H   |
| --- | ------ |
| 20  | 32.19  |
| 40  | 64.37  |
| 60  | 96.56  |
| 80  | 128.75 |
| 100 | 160.93 |
| 120 | 193.12 |
| 140 | 225.31 |
| 160 | 257.50 |
| 180 | 289.68 |
| 200 | 321.87 |
| 220 | 354.06 |
| 240 | 386.24 |
| 250 | 402.34 |


[ANALOG_INDICATOR_...]
INPUT = SPEED
NAME =ARROW_SPEED
;INPUT_DEBUG=0
LUT = (| 0 = 0|260=-241.2|)



──────────────────────────────────────────────
[EXTRA_SWITCHES]
;SWITCH_A =DRS Mode
;SWITCH_B =Interior Dome Light

[SCRIPT_...]
SCRIPT = "sound.lua"

[SCRIPTABLE_DISPLAY_...]
MESHES = EXT_Black_Misc_4
SCRIPT = decryptor.lua
