[INCLUDE: extralights.ini]
[INCLUDE: refractions.ini]

[DATA] 
DISABLE_LIGHTSINI=1

[INPUT]
USE_HIGHBEAM_BY_DEFAULT=0
USE_AUTOMATIC_TURNING_LIGHTS=1

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=10
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
OPEN_WHEELER=0
RALLY_CAR=0
DIESEL_ENGINE=0

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=1, 0.85, 0.7, 6
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0.0, 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
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.99
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

[INSTRUMENTS]
HAZARDS_G_THRESHOLD = -1

[ODOMETER_MAIN]
NAME=GEO_INT_Gauges_Digital
FONT=digital_toyota_2
BLEND_MODE=1
POSITION=260, 200
ROTATION=0
SCALE=6.5,6.5
SIZE=30, 12
DIGIT_WIDTH=4
COLOR=0, 0, 0
MOVEMENT_INTERVAL=999

;--------------  CARPAINT ---------------

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = EXT_CarPaint
CarPaintVersionAware = 2
DisableDev = 1

[Material_CarPaint_Metallic]
CarPaintMaterial = EXT_CarPaint
FresnelMax = 1
FresnelC = 0.1
FlakesK = 0.6
BrightnessAdjustment = 0.9
SpecularBase = 1, 50
SpecularSun = 8, 500
SunMultiplier = 3
ClearCoatThickness = 0.1
ClearCoatTint = 0.1, 0.1, 0.1
ApplyTilingFix=1

[SHAKING_EXHAUST_...]
MESHES = GEO_EXT_Exhaust
POINT_0 = 1, 2, 3
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.35, 0.35, 0.3

;--------------  PBR  ---------------

[INCLUDE: common/materials_license_plate.ini]

[Material_LicensePlate_Japan]
LettersDarkening = 0

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

[Material_Metal_v2]
Materials= EXT_Chrome, EXT_HeadLights_Detail, EXT_HeadLights_Detail_2
Metalness = 0.8
BrightnessAdjustment = 0.3
LocalReflectionsSharpness = 1
Smoothness = 20.8
Reflectance = 0.4
DetailTexture = 55
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 5, 5, 5, 0.06
DetailScale = 55d
DetailNormalBlend = 0.5
DetailNormalPBRSmoothnessGamma = 0

[Material_Metal_v2]
Materials= INT_Steering
Metalness = 0.9
BrightnessAdjustment = 10.8
LocalReflectionsSharpness = 1
Smoothness = 10.8
Reflectance = 0.9
DetailTexture = 55
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 5, 5, 5, 0.06
DetailScale = 1
DetailNormalBlend = 0.5
DetailNormalPBRSmoothnessGamma = 0

[Material_Metal_v2]
Materials = EXT_Rims_Chrome
BrightnessAdjustment = 0.2
DetailScale = 5
Metalness = 0.9
Reflectance = 0.1
LocalReflectionsSharpness = 0.9
ApplyTilingFix=1


[Material_Leather_v2]
Materials=INT_Leather
DetailScale=150
BrightnessAdjustment=0.155
DetailNormalBlend=1
ApplyTilingFix=1

[Material_Carpet_v2]
Materials=INT_Carpet
DetailScale=120
BrightnessAdjustment=0.55
ApplyTilingFix=1

[Material_Fabric_v2]
Materials=INT_Seat_Fabric
DetailScale=120
BrightnessAdjustment=0.55
ApplyTilingFix=1

[Material_Fabric_v2]
Materials=INT_Fabric
DetailScale=120
BrightnessAdjustment=0.55
ApplyTilingFix=1

[Material_Plastic]
Materials=INT_Plastic_Light
BrightnessAdjustment=0.55

[Material_Plastic]
Materials=INT_Plastic_Dark
BrightnessAdjustment=0.35
Smoothness=0.9

[Material_InteriorPBRDetail]
Materials=INT_Fabric_Dot
Brightness=1.2
DetailNormalBlend=2
Smoothness=0.02
DetailScale=350
Reflectance=0.0

[Material_InteriorPBRDetail]
Materials=INT_Seat_Fabric_Dot
Brightness=1.2
DetailNormalBlend=2
Smoothness=0.02
DetailScale=150
Reflectance=0.0

[Material_Metal_v2]
Materials=INT_Metal
Metalness = 0.2
BrightnessAdjustment = 10
DetailTexture = 1 
ApplyTilingFix=1

[Material_Aluminium_v2]
Materials=EXT_Intercooler
DetailTexture=/Intercooler_color.dds
CubemapReflectionBlur=0.7
BrightnessAdjustment=0.22
Reflectance=0.1
Metalness=0.4

