[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE:pbr_int.ini]
[INCLUDE:pbr_ext.ini]

[DATA] 
DISABLE_LIGHTSINI = 1

[SHADER_REPLACEMENT_...]
MATERIALS=
DOUBLE_FACE_SHADOW_BIASED=1

[INCLUDE: common/navigators.ini]
[Navigator_StyleModernLight]
Meshes = IntCenterScreen
Resolution = 2400, 1400
Offset = 0,0
Size = 2400, 1380

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = Object009  ; display mesh
Resolution = 1920, 1080   ; texture resolution
Size = 1920, 1080           ; size of the screen area
Offset = 50, 130           ; left top corner of screen area
Scale = 0.5                 ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera

[CAR_STEREO_...]
ACTIVE = $" read('csp/version', 0) >= 1279 "
MESHES = 
RESOLUTION = 2260, 1140
DISPLAY_POS = 650,450
DISPLAY_SIZE = 1024, 384
COLOR=50,45,55,10
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2

; main text
TEXT_CSP_0 = "{Track}"
TEXT_CSP_0_NOALBUM = "{Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 600, 100
TEXT_CSP_0_SIZE = 210, 48
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 1
TEXT_CSP_0_SCALE = 1.0, 1.0
TEXT_CSP_0_BOLD = 0

; main text
TEXT_CSP_3 = "{Artist}"
TEXT_CSP_3_NOALBUM = "{Artist}"
TEXT_CSP_3_NOARTIST = ""
TEXT_CSP_3_FALLBACK = ""
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 600, 67
TEXT_CSP_3_SIZE = 210, 48
TEXT_CSP_3_FONT_TYPE = ITALIC
TEXT_CSP_3_Z_INDEX = 1
TEXT_CSP_3_SCALE = 1.0, 1.0
TEXT_CSP_3_BOLD = 0


;;;;;;;;; Exterior Lighting ;;;;;;;;; 
[EMISSIVE_LIGHT_...] ;  Low Beam
NAME = R_Lowbeam , L_Lowbeam , glasstrunksidemarkers_a
COLOR=100,120,150,1
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  Low Beam
NAME =headlight_l_SUB1 , headlight_r_SUB1 , lightplate
COLOR=10,15,20,5
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  Low Beam 2 
NAME=
COLOR=-1,1,-1,10
OFF_COLOR=-1,1,-1,10
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  Taillights
NAME=L_Brake001,R_Brake001,C_Brake001
COLOR=20, 1, -10,3
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=L_Highbeam , R_Highbeam , L_Highbeam2
COLOR=200,220,250,1
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[SHADER_REPLACEMENT_...]
MESHES = indicator_lf_SUB1 , indicator_rf_SUB1
IS_TRANSPARENT = 1

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=
COLOR=-10,-10,10,2
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...]
NAME=C_Brake,R_Brake,L_Brake,glasschmsl_a
COLOR=20, 1, -10,9
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
TOGGLE_VISIBILITY = 1

[EMISSIVE_REVERSE_...]
NAME=
COLOR=250, 250, 250,50
LAG=0.0
SIMULATE_HEATING=0.0

[EMISSIVE_HAZARD_0]
NAME=
COLOR=3, 2, 1
LAG=0.0
SIMULATE_HEATING=0.0



