Wire-WiresSmoothUI icon

WiresSmoothUI

Vanilla-style UI microanimations for Valheim: inventory, build/dish menus, map pins, contextual crosshairs and projectile reticles.

By Wire
Last updated 19 hours ago
Total downloads 333
Total rating 1 
Categories Mods Tweaks Client-side AI Generated
Dependency string Wire-WiresSmoothUI-0.2.3
Dependants 0 other packages depend on this package

README

Wire's Smooth UI

Makes Valheim's existing interface feel responsive and alive without redesigning it. Smooth UI animates the UI Valheim already has rather than replacing its art, layout, fonts, slots, bars, or gameplay behavior.

Inventory and menus

  • Whole inventory-slot hover scaling and cursor inertia
  • Empty slots animate too
  • AzuExtendedPlayerInventory equipment and quick slots use the same slot animation without double-scaling
  • Slot press and valid-drop-target feedback
  • Gamepad-selected slot feedback
  • Spring-like dragged-item lag, sway, rotation, grab and landing feedback
  • Item appearance, moves, swaps, stack changes, equip and queued-equip feedback
  • Normal Valheim buttons get subtle hover and press motion
  • Tooltips fade and scale in
  • Inventory and panel opening/closing remain completely vanilla

Build, feast and dish menus

Valheim's build pieces, feasts, food and meads share the same BuildUi selection system, so Smooth UI now animates that shared interface instead of special-casing individual items.

  • Whole build/dish selection tiles animate as one object
  • Mouse hover scaling
  • Press compression
  • Subtle cursor inertia/lean
  • Gamepad-selected tile feedback
  • Build category/tag rows use the same motion
  • Favorite-category rows use the same motion
  • The menu panel itself does not fly, zoom or spring open/closed

Crosshair and projectile reticles

Wire's Dynamic Reticles is integrated directly into Smooth UI.

  • Normal crosshair can appear while an actual weapon or tool is equipped
  • Normal crosshair can independently appear over Valheim's real in-range hover/interact targets
  • Fixes the old standalone behavior where Valheim's hidden unarmed pseudo-weapon could be mistaken for equipped gear
  • Smooth fade in/out
  • Animated projectile reticle for bows, crossbows, thrown spears and projectile magic
  • Crossbow and Dundr loaded states remain held until firing
  • Utility/non-projectile magic is excluded
  • Optional stealth-eye hiding retained from Dynamic Reticles

If the old standalone Wire's Dynamic Reticles is still installed, Smooth UI detects it and disables its Harmony patches to avoid double reticles. The standalone mod is not required.

Map

  • Newly placed visible pins pop into place
  • Pin check/uncheck feedback
  • Pin-type selection feedback
  • Pin-filter feedback
  • Pin-name input entrance
  • Existing animated pings, shouts and event markers keep their vanilla animation rather than receiving a second one

Compatibility

Smooth UI works on existing Valheim UI objects and treats another mod's final layout/scale as the resting baseline instead of forcing a custom layout.

Explicit compatibility targets include:

  • My Little UI
  • AzuExtendedPlayerInventory
  • Equipment And Quick Slots
  • ExtraSlots

The mod does not change item storage, inventory rules, drag/drop rules, combat, networking or other gameplay logic.

Performance

  • No global Resources.FindObjectsOfTypeAll polling
  • No per-frame inventory-slot hit testing
  • No recurring scene/canvas scans
  • No LINQ in animation hot paths
  • No repeated reflection in animation hot paths
  • Pointer motion is sampled once per frame and shared
  • Buttons, slots and BuildUi tiles are event-driven
  • Only actively moving elements are ticked
  • Existing inventory item data is direct-indexed to its element; empty slots are not scanned to detect changes

Very configurable.

Disclaimer: the code is AI assisted since I barely know C#. Not fully AI nor human.

https://ko-fi.com/krosshair <- donations, but not recommended since I didn't fully code it myself

https://imgur.com/a/WU1zXhf