[INCLUDE: common/materials_glass.ini]
ExteriorGlassMaterials = EXT_Windows

;---------------------------------------------------------
;EXTRAS
[LIGHT_LICENSEPLATE]
MESHES=GEO_EXT_Bumper_Rear_Plate
OFFSET = 0, 0.0, -0.1
RANGE = 0.2
LAYOUT = TWO_ON_TOP

[EMISSIVE_HIGHBEAM_...]
NAME=GEO_EXT_HeadLight_HighBeam, GEO_EXT_HeadLight_HighBeam_2
COLOR=8,8,7,0.8
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=GEO_EXT_HeadLight_LowBeam_Glass
COLOR=8,8,7,15
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_REVERSE_...]
NAME=GEO_EXT_ReverseLight_Glass
COLOR=1,0.8,0.7,25
LAG=0.7
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=0

[EMISSIVE_EXTRA_A_...]
NAME=GEO_EXT_Bumper_Front_Glass
COLOR=8,8,7,10
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
CHANNEL=0

[LIGHT_EXTRA_...]
BIND_TO_HEADLIGHTS=1
COLOR=5,5,5,5
DIFFUSE_CONCENTRATION=0.6
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING= 0.2
LAG=0.89
FADE_AT=190
FADE_SMOOTH=93
MIRROR=0.09, 0.0, 0.0
POSITION=-0.36, 0.863, 0.457
DIRECTION=-0.0, 0.01, -1
RANGE=0.35
RANGE_GRADIENT_OFFSET=0.00
SPECULAR_MULT=-0
SPOT=120
SPOT_SHARPNESS=0.8
AMBIENT_INFLUENCE = 0.9

;------------------------------------------------------------------------------------
;INTERIOR

[EMISSIVE_EXTRA_B_...]
NAME=GEO_INT_Gauges_Digital
COLOR=2,1.5,3,
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=2,1.5,3

[EMISSIVE_EXTRA_B_...]
NAME=GEO_INT_Gauges_Defi
COLOR=5,5,5
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=5,5,5

[EMISSIVE_EXTRA_B_...]
NAME=StereoLight2, StereoLight
COLOR=3,3,3
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=3,3,3

[EMISSIVE_EXTRA_B_...]
NAME=GEO_INT_Stereo
COLOR=2,2,1,0.5
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=2,2,1,0.5

[EMISSIVE_EXTRA_B_...]
NAME=GEO_ARROW_RPM_SUB0, GEO_ARROW_FUEL_SUB0, GEO_ARROW_WATER_TEMP_SUB0, GEO_ARROW_SPEED_SUB0, GEO_ARROW_TURBO_SUB0, GEO_ARROW_INMF_PRESS_SUB0, GEO_ARROW_OIL_PRESS_SUB0, GEO_ARROW_FUEL_PRESS_SUB0
COLOR=5,0,0,1
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=5,0,0,1

[EMISSIVE_...]
NAME=LED_Fuel
BIND_TO=FUEL
INPUT_THRESHOLD=10  
INPUT_THRESHOLD_INVERSE=1
COLOR=50,40,1,0.4
LAG=0.3

[EMISSIVE_EXTRA_B_...]
NAME=GEO_INT_Gauges
COLOR=10,3.4,0,6
LAG=0.4
SIMULATE_HEATING=1
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=10,3.4,0,6

[EMISSIVE_EXTRA_B_...]
NAME=GEO_INT_Gauges_Red
COLOR=17,0,0,1
LAG=0.4
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5
FALLBACK_HEADLIGHTS_COLOR=17,0,0,1

[EMISSIVE_HANDBRAKE_...]
NAME=LED_HandBrake
COLOR=50,3,1,2
LAG=0.3
SIMULATE_HEATING=0.0

[EMISSIVE_HIGHBEAM_...]
NAME=LED_HighBeam
COLOR=2,16,20,4
LAG=0.4
SIMULATE_HEATING=0
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=LED_TurnSignal_L
COLOR=0,5,0,5 
LAG=0
CAST_LIGHT=0
BLINK_FREQENCY_HZ=1.4

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=LED_TurnSignal_R
COLOR=0,5,0,5
LAG=0
CAST_LIGHT=0
BLINK_FREQENCY_HZ=1.4

;----------------------------------------
;BRAKE LIGHTS

[EMISSIVE_BRAKE_...]
NAME=GEO_EXT_BrakeLight_Glass
COLOR=250,0,0
FALLBACK_HEADLIGHTS_COLOR=0,0,0
FALLBACK_BRAKES_COLOR=250,0,0
FALLBACK_BRAKES_COLOR_HIGHER=1
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=0


