; New car paint

[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/selflighting.ini]
CarPaintMaterial = cky_paint
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
Materials = cky_paint
LocalReflectionsForce = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 1

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = nav; display mesh
Resolution = 1200, 768   ; texture resolution
Size = 1200, 768          ; size of the screen area
Offset = 0, 0              ; left top corner of screen area
Scale = 1                  ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera

[BRAKEDISC_FX]
AMBIENT_MULT = 0.01
REFLECTION_MULT = 0.2
RIM_INTERNAL_RADIUS = 0.1
SIMPLIFY_NORMALS_K = 0
DISC_INTERNAL_RADIUS_SHARPNESS = 1


[EMISSIVE_EXTRA_A_...]
BIND_TO_EXTRA_A=1
NAME= ambientlight1, ambientlight3, _steel_244
COLOR=138,43,226, 0.08
RANGE=0.05

[EMISSIVE_LIGHT_...]
NAME=black_m_73, black_m_71,temp_02, temp_01, temp_03, FrontDisplayIphone14, _texture_center_console_buttons_audi_r8_245
COLOR=1,1,1
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=stwheel_01, stwheel_02, _texture_lever_buttons_audi_r8_233
COLOR=0.3,0.3,0.3
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=nav, Weissach_Logo_Seat
COLOR=2,2,2
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR = FIRST
UPPER_BOUND = 1  
RANGE=0              ; maximum input value for arrow to move with
START = 0 
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0.0
SPEED_LAG = 0.0                 ; lag for speed, adding inertia of movement
G_FACTOR = -0.8, 0, 0
POS_OFFSET_START = 0.0, 0, -0.0 position offset for the minimum value
POS_OFFSET_END = -0.06, 0.0, -0.0
NAME=gxnegativber




