[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/navigators.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: navigators_maps.ini]
[INCLUDE: navigators_layouts.ini]
[INCLUDE: navigators_themes.ini]

;       ///MAIN///

[DATA] 
DISABLE_LIGHTSINI = 0

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.45

[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

[STATUS_OIL]
PRESSURE_BASE = 1.0         ; base oil pressure for idling engine
PRESSURE_STEP = 0.4         ; oil pressureincrease for each 1000 RPM
PRESSURE_LAG_UP = 0.999     ; oil pressure increase lag
PRESSURE_LAG_DOWN = 0.999  ; oil pressure decrease lag

TEMPERATURE_MULT = 0.9    ; relation of oil temperature to water temperature
TEMPERATURE_RPM_FACTOR = 7.5  ; extra increase of oil temperature for each 1000 RPM
TEMPERATURE_LAG_UP = 0.997                                                   ; oil temperature increase lag
TEMPERATURE_LAG_DOWN = 0.997   ; oil temperature decrease lag

[ANALOG_INDICATOR_...]
INPUT=RPM
NAME=ARROW_RPM
ZERO=5
STEP=0.0259

[ANALOG_INDICATOR_...]
INPUT=SPEED
NAME=ARROW_SPEED
ZERO=0
STEP=0.1
LUT = (|0=0|20=15|80=60|300=234.1|)

[ANALOG_INDICATOR_...]
INPUT=FUEL
NAME=ARROW_FUEL
ZERO=0
STEP=1
LUT = (|0=0|16=-15|32=-42|48=-69|64=-85)

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMP
NAME=ARROW_TEMP
ZERO=0
STEP=0.1
LUT = (|0=0|120=-86|)

[ODOMETER_MAIN]
DIGITAL_ITEM=0
DIGITAL_ITEM_NUMBER_FORMAT=6.0
UPPER_BOUND=999999

[Material_Glass]
Materials = EXTGLASS
ThicknessMult = 2.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=2.0

ExteriorGlassFilmedMaterials=
ExteriorGlassTintedMaterials=
ExteriorGlassHeadlightsMaterials =
[Material_PhotoelasticGlass]
Meshes=Glassfr, Glassfr002

; Mirrors / AN WORKSHOP / vk.com/beattyy

[REAL_MIRROR_0]
FOV=21.5
ROTATION=0.15, 0.01

[REAL_MIRROR_1]
FOV=10
ROTATION=-0.0375, 0.015
IS_MONITOR=0

[REAL_MIRROR_2]
FOV=21.5
ROTATION=-0.15, 0.01

; /// INTERIOR // AN WORKSHOP \\ https://boosty.to/anworkshop

[EMISSIVE_OIL_TEMP_...] ; Arrow Blue
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|20=0|29.99=0|30=1|60=1|200=1|)
NAME=kolodci008, kolodci010
COLOR=1,1,5,8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Arrow White
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|20=0|30.49=0|30.5=1|61=1|200=1|)
NAME=kolodci005, kolodci002
COLOR=2,2,2,3
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Kolodci
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|20=0|30.99=0|31=1|62=1|200=1|)
NAME=kolodci
COLOR=2,2,2,4
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; F Logo
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|20=0|30.99=0|31=1|62=1|200=1|)
NAME=Logo, trip
COLOR=3,3,3
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Trip and Center background
INPUT=OIL_TEMP
INPUT_LUT=(|0=1|20=1|30.99=1|31=0|62=0|200=0|)
NAME=trip001, chassis029
COLOR=1,1,1,0.05
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

; PAPPIANDRA CENTER DASH WARNING LIGHT /// AN WORKSHOP // https://boosty.to/anworkshop

