-----VERSIÓN-----

[HEADER]
VERSION=extended-2

-----MODEL REPLACEMENT-----

[MODEL_REPLACEMENT_0] //Farada//
ACTIVE =0     ; set to 0 to disable the whole section (default value is 1)
FILE= 400.kn5
INSERT= farada.kn5
INSERT_AFTER= WHEEL_LR

[MODEL_REPLACEMENT_1]  //Copiloto//
ACTIVE = 1       ; set to 0 to disable the whole section (default value is 1)
FILE= 400.kn5
INSERT= copiloto.kn5
INSERT_AFTER= WHEEL_LR


-----FRENOS-----

[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 = 20  ; increase to make more lines
GLOW_OFFSET = 0.9      ; 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

; Patch would try and guess size of brake disc and its inside area from its mesh, but if it fails:
DISC_RADIUS = 0.35           ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.25  ; 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.51 ; inside radius of a rim
RIM_HEIGHT = 0.03   ; distance between surface of brake disc and vertical surface of a wheel rim

[BRAKEDISC_FX]
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.5  ; force certain wear level
GLOW_FORCE = 0.5  ; force certain glow level

OVERRIDE_NORMAL_MAP = 1   ; set to 0 to use original normal map
OVERRIDE_DIFFUSE_MAP = 1  ; set to 0 to use original diffuse map
WEAR_MULT = 1.0           ; please do not change this one unless you want to set it to 0 or something; general multiplier might change in the future
GLOW_MULT = 1.0           ; adjust glowing intensity
ROUGHNESS = 0.2, 0.9      ; X and Y material roughness, giving that radial anisotropic specular

; Following material settings are in pairs: first number for new disc, second for worn. Default values depend on if it’s a ceramic or non-ceramic disc:
REFLECTION_F0 = 0.08, 0.44      ; base reflection intensity; ceramic: 0.16, 0.44
REFLECTION_SHARPNESS = 10, 200  ; aka ksSpecularEXP for reflection blurriness; ceramic: 10, 10
SPECULAR = 0.5, 1               ; specular intensity


---LIMPIAS---
[WIPERS_TRACE_...]
SURFACE =x0_window_f
MESHES =int_wiper_fr,int_wiper_fl

[ANIMATED_WIPER_...]
MESHES =int_wiper_fr,int_wiper_fl
UNDERLYING_SURFACE =x0_window_f
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES =int_wiper_fr,int_wiper_fl
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1


[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = int_wiper_fr, int_wiper_fl
UNDERLYING_SURFACE = x0_window_f
GROUP_0 = 'int_wiper_fr@A=*'
GROUP_0_ANGLE_TO = 79.1
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_0_END = -0.112687, 1.0056101, 0.9108308
GROUP_0_PIVOT = 0.538381, 0.8952682, 0.9657889
GROUP_1 = 'int_wiper_fl@A=*'
GROUP_1_ANGLE_TO = 88.2
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_1_END = -0.680665, 0.96338814, 0.83604884
GROUP_1_PIVOT = -0.0478425, 0.9259462, 1.0168198



