;Porsche 911 991.2 GT3 Touring Package Updated by Jerry Wei 2023/04/28

[MODEL_REPLACEMENT_...]
ACTIVE= 1
FILE= jw_porsche_991_gt3_touring.kn5
HIDE=
INSERT= FRONT_PLATE.kn5
INSERT_AFTER= FRONT_BUMPER

[MODEL_REPLACEMENT_...]
ACTIVE= 1
FILE= jw_porsche_991_gt3_touring_lod_b.kn5
HIDE=
INSERT= FRONT_PLATE.kn5
INSERT_AFTER= FRONT_BUMPER

[DATA]
DISABLE_ANALOGINSTRUMENTSINI = 1  ; disables “analog_instruments.ini” completely, so you could recreate it with custom analog instruments
DISABLE_LIGHTSINI = 1             ; disables “lights.ini” completely, so you could recreate it with custom emissives (generally, not recommended)

[INCLUDE]
INCLUDE=common/no_popup_lights.ini

;///////////////////////////////////////////PBR_MATERIALS//////////////////////////////////////////

================================CAR PAINT================================

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = ext_carpaint
CarPaintVersionAware = 4
DisableDev = 1

; Metallic car paint
[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06

================================GLASS================================

[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials= EXT_WINDOW

[Material_PhotoelasticGlass]
Meshes= GEO_Headlight_Glass
PhotoelasticityBaseScale = 6      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.02  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.2   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.05 ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 8   ; how many stripes are there
ProfileFix = 0.02

[EXTRA_FX_0]
MASK_GBUFFER= GEO_Headlight_Glass, GEO_Rear_Glass, GEO_Turnsignal_Glass_Front, GEO_Turnsignal_Glass_Side, GEO_LIGHT_3rd_brake_Glass ,GEO_Glass_Dials ,Light_UP1_2 ,Light_UP2_2 ,Light_UP3_2 ,Light_UP4_2 ,Light_UP5_2 ,Light_UP6_2

================================INTERIOR================================

[INCLUDE: common/materials_interior.ini]

[Material_Aluminium_v2]
Materials= int_chrome
Metalness = 0.5
Reflectance = 0.75
BrightnessAdjustment = 0.5
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailTextureBlur = 1
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1
ApplyTilingFix = 1

[Material_Carpet_v2]
Materials= int_carpet
Reflectance = 0.04
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 1
ApplyTilingFix = 1

[Material_Leather_v2]
Materials= int_leather_1, int_leather_2 ,int_leather_skinned
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 250
ApplyTilingFix = 1

[Material_Plastic]
Materials= int_plastic
DetailScale = 100
Reflectance = 0.04
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
ApplyTilingFix = 1

[Material_Plastic]
Materials= int_plastic_smooth
DetailScale = 500
Reflectance = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
ApplyTilingFix = 1

[Material_Carbon]
Materials=int_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

================================EXTERIOR================================

[INCLUDE: common/materials_interior.ini]

[Material_Metal_v2]
Materials=ext_chrome
Metalness = 0.4
Reflectance = 1
BrightnessAdjustment = 0.5
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 30
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2

[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 =             ; if more than zero, used as upper bound for speed for SPEED_FIX option

[STATUS_BATTERY]
; parameters for overly simplified battery voltage estimation for instruments
; battery voltage reacts to RPM
BASE_VOLTAGE = 12.4  ; base battery voltage
MAX_VOLTAGE = 13.6   ; maximum battery voltage
RPM_LAG = 0.98       ; RPM lag

[STATUS_OIL]
; similar thing, overly simplified estimation for instruments
PRESSURE_BASE = 1.0         ; base oil pressure for idling engine
PRESSURE_STEP = 1.0         ; oil pressure increase for each 1000 RPM
PRESSURE_LAG_UP = 0.998     ; oil pressure increase lag
PRESSURE_LAG_DOWN = 0.9985  ; oil pressure decrease lag

TEMPERATURE_MULT = 1.0         ; relation of oil temperature to water temperature
TEMPERATURE_RPM_FACTOR = 0.03  ; extra increase of oil temperature for each 1000 RPM
TEMPERATURE_LAG_UP = 0.995     ; oil temperature increase lag
TEMPERATURE_LAG_DOWN = 0.995   ; oil temperature decrease lag

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.2
INTERIOR_FAKE_SHADOW_HEIGHT=0.1
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1
LIT_MULT=1
SPECULAR_MULT=1

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.0001
HORN_AS_SIREN=0
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
IS_LOW_BEAM_AVAILABLE = 1

;//////////////////////////////////////////SELFLIGHTING//////////////////////////////////////////

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
POSITION=0, 0.72, 1.6
BOUND_TO = GEO_LIGHT_Headlights
MIRROR=0.69
RANGE=0.5
SPOT=80
DIRECTION=0, 0, 1
COLOR=32,32,32,5

[SelfLight_Headlights]
POSITION=0, 0.635, 1.71
BOUND_TO = GEO_LIGHT_Headlights_HB
MIRROR=0.69
RANGE=0.5
SPOT=80
DIRECTION=0, 0, 1
COLOR=32,32,32,5


;//////////////////////////////////////////REFRACTING_HEADLIGHT//////////////////////////////////////////

[REFRACTING_HEADLIGHT_...]
SURFACE = GEO_LIGHT_Headlights
INSIDE = GEO_LIGHT_Headlights_inner 
NM_SHARE_INT = 10
ABSORPTION = 0.05
EMISSIVE_MULT = 20

;//////////////////////////////////////////DIGITAL_INSTRUMENTS//////////////////////////////////////////

[DI_WATER_TEMPERATURE_...]
DIGITAL_ITEM = 3 
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_AMBIENT_TEMPERATURE_...]
DIGITAL_ITEM = 4 
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_OIL_TEMPERATURE_...]
DIGITAL_ITEM = 5
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_OIL_PRESSURE_...]
DIGITAL_ITEM = 6 
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_DRIVEN_TOTAL_...]
DIGITAL_ITEM = 9
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
UPPER_BOUND = 999999

