Configuration

A fully documented config.lua for the M Who's Talking script.

Config = {}

-- =========================================================
-- CORE
-- =========================================================

-- Max draw distance (meters)
Config.Distance = 9.0

-- Colour applied to text + dot
Config.Colour = { r = 255, g = 255, b = 0, a = 255 }

-- Type: "id" | "name" | "name_id"
Config.Type = "name"

-- Style: "square" | "pill"
Config.Style = "pill"

-- UI scale
Config.Size = 0.9

-- =========================================================
-- BEHAVIOR
-- =========================================================

-- Hide your own talking tag
Config.HideSelf = false

-- true = visible through walls (no LOS)
-- false = requires line of sight (recommended)
Config.ShowThroughWalls = false

-- Fade timing (ms). Recommended 100-180
Config.FadeMs = 80

-- Keeps tag stable for short/stop-start speech (prevents blinking)
-- Recommended 200-300
Config.TalkHoldMs = 250

-- =========================================================
-- PERFORMANCE (recommended not to change)
-- =========================================================
Config.Perf = {
  IdleWaitMs   = 400,
  ActiveTickMs = 33,     -- 30fps update "cap"
  PosQuantize  = 10000,  -- used in hash (x*10000, y*10000)
}


-- =========================================================
-- Our UI also features name truncation.
-- You can set specific character limits via the app.js on line 11

Last updated