[EMISSIVE_OIL_TEMP_...] ; CENTER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|20=0|30.99=0|31=1|62=1|200=1|)
NAME=PAPPIANDRACENTERDASH
COLOR=3,3,3,1.7
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=1|200=1|)
NAME=ANWP_water_0, akkum
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|33.99=0|34=1|200=1|)
NAME=ANWP_water_1
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|34=0|50.99=0|51=1|200=1|)
NAME=ANWP_water_2
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|34=0|51=0|67.99=0|68=1|200=1|)
NAME=ANWP_water_3
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|34=0|51=0|68=0|84.99=0|85=1|200=1|)
NAME=ANWP_water_4
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|34=0|51=0|68=0|85=0|101.99=0|102=1|200=1|)
NAME=ANWP_water_5
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; WATER
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|17=0|34=0|51=0|68=0|85=0|102=0|118.99=0|119=1|200=1|)
NAME=ANWP_water_6
COLOR=3,3,3,1.8
OFF_COLOR=0,0,0,0
LAG=0.35
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

; START DASH LIGHT /// AN WORKSHOP // https://boosty.to/anworkshop

[EMISSIVE_OIL_TEMP_...] ; Red
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=1|20=1|34.99=1|35=0|70=0|200=0|)
NAME=w_red001, w_handbrake001, w_brakenaruchnike001
COLOR=11,0,0
OFF_COLOR=0,0,0,0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Orange
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=1|20=1|34.99=1|35=0|70=0|200=0|)
NAME=w_check001, w_fuel001, w_abspriezde001, w_tc001
COLOR=5,2,0,4
OFF_COLOR=0,0,0,0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Yellow
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=1|20=1|34.99=1|35=0|70=0|200=0|)
NAME=w_tyre001
COLOR=5,3,0,4
OFF_COLOR=0,0,0,0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

; DASH LIGHT /// AN WORKSHOP // https://boosty.to/anworkshop

[ANIMATION_...]
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=0|20=0|28.29=0|28.3=1|60=1|200=1|)
FILE =ANWORKSHOPDASHLIGHTANIMATE.ksanim
TIME = 0.15           ; animation time
INPUT_AS_PROGRESS = 0    ; set to 1 to switch to that second input-as-progress mode
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=0
LOOP_WHILE_ACTIVE=0              ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 0

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=5,2,0,4
NAME=w_tc
TOGGLE_VISIBILITY = 1
LAG=0.2

[EMISSIVE_...]
NAME=w_tyre
TOGGLE_VISIBILITY = 1
COLOR=5,3,0,4
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 35
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_OIL_TEMP_...]
INPUT=OIL_TEMP
INPUT_THRESHOLD=125
NAME=w_check
COLOR=5,2,0,4
OFF_COLOR=0,0,0,0
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
INVERSE=1

[EMISSIVE_LIGHT_...]
NAME=w_red002 
COLOR=0,3,1.5,8
OFF_COLOR=0,3,1.15,3.5
LOCATION=REAR
LAG=0.15

[EMISSIVE_ABS_INACTION_0]
NAME=w_abspriezde
TOGGLE_VISIBILITY = 1
COLOR=5,2,0,7
LAG=0.2

[EMISSIVE_...]
INPUT=GEAR_N
NAME=w_brakenaruchnike
TOGGLE_VISIBILITY = 1
COLOR=5,0,0,7
LAG=0.1

[EMISSIVE_HANDBRAKE_0]
NAME=w_handbrake
TOGGLE_VISIBILITY = 1
COLOR=5,0,0,7
LAG=0.1

[EMISSIVE_...]
NAME=w_fuel
TOGGLE_VISIBILITY = 1
COLOR=5,2,0,7
INPUT=FUEL
INPUT_THRESHOLD = 10
INPUT_THRESHOLD_INVERSE = 1
LAG=0.4

[EMISSIVE_TURNSIGNAL_LEFT_0] ; Dash
NAME=w_left
COLOR=1,15,1.1,2.6
LAG=0.8
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_0] ; Dash
NAME=w_right
COLOR=1,15,1.1,2.6
LAG=0.8
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_LIGHT_...]
NAME=w_lb
COLOR=1,10,1,3
LAG=0.8
SIMULATE_HEATING=0.0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...]
NAME=w_hb
COLOR=1,1.7,7,8
LAG=0.22
SIMULATE_HEATING=0.8
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Warnings
NAME=buttons, door_dside_f009, door_dside_r007, door_pside_f008, door_pside_r007
COLOR=1,1,1,2.8
OFF_COLOR=1,1,1,0
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_LIGHT_...] ; Warnings
NAME=aiojfajofia
COLOR=1,1,1,1.444
OFF_COLOR=1,1,1,0.00
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_HAZARD_...]
NAME=HAZARD
COLOR=35,10,4,0.5
FALLBACK_HEADLIGHTS_COLOR=1,1,1,7
LAG=0.7