[DI_DRIVEN_SESSION_...]
DIGITAL_ITEM = 10
DIGITAL_ITEM_NUMBER_FORMAT = 0.1
UPPER_BOUND = 999999

;//////////////////////////////////////////ANALOG_INDICATOR//////////////////////////////////////////

[ANALOG_INDICATOR_...]
INPUT = SPEED             ; any of supported inputs
NAME = ARROW_SPEED          ; name of mesh to move
UPPER_BOUND = 350                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 170                    ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=7 | 100=55 | 200=102 | 350=170 | )

[ANALOG_INDICATOR_...]
INPUT = RPM             ; any of supported inputs
NAME = ARROW_RPM          ; name of mesh to move
UPPER_BOUND = 10000                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 268                    ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=2 | 3000=81 | 7000=187 | 10000=268| )

[ANALOG_INDICATOR_...]
INPUT = FUEL             ; any of supported inputs
NAME = ARROW_FUEL          ; name of mesh to move
UPPER_BOUND = 64                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = -117                  ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=2 | 32=-55 | 64=-117| )

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE             ; any of supported inputs
NAME = ARROW_OIL_TEMP         ; name of mesh to move
UPPER_BOUND = 150                ; maximum input value for arrow to move with
LOWER_BOUND = 60                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = 120                   ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 60=-5 | 100=51 | 150=120| )

[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE             ; any of supported inputs
NAME = ARROW_OIL          ; name of mesh to move
UPPER_BOUND = 5                ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = -131                  ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 0=-8 | 3=-85 | 5=-131| )

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMPERATURE             ; any of supported inputs
NAME = ARROW_WATER         ; name of mesh to move
UPPER_BOUND = 120                 ; maximum input value for arrow to move with
LOWER_BOUND = 0                  ; minimum input value
START = 0                    ; offset for starting point, degress
RANGE = -105                   ; full range of arrow to move to at the upper bound, degress
SPEED_LAG = 0.2                  ; lag for speed, adding inertia of movement
G_FACTOR = 0.1, 0, 0             ; adds a bit of needle offset bound to G-forces for those axis
LUT = (| 60=10 | 90=-47 | 120=-105| )

