You are viewing a potentially older version of this package. View all versions.
cjayride-WeaponSwitchQueue-1.0.3 icon

WeaponSwitchQueue

Queues hotbar weapon switches during attack animations and applies them when the swing finishes. Client only.

Date uploaded 2 weeks ago
Version 1.0.3
Download link cjayride-WeaponSwitchQueue-1.0.3.zip
Downloads 75
Dependency string cjayride-WeaponSwitchQueue-1.0.3

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

Weapon Switch Queue

Client-only. Hotbar weapon presses during an attack are remembered and applied when the swing finishes. Sheath (Hide) can be queued too. A queued switch still applies while sprinting.

Install: BepInEx/plugins/cjayride-WeaponSwitchQueue/Cjayride.WeaponSwitchQueue.dll

Not the same as Hotbar Switch — that mod only cycles which inventory row is treated as the hotbar.

CHANGELOG

1.0.3

  • Fix: a queued weapon switch still applies while you are sprinting. Valheim clears its equip bar on every sprint tick, so the switch was wiped before it finished. Standing still is unchanged.

1.0.2

  • Fix: the queue is drained from the plugin's own update loop. 1.0.0 and 1.0.1 attached every patch to Player.ToggleEquipped, so a queued switch was never applied.
  • Queue remembers whether the press meant equip or unequip, and drops it if the item leaves your inventory or the attack never ends (QueueSeconds).
  • New: InstantEquip (off) and DebugLogging (off).

1.0.1

  • Fix: patch Player.ToggleEquipped (not Humanoid). Hotbar switches during attacks are queued again.

1.0.0

  • Queue hotbar weapon changes during attacks; apply on next FixedUpdate after the swing ends.
  • Optional queued hide (sheath) with instant or animated hide.