[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=F_L_Ind
COLOR=500,200, 0, 5
OFF_COLOR=20,20, 20, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=L_M_Ind,R_L_Ind,R_L_Ind1,L_M_Ind
COLOR=250,80, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=
COLOR=-10,2, -10, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=R_F_Ind
COLOR=500,200, 0, 5
OFF_COLOR=20,20, 20, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=R_R_Ind,R_R_Ind1
COLOR=250,80, 0, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=
COLOR=-10,2, -10, 5
LAG=0.3
REPEAT_FREQENCY_HZ=2.0
LOCATION=FRONT
REPEAT_FREQENCY_HAZARDS_HZ=50.0
CAST_LIGHT=0

;;;;;;;;; Interior Lighting ;;;;;;;;;

;;;;;;;;; Interior Lighting ;;;;;;;;;
[EMISSIVE_LIGHT_...] ; Instrument Cluster
NAME=Cluster,FuelWater,Object006,IntCenterScreen, gball,Object009
COLOR=1,1,1,1.5
OFF_COLOR=1,1,1,2
LAG=0.2
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_LIGHT_...] ; Instrument Cluster
NAME=GEO_RPM_Slide001,GEO_RPM_Slide
COLOR=0,.5,1,2
OFF_COLOR=0,.5,1,2
LAG=0.2
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_LIGHT_...] ; Instrument Cluster
NAME=GEO_Arrow_RPM
COLOR=5,0,0,2
OFF_COLOR=5,0,0,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_LIGHT_...] ; Instrument Cluster
NAME=RPM_0,RPM_1,RPM_2,RPM_3,RPM_4,	RPM_5,	RPM_6,	RPM_7,	RPM_8	,RPM_9,	RPM_10,	RPM_11,	RPM_12,	RPM_13,	RPM_14,	RPM_15,	RPM_16,	RPM_17,	RPM_18,	RPM_19,RPM_20,	RPM_21,	RPM_22,	RPM_23,	RPM_24,	RPM_25,RPM_26,	RPM_27,	RPM_28,	RPM_29,	RPM_30,	RPM_31,	RPM_32,	RPM_33,	RPM_34,	RPM_35,	RPM_36,	RPM_37,	RPM_38,	RPM_39,	RPM_40,	RPM_41,	RPM_42,	RPM_43,	RPM_44,	RPM_45,	RPM_46,	RPM_47,	RPM_48,	RPM_49,	RPM_50,RPM_51,RPM_52,RPM_53
COLOR=0,1,2,3
OFF_COLOR=0,1,2,5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_LIGHT_...] ; Interior Buttons
NAME=SteerButtons,IntDoorButtons,dashstructure_a,IntCenterButtons
COLOR=2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_LIGHT_...] ; Interior Buttons
NAME=boost_0,boost_1,boost_2,boost_3,boost_4,boost_5,boost_6
COLOR=2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=10,10,10,2
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.406, 1.11, 0.745
DIRECTION=0,0,-1
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=2
SPOT=200
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=1,-1,-2,20
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.376, 1.11, 0.745
DIRECTION=0,0,-1
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=2
SPOT=60
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=0,1,2,30
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.426, 1.11, 0.745
DIRECTION=0,0,-1
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=2
SPOT=60
SPOT_SHARPNESS=0

;;;;;;;;; LightsFX ;;;;;;;;;
[LIGHT_HEADLIGHT_0]
BIND_TO_HEADLIGHTS=1
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=600
BOUND_EXP=1
COLOR=60,80,100,.25
DIFFUSE_CONCENTRATION=0.0
DIRECTION=0.0, 0.1, 1.0
EXTERIOR_ONLY=0
FADE_AT=10
FADE_SMOOTH=60
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=1
LOWBEAM_RANGE_ONCOMING_MULT=1
MIRROR=0.798
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.903, 1.97
RANGE=200
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=1
SPECULAR_MULT=1

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=10,-1,-1,2
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -1, -1
EXTERIOR_ONLY=1
FADE_AT=20
FADE_SMOOTH=40
INTERIOR_ONLY=0
MIRROR=0.529
MIRROR_DIRECTION=0
POSITION=0, 1.1, -2.4
RANGE=10
RANGE_GRADIENT_OFFSET=0.0
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=60
SPOT_EDGE=0.0, 0.0, 0.0
SPOT_EDGE_SHARPNESS=1
SPOT_SHARPNESS=0.0

[LIGHT_REVERSE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1,5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -1, -8
EXTERIOR_ONLY=1
FADE_AT=220
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=0
POSITION=0, 0.385, -1.9
RANGE=5
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHTING]
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1

