[DATA] 
DISABLE_LIGHTSINI=1

; Self-lighting:
[INCLUDE: common/selflighting.ini]
 common/dev_material_carpaint.ini, common/dev_material_interior.ini
[INCLUDE: common/materials_glass.ini]

[SHADER_REPLACEMENT_...]
MESHES= obogrev
CULL_MODE=DOUBLESIDED

[SHADER_REPLACEMENT_...]
MESHES= dm3_front_001_001
CULL_MODE=DOUBLESIDED

[INCLUDE: common/navigators.ini]

[Navigator_StyleModernLight]
Meshes = lcd screen_002_002
@ = Navigator_Size, Resolution = "2048, 1024", Size = "2040, 1020", Offset = "0, 0", Scale = 0.3
Brightness = 0.55
UPCOMING_TURN_DISTANCE_ROUND_TO = 100

[INCLUDE: common/materials_interior.ini]
DisableDev = 1

[Material_DigitalScreen]
Meshes = lcd screen_002_002
MatrixType = TN
ScreenScale = 600
ScreenAspectRatio = 1
UseTextureCoordinates = 1

[AUDIO_VOLUME]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 0.9
GEAR_INT = 0.9
BODYWORK = 0.9
WIND = 0.4
DIRT = 0.9
DOWN_SHIFT = 0.9
UP_SHIFT = 0.9
HORN = 0.9
GEAR_GRIND = 0.9
BACKFIRE_EXT = 0.9
BACKFIRE_INT = 0.9
TRACTION_CONTROL_EXT = 0.9
TRACTION_CONTROL_INT = 0.9
TRANSMISSION = 0.9
LIMITER = 0.9
TURBO = 1.0
RAIN_EXT=0.9
RAIN_INT=0.9
WIPER_EXT=0.9
WIPER_INT=0.9
SKID_EXT = 0.9
SKID_INT = 0.9

[WIPERS_TRACE_...]
SURFACE = ext_glass
WIPERS = ext_wiper_rubber_right, ext_wiper_rubber_left

[LIGHTING]
EMISSIVE_MULT=6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.3
INTERIOR_FAKE_UPPER_SHADOW_FADE=-0.1
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=-0.1
INTERIOR_FAKE_SHADOW_FAGE=0.5

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=1, 0.95, 0.8, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.3, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=190
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.538526
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.538526
OFF_MULT=0
OFF_POSITION=0, 0.568216, 1.74877
OFF_RANGE_MULT=0.3
POPUP_ENABLED=1
POSITION=0, 0.468216, 2.25
RANGE=210
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=65
SPOT_EDGE=0.0922464, 0.0919776, 0.09144
SPOT_EDGE_SHARPNESS=21.2
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0


[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=0
TURNING_LIGHTS_REPEAT=1


[SHADOWED_WHEELS]
ANGLE=5
OFFSET=0
OPACITY=0.8
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.8
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[REFLECTIONS_FX]
MASK_CUBEMAP_TWEAK = 0.7
MASK_CUBEMAP_SKIP = INT_GLASS


--------------  EXHAUST  ---------------

[PARTICLES_FX_EXHAUST_0]
POSITION = 0.5125803,0.1875115,-2.282993

[PARTICLES_FX_EXHAUST_0]
DIRECTION = 0.2060512,0.1132937,-0.9719607
; SPAWN_OFFSET = 0.0
SPREAD = 0
; COLOR = 0.1, 0.1, 0.1, 0
GROW = 1
LIFE = 1, 1
SPEED = 0.8, 1.8
INTENSITY = 0.075, 0.075
TEMPERATURE_THRESHOLD = 0
SPEED_THRESHOLD = 20, 40

[EXHAUST_FLAMES]
ANTILAG=0
ANTILAG_DELAY=0.2
ANTILAG_INTENSITY=1
ANTILAG_INTERVAL_MAX=0.1
ANTILAG_INTERVAL_MIN=0.05
ANTILAG_TURBO_THRESHOLD=0.1
DAMAGE=1
DAMAGE_DURATION=0.05
DAMAGE_INTENSITY=1
DAMAGE_PROBABILITY=1
DISCHARGE=0
DISCHARGE_CHARGE_TIME=2
DISCHARGE_DELAY=1
DISCHARGE_DURATION=1
DISCHARGE_INTENSITY=0.1
DISCHARGE_PROBABILITY=0.1
DISCHARGE_RPM_THRESHOLD_MAX=5000
DISCHARGE_RPM_THRESHOLD_MIN=4000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=80
FLAT_SHIFT=0
FLAT_SHIFT_COOLDOWN=0.23
FLAT_SHIFT_DURATION=0.05
FLAT_SHIFT_GAS_THRESHOLD=0.3
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=0.4
FLAT_SHIFT_RPM_THRESHOLD=4000
LIMITER=8000
LIMITER_DELAY=0.3
LIMITER_INTENSITY=1
LIMITER_RPM_THRESHOLD=8000


[EMISSIVE_EXTRA_D_0REARLIGHTS]
NAME=Box002
COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR=30,0,0, 1.5
FALLBACK_BRAKES_COLOR=100,3,0,2
FALLBACK_BRAKES_COLOR_HIGHER=1
LAG=0.5
SIMULATE_HEATING=3
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_EXTRA_D_1REARLIGHTS]
NAME=Object016
COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR=0,0,0
FALLBACK_BRAKES_COLOR=50,3,0,1
FALLBACK_BRAKES_COLOR_HIGHER=1
LAG=0.5
SIMULATE_HEATING=3
LOCATION=REAR
CAST_LIGHT=0