[SECOND_INDICATOR_0]
NAME= ARROW_unknow
START=0
FLOOR=1

[MINUTE_INDICATOR_0]
NAME= ARROW_CLOCK_minute
START=0
FLOOR=1

[HOUR_INDICATOR_0]
NAME= ARROW_CLOCK_hour
START=0
FLOOR=1

;//////////////////////////////////////////BRAKEDISCS//////////////////////////////////////////
[BRAKEDISC_FX]

ACTIVE = 1           ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 1            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 20  ; increase to make more lines
GLOW_OFFSET = 0.5      ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle

[LIGHT_BRAKEDISCS_FRONT]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.2, 0, 1.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.8
DIRECTION=1, -0.00, 0.0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=0
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=-0.18, 0.0, 0
RANGE=0.9
RANGE_GRADIENT_OFFSET=0.45
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=100
SPOT_SHARPNESS=0.75

[LIGHT_BRAKEDISCS_REAR]
ACTIVE=1
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.2, 0, 1.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.8
DIRECTION=1, -0.0, 0.0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=0
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=-0.18, 0, 0
RANGE=0.9
RANGE_GRADIENT_OFFSET=0.45
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=100
SPOT_SHARPNESS=0.75

;//////////////////////////////////////////DASH_LIGHTS//////////////////////////////////////////

[INCLUDE: common/custom_emissive.ini]
[CustomEmissiveMulti]
Meshes = GEO_DIALS_Alfa_Nolight
Resolution = 1024, 1024
Intensity=5
@ = CustomEmissive_UseDiffuseLuminocity, From = 0.01, 0.02
@ = AlphaFromTxDiffuse
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "687.7, 118.5", Size = "44.1, 42.3" ,LAG=0.1
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "801.3, 119.2", Size = "44.4, 41.1" ,LAG=0.1
@ = MultiItem, Role = HIGHBEAM, Start = "744.9, 108.1", Size = "48.1, 40.7" ,Color = "0, 0, 20" ,LAG=0.1
@ = MultiItem, Role = DashWarningABS,  Start = "838.2, 150.6", Size = "55.9, 44.8" ,LAG=0.1
@ = MultiItem, Role = DashWarningTC, Start = "869.7, 251.8", Size = "49.4, 55.9" ,LAG=0.1
@ = MultiItem, Role = TRACTIONCONTROL_INACTION, Start = "875.2, 197.8", Size = "35.1, 45.3" ,LAG=0.1
@ = MultiItem, Role = HANDBRAKE, Start = "639.1, 309.1", Size = "50.8, 48.5" ,LAG=0.1
@ = MultiItem, Role = DashWarningEngine, Start = "610.9, 254.1", Size = "56.8, 45.3" ,LAG=0.1
@ = MultiItem, Role = DashWarningAirbag, Start = "671, 233.3", Size = "52.7, 48.1" ,LAG=0.1
@ = MultiItem, Role = DashWarningSeatbelt, Start = "622.9, 196.4", Size = "39.3, 52.7" ,LAG=0.1
@ = MultiItem, Role = DashWarningBrakes, Start = "642.3, 150.6", Size = "51.3, 48.5" ,LAG=0.1
@ = MultiItem, Role = DashWarningTyrePressure, Start = "218.2, 116.9", Size = "55.9, 51.3" ,LAG=0.1
@ = MultiItem, Role = GEAR_N, Start = "148.9, 158", Size = "75.3, 27.3" , Color = "0, 10, 0" ,LAG=0.1

[EMISSIVE_LIGHT_...]
NAME= IND_LIGHT
COLOR=0, 10, 0, 3
LAG=0.3

[EMISSIVE_HAZARD_...]
NAME= GEO_INT_Decals_Main_SUB8 
COLOR=10, 0, 0, 1 
LAG=0.3
REPEAT_FREQENCY_HZ=1.8
CAST_LIGHT=0

[EMISSIVE_TRACTIONCONTROL_...]
NAME= GEO_INT_Decals_Main_SUB5
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.3