[Material_Metal_v2]
;CHROME_REFLECTIVE
Materials = intchrome
BrightnessAdjustment = 0.1
DetailScale = 3
Metalness = 0.999
Reflectance = -7
LocalReflectionsSharpness = 0.99
DetailTexture = 1
OcclusionMap = 0.9

[Material_Metal_v2]
Materials = steerchrome
BrightnessAdjustment = 0.3
DetailScale = 75
Metalness = 0.85
Reflectance = -10
LocalReflectionsSharpness = 0.9
DetailTexture = 1
OcclusionMap = 0.99

[Material_Carbon]
Materials= ANWORKSHOP_I_C_CENTER, ANWORKSHOP_INT_CARBON
DetailScale=50
ClearCoatF0=0.025
Brightness=0.9
DetailTexture = 1
DetailNormalBlend= 30

; SECOND DISPLAY /// AN WORKSHOP // https://boosty.to/anworkshop

[EMISSIVE_OIL_TEMP_...] ; Welcome
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=1|20=1|34.99=1|35=0|70=0|200=0|)
NAME=secondscreen003
COLOR=1,1,1,4
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Navigator
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=0|20=0|34.99=0|35=1|70=1|200=1|)
NAME=secondscreen
COLOR=1,1,1,3.4
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_OIL_TEMP_...] ; Navigator Shadow
INPUT=OIL_TEMP
INPUT_LUT=(|0=0|7.49=0|7.5=0|20=0|34.99=0|35=1|70=1|200=1|)
NAME=secondscreen001
COLOR=1,1,1,3.4
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=0
TOGGLE_VISIBILITY_INVERSE=0

[Navigator_StyleSygic]
LOADING_STYLE = 2
Meshes = secondscreen
Brightness = 1 ; adjust brightness later so it wouldn’t shine too much
@ = Navigator_Size, Resolution = "2048, 2048", Offset = "-100, 450", Size = "2200, 1150" , Scale = 0.4

@ = Navigator_Component, ComponentID = SECTOR_INFO

[Material_Plastic_v2]
;EXT MATT PLASTIC
Materials = PLASTICINTERIOR
BrightnessAdjustment = 0.65
DetailScale = 0
Metalness = 0.99
Reflectance = 0.15
OcclusionMap = 0.8

[ANIMATION_…]
INPUT=GEAR_R
FILE = ANWORKSHOP_REARCAM.ksanim
TIME = 0                  ; animation time
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation

[EMISSIVE_...]
INPUT=GEAR_R
NAME=secondscreen004
COLOR=1,1,1,3.11
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[EMISSIVE_...]
INPUT=GEAR_R
NAME=secondscreen006
COLOR=1,1,1,4
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0