[LIGHT_BRAKES]
COLOR=3, 0, 0, 2
OFF_COLOR=2, 0, 0, 1
POSITION=0, 0.4, -2.5 
DIRECTION=0, -0.5, -1
MIRROR=0.5
RANGE_FIRSTPERSON=3.0
RANGE_CARS_NEARBY=2.0
RANGE_CARS_DISTANT=7.0
RANGE_GRADIENT_OFFSET=0.5
FADE_FROM=150.0
FADE_TO=180.0
SPOT=150
SPOT_SHARPNESS=0.2
SPOT_EDGE=0.0, 1.0, 1.0
SPOT_EDGE_SHARPNESS=10.0
BRAKELIGHT_LIGHT_MULT=0.2         ; how bright should be brakelight in headlights role
BRAKELIGHT_LIGHT_RANGE_MULT=0.5   ; distance multiplier
BRAKELIGHT_LIGHT_FADE_MULT=0.7    ; how faster it should fade with distance in headlighs role

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, 0, 1
POSITION =0.596, 0.6, 1.93
DIFFUSE_CONCENTRATION = 1
BOUND_TO = Left Low Beam Bulb
SPOT_SHARPNESS = 0.9
SPOT = 120
COLOR = 80
SPECULAR_MULT = 1
RANGE = 0.35

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, 0, 1
POSITION =-0.596, 0.6, 1.93
DIFFUSE_CONCENTRATION = 1
BOUND_TO = Left Low Beam Bulb
SPOT_SHARPNESS = 0.9
SPOT = 120
COLOR = 80
SPECULAR_MULT = 1
RANGE = 0.35

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, 0, 1
POSITION =0.708, 0.614, 1.85
DIFFUSE_CONCENTRATION = 1
BOUND_TO = LF Turn Bulb
SPOT_SHARPNESS = 0.9
SPOT = 120
COLOR = 40,10,1,1
SPECULAR_MULT = 1
RANGE = 0.35

[SelfLight_Headlights]
MIRROR = 0
DIRECTION = 0, 0, 1
POSITION =-0.708, 0.614, 1.85
DIFFUSE_CONCENTRATION = 1
BOUND_TO = RF Turn Bulb
SPOT_SHARPNESS = 0.9
SPOT = 120
COLOR = 40,10,1,1
SPECULAR_MULT = 1
RANGE = 0.35

--------------  EMISSIVE HEADLIGHTS  ---------------

[EMISSIVE_LIGHT_0]
NAME=Left Low Beam Bulb
COLOR=15,20,25,60
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_LIGHT_1]
NAME=Right Low Beam Bulb
COLOR=15,20,25,60
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_LIGHT_2]
NAME=Left Low Detail Glass 2
COLOR=15,20,25,12
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_LIGHT_3]
NAME=Right Low Detail Glass 2
COLOR=15,20,25,12
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