[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR =  FIRST
UPPER_BOUND = 1 
RANGE=0                ; maximum input value for arrow to move with
START = 0 
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=00 
SPEED_LAG = 0.0                ; lag for speed, adding inertia of movement
G_FACTOR = 0.8, 0, 0.0
POS_OFFSET_START = 0.00, -0.0, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.06, 0.00, 0.0
NAME=gxpositivre

[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR = THIRD
UPPER_BOUND = 1.3                 ; maximum input value for arrow to move with
START = 0 
RANGE=0
INPUT_LAG=0.0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0                 ; lag for speed, adding inertia of movement
G_FACTOR = 0.0, 0, 0.8
POS_OFFSET_START = 0.00, -0.00, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.00, -0.04, 0.0
NAME=gznegative


[ANALOG_INDICATOR_...]
INPUT=G_FORCE
INPUT_SELECTOR =THIRD
UPPER_BOUND = 1.3                 ; maximum input value for arrow to move with
START = 0 
RANGE=0
INPUT_LAG=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0.0
SPEED_LAG = 0               ; lag for speed, adding inertia of movement
G_FACTOR = 0.0, 0, -0.8
POS_OFFSET_START = 0.00, -0.00, 0.0 position offset for the minimum value
POS_OFFSET_END = 0.000, 0.04, 0.0
NAME=gzplus

[ANALOG_INDICATOR_...]
INPUT=
INPUT_LAG=0
NAME=gstuff
RANGE=0
UPPER_BOUND = 0                 ; maximum input value for arrow to move with
START = 0 
POS_OFFSET_END = 0.0021, 0.00, 0.0025
POS_OFFSET_START = 0.0021, -0.00, 0.002
SCALE_START = 0.5, 0.5, 0.5     ; scale for the minimum value
SCALE_END = 0.7, 0.7, 0.7


[ANALOG_INDICATOR_...]
INPUT=RPM         
INPUT_LUT = (|5700=0|5800=1|9000=1|)
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.0003
POS_OFFSET_END = 0.000, -0.00,0.0003
SCALE_START = 1, 1, 1           ; scale for the minimum value
SCALE_END = 0, 0, 0
NAME=torque_25







[ANALOG_INDICATOR_...]
INPUT=RPM         
INPUT_LUT = (|6000=0|6100=1|9000=1|)
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.0003
POS_OFFSET_END = 0.000, -0.00,0.0003
SCALE_START = 1, 1, 1           ; scale for the minimum value
SCALE_END = 0, 0, 0
NAME=torque_24

[ANALOG_INDICATOR_...]
INPUT=RPM         
INPUT_LUT = (|6200=0|6300=1|9000=1|)
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.0003
POS_OFFSET_END = 0.000, -0.00,0.0003
SCALE_START = 1, 1, 1           ; scale for the minimum value
SCALE_END = 0, 0, 0
NAME=torque_23


[ANALOG_INDICATOR_...]
INPUT=OIL_TEMP         
INPUT_LUT = (|0=0|10=0|11=1|99=1|) 
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.00
POS_OFFSET_END = 0.000, -0.00,0.002
NAME=h_00

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMP         
INPUT_LUT = (|0=0|10=0|11=1|99=1|) 
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.00
POS_OFFSET_END = 0.000, -0.00,0.002
NAME=h_01

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMP         
INPUT_LUT = (|0=0|10=0|11=1|99=1|) 
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0
INPUT_STALLED_LAG=0
SPEED_LAG = 0.0     ; lag for speed, adding inertia of movement
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_START = 0.000, -0.000, 0.00
POS_OFFSET_END = 0.000, -0.00,0.002
NAME=h_02



[ANALOG_INDICATOR_...]
INPUT=GAS
INPUT_LUT=(|0=0|0.7=0|0.75=1|1=1|)
NAME=GAS_ON
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=2.0
INPUT_STALLED_LAG=2.0
SPEED_LAG = 0
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_END = 0.001, -0.009, 0.009
POS_OFFSET_START = 0.001, -0.009,0.00
SCALE_START = 1, 1, 1           ; scale for the minimum value
SCALE_END = 0, 0, 0


[ANALOG_INDICATOR_...]
INPUT=GAS
INPUT_LUT=(|0=0|0.7=0|0.75=1|1=1|)
NAME=GAS_OFF
INPUT_LAG=0
RANGE=0
INPUT_STALLED_VALUE=0.0
INPUT_STALLED_LAG=0.0
SPEED_LAG = 0
G_FACTOR = -0.0, -0.00, -0.0
POS_OFFSET_END = 0.001, -0.009, 0.001
POS_OFFSET_START = 0.001, -0.009, 0.008
SCALE_START = 0, 0, 0          ; scale for the minimum value
SCALE_END = 1, 1, 1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.2
NAME=gaspower_10,gastorque_10
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.9
SIMULATE_HEATING=0.9
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.3
NAME=gaspower_11,gastorque_11
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.8
SIMULATE_HEATING=0.8
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.4
NAME=gaspower_12,gastorque_12
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.7
SIMULATE_HEATING=0.7
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.5
NAME=gaspower_13,gastorque_13
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.6
SIMULATE_HEATING=0.6
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.55
NAME=gaspower_14,gastorque_14
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.5
SIMULATE_HEATING=0.5
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.6
NAME=gaspower_15,gastorque_15
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.4
SIMULATE_HEATING=0.4
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.7
NAME=gaspower_16,gastorque_16
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.3
SIMULATE_HEATING=0.3
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.8
NAME=gaspower_17,gastorque_17
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.2
SIMULATE_HEATING=0.2
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1


[EMISSIVE_GAS_...]
INPUT=GAS
INPUT_THRESHOLD=0.9
NAME=gaspower_18,gastorque_18
COLOR=1,1,1,1
OFF_COLOR=0,0,0,0
LAG=0.1
SIMULATE_HEATING=0.1
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_LIGHT_...]
NAME=dash_led_10
COLOR=0,5,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_TYRES_...]
PRESSURE_THRESHOLD=20
NAME=dash_led_13
COLOR=8,5,0
OFF_COLOR=0,0,0

[EMISSIVE_TRACTIONCONTROL_...]
NAME=dash_led_16
OFF_COLOR=8,5,0
COLOR=0,0,0
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_TRACTIONCONTROL_INACTION_...]
NAME=dash_led_11
COLOR=8,5,0
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY=1

