/General
[INCLUDE: refraction.ini]
[INCLUDE: lights.ini]
[INCLUDE: materials.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_glass.ini]
[DATA] 
DISABLE_LIGHTSINI=1
[ABOUT]
AUTHOR=Maid Cafe, Binary Motors
NOTES=The top sports model of the FTO, with complete driving equipment.
[SHAKING_EXHAUST_0]
MESHES = EXH_METAL,EXH_BLACK
POINT_0 = 0, 0.0539, 1.67
POINT_0_RADIUS = 1
POINT_0_EXP = 1.9
POINT_0_SCALE = 0.8
[LIGHT_BRAKEDISCS]
COLOR=0.5, 0.1, 0, 20

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0         ; use ceramic look
CARVED = 30              ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 0.72   ; 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
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.110
DISC_RADIUS = 0.200
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.005
WIDTH=0.05

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.0005
WIDTH=0.09

[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[LIGHT_HEADLIGHT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=501
BOUND_EXP=1
COLOR=2,2,1.4,2
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.684
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0.0, 0.502, 2.35
RANGE=230
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=90
SECOND_SPOT_INTENSITY=5.5
SECOND_SPOT_RANGE=85
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

[WIPERS_TRACE_...]
SURFACE =EXT_BODY_WINDSHIELD,INT_BODY_GLASS_W
WIPERS =WIPER_PR3,WIPER_PL3

[WIPERS]
WIND_THRESHOLDS_KMH = 100, 220 ; 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 ; base animation2
[ANIMATION_0]
FILE=car_door_L.ksanim
TIME=1
INPUT=EXTRA_A

[ANIMATION_1]
FILE=car_door_R.ksanim
TIME=1
INPUT=EXTRA_B

[ANIMATION_...]
FILE=car_Handbrake.ksanim
TIME = 0.5
INPUT=HANDBRAKE
HOLD_STATE=1
INPUT_AS_PROGRESS = 0 
LOOP_WHILE_ACTIVE = 0       
LOOP_KEEP_UNTIL_DONE = 1    
TICK_TOCK_MODE = 0          
AFFECTS_INTERIOR_SHAPE = 1

[ANIMATION_...]
FILE=car_Mirror_Shake.ksanim
BIND_TO=RPM
INPUT_THRESHOLD=7800
HOLD_STATE=0
LOOP_WHILE_ACTIVE = 0    
LOOP_KEEP_UNTIL_DONE = 0   
TICK_TOCK_MODE = 1          
AFFECTS_INTERIOR_SHAPE = 1 

[SHADER_REPLACEMENT_...]
MATERIALS = Tyres
PROP_0 = ksAmbient, 0.15
PROP_1 = ksDiffuse, 0.1
PROP_2 = ksSpecular, 0.1
PROP_3 = ksSpecularEXP, 50

//Dashboard
[EMISSIVE_HEADLIGHTS_...]
NAME=INT_BODY_DVD
COLOR=0.9,0.9,0.5,2
LAG=0.4
SIMULATE_HEATING=0.5
CHANNEL=2
[CAR_STEREO_...]
MESHES = INT_BODY_DVD
RESOLUTION = 512, 512
DISPLAY_POS = 0.125, 0.125
DISPLAY_SIZE = 512, 128
COLOR = '#000000'
BACKGROUND = 0.8, 0.850, 0.6, 1
FONT = digital_mid
TEXT_0 = "{Artist} - {Track}"
TEXT_0_NOALBUM = "{Artist} - {Track}"
TEXT_0_NOARTIST = "{Track}"
TEXT_0_FALLBACK = "FM{Random:1,4} {Random:80,120}.{Random}"
TEXT_0_ALIGN = CENTER
TEXT_0_START = 26, 16
TEXT_0_LETTER = 24, 64
TEXT_0_LETTERS_LIMIT = $" floor((512 - 26 * 2) / 24) "
ICON_0 = @SOURCE
ICON_0_FALLBACK = FM
ICON_0_START = 174, 84
ICON_0_SIZE = 24, 24


[INCLUDE: common/custom_emissive.ini]

[CustomEmissiveMulti]
Meshes =INT_BODY_GAUGE_LIGHTS
UseEmissive0AsFallback =0
Resolution = 1024,1024

@ = MultiItem, Role = HIGHBEAM, Start = "521, 551", Size = "230, 206", Color = "0, 0, 2,0.4",
@ = MultiItem, Role = HANDBRAKE,Start = "772, 535", Size = "222, 214", Color = "3, 0, 0, 6"
@ = MultiItem, Role = BATTERY,Start = "24, 339", Size = "226, 196", Color = "3, 0, 0, 5"
@ = MultiItem, Role = FUEL, InputThreshold = 10, InputInverse,Start = "275, 551", Size = "226, 204", Color = "5, 1, 0, 2"
@ = MultiItem, Role = ABS, InputInverse,Start = "778, 749", Size = "218, 204", Color = "7,3,0, 3"
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "277, 126", Size = "224, 228", Color = "0,5,0, 2 " 
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "531, 128", Size = "210, 208" , Color = "0,5,0, 2 " 
@ = MultiItem, Role = ENGINE_LIFE,InputInverse,InputThreshold = 500,Start = "24, 140", Size = "228, 200" , Color = "7,3,0, 3 " 
@ = MultiItem, Role = ENGINE_LIFE,InputInverse,InputThreshold = 800,Start = "18, 741", Size = "218, 210", Color = "5,0,0, 4 " 
@ = MultiItem, Role = ENGINE_LIFE,InputInverse,InputThreshold = 200,Start = "517, 767", Size = "259, 186", Color = "5,0,0, 4 " 
@ = MultiItem, Role = OIL_PRESSURE,InputThreshold = 10,Start = "26, 545", Size = "226, 194", Color = "5,0,0, 4 " 
@ = MultiItem, Role = OPENDOORS,Start = "774, 343", Size = "228, 202", Color = "5,0,0, 4 " 
@ = MultiItem, Role = SEATBELT,InputInverse,Start = "259, 770", Size = "259, 188", Color = "5,0,0, 4 " 

[SHADER_REPLACEMENT_...]
MESHES =INT_BODY_DVD,HD_VRAY,HD_INNER_GH,HD_PLASTIC,ARROW_BATTERY_L,INT_BODY_BADGE,TL_INNER_B,TL_INNER_L,TL_INNER_R,TL_INNER_REVERSE,INT_BODY_GAUGE,INT_BADGE_L,ARROW_MISC_L,ARROW_SPEED_L,ARROW_RPM_L,ARROW_MINUTE_L,ARROW_HOUR_L,ARROW_WATER_L,ARROW_FUEL_L
PROP_0 = emChannelsMode, 1
[EMISSIVE_HEADLIGHTS_...]
NAME=INT_BODY_GAUGE,INT_BODY_BADGE
COLOR=2,0.3,0,2
LAG=0.4
SIMULATE_HEATING=0.5
CHANNEL=0
[EMISSIVE_HEADLIGHTS_...]
NAME=INT_BODY_GAUGE
COLOR=2,0,0,2
LAG=0.4
SIMULATE_HEATING=0.5
CHANNEL=1
[EMISSIVE_HEADLIGHTS_...]
NAME=INT_BODY_GAUGE
COLOR=0.9,0.9,0.5,2
LAG=0.4
SIMULATE_HEATING=0.5
CHANNEL=2

[EMISSIVE_HEADLIGHTS_...]
NAME=ARROW_BATTERY_L,ARROW_MISC_L,ARROW_SPEED_L,ARROW_RPM_L,ARROW_MINUTE_L,ARROW_HOUR_L,ARROW_WATER_L,ARROW_FUEL_L
COLOR=3,0.1,0.1,1
LAG=0
SIMULATE_HEATING=0.5
CHANNEL=0
[EMISSIVE_HAZARD_0]
COLOR=3,0,0,3
NAME=INT_BODY_HAZARD
FALLBACK_HEADLIGHTS_COLOR=3,0,0,2
LAG=0.2
CHANNEL=0
```
[ODOMETER_MAIN]
DIGITAL_ITEM=0
DIGITAL_ITEM_NUMBER_FORMAT=6.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ANALOG_INDICATOR_...]
INPUT = TIME_HOURS             ; any of supported inputs
NAME = ARROW_HOUR      ; name of mesh to move
START = 0                    ; offset for starting point, degress
RANGE = 360                  ; full range of arrow to move to at the upper bound, degress
UPPER_BOUND = 12                 ; maximum input value for arrow to move with
LOWER_BOUND = 0  
[ANALOG_INDICATOR_...]
INPUT = TIME_MINUTES            ; any of supported inputs
NAME = ARROW_MINUTE        ; name of mesh to move
START = 0                    ; offset for starting point, degress
RANGE = 360                  ; full range of arrow to move to at the upper bound, degress
UPPER_BOUND = 60                 ; maximum input value for arrow to move with
LOWER_BOUND = 0  
[ANALOG_INDICATOR_...]
INPUT = BATTERY           ; any of supported inputs
NAME = ARROW_BATTERY       ; name of mesh to move
START = -30                    ; offset for starting point, degress
RANGE = 60                  ; full range of arrow to move to at the upper bound, degress
UPPER_BOUND = 16                 ; maximum input value for arrow to move with
LOWER_BOUND = 8  

//Refract

[EXTRA_FX]
MASK_GBUFFER =HD_GLASS,HD_VRAY

[EXTRA_FX_EMISSIVE_...]
MESHES=HD_BULB_F
RANGE = 0.015
COLOR = 25.5,20.9,16.3, 3
DIRECTED = 0
EMISSIVE_TWEAK = 4
MIP_BIAS = 0

[EXTRA_FX_EMISSIVE_...]
MESHES=HD_BULB_F1
RANGE = 0.015
COLOR = 25.5,20.9,16.3, 3
DIRECTED = 0
EMISSIVE_TWEAK = 4
MIP_BIAS = 0

[EXTRA_FX_EMISSIVE_...]
MESHES=HD_BULB_H
RANGE = 0.015
COLOR = 24.5,20.9,26.3, 3
DIRECTED = 0
EMISSIVE_TWEAK = 4
MIP_BIAS = 0

[REFRACTING_HEADLIGHT_...]
SURFACE = HD_GLASS_G
INSIDE = HD_INNER_LOW,HD_BULB_G
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.039
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.07
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0.037,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 0.469
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 1.7881393e-07,0.1988585,1.9718316
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.5339982,0.1988585,1.979705
RADIUS = 0.05193249
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_...]
SURFACE = HD_GLASS_L
INSIDE = HD_INNER_LOW,HD_BULB_L
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.08
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0.044,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 9.67
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0.46428573,0
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 2.9802322e-07,0.2058165,1.8183385
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.6444143,0.2058165,1.8281809
RADIUS = 0.0496435
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_...]
SURFACE = HD_GLASS_R
INSIDE = HD_INNER_LOW,HD_BULB_R
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.08
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0.044,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 9.67
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,-1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0.46428573,0
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1,0,0
MIRROR_POS = 2.9802322e-07,0.2058165,1.8183385
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = -0.6444143,0.2058165,1.8281809
RADIUS = 0.0496435
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_...]
SURFACE = SL_GLASS_L
INSIDE = SL_BULB_L
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0.044,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 10
DIFFUSE_MAP_MULT = 0
DIRECTION = -1.0000012,1.2732926e-11,-5.820766e-10
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0.93918055,0.011083901
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 3.0577183e-05,0.51051354,0.7583545
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.81371135,0.51055163,0.75760424
RADIUS = 0.055500112
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1


[REFRACTING_HEADLIGHT_...]
SURFACE = SL_GLASS_R
INSIDE = SL_BULB_R
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0.044,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 10
DIFFUSE_MAP_MULT = 0
DIRECTION = 1.0000012,1.2732926e-11,-5.820766e-10
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0.93918055,0.011083901
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1,0,0
MIRROR_POS = 3.0577183e-05,0.51051354,0.7583545
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = -0.81371135,0.51055163,0.75760424
RADIUS = 0.055500112
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_...]
SURFACE = TL_GLASS_B
INSIDE = TL_INNER,TL_INNER_B
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.08
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.15
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -1.7881393e-07,0.55880904,-2.032599
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.44347492,0.55880904,-2.127018
RADIUS = 0.15729365
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1


[REFRACTING_HEADLIGHT_...]
SURFACE = TL_GLASS_REVERSE
INSIDE = TL_INNER,TL_INNER_REVERSE
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.08
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.533,0.526,0.044,0
CUSTOM_BULB_1 = 0.5,1,1,0.007
CUSTOM_BULB_2 = 0.5,0,0.993,0.014
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.08
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -2.9802322e-07,0.557115,-2.0789976
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.3031853,0.557115,-2.130223
RADIUS = 0.06809208
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1


[REFRACTING_HEADLIGHT_...]
SURFACE = TL_GLASS_L
INSIDE = TL_INNER,TL_INNER_L
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.08
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -2.9802322e-07,0.5544239,-1.9545951
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = 0.6133536,0.5544239,-2.0333095
RADIUS = 0.08871419
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1


[REFRACTING_HEADLIGHT_...]
SURFACE = TL_GLASS_R
INSIDE = TL_INNER,TL_INNER_R
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.08
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.5,0.5,0,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1,0,0
MIRROR_POS = -2.9802322e-07,0.5544239,-1.9545951
NM_SHARE_EXT = 0
NM_SHARE_INT = 1
ORIGIN = -0.6133536,0.5544239,-2.0333095
RADIUS = 0.08871419
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




//Lights
---HEAD---
[EMISSIVE_HEADLIGHTS_...]
NAME=HD_BULB_H
COLOR=25,25,26,10
FALLBACK_HIGHBEAM_COLOR=25,25,26,10
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
[EMISSIVE_EXTRA_D_1]
NAME=HD_BULB_G
COLOR=25,25,26,2
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1

[EMISSIVE_HIGHBEAM_...]
NAME=HD_BULB_F
COLOR=25.5,20.9,16.3, 3
FALLBACK_HIGHBEAM_COLOR=25.5,20.9,16.3, 3
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1

[EMISSIVE_EXTRA_C_1]
NAME=HD_BULB_F1
COLOR=25,25,22, 2
LAG=0.1
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=HD_BULB_R,SL_BULB_R
COLOR=40,10,0, 4
LAG=0.66
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CLUSTER_THRESHOLD=0.5
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=HD_BULB_L,SL_BULB_L
COLOR=40,10,0, 4
LAG=0.66
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CLUSTER_THRESHOLD=0.5
---HEAD-MISC---
[EMISSIVE_HEADLIGHTS_...]
NAME=HD_PLASTIC
COLOR=25,25,26,1.3
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=0
[EMISSIVE_HEADLIGHTS_...]
NAME=HD_INNER_GH
COLOR=25,25,26,3
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=0
[EMISSIVE_HEADLIGHTS_...]
NAME=HD_VRAY
COLOR=25,25,26,1.4
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=0
[EMISSIVE_HIGHBEAM_...]
NAME=HD_PLASTIC
COLOR=25.5,20.9,16.3, 1.4
FALLBACK_HIGHBEAM_COLOR=25.5,20.9,16.3, 0.7
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=1
[EMISSIVE_HIGHBEAM_...]
NAME=HD_INNER_GH
COLOR=25.5,20.9,16.3, 4
FALLBACK_HIGHBEAM_COLOR=25.5,20.9,16.3, 4
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=1
[EMISSIVE_HIGHBEAM_...]
NAME=HD_VRAY
COLOR=25.5,20.9,16.3, 1.4
FALLBACK_HIGHBEAM_COLOR=25.5,20.9,16.3, 1
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1
CHANNEL=1
[EMISSIVE_EXTRA_C_2]
NAME=HD_PLASTIC
COLOR=25,25,22, 1
LAG=0.1
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
CHANNEL=2
[EMISSIVE_EXTRA_C_3]
NAME=HD_INNER_GH
COLOR=25,25,22, 2
LAG=0.1
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
CHANNEL=2
[EMISSIVE_EXTRA_C_4]
NAME=HD_VRAY
COLOR=25,25,22, 0.6
LAG=0.1
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=1
CHANNEL=2

---TAIL---

[EMISSIVE_BRAKE_...]
NAME=TL_INNER_B
COLOR=40,1,0, 3
FALLBACK_HEADLIGHTS_COLOR=40,1,0, 2
LAG=0.5
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CLUSTER_THRESHOLD=0.5
LOCATION=REAR
CHANNEL=0
[EMISSIVE_BRAKE_...]
NAME=TL_BULB_TB
COLOR=40,1,0, 4
LAG=0.5
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CLUSTER_THRESHOLD=0.5
LOCATION=REAR
CHANNEL=0
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=TL_INNER_L
COLOR=40,8,0, 4
LAG=0.8 
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CHANNEL=0
[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=TL_INNER_R
COLOR=40,8,0, 4
LAG=0.8 
SIMULATE_HEATING=1 
LOCATION=NONE
FADE_AT=550
CHANNEL=0
[EMISSIVE_REVERSE_...]
NAME=TL_INNER_REVERSE
COLOR=50, 50, 50  ,1      ; glowing color if condition is met
OFF_COLOR=0,0,0          ; glowing color if condition is met
LAG=0.1                   ; with zero, turns on and off immediately
SIMULATE_HEATING=0.3      ; adds heating effect, going through orange tint while turning on and off
LOCATION=REAR          ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS=0
CHANNEL=0
[EMISSIVE_HEADLIGHTS_...]
NAME=TL_BULB_NUMB
COLOR=1,1,1,4
LAG=0.66
SIMULATE_HEATING=1
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_LICENSEPLATE]
MESHES=Plate_D
OFFSET=0.03, 0.04, -0.02
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.3
SPOT=150
SPOT_SHARPNESS=0
COLOR=1,0.8,0.5, 8
FALLBACK_EMISSIVE=1,0.8,0.5, 1.5
; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM
LAYOUT=TWO_ON_TOP
//Mats

[INCLUDE: common/materials_glass.ini]
ExteriorGlassFilmedMaterials= EXT_Glass
ExteriorGlassTintedMaterials= 
ExteriorGlassHeadlightsMaterials = HD_Glass

[Material_PhotoelasticGlass]
Materials=HD_Glass
PhotoelasticityMult = 0.4
ThicknessMult=0.5
Desaturate=1
FilmIOR=3
Refraction = 0
ExtraLightsAdjustment=0.7
;window
[SHADER_REPLACEMENT_...]
MATERIALS =EXT_Glass

PROP_... = ksAmbient, 0.0
PROP_... = ksDiffuse, 0.0

PROP_... = fresnelEXP, 9
PROP_... = fresnelC, 0.09
PROP_... = fresnelMaxLevel, 42

PROP_... = isAdditive, 1

PROP_... = ksSpecular, 0
PROP_... = ksSpecularEXP, 500

[INCLUDE: common/materials_interior.ini]

[Material_Carpet_v2]
Materials=INT_Carpet
DetailScale = 75
DetailNormalPBRSecondaryColor = 0.3, 0.3, 0.2, 1
Reflectance = 0.00
BrightnessAdjustment = 0.01
[Material_Leather_v2]
Materials=INT_Leather
DetailScale = 55
Reflectance = 0.005
DetailNormalIntensity = 3

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

[Material_CarPaint_Metal]
Materials=EXT_Rim, EXT_Rim Blur
FresnelMax = 0.1
FresnelC = 0.9
FlakesK = 1
ClearCoatThickness = 0.1
ColoredSpecular = 1.9
AmbientSpecular = 1.0
AmbientSpecularEXP = 2.0
BrightnessAdjustment = 0.2
UseMetallicReflections = 0.8


;SELFLIGHTING

[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]
BOUND_TO = HD_BULB_R
DIRECTION = -0,0,1
POSITION=-0.645, 0.207, 1.74
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 1
SPOT=90
RANGE=0.2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0

[SelfLight_Headlights]
BOUND_TO = HD_BULB_L
DIRECTION = -0,0,1
POSITION=0.645, 0.207, 1.74
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 1
SPOT=90
RANGE=0.2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0

[SelfLight_Headlights]
BOUND_TO = HD_BULB_G
DIRECTION = -0,0,1
POSITION=0, 0.199, 1.91
MIRROR=0.536
COLOR = 22,21,20,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 1
SPOT=90
RANGE=0.25
LAG=0.25
SPECULAR_MULT=2
SPOT_SHARPNESS=0

[SelfLight_Headlights]
BOUND_TO = TL_BULB_TB
DIRECTION = 0,0,-1
POSITION=0, 1.04, -0.85
COLOR = 40,1,0,9
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 1
SPOT=150
RANGE=0.2
LAG=0.1
SPECULAR_MULT=2
SPOT_SHARPNESS=0

[SelfLight_Headlights]
BOUND_TO = HD_BULB_G
DIRECTION = 0,0,1
POSITION=0, 0.207, 2.3
MIRROR=0.533
COLOR = 22,21,20,3
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=170
RANGE=15
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = HD_BULB_F1
DIRECTION = 0,0,1
POSITION=0, 0.446, 2.35
MIRROR=0.45
COLOR = 22,21,20,1
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
AFFECTS_TRACK=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
SIMULATE_HEATING= 0.2
SPOT=125
RANGE=18
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = HD_BULB_L
DIRECTION = 0.5,0,1
POSITION=0.647, 0.21, 2.1
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=140
RANGE=2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = HD_BULB_R
DIRECTION = -0.5,0,1
POSITION=-0.647, 0.21, 2.1
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=140
RANGE=2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = SL_BULB_L
DIRECTION = 1,-0.45,0
POSITION=1.05, 0.218, 0.755
COLOR = 40,10,0,1
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=140
RANGE=1.6
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = SL_BULB_R
DIRECTION = -1,-0.45,0
POSITION=-1.05, 0.218, 0.755
COLOR = 40,10,0,1
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=140
RANGE=1.6
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = TL_INNER_L
DIRECTION = 0.4,0,-1
POSITION=0.624, 0.565, -1.9
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=120
RANGE=2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
[SelfLight_Headlights]
BOUND_TO = TL_INNER_R
DIRECTION = -0.4,0,-1
POSITION=-0.624, 0.565, -1.9
COLOR = 40,10,0,2
AMBIENT_INFLUENCE = 1
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
SPOT=120
RANGE=2
LAG=0.3
SPECULAR_MULT=2
SPOT_SHARPNESS=0