--------------  EMISSIVE TURN LIGHTS  ---------------

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=LF Turn Bulb
COLOR=40,10,1, 60
LAG=0.6
BLINK_FREQENCY_HZ=1.43372
SIMULATE_HEATING=0
LOCATION=FRONT
FADE_AT=10

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= LF Turn Int Orange
COLOR=40,10,1, 5
LAG=0.6
BLINK_FREQENCY_HZ=1.43372
SIMULATE_HEATING=0
LOCATION=FRONT
FADE_AT=10

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=RF Turn Bulb
COLOR=40,15,1, 60
LAG=0.6
BLINK_FREQENCY_HZ=1.43372
SIMULATE_HEATING=0
LOCATION=FRONT
FADE_AT=10

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= RF Turn Int Orange
COLOR=40,15,1, 5
LAG=0.6
BLINK_FREQENCY_HZ=1.43372
SIMULATE_HEATING=0
LOCATION=FRONT
FADE_AT=10


[EMISSIVE_LIGHT_4]
NAME=gaugecluster_a_SUB5_002_002
COLOR=.15,.15,.155,16
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=INTERIOR
FADE_AT=550

[EMISSIVE_LIGHT_5]
NAME=centerstackbezels_a_SUB8_002_002
COLOR=.1,.2,.2,10
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=INTERIOR
FADE_AT=550


[EMISSIVE_LIGHT_6]
NAME= ARROW_SPEED01_002_002 , ARROW_RPM02_002_002 , dashstructure_a_SUB4_002_002
COLOR=5,0.5,0.2,10
LAG=0.1 
SIMULATE_HEATING=3 
LOCATION=NONE
FADE_AT=550


[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=Box007
COLOR=15,4,0, 6
LAG=0.5
SIMULATE_HEATING=3
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=Box008
COLOR=15,4,0, 6
LAG=0.5
SIMULATE_HEATING=3
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_REVERSE_0]
NAME=Box005, Box003
COLOR=15,15,13, 10
LAG=0.5
SIMULATE_HEATING=3
LOCATION=REAR


[LIGHT_EXTRA_1] ;cluster glow
LINE_FROM=-0.26, .78, 0.49
LINE_TO=-0.36, .79, 0.49
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
BOUND_EMISSIVE_MAX=2
COLOR=10,10.5,12
DIFFUSE_CONCENTRATION=0
FADE_AT=50
FADE_SMOOTH=10
RANGE=.225
RANGE_GRADIENT_OFFSET=0.3
SPOT=80
SPOT_SHARPNESS=0.65
SPECULAR_MULT=0
DIRECTION=-0.5,0.32, -0.9
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
SIMULATE_HEATING=3

[LIGHT_EXTRA_2] ;cluster glow
LINE_FROM=-0.485, .78, 0.49
LINE_TO=-0.375, .79, 0.49
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
BOUND_EMISSIVE_MAX=2
COLOR=10,10.5,12
DIFFUSE_CONCENTRATION=0
FADE_AT=50
FADE_SMOOTH=10
RANGE=.225
RANGE_GRADIENT_OFFSET=0.3
SPOT=80
SPOT_SHARPNESS=0.65
SPECULAR_MULT=0
DIRECTION=0.5,0.32, -0.9
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
SIMULATE_HEATING=3


--------------  LICENSE PLATE  ---------------

[LIGHT_LICENSEPLATE]
ACTIVE = 1
MESHES = geo_ext_plate
OFFSET = 0, 0.0, -0.04
RANGE = 0.5
LAYOUT = TWO_ON_TOP

--------------  ANIMATIONS  ---------------

[ANIMATION_0]
INPUT = TURNSIGNAL_LEFT             ; bind to reverse gear
FILE = turn_signals_hand_left.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_1]
INPUT = TURNSIGNAL_RIGHT             ; bind to reverse gear
FILE = turn_signals_hand_right.ksanim   ; file name of new animation in “animations” folder
TIME = 0.1                ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_2]
INPUT = HAZARD            ; bind to reverse gear
FILE = hazard_button.ksanim   ; file name of new animation in “animations” folder
TIME = 0.3                 ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_3]
INPUT = HANDBRAKE             ; bind to reverse gear
FILE = handbrake.ksanim    ; file name of new animation in “animations” folder
TIME = 0.2                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_4]
INPUT = STALLED             ; bind to reverse gear
FILE = key.ksanim    ; file name of new animation in “animations” folder
TIME = 0.5                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=0

[ANIMATION_5]
INPUT = HORN             ; bind to reverse gear
FILE = horn.ksanim    ; file name of new animation in “animations” folder
TIME = 0.1                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=0

