[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = geo_exhaust_sub2_leftside,geo_exhaust_sub2_rightside,geo_exhaust_sub1_leftside,geo_exhaust_sub1_rightside
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 80
INPUT_MAX = 100
INPUT_LUT = (| 83 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 5

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = LCD_002
Resolution = 1110, 500
Offset = 0, 0
Size = 1110, 500
Scale = 0.90
RearCameraPosition = -0.00, 0.57, -2.58
aftermarketComponent=1

[INCLUDE: common/materials_glass.ini]
ExteriorGlassHeadlightsMaterials =frontight_Glass

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

[ANIMATED_WIPER_0]
DEBUG = 0
MESHES = WipersL
UNDERLYING_SURFACE = Window_Geo_lodA002
GROUP_0 = 'WipersL@A=*'
GROUP_0_ANGLE_TO = 79.000000
GROUP_0_AXIS = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = -0.208614, 1.120411, 0.881515
GROUP_0_PIVOT = 0.594622, 1.010388, 0.939187
GROUP_0_RUBBER_FROM = 0.346458, 1.109013, 0.875077
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.01
GROUP_0_RUBBER_OFFSET_POS = 0.315000
GROUP_0_RUBBER_TO = -0.205517, 1.116438, 0.885655
GROUP_0_TWIST_FROM = 0.288000
GROUP_0_TWIST_TO = 0.950000
GROUP_0_TRACE_0 = 0.346458, 1.109013, 0.875077
GROUP_0_TRACE_0_END = -0.205517, 1.116438, 0.885655
GROUP_0_TRACE_0_OFFSET_AMOUNT = 0.000000
GROUP_0_TRACE_0_OFFSET_POS = 0.315000
GROUP_0_TRACE_0_PARENT = TURNING

[MESH_ADJUSTMENT_0]
MESHES = WipersL
MOVE_TO = modelRoot:y

[ANIMATED_WIPER_1]
DEBUG = 0
MESHES = wiperR, wiperRbottom
UNDERLYING_SURFACE = Window_Geo_lodA002
GROUP_0 = 'wiperR@A=*', 'wiperRbottom@A=*'
GROUP_0_ANGLE_TO = 68.099998
GROUP_0_AXIS = 0.000378, -0.683923, 0.729554
GROUP_0_AXIS_OFFSET_0 = -0.000460, -0.433573, 0.901119
GROUP_0_AXIS_OFFSET_1 = -0.000460, -0.433573, 0.901119
GROUP_0_END = -1.709300, -2.004500, 3.408415
GROUP_0_PIVOT = 0.341500, -2.686200, 3.250615
GROUP_0_RUBBER_FROM = -0.634766, -2.382931, 3.395027
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.041500
GROUP_0_RUBBER_TO = -1.709534, -2.001244, 3.401772
GROUP_0_BASE_AXIS = 0.000378, -0.683923, 0.729554
GROUP_0_BASE_PIVOT = 0.341500, -2.686200, 3.250615
GROUP_0_TRACE_0 = -0.634766, -2.382931, 3.395027
GROUP_0_TRACE_0_END = -1.709534, -2.001244, 3.401772
GROUP_0_TRACE_0_OFFSET_AMOUNT = 0.041500
GROUP_0_TRACE_0_PARENT = TURNING

[BASIC]
DISABLE_WIPER_KSANIM = 1

[EXHAUST_FLAMES]
ANTILAG=0 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=10 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=65000
ANTILAG_TURBO_THRESHOLD=0.0
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 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=.4 ; delay after throttle lift
DISCHARGE_DURATION=1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=30; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7300 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=50 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=1 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=10 ; flame size
LIMITER_RPM_THRESHOLD=7400 ; limiter flames will not shoot below this rpm


[BASIC]
IS_LOW_BEAM_AVAILABLE =1

; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Body_M2
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
Materials = Body_M2
LocalReflectionsForce = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 1

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.16
FresnelEXP = 3.5
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9.55555
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06
ksSpecular = 1

[SHADER_REPLACEMENT_52] ; Screen
MESHES = SUSP_RR_mesh_SUB1,SUSP_LR_mesh_SUB1,SUSP_LF_mesh_SUB1,SUSP_RF_mesh_SUB1
PROP_... = ksAmbient, 7.5
PROP_... = ksDiffuse, 7.5
PROP_... = fresnelEXP, 150
PROP_... = fresnelMaxLevel, 0.09
PROP_... = fresnelC, 0.06
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.023
DOUBLE_FACE_SHADOW_BIASED = 0

[LIGHT_HEADLIGHT_0]
RANGE=150
[EMISSIVE_REVERSE_0] 
NAME=Light_Geo_lodA04
COLOR=100,100,100,10
LAG=0.1
SIMULATE_HEATING=3


[EMISSIVE_LIGHT_40]
NAME=
COLOR=60,60, 60 , 200
LAG=0.2
SIMULATE_HEATING=0.9
LOCATION=FRONT

[EMISSIVE_BRAKE_50]
NAME=Rear_Brakes,Brake_Top
COLOR=25,0,0, 125
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 25,0,0, 175
INPUT = BRAKE
INPUT_THRESHOLD = 0.6
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 3.5 ; sets frequency for blinking

[EMISSIVE_BRAKE_51]
NAME=g_Rain_Lights
COLOR=25,0,0, 125
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =25,0,0, 25
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 25,0,0, 175
INPUT = BRAKE
INPUT_THRESHOLD = 0.6
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 3.5 ; sets frequency for blinking


[EMISSIVE_HIGHBEAM_...]
NAME=Headlights02
BOUND_TO= LOW_BEAM
COLOR=480,480,680,3 
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
LOCATION=MIDDLE


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=Rear_Left_Signal
COLOR=200,60, 1 , 2
LAG=0.2
SIMULATE_HEATING=0.9
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Front_Left_Signal
COLOR=100,30, 0 ,10
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=Warning_L
TOGGLE_VISIBILITY = 1
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=mirror_turn_L
COLOR=100,30, 0, 10
OFF_COLOR=2,2,2,100
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=LEFT

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME=Headleds
COLOR=100,30, 0, 10
OFF_COLOR=2,2,2,100
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=Rear_Right_signal
COLOR=200,60, 1 , 2
LAG=0.2
SIMULATE_HEATING=0.9
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Front_Right_signal_002
COLOR=100,30, 0 ,10
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME=Headleds.001
COLOR=100,30, 0, 10
OFF_COLOR=2,2,2,100
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=FRONT

[LIGHTING]
EMISSIVE_HEADLIGHTS_MULT=1

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.957143, 0.957143, 1, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=30
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.64, 2.2
RANGE=110
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=48
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0



[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=Warning_R
TOGGLE_VISIBILITY = 1
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=mirror_turn_R
COLOR=100,30, 0, 10
OFF_COLOR=2,2,2,100
LAG=0.2
SIMULATE_HEATING=0.3
LOCATION=RIGHT

[EMISSIVE_HANDBRAKE_0]
NAME=Warning_Handbrake
TOGGLE_VISIBILITY = 1
COLOR=40,4,4,1
LAG=0.2
Warning_light

[EMISSIVE_TRACTIONCONTROL_0]
NAME=Warning_TC_OFF
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=40,20,4,1
NAME=Warning_TC
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_Flash_Light]
NAME=Headlights02
COLOR=300,300,300
FLASH=1

[EMISSIVE_...]
NAME=Warning_st_wheel
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[EMISSIVE_...]
NAME=Warning_Engine
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=Warning_Tires_press
TOGGLE_VISIBILITY = 1
COLOR=40,20,4,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 35
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

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

[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1
NAME=grupsblackss.002
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0.2
LAG=0.2


[EMISSIVE_ABS_0]
NAME=Warning_ABS
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_LIGHT_2]
NAME=Warning_light
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[LIGHT_EXTRA_33]  ;REAR TOP INTERIOR LIGHT
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=1
COLOR=0,0,40
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
LAG=0.9
FADE_AT=90
FADE_SMOOTH=20
POSITION=-0, 0.7, -1.203
DIRECTION=0, -1, 0
RANGE=1.3
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0.5
SPOT=580
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_34]  ;REAR TOP INTERIOR LIGHT
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=1
COLOR=0,0,15
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
LAG=0.9
FADE_AT=90
FADE_SMOOTH=20
POSITION=-0, 1.5, -0.703
DIRECTION=0, -1, -0.7
RANGE=1.4
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0.5
SPOT=580
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_36]  ;REAR TOP INTERIOR LIGHT
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=1
COLOR=0,0,40
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
LAG=0.9
FADE_AT=90
FADE_SMOOTH=20
POSITION= 0, 1, 3.703
DIRECTION=0, -1, 0
RANGE=1
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0.5
SPOT=580
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=0,0,20,10
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.703, 0.78, 0.538
DIRECTION=0,0,-0.9
RANGE=0.25
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0
SPOT=360
SPOT_SHARPNESS=0.3

