[INCLUDE: common/selflighting.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: refractions.ini]
[INCLUDE: pbr.ini]
[INCLUDE: analog.ini]
[INCLUDE: skins.ini]

[AUDIO_PROPERTIES]
TURBO_THROTTLE=1

[DATA]
DISABLE_LIGHTSINI = 1

[BASIC]
IS_LOW_BEAM_AVAILABLE=1

[LIGHT_EXTRA_...]
BOUND_TO = headlight_bulb
AMBIENT_INFLUENCE = 2
COLOR = 2.4, 1.7, 0.7, 350
DIFFUSE_CONCENTRATION = 0.8
EXTERIOR_ONLY = 0
INTERIOR_ONLY = 0
AFFECTS_TRACK = 0
SIMULATE_HEATING = 0.2
LAG = 0.89
FADE_AT = 90
FADE_SMOOTH = 50
MIRROR = 0.545, 0, 0
POSITION = 0, 0.45, 1.84
DIRECTION = 0, 0, -1
RANGE = 0.06
RANGE_GRADIENT_OFFSET = 0.5
SPECULAR_MULT = 1
SPOT = 80

[LIGHT_LICENSEPLATE]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
MESHES=EXT_RearPlate
OFFSET=0.01, 0.05, -0.01
RANGE=0.36
RANGE_GRADIENT_OFFSET=0.5
SPOT=180
SPOT_SHARPNESS=0.3
COLOR=5,4.9,3.4,2
FALLBACK_EMISSIVE=5,4.9,3.0,0.1
LAYOUT=TWO_ON_TOP
FADE_AT=250

[SelfLight_Headlights]
POSITION = 0, 0.5, 1.75
MIRROR = 0.58
DIRECTION = -0.5, -0.6, 1
BOUND_TO = headlight_bulb
COLOR = 2.4, 1.7, 0.7, 150
SPOT = 100
SPOT_SHARPNESS = 0.4
RANGE = 0.5

[SelfLight_Headlights]
POSITION = -0.7, 0.47, 1.66
DIRECTION = -0.4, 0.2, 1
BOUND_TO = headlight_bulb_blinkR
COLOR = 1.7, 1.5, 1, 1000
SPOT = 100
SPOT_SHARPNESS = 0.6
RANGE = 0.45

[SelfLight_Headlights]
POSITION = 0.7, 0.47, 1.66
DIRECTION = 0.4, 0.2, 1
BOUND_TO = headlight_bulb_blinkL
COLOR = 1.7, 1.5, 1, 1000
SPOT = 100
SPOT_SHARPNESS = 0.6
RANGE = 0.45

[CustomEmissiveMulti]
Meshes = cluster_lights         ; target mesh
Resolution = 512, 512      ; texture resolution for coordinates to work
@ = DashHighlight           ; bind dashboard highlight to emissive channel #0

@ = MultiItem, Role = TURNSIGNAL_LEFT, Color = "4, 4, 2, 2", Start = "8, 172", Size = "130, 87"
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Color = "4, 4, 2, 2", Start = "16, 345", Size = "120, 79"
@ = MultiItem, Role = ABS_INACTION,  Start = "350, 344", Size = "131, 86"
@ = MultiItem, Role = HANDBRAKE,  Start = "353, 92", Size = "142, 83"
@ = MultiItem, Role = HIGHBEAM,  Start = "10, 84", Size = "136, 85"
@ = MultiItem, Role = DashWarningSeatbelt,  Start = "339, 174", Size = "154, 91"
@ = MultiItem, Input = FUEL, InputThreshold = 4, InputInverse,  Color = "20, 10, 0, 0.7", Start = "342, 427", Size = "160, 85"
@ = MultiItem, Input = STALLED,  Color = "10, 10, 10, 0.7", Start = "3, 426", Size = "144, 86"

[EMISSIVE_LIGHT_...]
NAME=gaugeBLITZ_light, TurboDecals,needle_turbo, needle_oil_press, needle_oil_temp, gaugeBLITZ_lightR
COLOR=2,2,2,0.7
BIND_TO_HEADLIGHTS=1

[EMISSIVE_LIGHT_...]
NAME=INT_gauges, INT_symbols_misc, INT_symbols_AC
COLOR=255,179,179,0.05
BIND_TO_HEADLIGHTS=1

[EMISSIVE_LIGHT_0]
NAME= headlight_bulb, vray_headlights, headlight_bulb_parking
COLOR=2.4,1.7,0.7,2500
CAST_LIGHT = 1
LOCATION = FRONT
BIND_TO_HEADLIGHTS=1


[EMISSIVE_BRAKE_0]
NAME=tailights_glass_red
CHANNEL=0
FALLBACK_HEADLIGHTS_COLOR=200, 15, 0, 0.09
LAG=0.6
COLOR=200,25,0,0.3
CAST_LIGHT = 1

