Added a Show warning below slider in the Low health section of FATE Mod Menu. It controls the health percentage where the warning starts fading in and where paired designs evolve, replacing the hardcoded 35% threshold.
The threshold now defaults to 50%. An existing config file keeps its current value; delete BepInEx/config/mikhailkillszombies.fatepainfx.cfg to pick up the new default.
The value is also available in BepInEx config as Low health → Threshold.
0.1.6 - 2026-11-13
The low health warning now follows PlayerUI.Vitals_OnHealthChanged, the same notification the game's health bar is redrawn from, so healing (including the village healer) and damage update it in the same frame. Polling stays as a fallback.
Added a PAINFX_HEALTH log line every two seconds while the warning is visible, reporting the health percent and alpha it is tracking, to make a stuck value visible.
0.1.5 - 2026-11-13
Low health warning opacity now defaults to 50% instead of 80%. An existing config file keeps the value it already has; delete BepInEx/config/mikhailkillszombies.fatepainfx.cfg to pick up the new default.
Settings now update while the FATE Mod Menu screen is open. The frame loop moved to Unity's canvas render callback, because the input tick the mod previously hooked stops while the game is paused, so slid sliders and design changes only applied after closing the menu.
Fixed the warning staying stuck after healing or after a scene change. The cached HUD component was checked against null with C# semantics, which never reports a destroyed Unity object, so every health read failed and the last drawn alpha stayed on screen. The cache is now dropped and rescanned.
Tidied the menu registration into small helpers and removed the unused fallback object.
0.1.4 - 2026-11-13
Added a low health warning layer on top of the hit flash: a second, separately chosen design that is invisible at 35% health and rises to the configured opacity at 0%, so the screen tells you how close you are to dying.
New FATE Mod Menu page section with its own enable switch, warning design selector, opacity-at-0% slider, a Show the warning overlay now test row and a preview.
The damage flash and the warning are separate images on one canvas, so the warning is never covered by a hit.
Health is read from the player's vitals each frame, with the reflection handles cached once.
0.1.3 - 2026-11-13
Fixed the overlay drawing too small. The canvas sits under the game's own canvas, and only a root canvas is stretched to the screen automatically, so the image was laid out inside a tiny rect instead of covering the screen. The overlay canvas is now explicitly stretched to its parent.
Logs PAINFX_OVERLAY_SIZE with the image and screen resolution on startup.
0.1.2 - 2026-11-13
Fixed the damage hook, which is why nothing appeared. The Harmony postfix declared its instance parameter as playerUi, and HarmonyX rejects any patch parameter it cannot bind ("Parameter "playerUi" not found"), so the patch threw inside Awake and stopped the frame pump, the canvas and the menu page from ever being created.
The postfix now uses __instance, and each hook is installed inside its own try/catch so one failure can no longer abort the rest of the setup.
A failed hook or frame pump now logs PAINFX_HOOK_FAILED / PAINFX_PUMP_FAILED instead of failing silently.
0.1.1 - 2026-11-13
Fixed the overlay never appearing. The mod kept its canvas and fade loop on a MonoBehaviour, and this game destroys the loader's plugin object moments after startup, so the effect was gone before the first hit.
The overlay now rebuilds itself whenever it is missing and is driven by a Harmony postfix on the game's own per-frame method, which survives scene changes.
Added a Show the overlay now row to the FATE Mod Menu page so the effect can be checked without taking damage.
Added log lines (PAINFX_*) so a missing damage hook, a missing asset or a broken menu registration is visible in the BepInEx log.
0.1.0 - 2026-11-12
First release with 14 selectable design families across 19 images.
Related pairs evolve to their second variant when health falls below 35%; evolution can be disabled.
Adds FATE Mod Menu controls, including a live preview.
Adds configurable overlay opacity and fade duration.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.