[SCRIPTABLE_DISPLAY_...]
MESHES = secondscreen004
RESOLUTION = 1024, 1024
DISPLAY_POS = 0, 0
DISPLAY_SIZE =1024, 1024
FORCE_UPDATE_AFTER = RENDERING_CAMERA_0  ; this display is going to be updated each time navigator is drawn
KEEP_BACKGROUND = 1               ; and without clearing step, so we would draw on top of navigator
SCRIPT = '
function update()
  if car.gear ~= -1 then  
    -- If gear is not reverse, activate navigator:
    ac.setRenderingCameraActive("RENDERING_CAMERA_0", false)  -- pause rendering camera
    return  -- and we’re done here, so let’s stop
  end

  -- Gear is reverse!
  ac.setRenderingCameraActive("RENDERING_CAMERA_0", true)  -- activate rendering camera
  display.image{pos = vec2(208, 380), size = vec2(617, 360), image = "dynamic::camera_rear_distorted"}  -- and draw fisheye camera

 -- And we’re done! But for a bit of extra authenticity let’s add lines with trajectory:
  local startL = vec2(285, 615)  -- one thing to note: I haven’t really properly calibrated those lines yet
  local startR = vec2(750, 615)
  local direction = vec2(17.5, -17.5):normalize()
  local lineLen = 150
  local steps = 11
  local steerOffset = -car.steer * 0.20
  local currentPosL = startL
  local currentPosR = startR
  local color = rgbm(1, 0, 0, 0.95)
  for i = 2, steps do
    local newPosL = startL + direction * (i * (lineLen / steps)) + vec2(steerOffset * (i / steps) ^ 2, 0)
    local newPosR = startR + vec2(-direction.x, direction.y) * (i * (lineLen / steps)) + vec2(steerOffset * (i / steps) ^ 2, 0)
    local drawAcrossColor = color
    if i == 2 then
      color = rgbm(2, 0.25, 0, 0.95)
    elseif i == 0 then
      color = rgbm(0, 1, 0, 0.95)
    else
      drawAcrossColor = i == 0 and color or nil
    end
    ui.drawLine(currentPosL, newPosL, color, 4)
    ui.drawLine(currentPosR, newPosR, color, 4)
    if drawAcrossColor ~= nil then
      ui.drawLine(currentPosL, currentPosR, drawAcrossColor, 4)
    end
    currentPosL = newPosL
    currentPosR = newPosR
    direction:add(vec2(0.005, -0.0065)):normalize()
  end

  -- And a warning:
  display.rect{pos = vec2(122, 17), size = vec2(255, 32), color = rgbm(0, 0, 0, 0 )}
  display.text{pos = vec2(136, 20), letter = vec2(12.2, 25), text = "", font = "default", width = 6, alignment = 0.5 }
end'

[RENDERING_CAMERA_0]
DYNAMIC_TEXTURE_ID = camera_rear ; here, we will create “dynamic::camera_rear” texture
POSITION = 0.0, 0.6, -2.3
DIRECTION = 0, -.55, -1.5
INCLUDE_CAR = 1
REFRESH_RATE = 30  ; doesn’t need to update too often, those in-car cameras are usually pretty nasty
INTERIOR_ONLY = 1  ; stop rendering if camera is not interior one
CLIP_NEAR = 0.03  ; the way it’s positioned, it needs to render things that are very close (bits of car)
FOV = 115         ; huge FOV to get that authentic look
RESOLUTION = 3000, 1300 ; and massive resolution too
ACTIVE_BY_DEFAULT = 0 ; inactive by default, activated by a script
WITH_LIGHTING = 1

[TEXTURE_PREPROCESSING_...]
DYNAMIC_TEXTURE_ID = camera_rear_distorted ; new “dynamic::camera_rear_distorted” texture
TEXTURE_SOURCE = dynamic::camera_rear ; use previously specificed camera texture
RESOLUTION = 1990,850 ; target resolution matches screen one, RESOLUTION for camera is just that multiplied by four
EFFECT = FISHEYE  ; use BASIC if you only need color correction (SATURATION, BRIGHTNESS, etc.)
INTENSITY = 1.15  ; intensity of fisheye effect, adjusted for 170° FOV
EXPOSURE = 0.7      ; this value activates tonemapping to get image from HDR to LDR space
BRIGHTNESS = 0.9  ; a bit dimmer

; EXTERIOR /// AN WORKSHOP

[EMISSIVE_EXTRA_A_...] ; /// LED // AN WORKSHOP
BIND_TO_EXTRA_A=1
NAME=daylight003, daylight005
COLOR=30,30,50, 13
FALLBACK_HEADLIGHTS_COLOR=30,30,50, 13
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[REFRACTING_HEADLIGHT_0]
SURFACE = daylight
INSIDE = daylight003
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.050000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.020000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = -0.000000
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.751165,-0.417717,-0.511130
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2.500000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 1.000000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.070000
GLASS_EXTRA_THICKNESS = 0.008500
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 = 0
MIRROR_DIR = 0.685710,0.724024,-0.074831
MIRROR_POS = -187.324127,-0.012698,-110.906448
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 1.000000
ORIGIN = 0.811646,0.714791,2.053192
RADIUS = 0.205000
REFLECTIVENESS_DIFFUSE_MULT = 1.500000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.550000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[SHADER_REPLACEMENT_...]
MESHES = brakelight_m
PROP_... = emChannelsMode, 1 