[SelfLight_Headlights]
MIRROR = 0.793
DIRECTION = 0, 0,1
POSITION = 0.0, 0.899, 2
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = L_Lowbeam
SPOT_SHARPNESS =0.0
SPOT = 90
COLOR=10,10,10,5
SPECULAR_MULT = 1
RANGE = 0.4

[SelfLight_Headlights]
MIRROR = 0.0
DIRECTION = -1, 0,-2
POSITION = 0.842, 1.03, -2.17
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = C_Brake001
SPOT_SHARPNESS =0.0
SPOT = 80
COLOR=10,0,0,10
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.669
DIRECTION = 0, 0,1
POSITION = 0.0, 0.881, 2.08
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = L_Lowbeam
SPOT_SHARPNESS =0.0
SPOT = 90
COLOR=10,10,10,5
SPECULAR_MULT = 1
RANGE = 0.4

[SelfLight_Headlights]
MIRROR = 0.56
DIRECTION = 0, 0,1
POSITION = 0.0, 0.859, 2.18
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = L_Highbeam
SPOT_SHARPNESS =0.0
SPOT = 90
COLOR=10,10,10,10
SPECULAR_MULT = 1
RANGE = 0.4

;;;;;;;;; Warning Lights ;;;;;;;;;
[INCLUDE: common/custom_emissive.ini]

[CustomEmissiveMulti]
Meshes = warning_left
Resolution = 812, 812
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "675, 268", Size = "75, 57", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "327, 349", Size = "89, 71", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "499, 350", Size = "87, 70", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "-100, -100, 100",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "-10, 10, -10",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "201, 184", Size = "110, 71", Color = "10, 3, -50",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "681, 432", Size = "71, 75", Color = "10, 3, -50", InputThreshold = 30, InputSelector = MAX , InputSelectorPivot=1 , Lag=0.2,
@ = MultiItem, Role = DashWarningSeatbelt, Start = "162, 340", Size = "68, 88" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
HAZARDS_G_THRESHOLD=0
SPEED_FIX=0
SPEED_LAG=0.0
SPEED_LIMIT=0

[ANIMATION_...]
FILE=HOOD_ANIMATION.ksanim
TIME= 2.5
BIND_TO_EXTRA_A=1


;;;;;;;;; Sound / Exhaust ;;;;;;;;; 
AUDIO_PROPERTIES]
TURBO_THROTTLE = 1

[AUDIO_VOLUME]
BACKFIRE_INT=10
BACKFIRE_EXT=10
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=0.5
ENGINE_INT=1
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=10
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=1
TURBO=1
WIND=1
SKID_EXT = 1
SKID_INT = 1

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