[EMISSIVE_TRACTIONCONTROL_...]
NAME= GEO_INT_Decals_Main_SUB6
COLOR=40,20,4,1
OFF_COLOR=0
LAG=0.3

[EMISSIVE_LIGHT_...]
NAME= GEO_INT_Decals_Main_SUB10
COLOR=40,20,4,1
OFF_COLOR=40,20,4,1
LAG=0.3

[EMISSIVE_LIGHT_...]
NAME= GEO_INT_Decals_Main_SUB9
COLOR=1, 1, 1, 1
LAG=0.3

[EMISSIVE_LIGHT_...]
NAME= GEO_INT_Decals_Main_SUB12
COLOR=0, 10, 0, 1
LAG=0.3

[EMISSIVE_...] 
NAME= LED_FUEL
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
INPUT=FUEL
INPUT_THRESHOLD = 10
INPUT_THRESHOLD_INVERSE = 1
LAG=0.3

;//////////////////////////////////////////WIPERS//////////////////////////////////////////

[WIPERS]
FRONT_0= GEO_WIPER_L1,GEO_WIPER_L2,GEO_WIPER_L3
FRONT_1= GEO_WIPER_R1,GEO_WIPER_R2,GEO_WIPER_R3
WIND_THRESHOLDS_KMH = 150, 300  ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1        ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1        ; multiplier for frequency
WIND_OFFSET = 0.03

[WIPERS_TRACE_...]
SURFACE = GEO_EXT_WINDOW, GEO_INT_WINDOW
WIPERS = GEO_WIPER_L3, GEO_WIPER_R3

;//////////////////////////////////////////TURNSIGNAL//////////////////////////////////////////

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME= GEO_TS_LF
COLOR=120, 60, 0, 5
OFF_COLOR= 100,100,100,3
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME= GEO_TS_RF
COLOR=120, 60, 0, 5
OFF_COLOR= 100,100,100,3
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME= GEO_TS_LS
COLOR=120, 60, 0, 2
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
AFFECTS_TRACK=1
LOCATION=CENTER

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME= GEO_TS_RS
COLOR=120, 60, 0, 2
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
AFFECTS_TRACK=1
LOCATION=CENTER

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME= GEO_TS_LR
COLOR=120, 60, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
AFFECTS_TRACK=1
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME= GEO_TS_RR
COLOR=120, 60, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.2
CAST_LIGHT=1
AFFECTS_TRACK=1
LOCATION=REAR

;//////////////////////////////////////////HEAD_LIGHTS//////////////////////////////////////////

