[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
──────────────────────────────────────────────
[INCLUDE: plate.ini]

[BASIC]
IS_LOW_BEAM_AVAILABLE = 1
HEADLIGHTS_ARE_HEADLIGHTS=1
ENGINE_STALLED_RPM_THRESHOLD=200




[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = EXT_PLASTIC_GLOSS_1, EXT_PLASTIC_GLOSS_3
UNDERLYING_SURFACE = EXT_WINDOW
GROUP_0 = 'EXT_PLASTIC_GLOSS_1@A=*'
GROUP_0_ANGLE_TO = 89.2
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.09201536, 0.88753706, 0.9798124
GROUP_0_PIVOT = 0.6190358, 0.82042235, 0.86411405
GROUP_0_RUBBER_FROM = 0.4840951, 0.8916975, 0.8609376
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.0175
GROUP_0_RUBBER_OFFSET_POS = 0.46779612
GROUP_0_RUBBER_TO = -0.09179041, 0.8805859, 0.97731376
GROUP_1 = 'EXT_PLASTIC_GLOSS_3@A=*'
GROUP_1_ANGLE_TO = 95.3
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.6865934, 0.88022095, 0.7152585
GROUP_1_PIVOT = 0.1102763, 0.8440812, 1.0602388


[MESH_ADJUSTMENT_...]
MESHES = EXT_PLASTIC_GLOSS_1,EXT_PLASTIC_GLOSS_3
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[DATA] 
DISABLE_LIGHTSINI = 1

──────────────────────────────────────────────
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1
──────────────────────────────────────────────
[BRAKEDISC_FX]
ACTIVE =1
;DISC_RADIUS = 0.195          ; radius of a brake disc
;DISC_INTERNAL_RADIUS = 0.115  ; radius of an inside part of a brake di
;DEBUG=0
CERAMIC = 1    
────────────────────── SHADER_REPLACEMENT ────────────────────────
[SHADER_REPLACEMENT_...]
ACTIVE=0
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED =1

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

[SHADER_REPLACEMENT_...]
MATERIALS =INT_GLASS
PROP_0 = fresnelC, 0.005
PROP_1 = fresnelEXP, 2
PROP_2 = fresnelMaxLevel, 0.05

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_EXHAUST
PROP_0 = ksSpecular, 0.15
PROP_1 = ksSpecularEXP, 125
PROP_2 = fresnelMaxLevel, 0.8
PROP_3 = fresnelC, 0.5
PROP_4 = fresnelEXP, 2
PROP_5 = ksAmbient, 0.0
PROP_6 = ksDiffuse, 0.0

[SHADER_REPLACEMENT_...]
MATERIALS = INT_DECAL_SHIFTER
PROP_5 = ksAmbient, 0.2
PROP_6 = ksDiffuse, 0.2
PROP_0 = ksSpecular, .1
PROP_1 = ksSpecularEXP, 200

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_EMISSIVE_BULB,EXT_EMISSIVE_STRIP
BLEND_MODE = OPAQUE 


[SHADER_REPLACEMENT_...]
MATERIALS =EXT_EMISSIVE_STRIP
PROP_...=fresnelC,.03
PROP_5 = ksAmbient, 0.02
PROP_6 = ksDiffuse, 0.02



[SHADER_REPLACEMENT_...]
MESHES =EXT_TL_TURN_RR,EXT_TL_TURN_LR
RESOURCE_0=txEmissive
RESOURCE_COLOR_0=1

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_EMISSIVE_BULB,
PROP_5 = ksAmbient, 0.02
PROP_6 = ksDiffuse, 0.02
PROP_0 = ksSpecular, .1
PROP_1 = ksSpecularEXP, 200

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_EMISSIVE_LED
PROP_...=ksAmbient,.1
PROP_...=ksDiffuse,.1
PROP_...=fresnelC,.03


[SHADER_REPLACEMENT_...]
MATERIALS =EXT_DECAL_REAR
PROP_5 = ksAmbient, 0.3
PROP_6 = ksDiffuse, 0.3
PROP_0 = ksSpecular, .1

[SHADER_REPLACEMENT_...]
MATERIALS =EXT_DECAL_SIDE
PROP_0 = ksSpecular, 0.2
PROP_1= extColoredReflection,1
PROP_2 = ksDiffuse, 0.2
PROP_3 = ksAmbient, 0.2
[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =EXT_BADGE_PORSCHE
PROP_0 = ksSpecular, .1
PROP_1 = ksSpecularEXP,90
PROP_2 = ksDiffuse, 0.2
PROP_3 = ksAmbient, 0.2
PROP_4 = extColoredReflection,1
PROP_5 = fresnelMaxLevel, 0.45
PROP_6 = fresnelC, 0.1
PROP_7 = fresnelEXP, 2




[SHADER_REPLACEMENT_...]
MATERIALS = INT_CLUSTER_WARNING_LIGHTS,INT_GAUGES_2,int_tachometerlights,INT_DECALS,INT_CLUSTER
BLEND_MODE =ALPHA_TEST
IS_TRANSPARENT = 0


;Custom Emissive
[CustomEmissiveMulti]
Meshes=INT_DECALS_1,INT_DECALS_0
Resolution =2048, 2048
DashHighlightColor=2
@ = AlphaFromTxDiffuse
@ = CustomEmissive_Rect, Channel = 0, Start = "0, 0", Size = "2048, 2048"
@ = DashHighlight, Channel = 0
@ = MultiItem, Role = HAZARD,Start = "899.7, 900.7", Size = "177.1, 127.6"
 


[SHADER_REPLACEMENT_...]
MATERIALS =EXT_GLASS_?,EXT_WINDOW,INT_WINDOW
IS_TRANSPARENT = 1


;Custom Emissive
[CustomEmissiveMulti]
Meshes = INT_CLUSTER_WARNING_LIGHTS
Resolution = 812, 812
UseEmissive0AsFallback = 1
PROP_... = emAlphaFromDiffuse, 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "0, 10,0 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "0, 10,0 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "326, 438", Size = "77, 49", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "326, 355", Size = "79, 60", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "501, 349", Size = "82, 71", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "80, 58", Color = "0, 25, 80",
@ = MultiItem, Role = LIGHT, Start = "414, 349", Size = "81, 71", Color = "0, 80, 0",
@ = MultiItem, Role = DashWarningSuspDamage, Start = "591, 425", Size = "77, 73" , Color = "60,0,0",
@ = MultiItem, Role = TC_INACTION ,Start = "152.1, 258.1", Size = "81.9, 80.9", Color = "60, 30, 0",
@ = MultiItem, Role = DashWarningTC, Start = "152.1, 258.1", Size = "81.9, 80.9", Color = "60, 30, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "680, 438", Size = "66, 63", Color = "60, 30, 0", InputThreshold = 40, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = GEAR_N , Start = "181, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = GEAR_R , Start = "50, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = GEAR_D , Start = "314, 46", Size = "117, 117" , Color = "80,80, 80", Lag = 0.9
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=13 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=75 ,InputInverse=1 , Lag=0.2, Color = "10,10,10", 
@ = MultiItem, Role = WATER_TEMP , Start = "677, 360", Size = "85, 45" ,Color = "0,80,0" , InputThreshold=10,
@ = MultiItem, Role = EXTRA_A , Start = "243.4, 258", Size = "77.3, 79.8" ,Color = "0,80,0" ,

──────────────────────────────────────────────
[EXTRA_FX]
MASK_GBUFFER =material:EXT_GLASS,material:EXT_GRILL
SKIP_GBUFFER = material:INT_GLASS, material:EXT_DECAL_REAR,material:EXT_DECAL_SIDE,material:INT_CLUSTER_WARNING_LIGHTS,INT_CLUSTER_ALPHA,material:INT_DECAL_2,material:EXT_Logo_Weissach,,INT_CLUSTER_SHIFT
DELAYED_RENDER=


────────────────────── Lights Cast────────────────────────

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
AMBIENT_INFLUENCE = 0.85
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.9
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR_DIRECTION=1
RANGE=100
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=95
SPOT_EDGE=0.03, 0.03, 0.03
SPOT_EDGE_SHARPNESS=20
SPOT_SHARPNESS=0.1
SPOT_UP=0.02, 1, 0



[LIGHT_BRAKE_0]	
COLOR=2, 0, 0, 2
DIRECTION=-0, 0,-1



[LIGHT_REVERSE_0]

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

[INCLUDE: common/materials_carpaint.ini]


; body paint
[Material_CarPaint_Metallic]
Materials=ext_Body_Paint
SpecularBase = 0.4, 40
SpecularSun  = 0.4, 5000
ClearCoatThickness = 0.15
ColoredSpecular=0.85
ColoredSpecular=0.9



[Material_CarPaint_Metallic]
Materials=int_leather_paint4
AmbientSpecular = 0.2



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



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

[Material_CarPaint_Metallic]
Materials =
AmbientSpecular = 0


[Material_CarPaint_Chrome]
Materials =ext_Wheel_paint1
PROP_... = isAdditive,1
ColoredSpecular=0.9
;UseMetallicReflections = 1
BrightnessAdjustment = 0.5
AmbientSpecular = 0
FresnelC = 0.1
ClearCoatThickness = 0.2

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

[Material_Glass]
Materials =EXT_GLASS
ThicknessMult=1
FilmIOR=1.7




[Material_Glass]
Materials =EXT_GLASS_RED
MaskPass=1
;FilmIOR=1.22
Refraction = 0  

[Material_Glass]
Materials=EXT_WINDOW
;FilmIOR=2
MaskPass=0.35
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1


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

[Material_Metal_v2]
Materials = EXT_CHROME
DetailScale=45
Brightness=1
[Material_Metal_v2]
Meshes = EXT_CHROME_0.001
Brightness=0
[Material_MetalOld_v2]
Materials =EXT_RIM_CHROME_BLACK
DetailScale=50
DetailNormalBlend=1
Reflectance=0.0
OcclusionMap=0.2

[Material_MetalOld_v2]
Materials = EXT_PLASTIC_RED
Metalness=0.95
Brightness=0.8
DetailNormalPBRSecondaryColor=1,0.05,0,1
DetailScale=5
DetailNormalPBRSmoothness=0.5

[Material_Aluminium_v2]
Materials = EXT_CHROME_HDL_NM
DetailNormalTexture=ridges_002b_nrml.dds
DetailScale = 40


[Material_Aluminium_v2]
Materials = EXT_CHROME_BLACK
Metalness = 0.95
Reflectance = 1
Brightness= 0.0
DetailTexture = 1
DetailScale = 7




[Material_Aluminium_v2]
Materials = EXT_RIM_CHROME
Brightness=0.2
Reflectance=0.5



[Material_Aluminium_v2]
Materials = EXT_TAILLIGHT_NM
Brightness=0.1

[Material_Aluminium_v2]
Meshes = EXT_CHROME_3
DetailNormalPBRSmoothness=0.8
Brightness=0.01
DetailScale=5


[Material_Plastic]
Materials = EXT_PLASTIC_GLOSS
Reflectance = 0.08
Smoothness = .4
Brightness=0.01
;Metalness=0.1
DetailScale = 0



[Material_Plastic]
Materials = INT_PLASTIC_KNOB_DETAIL

[Material_Metal_v2]
Materials =INT_METAL_KNOB_DETAIL
Brightness=0.3
OcclusionMap=0.3

[Material_Plastic]
Materials =EXT_PLASTIC 
DetailNormalBlend = .25
DetailScale=190
Brightness=0.25
Metalness=0.0
Smoothness=0.9
Reflectance = 0.1


[Material_Plastic]
Materials =EXT_RIM_PLASTIC 


[Material_Carbon]
Materials =EXT_CARBON
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat =1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend =1
DetailScale = 800

────────────────────── 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_InteriorPBR]
Materials = INT_BADGE
Metalness = 0.7
Brightness=.5


[Material_Plastic_v2]
Materials =INT_PLASTIC_RED
Brightness=0.35
DetailScale=90





[Material_Plastic_v2]
Materials = INT_PLASTIC
DetailScale=80
Brightness=0.25

[Material_Plastic_v2]
Materials = INT_PLASTIC_MATTE
Brightness=0.05

[Material_Plastic]
Materials =INT_PLASTIC_GLOSS
Brightness=0.05
Reflectance = 0.08
Smoothness = 0.95
DetailNormalBlend=0
DetailScale = 0


[Material_Plastic]
Materials =INT_SW_BADGE
Brightness=0.035
Reflectance = 0.02
Smoothness = 0.9
Metalness=0.0




[Material_Velvet_v2]
Materials = INT_VELVET,INT_FABRIC
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
DetailScale = 60
Brightness=0.15
ClothSheenColor = 1, 1, 1


[Material_Fabric_v2]
Materials =int_leather_paint6
Reflectance = 0.02
Brightness=0.5
DetailScale = 90
[Material_Velvet_v2]
Materials = INT_SEATBELT
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
DetailScale = 15
Brightness=0.45
ClothSheenColor = 1, 1, 1

[Material_Velvet_v2]
Materials = INT_CARPET
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
DetailScale = 50
Brightness=0.15
ClothSheenColor = 1, 1, 1
Reflectance = 0.05

[Material_Leather]
Materials=INT_LEATHER_BLACK
DetailScale=100
DetailNormalBlend = 1
Brightness=0.2
Reflectance = 0.05
Smoothness = 0.35
ApplyTilingFix=0

[Material_Leather]
Materials=INT_LEATHER_PLASITC
DetailScale=120
DetailNormalBlend = 0.5
DetailTextureBlur=1
Brightness=0.4
Reflectance = 0.1
Smoothness = 0.25
ApplyTilingFix=0

[Material_Leather]
Materials=int_leather_paint3,int_leather_paint2
DetailScale=80
DetailNormalBlend=.55
Smoothness=0.5
Brightness=0.75


[Material_Leather]
Materials=INT_Leather_Yellow
Brightness=0.5

[Material_Fabric_v2]
Materials =int_leather_paint1
Reflectance = 0.02
Brightness=0.5
DetailScale = 25
[Material_Leather]
Materials=int_leather_paint5
DetailScale=1
Brightness=0.5


[Material_Plastic]
Materials = 
ColorSource=DIFFUSE
Brightness=1
Metalness = 0.5
Smoothness=0.2
[Material_Metal_v2]
Materials = INT_CHROME
Metalness = 0.7
Reflectance = 0.1
Brightness = 0.3
DetailNormalPBRSmoothnessGamma = 1
CubemapReflectionBlur = 0.24
DetailScale=0



[Material_Metal_v2]
Materials =INT_CHROME_BLACK
Metalness = 0.7
Reflectance = 0.1
Brightness = 0.2
CubemapReflectionBlur = 0.24
DetailScale=0
;Int Carbon
[Material_Carbon]
Materials =INT_CARBON
DetailScale =1800
UseClearCoat = 1
Smoothness = 0.9
Reflectance = 0.175
Brightness = 0.5
DetailNormalBlend=1

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

;Plate Light
[EMISSIVE_LIGHT_...]
NAME=EXT_PLATE_LIGHT
COLOR=10,10,10,5
OFF_COLOR=0,0,0
CAST_LIGHT=1
LAG = 0.8

[LIGHT_LICENSEPLATE] 
MESHES=EXT_LP
OFFSET=0.04, 0.025, -0.012
RANGE=0.25
COLOR=10,10,9,1
LAYOUT=TWO_ON_TOP
SPOT=170

────────────────────── EXT LIGHTS ────────────────────────
; Lowbeam 
[EMISSIVE_LIGHT_...] 
NAME=EXT_HL_LB
COLOR=201, 226, 255,.5
LAG=0.1
LOCATION=FRONT
CAST_LIGHT=1

[EMISSIVE_HIGHBEAM_...] 
NAME=EXT_HL_HB
COLOR=201, 226, 255
LAG=0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5





; DRL
[EMISSIVE_LIGHT_...]  
NAME=EXT_HL_DRL,EXT_HL_DRL_2
COLOR=215, 230, 250,.5
OFF_COLOR=215, 230, 250,.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5





[EMISSIVE_EXTRA_C_...]  
NAME=EXT_HL_DRL_3
COLOR=215, 230, 250,.3





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

[SHADER_REPLACEMENT_...]
MATERIALS =EXT_TL_EMISSIVE
PROP_...=emChannelsMode,1






[EMISSIVE_BRAKE_...]
NAME=EXT_TL_DRL
COLOR = 50, 15, 0,3
FALLBACK_HEADLIGHTS_COLOR = 50, 15, 0,1
LAG=0
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=1

[EMISSIVE_LIGHT_...]
NAME=EXT_TL_DRL
COLOR = 50, 15, 0,1
LAG=0
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=0



[EMISSIVE_...] 
NAME=EXT_TL_BRAKE
COLOR = 50,5, 0,6
FALLBACK_BRAKES_COLOR = 50,5, 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




[EMISSIVE_...] 
NAME=EXT_TL_THIRD_BRAKE
COLOR = 50,5, 0,6
FALLBACK_BRAKES_COLOR = 50,7, 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,12,5
LAG = 0       
SIMULATE_HEATING =0        
LOCATION = REAR            
────────────────────── INDICATORS ────────────────────────



[EMISSIVE_...] 
INPUT=TURNSIGNAL_LEFT
NAME=EXT_HL_TURN_LF
COLOR=100,15,0
FALLBACK_BASE_COLOR=100,120,140
REPEAT_FREQENCY_HZ=2.6
LOCATION=NONE
LAG = 0
;NO_FALLBACK_WHILE_BLINKING=1
; Left Mid Turnsignal
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=EXT_TURN_LM
COLOR=100,15,0
LAG = 0     
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=CENTER


; Rear Left Turnsignal 
[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=EXT_TL_TURN_LR
COLOR=100,15,0
LAG = 0     
SIMULATE_HEATING=0
LOCATION=REAR


[EMISSIVE_...] 
INPUT=TURNSIGNAL_RIGHT
NAME=EXT_HL_TURN_RF
COLOR=100,15,0
FALLBACK_BASE_COLOR=100,120,140
REPEAT_FREQENCY_HZ=2.6
LOCATION=NONE
LAG = 0     


; Mid Right Turnsignal
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=EXT_TURN_RM
COLOR=100,15,0
LAG = 0     
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1

; Rear Right Turnsignal 
[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=EXT_TL_TURN_RR
COLOR=100,15,0,1
LAG = 0     
LOCATION=REAR
────────────────────── OUTSIDE EMISSIVE FX ────────────────────────


[EXTRA_FX_EMISSIVE_...] 
MESHES =EXT_HL_HB
RANGE = 0.06
COLOR =0.05
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 1
EMISSIVE_TWEAK = 0
SPLIT_ELEMENTS = 1


[EXTRA_FX_EMISSIVE_...] 
MESHES =EXT_TL_BRAKE
RANGE = 0.08l
COLOR =0.02
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 1
EMISSIVE_TWEAK = 0
SPLIT_ELEMENTS = 1
COVERAGE=5
SAMPLES_LIMIT = 100




[EXTRA_FX_EMISSIVE_...] 
MESHES =EXT_TL_REVERSE
RANGE = 0.1
COLOR =0.05
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 1
EMISSIVE_TWEAK = 0
SPLIT_ELEMENTS = 1

[EXTRA_FX_EMISSIVE_...] 
MESHES =EXT_TL_TURN_LR,EXT_TL_TURN_RR
RANGE = 0.045
COLOR =0.01
DIRECTED =1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 1
EMISSIVE_TWEAK = 0
SPLIT_ELEMENTS = 1

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



[SelfLight] ;; lowbeam
ACTIVE=1
POSITION =, 0.731, 1.68
MIRROR =0.702
DIRECTION = 0, -0.0, 1
BOUND_TO =EXT_HL_LB
COLOR = 100.5, 113, 127.5,1
SPOT = 125
SPOT_SHARPNESS = 0.5
RANGE = 0.3
RANGE_GRADIENT_OFFSET = 0
SPECULAR_MULT = 1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
DIFFUSE_CONCENTRATION = 1
FADE_AT = 60
FADE_SMOOTH = 60

[SelfLight] ;; highbeam
ACTIVE=1
POSITION =, 0.799, 1.63
MIRROR =0.70
DIRECTION = 0, -0.0, 1
BOUND_TO =EXT_HL_HB
COLOR = 100.5, 113, 127.5,15
SPOT = 120
SPOT_SHARPNESS = 0.5
RANGE = 0.1
RANGE_GRADIENT_OFFSET = 0
SPECULAR_MULT = 1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
DIFFUSE_CONCENTRATION = 1
FADE_AT = 60
FADE_SMOOTH = 60




[SelfLight] ;; DRL
ACTIVE=0
POSITION =, 0.702, 1.68
MIRROR =0.702
DIRECTION = 0, -1, 0.1
BOUND_TO =EXT_HL_DRL
COLOR = 100.5, 113, 127.5,15
SPOT = 179
SPOT_SHARPNESS = 0
RANGE = 0.15
RANGE_GRADIENT_OFFSET = 0
SPECULAR_MULT = 1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
DIFFUSE_CONCENTRATION = 1
FADE_AT = 60
FADE_SMOOTH = 60


[SelfLight] ;; DRL
ACTIVE=1
POSITION =, 0.66, 1.69
MIRROR =0.696
DIRECTION = -.0, 0, 1
BOUND_TO =EXT_HL_DRL
COLOR = 100.5, 113, 127.5,15
SPOT = 170
SPOT_SHARPNESS = 0
RANGE = 0.15
RANGE_GRADIENT_OFFSET = 0.25
SPECULAR_MULT = 1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0
DIFFUSE_CONCENTRATION = 1
FADE_AT = 60
FADE_SMOOTH = 60




[SelfLight] ;; rear brake cast
ACTIVE=0
POSITION =0, 0.995, -1.76
MIRROR =0
DIRECTION = 0, 0.9, -1
BOUND_TO =EXT_TL_THIRD_BRAKE
COLOR = 250,0,0,15
SPOT = 100
SPOT_SHARPNESS = 0.5
RANGE = 0.8
SPECULAR_MULT = 0.1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 0
INTERIOR_ONLY = 0
FADE_AT = 60
FADE_SMOOTH = 60

  

────────────────────── REFRACTION ────────────────────────

[REFRACTING_HEADLIGHT_...]
SURFACE=EXT_GLASS_NM
INSIDE=EXT_CHROME_1
INSIDE_BULBS=EXT_HL_DRL
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.002
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
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 = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.8
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,0.7227797,1.739675
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.63
ORIGIN = 0.69438475,0.7227797,1.809
RADIUS = 0.10690006
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



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

[SHADER_REPLACEMENT_...]
MATERIALS =INT_CLUSTER,INT_GPS,INT_NEEDLE_RED,INT_DECALS,INT_CLUSTER_ALPHA,INT_CLUSTER_SIDE
ADAPTIVE_EMISSIVE = 1


[SCRIPTABLE_DISPLAY_...]
MESHES = INT_CLUSTER_SIDE
SCRIPT = cluster_v5.lua

[SCRIPTABLE_DISPLAY_...]
MESHES = INT_CLUSTER
SCRIPT = speedo.lua




[SCRIPTABLE_DISPLAY_...]
MESHES = INT_CLUSTER_SHIFT
SCRIPT = sw_led.lua
DISPLAY_SIZE=512,512
RESOLUTION=512,512

[EMISSIVE_LIGHT_...] 
NAME=INT_CLUSTER_SHIFT
COLOR=15
OFF_COLOR=15


[EXTRA_FX_EMISSIVE_...]
MESHES = INT_CLUSTER_CLOCKLL
RANGE = 0.15
COLOR =1
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS = 1
COVERAGE =3
EMISSIVE_TWEAK=0


[EMISSIVE_LIGHT_...] 
NAME=INT_CLUSTER_ALPHA,INT_CLUSTER_COLOR2
COLOR=5
OFF_COLOR=2
LOCATION=NONE


[EMISSIVE_LIGHT_...] 
NAME=INT_DECAL_2_1,,INT_DECALS_2,INT_DECAL_SHIFTER
COLOR=2
LOCATION=INTERIOR
[EMISSIVE_LIGHT_...] 
NAME=INT_CLOCK
COLOR=2
OFF_COLOR=2
LOCATION=INTERIOR


[EMISSIVE_LIGHT_...] 
NAME=material:INT_CLUSTER,material:INT_CLUSTER_SIDE
COLOR=2
OFF_COLOR=2
LAG=0
LOCATION=INTERIOR


[EMISSIVE_LIGHT_...] 
NAME=material:INT_CLUSTER_LED
COLOR=3,3,5,2
OFF_COLOR=3,3,5,2
LAG=0.1
LOCATION=INTERIOR


; decal emissve
[EMISSIVE_LIGHT_...] 
NAME=Plane.053,
COLOR=2,2,3
OFF_COLOR=2,2,3,1
LAG=0
LOCATION=INTERIOR






[EMISSIVE_LIGHT_...] 
NAME=material:INT_CLUSTER_NEEDLE_EMISSIVE
COLOR=2,2,0,4
OFF_COLOR=2,2,0,1
LAG=0.1
LOCATION=INTERIOR



[EMISSIVE_LIGHT_...] 
NAME=INT_GPS
COLOR=1,1.0,1.2,2
OFF_COLOR=1,1,1.2,2
LAG=0.9
LOCATION=INTERIOR


[EMISSIVE_LIGHT_...] 
NAME=INT_CLUSTER_WARNING_LB2
COLOR=0,30,0,5
LOCATION=NONE
TOGGLE_VISIBILITY=1
LAG=0

[EMISSIVE_LIGHT_...] 
NAME=INT_CLUSTER_WARNING_LB
COLOR=0,30,0,1
OFF_COLOR=0,30,0,1
LOCATION=NONE
TOGGLE_VISIBILITY=1
LAG=0




[EMISSIVE_HIGHBEAM_...] 
NAME=INT_CLUSTER_WARNING_HB
COLOR=0,15,30,1
LOCATION=NONE
TOGGLE_VISIBILITY=1
LAG=0

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


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


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


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

[EXTRA_FX_EMISSIVE_...]
MESHES = INT_GPS
RANGE = 0.13
COLOR =0.25
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS = 1
COVERAGE =3
EMISSIVE_TWEAK=0

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

[EXTRA_FX_EMISSIVE_...]
MESHES = INT_CLUSTER_ALPHA
RANGE = 0.15
COLOR =2
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS = 1
EMISSIVE_TWEAK=0



[SelfLight]
ACTIVE=0
POSITION =0.339, 0.863, 0.48
MIRROR =0
DIRECTION = 0, 0.1, -1
!BOUND_TO =EXT_HL_HIGHBEAM
COLOR = 20
SPOT = 100
SPOT_SHARPNESS = 0.5
RANGE = 0.4
RANGE_GRADIENT_OFFSET = 0
SPECULAR_MULT = 0.1
SELF_LIGHTNING = 1
EXTERIOR_ONLY = 0
INTERIOR_ONLY = 0
FADE_AT = 60
FADE_SMOOTH = 60

  

────────────────────── STERO/GPS ────────────────────────
[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = INT_GPS
Resolution = 1000,314
Size = 1000,314
Offset =0,0
Scale=1.2
RearCameraPosition = 0.0056, 0.914, -2.3
aftermarketComponent=1



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


[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT =0.15,0.2,0.95
TEMPERATURE_MULT =1.2
INTENSITY_MULT =1.00



; Exhaust Smoke
[PARTICLES_FX_EXHAUST]
LIFE = .2, .3                ; how long particles last in the air before disappearing
SPEED = 0.5, 1               ; 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    

; Exhaust Flames
[EXHAUST_FLAMES]
ANTILAG=0
DAMAGE=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=.5
DISCHARGE_DELAY=.25
DISCHARGE_DURATION=1
DISCHARGE_INTENSITY=0.5
DISCHARGE_PROBABILITY=0.75
DISCHARGE_RPM_THRESHOLD_MAX=9000
DISCHARGE_RPM_THRESHOLD_MIN=6000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=82
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.95
FLAT_SHIFT_RPM_THRESHOLD=8000
LIMITER=1
LIMITER_DELAY=0.05
LIMITER_INTENSITY=.1
LIMITER_RPM_THRESHOLD=8950

[INCLUDE: common/gt3_exhaust_glow.ini]
ExhaustPoint=-0.0593, 0.29, -1.5
ExhaustMirror=1
ExhaustMeshes_MultiMap =EXT_EXHAUST_0
ExhaustAreaScale = 0.12345, 0.12234, 0.12322
ExhaustDynamicLights = 0.44
ExhaustRadiusInner = 0.3
ExhaustRadiusThicknessInv =22
ExhaustNormalsK = 0.2
ExhaustTemperatureMin =79
ExhaustTemperatureMax =90

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


[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1
[AUDIO_VOLUME]
ENGINE_EXT =1
ENGINE_INT =1
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 =1

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

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


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

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

[EMISSIVE_EXTRA_B_0] 
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,1,1
OFF_COLOR=0
LAG = 0.31
SIMULATE_HEATING = 0
LOCATION =FRONT
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

;;;; instruments ;;;;



[INSTRUMENTS]
HAZARDS_G_THRESHOLD = -1  ; set G-force for hazards to turn on automatically on sudden braking




[ANALOG_INDICATOR_...]
INPUT = RPM
NAME =ARROW_RPM
!INPUT_DEBUG=1000
!INPUT_LAG_UP = 0.3
!INPUT_LAG_DOWN = 0.3
LUT = (| 0 = 0 | 10000 =233|)

;;;;;;;; MPH TO KMH ;;;;;;;;;;;;;;;;
25= 40.2336
50 = 80.4672
75 =120.7008
100 = 160.9344
125 = 201.168
150 =241.4016
175 = 281.6352
200 =321.8688 
225 =362.1024

[ANALOG_INDICATOR_...]
INPUT = FUEL
NAME =INT_ARROW_FUEL
!INPUT_DEBUG=64
STEP=-1.2
INPUT_LAG_UP = 0.98
INPUT_LAG_DOWN = 0.98


[ANALOG_INDICATOR_...]
INPUT = WATER_TEMPERATURE
NAME =INT_ARROW_WATER_TEMP
!INPUT_DEBUG=121.111111
LUT = (| 65.5555556 = 0 |121.111111=87|)


[ANALOG_INDICATOR_...]
INPUT = SPEED
NAME =ARROW_SPEED
!INPUT_DEBUG=40.2336
LUT = (| 0 = 0  | 40.2336=26  | 80.4672=52.5 | 120.7008=79|160.9344=104.2| 201.168=130| 241.4016=155.5| 281.6352=180.5| 362.1024=230|)

[ANALOG_INDICATOR_...]
INPUT = TIME_SECONDS
START =180
RANGE = 360     
NAME =ARROW_CLOCK



[WINDSCREEN_REFLECTION]
; Windscreen shape (used to do the mirroring):
REFLECTING = INT_WINDOW

──────────────────────────────────────────────
[EXTRA_SWITCHES]
SWITCH_A=DRS

; SWITCH_B=Comression Front
; SWITCH_B_FLAGS=HOLD_MODE ; Switch flags (optional)

; SWITCH_C=Comression Rear
; SWITCH_C_FLAGS=HOLD_MODE

; SWITCH_D=Rebound Front
; SWITCH_D_FLAGS=HOLD_MODE

; SWITCH_E=Rebound Rear
; SWITCH_E_FLAGS=HOLD_MODE

; SWITCH_F=Differential lock
; SWITCH_F_FLAGS=HOLD_MODE