[EMISSIVE_ABS_...]
NAME=dash_led_18
OFF_COLOR=8,5,0
COLOR=0,0,0
TOGGLE_VISIBILITY_INVERSE=1



[CustomEmissiveMulti]
Meshes =rb2,l1,tcoff     ; target mesh
Resolution = 1024, 1024     ; texture resolution for coordinates to work
@ = AlphaFromTxDiffuse
Intensity = 1

@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "178.9, 122.1", Size = "44.7, 31.5"
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "289.3, 122.4", Size = "44.5, 31"
@ = MultiItem, Role = TRACTIONCONTROL_INACTION, Start = "367.3, 200.4", Size = "34.2, 37.7"
@ = MultiItem, Role = DashWarningTC, Start = "367.9, 199.6", Size = "32.4, 39"


[WIPERS]
WIND_THRESHOLDS_KMH = 60, 150 ; 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 animation

[WIPERS_TRACE_...]
SURFACE = EXT_windows
WIPERS = WiperRight, WiperLeft


[EMISSIVE_TURNSIGNAL_LEFT_...]  
RANGE_START_INDEX = 0
RANGE_END_INDEX = 7
RANGE_PREFIX = BlinkerRearLeft_
COLOR=517,290,0
OFF_COLOR=0.0,0.0,0.0
TOGGLE_VISIBILITY=0
RANGE_DELAY = 0.01
REPEAT_FREQENCY_HZ=3
LAG=0.10
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=0
CAST_LIGHT=0



[EMISSIVE_TURNSIGNAL_RIGHT_...]  
RANGE_START_INDEX = 0
RANGE_END_INDEX = 7
RANGE_PREFIX = BlinkerRearRight_
COLOR=517,290,0
OFF_COLOR=0.0,0.0,0.0
TOGGLE_VISIBILITY=0
RANGE_DELAY = 0.01
REPEAT_FREQENCY_HZ=3
LAG=0.0
SIMULATE_HEATING=0
TOGGLE_VISIBILITY=1
CAST_LIGHT=0


[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= BlinkerMirrorLeft, BlinkerFrontLeft, LB
COLOR=230, 120, 0
LAG=0.0
SIMULATE_HEATING=0.3
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= BlinkerMirrorRight , BlinkerFrontRight, RB
COLOR=120, 20, 0
LAG=0.0
SIMULATE_HEATING=0.3
LOCATION=FRONT

;CLUSTER LIGHTS

[EMISSIVE_LIGHT_...]
NAME=speedometer_01
COLOR=2,2,2
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=ARRROW_RPM
COLOR=4,4,4
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=Object1775, Object18083, Object1623
COLOR=6,6,6
OFF_COLOR=2,2,2
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=gaspower_10,gaspower_11,gaspower_12,gaspower_13,gaspower_14,gaspower_15,gaspower_16,gaspower_17,gaspower_18,gastorque_10,gastorque_11,gastorque_12,gastorque_13,gastorque_14,gastorque_15,gastorque_16,gastorque_17,gastorque_18
COLOR=6,6,6
OFF_COLOR=2,2,2
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=Object1644, gball,power_10,power_11,power_12,power_13,power_14,power_15,power_16,power_17,power_18,power_19,power_20,power_21,power_22,power_23,power_24,power_25,power_26,power_27,power_28,power_29,power_30,power_31,power_32,power_33
COLOR=6,6,6
OFF_COLOR=2,2,2
SIMULATE_HEATING=0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=torque_10,torque_11,torque_12,torque_13,torque_14,torque_15,torque_16,torque_17,torque_18,torque_19,torque_20,torque_21,torque_22,torque_23,torque_24,torque_25
COLOR=3,3,3
OFF_COLOR=2,2,2
SIMULATE_HEATING=0
CAST_LIGHT=0


;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = Glass_Material, Window_Material
ThicknessMult = 0.8
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=3.0


[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES=
OFFSET=-0.01, 0.01, -0.05
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.4
SPOT=299
SPOT_SHARPNESS=0.4
COLOR=1,1,1.3,2.5
FALLBACK_EMISSIVE=5,5,5,6