[EMISSIVE_BRAKE_...]
NAME=GEO_EXT_TailLight_Brake_Glass
COLOR=1000,150,0
FALLBACK_HEADLIGHTS_COLOR=500,0,0
FALLBACK_BRAKES_COLOR=1000,150,0
FALLBACK_BRAKES_COLOR_HIGHER=1
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=0,1

;---------------------------------------------------------------------------------
;TURNSIGNALS

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=GEO_EXT_HeadLight_TurnSignal_Glass
COLOR=100,30,10, 10
LOCATION=FRONT
CAST_LIGHT=1
CHANNEL=3

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=GEO_EXT_Glass_TurnSignal
COLOR=100,30,10, 10
LOCATION=LEFT
CAST_LIGHT=1
CHANNEL=3

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=GEO_EXT_TailLight_TurnSignal_Glass
COLOR=100,30,10, 10
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=3

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=GEO_EXT_TailLight_TurnSignal_Glass
COLOR=100,30,10, 10
LOCATION=REAR
CAST_LIGHT=1
CHANNEL=4

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=GEO_EXT_HeadLight_TurnSignal_Glass
COLOR=100,30,10, 10
LOCATION=FRONT
CAST_LIGHT=1
CHANNEL=4

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=GEO_EXT_Glass_TurnSignal
COLOR=100,30,10, 10
LOCATION=RIGHT
CAST_LIGHT=1
CHANNEL=4

;---------------------------------------------------------------------------------
;RADIO

[CAR_STEREO_...]
MESHES = GEO_INT_Pioneer_Screen
DISPLAY_SIZE = 1024, 512
DISPLAY_POS = 0, 0
BACKGROUND = 0, 0, 0
FONT = digital_big
COLOR=1,1,1
FADE_WHEN_INACTIVE = 0.75
DITHERING = 2

TEXT_CSP_0 = "{Artist} - {Track}"
TEXT_CSP_0_NOALBUM = "{Artist} - {Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0.5
TEXT_CSP_0_START = 285, 370
TEXT_CSP_0_SIZE = 450, 45
TEXT_CSP_0_FONT_TYPE = ITALIC
TEXT_CSP_0_Z_INDEX = 0
TEXT_CSP_0_BOLD = 0

ALBUM_COVER_0 = 1
ALBUM_COVER_0_START = 380, 40
ALBUM_COVER_0_SIZE = 270, 270
ALBUM_COVER_0_Z_INDEX = -1
ALBUM_COVER_0_FALLBACK = MUSIC
ALBUM_COVER_0_FALLBACK_COLOR = 0.3, 0.3, 0.3, 1
ALBUM_COVER_0_FALLBACK_BACKGROUND = 0.05, 0.05, 0.05, 1
ALBUM_COVER_0_FALLBACK_SIZE = 20

; track position
TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
TEXT_CSP_1_ALIGN_LAYOUT = 0
TEXT_CSP_1_START = 358, 425
TEXT_CSP_1_SIZE = 460, 48
TEXT_CSP_1_FONT_TYPE = MONOSPACE
TEXT_CSP_1_Z_INDEX = 10
TEXT_CSP_1_SCALE = 1
TEXT_CSP_1_BOLD = 0

; track duration
TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
TEXT_CSP_2_START = 486, 425
TEXT_CSP_2_SIZE = 180, 48
TEXT_CSP_2_FONT_TYPE = MONOSPACE
TEXT_CSP_2_Z_INDEX = 10
TEXT_CSP_2_SCALE = 1
TEXT_CSP_2_BOLD = 1

; progress bar background
RECT_0 = 1
RECT_0_START = 435, 439
RECT_0_SIZE = 154, 1
RECT_0_Z_INDEX = 12
RECT_0_COLOR = 1, 1, 1, 1

; progress bar background
RECT_1 = 1
RECT_1_START = 435, 435
RECT_1_SIZE = 154, 5
RECT_1_Z_INDEX = 11
RECT_1_COLOR = 1, 0, 0, 1
RECT_1_SCALE_WITH_PROGRESS = 1, 0

; animation below album cover
ANIMATION_0 = 12, 8
ANIMATION_0_START = 415, 310
ANIMATION_0_BLOCK = 14, 4
ANIMATION_0_MARGIN = 3, 3
ANIMATION_0_BASE_ROW = BOTTOM

; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
ALBUM_COVER_1 = 1
ALBUM_COVER_1_START = 256, 70
ALBUM_COVER_1_SIZE = 535, 515
ALBUM_COVER_1_COLOR = 1, 1, 1, 0.06d
ALBUM_COVER_1_Z_INDEX = -10