[LIGHT_HEADLIGHT_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 0.95, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.15, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=70
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.7
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.75843
OFF_MULT=0
OFF_POSITION=0, 0.601118, 1.98723
OFF_RANGE_MULT=0.125
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=1
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.6, 2.15
RANGE=240
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=110
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.45
SECOND_SPOT_SKIP=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=2
SPOT=60
SPOT_EDGE=0.03, 0.03, 0.029
SPOT_EDGE_SHARPNESS=45
SPOT_SHARPNESS=0
SPOT_UP=0.05, 1, 0

[EMISSIVE_LIGHT_...];headlight
NAME= GEO_LIGHT_Headlights
COLOR=255, 255, 250, 10
SIMULATE_HEATING=0.2
ACT_AS_HEADLIGHTS=1
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

[EMISSIVE_HIGHBEAM_...]
NAME= GEO_LIGHT_Headlights_HB
COLOR=450, 450, 445, 1
SIMULATE_HEATING=0.2
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

[EMISSIVE_HIGHBEAM_...]
NAME= GEO_LIGHT_Headlights_HB2
COLOR=450, 450, 445, 5
SIMULATE_HEATING=0.2
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

[EMISSIVE_LIGHT_...];daytime runninglight
NAME= GEO_LIGHT_Headlights_DTL
COLOR= 0,0,0
OFF_COLOR= 50,50,50,1
SIMULATE_HEATING=0.2
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

;//////////////////////////////////////////REVERSE_LIGHTS//////////////////////////////////////////

[LIGHT_REVERSE_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 0.99, 4.5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.776774
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.776774
OFF_MULT=0.1
OFF_POSITION=0, 0.762814, -1.79663
OFF_RANGE_MULT=0.5
POSITION=0, 0.762814, -2.1
RANGE=3
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=120
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

[EMISSIVE_REVERSE_...]
NAME= GEO_LIGHT_Reverse_Light
COLOR=50, 50, 50 ,10
LAG=0.3
SIMULATE_HEATING=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

;//////////////////////////////////////////taillight//////////////////////////////////////////

[EMISSIVE_LIGHT_...];taillight
NAME= Brake_light_0
COLOR=50,0,0,1
SIMULATE_HEATING=0.2
LAG=0.2
CAST_LIGHT=1
AFFECTS_TRACK=1

;//////////////////////////////////////////BREAK_LIGHTS//////////////////////////////////////////

[LIGHT_BRAKE_...]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=5
COLOR=1, 0.02, 0, 4
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.005, -0.1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.7
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=1, 0.02, 0.01, 1
OFF_FADE_MULT=0.77
OFF_MIRROR=0.7
OFF_MULT=0.1
OFF_POSITION=0, 0.838973, -1.7
OFF_RANGE_MULT=0.833185
POSITION=0, 0.838973, -1.7
RANGE=6
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=2.5
SPOT=135
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.35

[EMISSIVE_BRAKE_...]
NAME= Brake_light_1,Brake_light_2
COLOR=255, 1, 0, 1
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

[EXTRA_FX_EMISSIVE_...]
MESHES = Brake_light_1,Brake_light_2   
COLOR=3, 0, 0 ,0.5
RANGE = 0.01
DIRECTED = 0

[EMISSIVE_BRAKE_...]
NAME= GEO_LIGHT_3rd_brake
COLOR=255, 1, 0, 1
LAG=0.1
CAST_LIGHT=1
AFFECTS_TRACK=1

[EXTRA_FX_EMISSIVE_...]
MESHES = GEO_LIGHT_3rd_brake  
COLOR=3, 0, 0 ,0.5
RANGE = 0.03
DIRECTED = 0

;//////////////////////////////////////////INTERIOR_LIGHTS//////////////////////////////////////////

[EMISSIVE_EXTRA_B_...];ceiling light
NAME= GEO_Details_SUB4
COLOR=150, 150, 150, 3
LAG=0.1

[LIGHT_EXTRA_...]; top interior light
AFFECTS_TRACK=0
BIND_TO_EXTRA_B=1
COLOR=1, 1, 1, 3.5
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0.07
POSITION=0.0, 1.17, 0.177
DIRECTION=0,-2,0.2w
RANGE=2.0
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=5
SPOT=120
SPOT_SHARPNESS=0.1

[EMISSIVE_LIGHT_...];gauge
NAME= GEO_DIALS_Alfa
COLOR=2, 2, 2
OFF_COLOR=3, 3, 3

[EMISSIVE_LIGHT_...];gauge needle
NAME= Light_UP1, Light_UP2, Light_UP3, Light_UP4, Light_UP5, Light_UP6 ,Light_UP7
COLOR=2, 2, 2
OFF_COLOR=2, 2, 2

[EXTRA_FX_EMISSIVE_...]
MESHES = Light_UP1, Light_UP2, Light_UP3, Light_UP4, Light_UP5, Light_UP6 ,Light_UP7    
COLOR=3, 2, 1 ,0.5
OFF_COLOR=3, 2, 1 ,0.5
RANGE = 0.03
DIRECTED = 1

;//////////////////////////////////////////LICENSE_LIGHTS//////////////////////////////////////////

[LIGHT_LICENSEPLATE]
MESHES= GEO_R_Bumper_SUB8
OFFSET=-0.0, 0.06, -0.15
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.3
SPOT=150
SPOT_SHARPNESS=0.9
COLOR=1.1, 1, 1, 2.0
FALLBACK_EMISSIVE=1,1,1,1
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=50
FADE_SMOOTH=4

[EMISSIVE_LIGHT_...];LICENSE_LIGHTS
NAME= GEO_R_Bumper_SUB9
COLOR=10, 10, 10
SIMULATE_HEATING=0.2
LAG=0.1

;//////////////////////////////////////////TYRES//////////////////////////////////////////

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.03
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
OFFSET=0.03
WIDTH=0.1

[TYRES_FX_FRONT]
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=50
DIRT_DIRT_DEBUG=0
DIRT_FADE=20
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=50
DIRT_DIRT_DEBUG=0
DIRT_FADE=20
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

;//////////////////////////////////////////DEFORMING//////////////////////////////////////////

[DEFORMING_HOOD]
NAME = HOOD                ; name of parenting node containing all meshes to deform
OFFSET_Y_MIDDLE = 0.04    ; how high would it offset in the center at full damage
OFFSET_Y_END = 0.1      ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.06       ; how far would it offset at the far end
BULGING_EXTRA = 0.0       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 2.0    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = -0.16 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = 0.2   ; and horizontal noise at the far end
NOISE_Y_FREQENCY = 7.0    ; which adds
NOISE_Z_FREQENCY = 7.0    ; some randomization
Z_FACTOR = 2.5            ; how center is being found
Z_BIAS = 0.0              ; with, if needed, manual offset

[DEFORMING_REAR]
NAME = TRUNK
OFFSET_Y_MIDDLE = 0.04    ; how high would it offset in the center at full damage
OFFSET_Y_END = 0.02       ; how high would it offset at the far end at full damage
OFFSET_Z_END = 0.06       ; how far would it offset at the far end
BULGING_EXTRA = 0.0       ; increase to make shape go less triangly and more trapezoid-like
BULGING_EXPONENT = 2.0    ; affects the curve of slopes around raised center
NOISE_Y_AMPLITUDE = -0.16 ; some simple vertical noise at the center
NOISE_Z_AMPLITUDE = 0.2   ; and horizontal noise at the far end
NOISE_Y_FREQENCY = 7.0    ; which adds
NOISE_Z_FREQENCY = 7.0    ; some randomization
Z_FACTOR = 2.5            ; how center is being found
Z_BIAS = 0.0              ; with, if needed, manual offset

;//////////////////////////////////////////EXHAUST//////////////////////////////////////////

[PARTICLES_FX_EXHAUST_...]
POSITION=0.06,0.2807067,-2.25
DIRECTION=0,0,-1		; self explanatory
COLOR = 0.75,0.8,1 		; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 1				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 1.0			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.06,0.2807067,-2.25
DIRECTION=0,0,-1		; self explanatory
COLOR = 0.75,0.8,1 		; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 1				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 1				; initial spread of particles
STARTING_SIZE = 0.01			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 1.0			; smoke intensity
TEMPERATURE_LAG = 1			; engine heating up (1 to disable)
SPEED_THRESHOLD = 5,20		; speed at which the smoke disappears

[EXHAUST_FLAMES]
ANTILAG=0                                      ; turbo antilag, i havent tested this yet
DAMAGE=0                                       ; engine damage? idk
DISCHARGE=0                                    ; lifting off the throttle
FLAT_SHIFT=0                                   ; on upshift
LIMITER=0                                      ; on hitting the limiter

;//////////////////////////////////////////ANDROID_AUTO//////////////////////////////////////////

; set screen to smDigitalScreen
[SHADER_REPLACEMENT_...]
MATERIALS = INT_DECALS_Emissive_REF
MESHES = GEO_Display_Tunnel
SHADER=smDigitalScreen
PROP_... = smScreenScale, 1024, 512
PROP_... = smScreenType, 1
PROP_... = smUseTextureCoordinates, 1
PROP_... = ksDiffuse, 0

[INCLUDE: android_auto/config.ini]

[Display_AndroidAuto]
Meshes = GEO_Display_Tunnel
@ = Navigator_Size, Resolution = "1024, 1024", Offset = "742, 110", Size = "277, 182", Scale = 3
Brightness = 0.75

;//////////////////////////////////////////ANIMATION//////////////////////////////////////////

[ANIMATION_...]
FILE= car_wing.ksanim
TIME= 1
BIND_TO_EXTRA_A=1
INPUT_THRESHOLD_INVERSE = 0



 