Floating Combat Alert

A simple configurable addon for displaying floating text when you enter/leave combat
Back to Files

v1.0.0

File nameFloating_Combat_Alert-v1.0.0.zip
Uploader
railanderrailander
Uploaded
Sep 9, 2026
Downloads
7
Size
12.9 KB
Flavors
Retail
File ID
8846994
Type
R
Release
Supported game versions
  • 12.1.0
  • 12.0.0

What's new

Floating Combat Alert

v1.0.0 (2026-09-09)

Full Changelog

  • add preview gif, .gitignore, harden package ignore list
  • trim to /fca and /fca reset; player-facing README; drop LICENSE
    Only two slash commands remain: bare /fca toggles the options window
    (anything unrecognized included) and /fca reset restores every default.
    The test/region/duration subcommands are gone -- the options window and
    its move-region button cover all of that.
    README cut down to what a player cares about (what it does, /fca,
    /reset as the safety net); LICENSE removed.
  • packaging: house release template + preview cadence 0.5
    Preview loop now enters the next alert at 50% of the previous travel.
    .toc follows the house template: @project-version@ (packager-injected),
    author, IconTexture 1100022, X-Curse-Project-ID 1689057, Midnight
    120000+120100 interface list. Adds .pkgmeta (Move_* style), the
    BigWigsMods/packager release workflow, GPL-2.0 LICENSE and a concise
    README.
  • v0.6.2: smooth mid-flight restyle, 80%-overlap preview cadence, lean-down
    Mid-flight settings changes no longer restart the alert: the resume no
    longer relies on negative SetStartDelay (the client clamps those to 0,
    which restarted the fade and slowed the drift). Alerts track their
    consumed/remaining timeline; a restyle keeps the text exactly where it
    is and schedules only the remaining travel and a fade ramp continuing
    from the current alpha.
    The preview loop now chains previews with a slight overlap: each one
    enters while the previous is at 80% of its travel (0.8x duration timer
    chain) instead of waiting until the band is empty.
    Lean-down: FCA_TRACE debug hooks, dead VERSION/unpack locals and the
    stale driver comment removed; UpdatePreviewLoop alias folded into
    PumpLoop; single ReleaseAlert helper replaces three inline release
    loops; region editor attaches OnUpdate only while dragging (zero
    per-frame cost while open); slash handler drops unused param.
    Tests: 144 unit + 54 sim green, stable across runs. New regression
    block covers position/alpha continuity across restyle and duration
    changes mid-flight.
  • tests: replace flaky preview-loop sim skips with env:Pump-driven assertions
    The mock's C_Timer callbacks never fired in hand-cranked AdvanceTime +
    TickAnims loops, so the sim's loop-alternation check was skipped as
    flaky. The shared mock now has time-aware timers (dueAt) and a
    deterministic frame pump (env:Pump): per fixed step it fires due
    timers, OnUpdate on shown frames, then animation groups. Both former
    skips are live: loop alternation, and combat text spawning beside
    in-flight loop text. Sim 53 passed / 0 failed, stable across runs.
  • v0.6.1: concurrent alert engine + animation-driven fade + config window overhaul
    Major engine refactor:
    • Replace single-alert polling (OnUpdate) with spawned per-alert frames
      driven by WoW AnimationGroups (Alpha + Translation) — zero per-frame Lua
    • Concurrent alerts: new messages spawn alongside in-flight ones
      (8-instance cap, duplicate transitions suppressed at event level)
    • Dual combat triggers: PLAYER_ENTER/LEAVE_COMBAT primary + UNIT_FLAGS
      fallback via UnitAffectingCombat('player')
      Config window overhaul:
    • Per-setting link checkboxes (font/size/color/outline/text/direction/duration/fade)
    • Font dropdown (7 validated western typefaces, labels in their own font)
    • Size/Text/Duration/Fade numeric editboxes with clamping and revert
    • Direction dropdown (up/down), Outline dropdown (none/thin/thick)
    • Color picker (raised strata, draggable)
    • Band editor: vertical-only resize via drag handles, read-only coord
      readouts, snug width from text, center-drag to move
    • Test loop always runs while window is open; despawns loop-only text on close
    • Live restyling of in-flight alerts via animation reconfiguration
    • Window position persisted (db.win)
    • Region band centered on screen center by default
      Cleanup:
    • Removed: login flash, all debug prints, monochrome option, slash aliases
    • Mock: AnimationGroup/Alpha/Translation support, C_Timer, error handler
    • 152 unit tests + 53 sim assertions green under lua5.1
  • Floating Combat Alert v0.6.0: concurrent alert engine, config window, region band editor

This mod has no additional files