[ANIMATION_6]
INPUT = GAS             ; bind to reverse gear
FILE = gas_pedal.ksanim    ; file name of new animation in “animations” folder
TIME = 0.1                 ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=0

[ANIMATION_7]
INPUT = BRAKE             ; bind to reverse gear
FILE = brake_pedal.ksanim    ; file name of new animation in “animations” folder
TIME = 0.1                 ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=0

[ANIMATION_8]
INPUT = CLUTCH             ; bind to reverse gear
FILE = clutch_pedal.ksanim    ; file name of new animation in “animations” folder
TIME = 0.1                 ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_THRESHOLD_INVERSE=1

[ANIMATION_9]
INPUT = WIPERS_MODE           ; bind to reverse gear
FILE = wipers_hand.ksanim   ; file name of new animation in “animations” folder
TIME = 0.15                  ; animation time
INPUT_AS_PROGRESS = 1      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0
INPUT_LUT=(|0=0|1=0.25|2=0.5|3=0.75|4=1)

[ANIMATION_10]
INPUT = EXTRA_A           ; bind to reverse gear
FILE = windowright.ksanim   ; file name of new animation in “animations” folder
TIME = 2                ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

[ANIMATION_11]
INPUT = EXTRA_B           ; bind to reverse gear
FILE = windowleft.ksanim   ; file name of new animation in “animations” folder
TIME = 2                  ; animation time
INPUT_AS_PROGRESS = 0      ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0

--------------  HEADLIGHTS REFRACTION  ---------------


[REFRACTING_HEADLIGHT_0]
SURFACE=Object047, Object046
INSIDE=4, Box002
RESOLUTION_MULT = 2
SYNC_EMISSIVE_AUTO= 1
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.600000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000320,0.560091,-2.156337
NM_SHARE_EXT = 0.300000
NM_SHARE_INT = 0.300000
ORIGIN = 0.338504,0.560092,-2.165577
RADIUS = 0.131854
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_1]
SURFACE=160, Object045
INSIDE=Object040, Box002
RESOLUTION_MULT = 2
SYNC_EMISSIVE_AUTO= 1
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.000000,0.000001,1.000052
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000747,0.560156,-2.085805
NM_SHARE_EXT = 0.300000
NM_SHARE_INT = 0.300000
ORIGIN = 0.624355,0.567795,-2.427883
RADIUS = 0.173207
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_2]
SURFACE=zadsteklo, Object043
INSIDE=145, Box005
RESOLUTION_MULT = 2
SYNC_EMISSIVE_AUTO= 1
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.600000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000747,0.615377,-2.156756
NM_SHARE_EXT = 0.300000
NM_SHARE_INT = 0.300000
ORIGIN = 0.318039,0.615378,-2.165564
RADIUS = 0.104639
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_3]
SURFACE=24_T
INSIDE=Box007, 2
RESOLUTION_MULT = 2
SYNC_EMISSIVE_AUTO= 1
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.600000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000747,0.615241,-2.088358
NM_SHARE_EXT = 0.300000
NM_SHARE_INT = 0.300000
ORIGIN = 0.594036,0.615243,-2.156850
RADIUS = 0.198216
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_4]
SURFACE=Object044
INSIDE=Box008, 206_002
RESOLUTION_MULT = 2
SYNC_EMISSIVE_AUTO= 1
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = -0.000000,0.000000,1.000064
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.600000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000045,0.000000,-0.000000
MIRROR_POS = -0.822304,0.614929,-2.088173
NM_SHARE_EXT = 0.300000
NM_SHARE_INT = 0.300000
ORIGIN = -0.594246,0.613655,-2.155872
RADIUS = 0.198216
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1


--------------  GLASS  ---------------

[INCLUDE: common/materials_glass.ini]
; New glass
ExteriorGlassMaterials = ext_glass

[Material_Glass]
Materials = glass
FilmIOR = 2
ThicknessMult = 1

[Material_Glass]
Materials = wij
FilmIOR = 2

[Material_Glass]
Materials = graylight
FilmIOR = 2

[INCLUDE: common/materials_interior.ini]

[Material_Plastic_v2] ;exterior plastics
Materials= blackplast
Reflectance = 0.24
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.0
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 0.5


[Material_Aluminium_v2]
Materials=   Material #11235
Smoothness = 0.0
Metalness = 0.6
Reflectance = 0.6
BrightnessAdjustment = 0.4
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 1
DetailScale = 80
DetailNormalBlend = 10
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 0.05
ApplyTilingFix = 1

