[AUDIO_VOLUME]
ENGINE_EXT = 1.0
ENGINE_INT = 1.6
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 0.8
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.4
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 2.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 0.8
SKID_EXT = 1.0
SKID_INT = 0.6

[SHADER_REPLACEMENT_...]
MATERIALS = __interior_windows
SHADER = ksWindscreen
PROP_... = bannerMode, 1

[MESH_SPLIT_...]
MESHES = Mesh_GLASS_CENTER_1
MODE = COPY_FLIPPED
SPLIT_MATERIAL = __interior_windows
INSERT_TO = Mesh_GLASS_CENTER_1

[MESH_SPLIT_...]
MESHES = Mesh_GLASS_CENTER_FRONT
MODE = COPY_FLIPPED
SPLIT_MATERIAL = __interior_windows
INSERT_TO = Mesh_GLASS_CENTER_1

[MESH_SPLIT_...]
MESHES = Mesh_GLASS_RIGHT_1
MODE = COPY_FLIPPED
SPLIT_MATERIAL = __interior_windows
INSERT_TO = Mesh_GLASS_RIGHT_1

[MESH_SPLIT_...]
MESHES = Mesh_GLASS_LEFT_2
MODE = COPY_FLIPPED
SPLIT_MATERIAL = __interior_windows
INSERT_TO = Mesh_GLASS_LEFT_2


[WIPERS_TRACE_...]
SURFACE = Mesh_GLASS_CENTER_FRONT
WIPERS=Mesh_WIPER3, Mesh_WIPER1, Mesh_WIPER2, Mesh_WIPER4


[ANIMATED_WIPER_0]
MESHES = Mesh_WIPER3, Mesh_WIPER1, Mesh_WIPER2, Mesh_WIPER4
UNDERLYING_SURFACE = Mesh_GLASS_CENTER_FRONT
GROUP_0 = 'Mesh_WIPER3@A=3,5'
GROUP_0_ANGLE_FROM = -0.9
GROUP_0_ANGLE_TO = -85.3
GROUP_0_ARM = 'Mesh_WIPER3@A=4,6-7', 'Mesh_WIPER1@A=2-3,6'
GROUP_0_AXIS = -0.13133861, 0.7815483, 0.6098627
GROUP_0_AXIS_OFFSET_0 = 0.14597262, 0.7319034, 0.6655896
GROUP_0_AXIS_OFFSET_1 = 0.14597262, 0.7319034, 0.6655896
GROUP_0_END = 0.08627319, 1.2115173, 0.89190674
GROUP_0_LAGGING_BEHIND = 'Mesh_WIPER3@A=1-2'
GROUP_0_PIVOT = -0.562027, 0.8671618, 1.0097198
GROUP_0_RUBBER_FROM = -0.3362503, 0.9569702, 0.95866394
GROUP_0_RUBBER_OFFSET_AMOUNT = 0
GROUP_0_RUBBER_OFFSET_EXP = 2.087
GROUP_0_RUBBER_OFFSET_POS = 0.514
GROUP_0_RUBBER_TO = 0.29897308, 0.9498787, 0.99702454
GROUP_0_TWIST_ANGLE_FROM = -90
GROUP_0_TWIST_ANGLE_TO = 90
GROUP_0_TWIST_FROM = 0
GROUP_0_TWIST_TO = 1
GROUP_0_BASE = 'Mesh_WIPER1@A=1'
GROUP_0_BASE_AXIS = -0.13133861, 0.7815483, 0.6098627
GROUP_0_BASE_PIVOT = -0.562027, 0.8671618, 1.0097198
GROUP_1 = 'Mesh_WIPER1@A=5'
GROUP_1_ANGLE_TO = -63.7
GROUP_1_ARM = 'Mesh_WIPER1@A=4', 'Mesh_WIPER2@A=1,3-5', 'Mesh_WIPER4@A=*'
GROUP_1_AXIS = 0.000114435745, 0.70700073, 0.7072129
GROUP_1_AXIS_OFFSET_0 = -0.1606684, 0.69831747, 0.6975231
GROUP_1_AXIS_OFFSET_1 = -0.1606684, 0.69831747, 0.6975231
GROUP_1_END = 0.5743618, 0.9339981, 0.8872986
GROUP_1_PIVOT = -0.15622711, 0.82578474, 1.1623535
GROUP_1_RUBBER_FROM = 0.3415413, 0.94159317, 1.0036621
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.026399998
GROUP_1_RUBBER_TO = 0.71915054, 0.9325142, 0.769577
GROUP_1_BASE = 'Mesh_WIPER2@A=2'
GROUP_1_BASE_AXIS = 0.000114435745, 0.70700073, 0.7072129
GROUP_1_BASE_PIVOT = -0.15622711, 0.82578474, 1.1623535

[MESH_ADJUSTMENT_...]
MESHES =Mesh_WIPER3, Mesh_WIPER1, Mesh_WIPER2, Mesh_WIPER4
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

;================================================

;                REVERSE LIGHTS