[EMISSIVE_LIGHT_54]
NAME=StarInDaRoof
COLOR=0,0,40,20
OFF_COLOR=0,0,1,0
LAG=0.8
SIMULATE_HEATING=0.6
CAST_LIGHT=1 
LOCATION=FRONT

[EMISSIVE_LIGHT_50]
NAME=Brake_Lights
COLOR=10,0,0,20
OFF_COLOR=0,0,0,0
LAG=0.8
SIMULATE_HEATING=0.6
CAST_LIGHT=1 
LOCATION=FRONT

[EMISSIVE_LIGHT_51]
NAME=m2decal
COLOR=1,1,1,8
OFF_COLOR=1,1,1,5
LAG=0.8
SIMULATE_HEATING=0.6
CAST_LIGHT=1 
LOCATION=FRONT

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.1

[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

[AUDIO_VOLUME]
BACKFIRE_EXT=1
BACKFIRE_INT=1
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=2
ENGINE_INT=2
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=0.1
TURBO=1
WIND=1

[AUDIO_PITCH]
ENGINE_EXT = 0.95
ENGINE_INT = 0.95
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 = 0.1
LIMITER = 1
TURBO = 1.0
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = 1
SKID_INT = 1

[LIGHT_EXTRA_55]
LINE_FROM=-0.9,0.6,0.8                ;(INTERIOR FOOT WELL GLOW) {Visible from outside only}
LINE_TO=0.42,0.6,0.8
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=1l
COLOR=5, 0, 163
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.60
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