[EMISSIVE_LIGHT_1]
NAME=tailights_glass_red
CHANNEL=1
LAG=0.6
COLOR=200,20,0,0.09
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_REVERSE_0]
NAME= taillight_reverse_glass
COLOR=2,2,1.7,3
LAG=0.8
SIMULATE_HEATING=0.2
LOCATION=REAR
BIND_TO_HEADLIGHTS=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
CHANNEL = 0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= taillight_indicator_glass
COLOR=14,6,0,1
LAG=0.5
SIMULATE_HEATING=0.5
LOCATION=REAR
FADE_AT=550
CAST_LIGHT=1
CHANNEL=4

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= taillight_indicator_glass
COLOR=14,6,0,1
LAG=0.5
SIMULATE_HEATING=0.5
LOCATION=REAR
FADE_AT=550
CAST_LIGHT=1
CHANNEL=3


[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= headlight_bulb_blinkR
COLOR=10,4,0,50
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
FADE_AT=550
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= headlight_bulb_blinkL
COLOR=10,4,0,50
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
FADE_AT=550
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME= blinker_side_glass
COLOR=14,6,0,2
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=RIGHT
FADE_AT=550
CAST_LIGHT=1
CHANNEL=4

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME= blinker_side_glass
COLOR=14,6,0,2
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=LEFT
FADE_AT=550
CAST_LIGHT=1
CHANNEL=3

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME= vray_blinkR
COLOR=4.2,1.3,0.3,2500
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
FADE_AT=550
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME= vray_blinkL
COLOR=4.2,1.3,0.3,2500
LAG=0.5
SIMULATE_HEATING=0.1
LOCATION=FRONT
FADE_AT=550
CAST_LIGHT=1

[EMISSIVE_HAZARD_0]
NAME=INT_hazard_button
COLOR=65,10,0,1
LAG=0.2
LOCATION=NONE

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.539732
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.539732
OFF_MULT=0.1
OFF_POSITION=0, 0.663183, -1.9255
OFF_RANGE_MULT=0.5
POSITION=0, 0.663183, -2.1
PREFER_FRONT=-1
RANGE=4
RANGE_GRADIENT_OFFSET=0.25
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.296, 0.296, 0.296
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.38

[LIGHT_EXTRA_0]
BIND_TO_HEADLIGHTS=1
COLOR=255,179,159,0.1
DIFFUSE_CONCENTRATION=0.4
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=90
FADE_SMOOTH=50
MIRROR=0, 0, 0
POSITION=-0.315, 0.65, 0.69
DIRECTION=-0, 0, -1
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=0
SPOT=200
SPOT_SHARPNESS=0.2

[EXHAUST_FLAMES]
ANTILAG=0
ANTILAG_DELAY=0.02
ANTILAG_INTENSITY=1
ANTILAG_INTERVAL_MAX=0.0
ANTILAG_INTERVAL_MIN=0.00
ANTILAG_TURBO_THRESHOLD=0.0
DAMAGE=0
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0.02
DISCHARGE_DURATION=0.5
DISCHARGE_INTENSITY=0.15
DISCHARGE_PROBABILITY=0.35
DISCHARGE_RPM_THRESHOLD_MAX=9000
DISCHARGE_RPM_THRESHOLD_MIN=4000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0
FLAT_SHIFT_COOLDOWN=0.5
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=50
FLAT_SHIFT_INTENSITY=0.25
FLAT_SHIFT_PROBABILITY=0.4
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=0
LIMITER_DELAY=0.01
LIMITER_INTENSITY=0.5
LIMITER_RPM_THRESHOLD=8000

[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME = INT_owollight  ; name (one or more) of a mesh to glow
COLOR = 25, 25, 25, 1          ; glowing color if condition is met
OFF_COLOR = 0, 0, 0         ; glowing color otherwise, default value is 0
LAG = 0.8                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 0.3      ; adds heating effect, going through orange tint while turning on and off
LOCATION = NONE            ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 0       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

[LIGHT_EXTRA_1]
BOUND_TO = INT_owollight
AMBIENT_INFLUENCE = 0.2
COLOR=8,6,4.5,2
DIFFUSE_CONCENTRATION=1.5
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=100
FADE_SMOOTH=50
MIRROR=0, 0, 0
POSITION=0.04, 1.2, -0.45
DIRECTION=0, -1, 0
RANGE=1.3
RANGE_GRADIENT_OFFSET=0.9
SPECULAR_MULT=1.5
SPOT=150
SPOT_SHARPNESS=0.2

[SHADER_REPLACEMENT_...]
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED = 1


[BRAKEDISC_FX_FRONT]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 50  ; increase to make more lines
GLOW_OFFSET = 0.8      ; 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 would try and guess size of brake disc and its inside area from its mesh, but if it fails:
DISC_RADIUS = 0.141           ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.091  ; radius of an inside part of a brake disc

[REAL_MIRROR_0]
ASPECT_MULT=1.000000
FLIP=0
FOV=20.000000
IS_MONITOR=0
MONITOR_SHADER_TYPE=0.000000
ROTATION=0.160000,-0.080000

[REAL_MIRROR_1]
ASPECT_MULT=1.000000
FLIP=0
FOV=16
IS_MONITOR=0
MONITOR_SHADER_TYPE=0.000000
ROTATION=-0.000000,-0.020000

[REAL_MIRROR_2]
ASPECT_MULT=1.000000
FLIP=0
FOV=20.000000
IS_MONITOR=0
MONITOR_SHADER_TYPE=0.000000
ROTATION=-0.100000,-0.070000


[ANIMATED_WIPER_0]
ANIMATION_CURVE_EXP = 2.100000
ANIMATION_CURVE_X = 0.160000
DEBUG = 0
MESHES = EXT_wipers
UNDERLYING_SURFACE = EXT_window_windshield, EXT_window_sticker
GROUP_0 = -
GROUP_0_ANGLE_TO = -77.199997
GROUP_0_ARM = 'EXT_wipers@A=5'
GROUP_0_ARM_END_WIPER_POS = 1.000000
GROUP_0_AXIS = -0.232060, 0.768337, 0.596495
GROUP_0_AXIS_OFFSET_0 = 0.022670, 0.918592, 0.394556
GROUP_0_AXIS_OFFSET_1 = 0.022670, 0.918592, 0.394556
GROUP_0_BENDING_FROM = 0.561000
GROUP_0_BENDING_TO = 0.761000
GROUP_0_END = 0.183564, 0.740942, 0.951333
GROUP_0_LAGGING_BEHIND = 'EXT_wipers@A=34'
GROUP_0_PIVOT = -0.654949, 0.664381, 0.954549
GROUP_0_RUBBER_FROM = -0.302441, 0.737823, 0.925400
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.007700
GROUP_0_RUBBER_OFFSET_EXP = 2.004000
GROUP_0_RUBBER_OFFSET_POS = 0.505000
GROUP_0_RUBBER_TO = 0.183945, 0.732292, 0.948837
GROUP_0_TWIST_FROM = 0.423000
GROUP_0_TWIST_TO = 1.000000
GROUP_0_BASE = 'EXT_wipers@A=6-8'
GROUP_0_BASE_ANGLE_TO = -77.199997
GROUP_0_BASE_AXIS = -0.201263, 0.794090, 0.573510
GROUP_0_BASE_PIVOT = -0.654949, 0.664381, 0.954549
GROUP_0_TURNING = 'EXT_wipers@A=21-33'
GROUP_0_TURNING_AXIS = -0.232351, 0.768192, 0.596569
GROUP_0_TURNING_PARENT = NONE
GROUP_0_TURNING_PIVOT = -0.654949, 0.664381, 0.954549
GROUP_1 = -
GROUP_1_ANGLE_TO = -70.199997
GROUP_1_ARM = 'EXT_wipers@A=2'
GROUP_1_ARM_END_WIPER_POS = 1.000000
GROUP_1_AXIS = 0.009555, 0.827253, 0.561748
GROUP_1_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_1_BENDING_FROM = 0.498000
GROUP_1_BENDING_TO = 0.698000
GROUP_1_END = 0.682710, 0.734071, 0.811833
GROUP_1_LAGGING_BEHIND = 'EXT_wipers@A=16'
GROUP_1_PIVOT = -0.127103, 0.695206, 1.032244
GROUP_1_RUBBER_FROM = 0.256792, 0.731277, 0.933884
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.013500
GROUP_1_RUBBER_OFFSET_EXP = 2.012000
GROUP_1_RUBBER_OFFSET_POS = 0.420000
GROUP_1_RUBBER_TO = 0.683310, 0.724312, 0.812988
GROUP_1_TWIST_FROM = 0.473000
GROUP_1_TWIST_TO = 1.000000
GROUP_1_BASE = 'EXT_wipers@A=1,3-4'
GROUP_1_BASE_ANGLE_TO = -70.199997
GROUP_1_BASE_AXIS = 0.017485, 0.830665, 0.556498
GROUP_1_BASE_PIVOT = -0.126755, 0.692991, 1.034760
GROUP_1_TURNING = 'EXT_wipers@A=9-15,17-20'
GROUP_1_TURNING_AXIS = -0.010461, 0.828049, 0.560558
GROUP_1_TURNING_PARENT = NONE
GROUP_1_TURNING_PIVOT = -0.083003, 0.690322, 1.026566




[MESH_ADJUSTMENT_...]
MESHES = EXT_wipers
MOVE_TO = modelRoot:y