;================================================

[EMISSIVE_REVERSE_0]
NAME = LEFT_REVERSE_1
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_REVERSE_1]
NAME = REAR_LEFT_REVERSE_2
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_REVERSE_2]
NAME = REAR_RIGTH REVER_2
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_REVERSE_3]
NAME = REAR_RIGTH REVERSE_1
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_REVERSE_4]
NAME = REAR REVER_5
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

[EMISSIVE_REVERSE_5]
NAME = REAR_REVERSE_3
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0


[EMISSIVE_REVERSE_6]
NAME = REAR_LEFT_REVERSE_2_002
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0


;================================================

;                  INDICATORS

;================================================


; Front Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = RIGTH_FRONT_SIGNAL
COLOR = 255, 128, 0, 2
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Front Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_FRONT_SIGNAL
COLOR = 255, 128, 0, 2
OFF_COLOR = 0, 0, 0, 1

LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1





;================================================

; Rear Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = REAR_RIGTH_TURN
COLOR = 255, 200, 0, 2
OFF_COLOR = 0, 0, 0, 0.00
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR


; Rear Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME =REAR_LEFT_TURN
COLOR = 255, 200, 0, 2
OFF_COLOR = 0, 0, 0, 0.00
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

;================================================

; Mirror Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = RIGTH_SMALL_TURN
COLOR = 255, 200, 0, 2
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Mirror Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_SMALL_TURN
COLOR = 255, 200, 0, 2
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1

;================================================

;                 HEAD LIGHTS

;================================================


[EMISSIVE_LIGHT_0]
NAME = LIGHT_FRONT_1
COLOR = 200, 200, 210, 8
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT

[EMISSIVE_LIGHT_1]
NAME = Mesh_MainBody69
COLOR = 10, 10, 10, 0.8
OFF_COLOR = 10, 10, 10, 0.9
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT


[EMISSIVE_HIGHBEAM_...]
NAME = LIGHT_RAIN_1
COLOR = 200, 200, 80, 5
LAG = 0.1
SIMULATE_HEATING = 0.0
LOCATION = FRONT

;================================================

;                 TAIL LIGHTS

;================================================

; Inner Rear Running Lights

[EMISSIVE_LIGHT_...]
NAME = LIGHT_REAR_1
COLOR = 40, 5, 5, 1.5
OFF_COLOR = 40, 5, 5, 0.0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR


; 3rd Brake Light

[EMISSIVE_BRAKE_0]
NAME =LIGHT_BREAK_2,LIGHT_REAR_OUT_3,LIGHT_BREAK_OUT_2
COLOR = 110, 10, 10, 0.8
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

;==================================================================================================

;                                              INTERIOR

;==================================================================================================


[INCLUDE: common/navigators.ini]

[Navigator_StyleModernDark]
Meshes = SCREEN_HONDA
@ = Navigator_Size, Resolution = "1024, 768", Size = "855, 670", Offset = "135, 45", Scale = 1.3
Brightness = 0.8
UPCOMING_TURN_DISTANCE_ROUND_TO = 100

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

[CAR_STEREO_...]
; DYNAMIC_TEXTURE = tx_instruments
MESHES = 
RESOLUTION = 1024, 768
DISPLAY_POS = 135, 45
DISPLAY_SIZE = 855, 670
COLOR = '#FF3300'
BACKGROUND = 0, 0, 0, 1
FONT = digital_big

TEXT_0 = "{Artist} - {Track}"
TEXT_0_NOALBUM = "{Artist} - {Track}"
TEXT_0_NOARTIST = "{Track}"
TEXT_0_FALLBACK = "FM2 97.1"
TEXT_0_ALIGN = CENTER
TEXT_0_START = 8, 16
TEXT_0_LETTER = 20, 32
TEXT_0_LETTERS_LIMIT = $" floor((460 - 8 * 2) / 20) "

TEXT_1 = "{Time:%H:%M}"
TEXT_1_ALIGN = CENTER
TEXT_1_START = 460, 8
TEXT_1_LETTER = 10, 18
TEXT_1_LETTERS_LIMIT = 5

ANIMATION_0 = 6, 4
ANIMATION_0_START = 460, 28
ANIMATION_0_BLOCK = 5, 2
ANIMATION_0_MARGIN = 4, 3
ANIMATION_0_BASE_ROW = BOTTOM




;================================================

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.1


; Dash, Shifter, Heater icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneBase
COLOR=3,1.5,2


; Right Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneRight
COLOR=3,1.5,2


; Left Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneLeft
COLOR=3,1.5,2




;================================================


[EMISSIVE_HIGHBEAM_...]
NAME = LIGHT_ONIN
COLOR = 0.1, 0.1, 1, 10
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_LOWBEAM_...]
NAME = LIGHT_ONIN
COLOR = 0.1, 1, 0.1, 10
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_TURN_IN
COLOR = 0, 1, 0.1, 5
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = INDICARTOR_IN_RIGTH
COLOR = 0, 1, 0.1, 5
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_HAZARD_...]
NAME = hazard_button
COLOR = 2, 1, 1, 2
Cast_Light = 0
TOGGLE_VISIBILITY = 0
LAG=0.1