[EMISSIVE_BRAKE_...]
NAME=brakelight_m
COLOR=10,0.0,0,144
LAG=0.5
SIMULATE_HEATING=0
LOCATION=REAR
CHANNEL=0

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=sfasfasfasf01, sfasfasfasf00
COLOR=30,10,0,77
LAG=0.5

[REFRACTING_HEADLIGHT_1]
SURFACE = indicator_lf
INSIDE = sfasfasfasf01, sfasfasfasf00
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.075000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 0.070000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 0.000000
BULB_REFLECTION_K = 0.350000
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.158945,0.074389,-0.984425
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.900000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.150000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.080000
GLASS_EXTRA_THICKNESS = 0.040000
INNER_SPECULAR = 0.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.370000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.532678,0.337993,0.775903
MIRROR_POS = -187.323273,-0.012699,-110.908852
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 1.000000
ORIGIN = 0.559975,0.541290,1.855255
RADIUS = 2.100001
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 7.000000
REFLECTIVE_GAMMA = 0.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.350000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_LIGHT_...]
NAME=LinzaL, LinzaL001
COLOR=1,1,1,44
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...]
NAME=extralight_2, extralight_003
COLOR=1.5,1.5,1.5,222
LAG=0.3
SIMULATE_HEATING=0.8
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_EXTRA_B_...]
BIND_TO_EXTRA_B=1
NAME=FogChrmNm
COLOR=255,225,100,3
LAG=0.75
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_EXTRA_B_...]
BIND_TO_EXTRA_B=1
NAME=FogChrm
COLOR=255,225,100,3
LAG=0.75
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_EXTRA_B_...]
BIND_TO_EXTRA_B=1
NAME=w_fog
COLOR=5,3,0,4
LAG=0.75
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[LIGHT_EXTRA_...] 
BIND_TO_EXTRA_B=1 
BIND_TO_HEADLIGHTS=0
COLOR=100,80,0,0.08
LAG=0.75
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=200
FADE_SMOOTH=5
MIRROR=0.75
POSITION=0.0,0.3,2.15
DIRECTION=0.1,-0.628353,1  ;0,-0.6,1
RANGE=7
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=0.15
SPOT=115
SPOT_SHARPNESS=0

[EMISSIVE_LIGHT_...] ; /// VRAY // AN WORKSHOP
NAME=LBVRAY, LBVRAY001
COLOR=15,16,21.1, 31.75
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; /// VRAY // AN WORKSHOP
NAME=HBVRAY, HBVRAY001
COLOR=15,15,15,25
LAG=0.3
SIMULATE_HEATING=0.8
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=1, 1, 1.1, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0.0, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=350
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.715
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.538526
OFF_MULT=0
OFF_POSITION=0, 0.55, 1.575
OFF_RANGE_MULT=0.0
POPUP_ENABLED=1
POPUP_START=0.05
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POSITION=0, 0.55, 1.6
RANGE=310
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

[REFRACTING_HEADLIGHT_2]
SURFACE = daylight004
INSIDE = daylight005
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.050000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.020000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 4.000000
BULB_REFLECTION_K = -0.000000
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.751165,-0.417717,-0.511130
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 2.500000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 1.000000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.070000
GLASS_EXTRA_THICKNESS = 0.008500
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 = 0
MIRROR_DIR = 0.685710,0.724024,-0.074831
MIRROR_POS = -187.324127,-0.012698,-110.906448
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 1.000000
ORIGIN = -0.811646,0.714791,2.053192
RADIUS = 0.205000
REFLECTIVENESS_DIFFUSE_MULT = 1.500000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 0.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.550000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=sfasfasfasf004, sfasfasfasf003
COLOR=30,10,0,77
LAG=0.5

