ProfMags-HudRevizualized icon

HudRevizualized

Replaces the vanilla Valheim HUD with a fully custom hotbar, resource bars, and guardian power icon.

CHANGELOG

Changelog

[0.2.0]

Added

  • Eitr bar now reads real player.GetEitr() / player.GetMaxEitr() values.
  • Adrenaline bar now reads real player.GetAdrenaline() / player.GetMaxAdrenaline() values.
  • README and CHANGELOG.

Changed

  • Vanilla food and health icon hiding now scans the Hud's child hierarchy by GameObject name instead of by private field name — more stable across game updates.
  • Scan correctly skips our own HUD elements (the Hud hierarchy includes the Canvas, which would otherwise catch HealthBar inside our custom root).
  • Hotbar raised 5 px (BottomMargin 15 → 25).

Removed

  • Custom minimap overlay removed; vanilla minimap is now left untouched.
  • Custom food slot row removed.
  • Dead BarRowGap constant.
  • Dead SlotBackgroundSprite / LoadEmbeddedSprite / LoadImageViaReflection code in ResourceBarElement.
  • Unused embedded PNG assets removed from the build (files kept on disk).

Fixed

  • "Health icon still on screen" — extended hierarchy scan to also suppress health-named vanilla elements.
  • Scan now guards against finding our own HealthBar when the Hud hierarchy includes the Canvas.

[0.1.0]

Added

  • Custom 8-slot hotbar split around a central guardian power icon.
  • Dual-layer animated resource bars for Health, Stamina, Eitr, and Adrenaline — all pixel-aligned to slot group edges.
  • Guardian power icon with radial cooldown overlay and timer text.
  • RMB + scroll hotbar cycling with camera zoom blocked during cycling.
  • Keyboard 1–8 selection tracked independently of vanilla m_selected.
  • All vanilla HUD elements hidden via localPosition offscreen (game logic preserved).