[EMISSIVE_HANDBRAKE_...]
NAME = gauge_brake
COLOR = 2, 1, 1, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_...]
NAME = gauge_traction
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_INACTION_...]
NAME = gauge_traction_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_...]
NAME = gauge_abs
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_INACTION_...]
NAME = gauge_abs_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1

[EMISSIVE_...]
NAME=gauge_fuel_lit
TOGGLE_VISIBILITY = 1
COLOR= 2, 1, 0, 4
INPUT=FUEL
INPUT_THRESHOLD = 7
INPUT_THRESHOLD_INVERSE = 1
LAG=0.1


[SHADOWED_WHEELS]
ANGLE=12
OFFSET=0
OPACITY=0.8
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.8
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[TYRES_FX]
DIRT_WIDTH_K=1.2

[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_...]
POSITION = -0.01, 0.28, -2.3 		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
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.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.1, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears


[EMISSIVE_LIGHT_...]
;cluster needles
NAME=LIGHT_DASHBOARD_3
COLOR = 10,10,10, 0.75  
OFF_COLOR =  10,10,10, 0.3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
;cluster needles
NAME=SCREEN_HONDA
COLOR = 10,10,10, 0.75  
OFF_COLOR =  10,10,10, 0.1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
;cluster needles
NAME=Mesh_ARROW_RPM1
COLOR = 200,200,200, 0.18  
OFF_COLOR =  200,200,200, 0.02
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[ODOMETER_MAIN]
DIGITAL_ITEM=5
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[SHAKING_EXHAUST_...]
MESHES = exaust 2
POINT_0 = -0.34, 0.12, -0.354
POINT_0_RADIUS = 1
POINT_0_EXP = 0.005

[INSTRUMENTS]
HAZARDS_G_THRESHOLD = 1.9  ; set G-force for hazards to turn on automatically on sudden braking

[MODEL_REPLACEMENT_0]
FILE =typer_fk8.kn5
HIDE= drone  


;;; drone
[MODEL_REPLACEMENT_0]
FILE =typer_fk8.kn5
INSERT = MFG_DRONE.kn5
INSERT_AFTER = DRONE_COORD

[WOBBLY_BIT_0]
NAME=mfgd_jjj ; name of the node to move
CONNECTED_TO=0,-30,12 ; point to which node is attached to, and around which it will rotate
MAX_RANGE=35 ; max range node can move from its original position
DAMPENING_LAG=0.997  ; think of it as usual AC lag value, trying to zero node's speed
G_GAIN= 3.6 ; how much G-forces affect node's speed
GRAVITY_GAIN=1.6; how much gravity affects node's speed
OFFSET_GAIN= 5.1 ; how strong is returning force
STIFF_AXIS=0,0.3,0.4 ; optional higher stiffness axis to reduce movement along it
STIFF_AXIS_STIFFNESS=0.7 ; now stiff is optional stiffness axis
G_FILTER=0.29 ; temporal filter for G-forces
DEFAULT_GRAVITY_INCLUDED_ALREADY=1 ; either 0 or 1; set it to 1 if you don't want gravity to skew your stuff when car is in neutral position

[ANIMATION_...]
FILE=spin.ksanim
TIME=0.04
LOOP_WHILE_ACTIVE=1

[ANIMATION_...]
FILE=forward.ksanim
TIME=2.0
INPUT=EXTRA_A
LOOP_WHILE_ACTIVE=0

[ANIMATION_...]
FILE=forward.ksanim
TIME=2.0
INPUT=EXTRA_B
LOOP_WHILE_ACTIVE=0

[EMISSIVE_EXTRA_A_0]
NAME = indicator
COLOR = 0,0,120, 160
LAG = 0
SIMULATE_HEATING = 1.0
BLINKING_PATTERN = (|0 = 0|0.5=1|1.5=0|2=0)
BLINKING_DURATION =0.85
LOCATION = REAR

[EMISSIVE_EXTRA_B_0]
NAME = indicator2
COLOR = 60,60,0, 80
LAG = 0
SIMULATE_HEATING = 1.0
BLINKING_PATTERN = (|0 = 0|0.5=1|1.5=0|2=0)
BLINKING_DURATION =0.85
LOCATION = REAR


[SCRIPT_...]
SCRIPT="
local drone = ui.MediaPlayer()
drone:setSource('./drone.wav')
drone:setLooping(true)
drone:setVolume(0)
drone:play()
local multiplier = 1
local distance = 0

function update(dt)
  if ac.getCar().isCameraOnBoard then
    multiplier = 0.1
  else
    multiplier = 1
  end

  distance = ac.getCar().distanceToCamera

  if distance < 10 then
    drone:setVolume(multiplier)
  elseif distance < 20 then
    drone:setVolume((1 - (distance - 10) / 10) * multiplier)
  else
    drone:setVolume(0)
  end

end"