;;;;;;;;; BrakeFX ;;;;;;;;; 
[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 = 1          ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 0  ; increase to make more lines
GLOW_OFFSET = 0.2      ; 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

; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.1, 0.2  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition

; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
LUMINOCITY_MASK = 0.01, 0.02  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.5, 0.3        ; everything looking away more than 50% is a deepening

[EXTRA_FX]
MASK_GBUFFER = glassrtl_a ,glassctl_a , glassltl_a , glasslhl_a ,glassrhl_a

;;;;;;;;; Exterior [PBR] Interior ;;;;;;;;; 
[SHADER_REPLACEMENT_...]
MATERIALS = WHEEL
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.4
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1

[Material_Aluminium_v2]
Materials = 
Metalness= 0.2
Smoothness = .5
Reflectance = 0.8
CubemapReflectionBlur = 0
BrightnessAdjustment = 0.45
DetailNormalBlend = 0
DetailScale = 1000
OcclusionMap=0.25
DetailNormalPBRSmoothnessGamma = 1

[Material_Aluminium_v2]
Materials = 
Metalness= 0.2
Smoothness = 0.5
Reflectance = 0.8
CubemapReflectionBlur = 0
BrightnessAdjustment = 0.45
DetailNormalBlend = 1
DetailScale = 10
OcclusionMap=0.25
DetailNormalPBRSmoothnessGamma = 1

[Material_InteriorPBRDetail]
Materials = bronze2 , WH1 , WH1
DetailNormalPBRSmoothnessGamma =2
DetailNormalBlend = 1
BrightnessAdjustment = .8
DetailScale = 10
Reflectance = 0.25
Smoothness = 1
OcclusionMap=0.5

[Material_Glass]
Materials = ExtRedGlass
FilmIOR = 1.8
ExtraLightsAdjustment = 0.1
BrightnessAdjustment = 0.1
Refraction = 1
Desaturate = 0
ThicknessMult = 2

[Material_Glass]
Materials = ExtWindows
FilmIOR = 2.3
ExtraLightsAdjustment = .2
BrightnessAdjustment = .3
Refraction = 1
Desaturate = 00
ThicknessMult = 2
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1
MaskPassColor=20,20,20

[Material_PhotoelasticGlass]
Materials = ExtGlass
FilmIOR = 2.32
PhotoelasticityMult = 0.35  ; doesn’t look good if too high
ThicknessMult = 1.5
BrightnessAdjustment = 0.3
ExtraLightsAdjustment = 0.15
; Ideally, there would be a texture for that, but we’re not going to draw
; all those textures for Kunos cars, so here are some parameters for perlin noise
; instead
PhotoelasticityBaseScale = 3.5     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.328  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.0  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.0

;;;;;;;;; Exterior [FX] Exhaust ;;;;;;;;; 
----------------------------------------------------
--               EXHAUST               --
----------------------------------------------------

[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = 
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 60
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3

[BASIC]
DIESEL_ENGINE = 		; or 1

[PARTICLES_FX_EXHAUST_1]
POSITION=0.07,0.4375,-2.50 
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; 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)
INTENSITY = 0.1, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_2]
POSITION=-0.07,0.4375,-2.50 
DIRECTION=0,0,-1
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; 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)
INTENSITY = 0.1, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[LIGHT_FLAME_0]
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.2 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=0.1 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.2 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DURATION=1 ; length of flame shooting, in seconds
DISCHARGE_DELAY=0 ; delay after throttle lift
DISCHARGE_PROBABILITY=0.5; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=50; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7000 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=6000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=1
FLAT_SHIFT_DURATION=0.05
FLAT_SHIFT_GAS_THRESHOLD=0.7
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=0.5
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=0.1 ; flame size
LIMITER_RPM_THRESHOLD=6820 ; limiter flames will not shoot below this rpm
LIMITER_PROBABILITY=0.1;

[WIPERS_TRACE_...]
SURFACE = glassf_a, lassfint_a
WIPERS = wipers_a,Object010
[DI_FUEL_ESTIMATE_DISTANCE_TOTAL_...]
DIGITAL_ITEM = 5
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
OUTPUT_MULTIPLIER = 0.01

[ODOMETER_TRIP]
DIGITAL_ITEM=6
DIGITAL_ITEM_NUMBER_FORMAT=05.1
UPPER_BOUND=9999

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

TEMPERATURE_MULT = 0.88     ; relation of oil temperature to water temperature
TEMPERATURE_RPM_FACTOR = 5  ; extra increase of oil temperature for each 1000 RPM
TEMPERATURE_LAG_UP =0.9985 ; oil temperature increase lag
TEMPERATURE_LAG_DOWN = 0.9992  ; oil temperature decrease lag

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR = 
UPPER_BOUND = 1.3                 ; maximum input value for arrow to move with
START = 0 
RANGE=0
INPUT_LAG=0.0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0                 ; lag for speed, adding inertia of movement
G_FACTOR = 0.0, 0, 0.8
POS_OFFSET_START = 0.00, -0.00, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.00, -0.04, 0.0
NAME=gzplus