[REFRACTING_HEADLIGHT_3]
SURFACE = indicator_lf001
INSIDE = sfasfasfasf004, sfasfasfasf003
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.075000
AMBIENT_MULT = 1.000000
BASE_EMISSIVE_K = 0.070000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 0.000000
BULB_REFLECTION_K = 0.350000
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.158945,0.074389,-0.984425
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.900000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.150000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.080000
GLASS_EXTRA_THICKNESS = 0.040000
INNER_SPECULAR = 0.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 2.500000
IOR_FLYOUT_FLAT = 0.370000
LOD_BIAS = -2.000000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.532678,0.337993,0.775903
MIRROR_POS = -187.323273,-0.012699,-110.908852
NM_SHARE_EXT = 1.000000
NM_SHARE_INT = 1.000000
ORIGIN = -0.559975,0.541290,1.855255
RADIUS = 2.100001
REFLECTIVENESS_DIFFUSE_MULT = 100.000000
REFLECTIVENESS_MULT = 7.000000
REFLECTIVE_GAMMA = 0.700000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.350000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

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

[EMISSIVE_...]
NAME=RearEm, RearEm001
INPUT=LIGHT
COLOR=100,175,0,1.5

[REFRACTING_HEADLIGHT_4]
SURFACE = BrakeEmiGlass
INSIDE = RearEm
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.25
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = 0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = 0.56135076,0.89567953,-2.2883945
RADIUS = 0.040429004
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_BRAKE_...]
NAME=BrakeEmi, BrakeEmi002
COLOR=100,300,0,8
FALLBACK_HEADLIGHTS_COLOR=100,300,0,1.5
LAG=0.5
SIMULATE_HEATING=0
LOCATION=REAR
CHANNEL=0

[REFRACTING_HEADLIGHT_5]
SURFACE = BrakeGlass
INSIDE = BrakeEmi
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.5430319,-0.1421465,0.8276148
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.25
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = 0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = 0.6746597,0.9125861,-2.207718
RADIUS = 0.080800004
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=RearTurn
COLOR=30,10,0,41
LAG=0.5

[REFRACTING_HEADLIGHT_6]
SURFACE = TurnGlass
INSIDE = RearTurn
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.87977415,-0.059607472,0.47164008
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.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = 0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 1
NM_SHARE_INT = 0.29
ORIGIN = 0.70674896,0.83442026,-2.2419434
RADIUS = 0.065200016
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_REVERSE_0]
NAME = ReverseEM, ReverseEM001
COLOR = 20, 20, 32, 4          ; glowing color if condition is met
LAG = 0.2                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; 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 = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

[REFRACTING_HEADLIGHT_7]
SURFACE = ReverseGlass
INSIDE = ReverseEM
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.7313105,-0.00070066674,0.6820415
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.57
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 1
GLASS_EXTRA_THICKNESS = 0.030000012
INNER_SPECULAR = 0
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = 0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = 0.542511,0.82786834,-2.2905273
RADIUS = 0.030000012
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 0
REFLECTIVE_GAMMA = 0.3
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_8]
SURFACE = BrakeEmiGlass001
INSIDE = RearEm001
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.25
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = -0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = -0.56135076,0.89567953,-2.2883945
RADIUS = 0.040429004
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_9]
SURFACE = BrakeGlass001
INSIDE = BrakeEmi002
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.5430319,-0.1421465,0.8276148
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.25
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 0.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = -0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = -0.6746597,0.9125861,-2.207718
RADIUS = 0.080800004
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=RearTurn001
COLOR=30,10,0,41
LAG=0.5

[REFRACTING_HEADLIGHT_10]
SURFACE = TurnGlass001
INSIDE = RearTurn001
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.87977415,-0.059607472,0.47164008
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.35
GLASS_EXTRA_THICKNESS = 0.0049000084
INNER_SPECULAR = 3.5
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = -0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 1
NM_SHARE_INT = 0.29
ORIGIN = -0.70674896,0.83442026,-2.2419434
RADIUS = 0.065200016
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_11]
SURFACE = ReverseGlass001
INSIDE = ReverseEM001
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.09999999
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.5
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 0
BULB_REFLECTION_K = 1
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.7313105,-0.00070066674,0.6820415
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.57
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25,0.25,0.25
GLASS_EMISSIVE_MULT = 1
GLASS_EXTRA_THICKNESS = 0.030000012
INNER_SPECULAR = 0
INNER_SPECULAR_EXP = 500
IOR = 2.15
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 = -0.5240223,0.89489007,-2.2783744
NM_SHARE_EXT = 0.35
NM_SHARE_INT = 0.15
ORIGIN = -0.542511,0.82786834,-2.2905273
RADIUS = 0.030000012
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 0
REFLECTIVE_GAMMA = 0.3
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0