[Material_Aluminium_v2]
Materials= Material #20076, 
Smoothness = 1.0
Metalness = 1.0
Reflectance = 1.0
BrightnessAdjustment = 0.2
DetailTexture = 0.0
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 1
DetailScale = 00
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 1

[Material_Carpet_v2]
Materials= 
BrightnessAdjustment = 0.4
OcclusionMap = 0.65
Reflectance = 0.04
DetailScale=200

[Material_Velvet_v2]
Materials= 
BrightnessAdjustment = 0.4
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.3
DetailScale = 100
ClothSheenColor = 1, 1, 1

[Material_Metal_v2]
Materials = ext_chrome, STCHROME, screw
BrightnessAdjustment = 0.4
DetailScale = 0
Metalness = 1
Reflectance = 1
LocalReflectionsSharpness = 1
Smoothness = 1

[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1
DAMAGE_DEBUG=0                ; set it to 1 to get damaged tyres from the start
DAMAGE_FLAT_SPOT_GAIN=200.0   ; multiplier for increasing flat spot
DAMAGE_FLAT_SPOT_FADE=0.1     ; how much of flat spot (which is in 0…1 range) will be gone after 1 km driven
DAMAGE_GRAIN_GAIN=1.0         ; multiplier for increasing grain
DAMAGE_WIDTH_K=0.95           ; decrease to make damage more narrow and vise versa
DAMAGE_OFFSET_K=0.0           ; horizontal offset for visible damage; increase to move it closer to the car
DAMAGE_GRAIN_MAX=0.4          ; upper bound for grain damage, from 0 to 1

DAMAGE_SPEC_MULT=0.6          ; by how much ksSpecular should be multiplied for fully damaged areas
DAMAGE_SPEC_EXP_MULT=0.2      ; by how much ksSpecularEXP should be multiplied for fully damaged areas
DAMAGE_REFL_MULT=0.4          ; by how much fresnelMaxLevel should be multiplied for fully damaged areas
DAMAGE_OCCLUSION_MULT=0.8     ; how much of occlusion to substract from fully damaged areas
DAMAGE_NORMALS_MULT=2.0       ; normals multiplier for fully damaged areas

FLEX_SKEW_SMOOTHING=0.1       ; how fast should tyre mesh react to change in force
FLEX_MAX_SKEW_MULT=0.8        ; multiplier for maximum flex distance
FLEX_PROFILE_MULT=0.6         ; multiplier for profile size for deforming tyre
FLEX_SKEW_RANGE_MULT=1.0      ; how much of a tyre should be skewed, maximum value is 3
FLEX_MULT=0.8                ; how far a tyre should be skewed



[BRAKEDISC_FX]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; 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.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 guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.0, 0.0  ; 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.06  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.0, 0.0        ; everything looking away more than 50% is a deepening

; Patch would try and guess size of brake disc and its inside area from its mesh, but if it fails:
DISC_RADIUS = 0.172         ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.113  ; radius of an inside part of a brake disc

; Another feature is that patch would mask reflections with rim, stopping brake disc from reflecting sky if looked at a angle. By default it would use rim radius and 60% of wheel width (for the distance between brake disc and exterior part) from “tyres.ini”, could be changed if needed:
RIM_RADIUS = 0.1  ; inside radius of a rim
RIM_HEIGHT = 0.1   ; distance between surface of brake disc and vertical surface of a wheel rim

DEBUG = 0 ; set to 1 to highlight shape:
    ; • cyan is for the actual disc;
    ; • yellow is for the deepenings;
    ; • dark blue is for the inside part;
    ; • pink is for the outside part;
    ; • red is for the borders;
    ; • black is for holes.
WEAR_FORCE = 0.6  ; force certain wear level

[EMISSIVE_EXTRA_C_0] 
BIND_TO_EXTRA_C=1
BIND_TO_HEADLIGHTS=0
NAME = meshwin_002
COLOR=0,0,0.1,1         ; glowing color if condition is met
OFF_COLOR = 0,0,0         ; glowing color otherwise, default value is 0
LAG = 0.01                  ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; adds heating effect, going through orange tint while turning on and off
LOCATION =FRONT             ; 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
TOGGLE_VISIBILITY=1	
TOGGLE_VISIBILITY_INVERSE=1