[LIGHT_LICENSEPLATE]
MESHES=plateR
OFFSET=0.00, 0.05, 0.00
RANGE=0.2
RANGE_GRADIENT_OFFSET=0.5
SPOT=175
SPOT_SHARPNESS=0.1
COLOR=5,5,5,3

[EMISSIVE_LIGHT_...]
NAME=Plane001
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1,2
LAG=0.7

[ANIMATION_…]
INPUT=EXTRA_D
FILE = ANWPHIDEFRONTPLATE.ksanim
TIME = 0                  ; animation time
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation

[ANIMATION_…]
INPUT=EXTRA_E
FILE = ANWPHIDEREARPLATE.ksanim
TIME = 0                  ; animation time
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation

; BRAKEDISC FX / AN Workshop

[LIGHT_BRAKEDISCS]
COLOR=0.5, 0.1, 0, 2

[BRAKEDISC_FX]
ACTIVE = 0             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
DEBUG = 0
CERAMIC = 1            ; use ceramic look
CARVED = 1             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 25  ; increase to make more lines
GLOW_OFFSET = 2.0      ; 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


-----EXTRAFX-----

[EXTRA_FX]
AUTOFIX = 1   ; 1 is a default value

[BASIC]
DIESEL_ENGINE = 0 		; or 1


[PARTICLES_FX_EXHAUST_...]
POSITION=0.503, 0.327, -2.3
DIRECTION=0.00,0.00,-1.00
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.75, 1.5 				; how long particles last in the air before disappearing
SPEED = 0.35, 0.7 				; how fast smoke particles fly from the exhaust
SPREAD = 0.0				; initial spread of particles
STARTING_SIZE = 0.015			; initial size of particles
SPAWN_OFFSET = 0.015			; initial spawn point offset (length-wise)
INTENSITY = 0.15, 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_...]
POSITION=0.573, 0.254, -2.3
DIRECTION=0.00,0.00,-1.00
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.75, 1.5 				; how long particles last in the air before disappearing
SPEED = 0.35, 0.7 				; how fast smoke particles fly from the exhaust
SPREAD = 0.0				; initial spread of particles
STARTING_SIZE = 0.015			; initial size of particles
SPAWN_OFFSET = 0.015			; initial spawn point offset (length-wise)
INTENSITY = 0.15, 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_...]
POSITION=-0.503, 0.327, -2.3
DIRECTION=0.00,0.00,-1.00
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.75, 1.5 				; how long particles last in the air before disappearing
SPEED = 0.35, 0.7 				; how fast smoke particles fly from the exhaust
SPREAD = 0.0				; initial spread of particles
STARTING_SIZE = 0.015			; initial size of particles
SPAWN_OFFSET = 0.015			; initial spawn point offset (length-wise)
INTENSITY = 0.15, 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_...]
POSITION=-0.573, 0.254, -2.3
DIRECTION=0.00,0.00,-1.00
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.35, 0.7 				; how fast smoke particles fly from the exhaust
SPREAD = 0.0				; initial spread of particles
STARTING_SIZE = 0.015			; initial size of particles
SPAWN_OFFSET = 0.015			; initial spawn point offset (length-wise)
INTENSITY = 0.15, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

; /// SOUNDS VOLUME \\ AN WORKSHOP \\\\\ https://boosty.to/anworkshop

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

[AUDIO_VOLUME]
BACKFIRE_EXT=3
BACKFIRE_INT=3
BODYWORK=1
DIRT=0.35
DOWN_SHIFT=1
ENGINE_EXT=0.95
ENGINE_INT=0.5
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=0.7
LIMITER=1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=1
SKID_EXT = 0.3
SKID_INT = 0.3
TURBO=0
WIND=0.15