drakeich-KnifeThrowAnimation icon

KnifeThrowAnimation

Own dagger-throw animation for Path of Valheiman's knife throw: an even arc, a whip forward, the knife leaves from the hand. Spears keep the vanilla throw.

Last updated 4 days ago
Total downloads 45
Total rating 0 
Categories Mods Tweaks Client-side
Dependency string drakeich-KnifeThrowAnimation-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 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.2351
treextr-PathOfValheiman-5.1.2 icon
treextr-PathOfValheiman

Reforge Valheim: two passive trees for combat and crafting with 6,000+ nodes. Discover deep loot and crafting systems, world events, new bosses and quality-of-life upgrades.

Preferred version: 5.1.2

README

Knife Throw Animation

A small add-on for Path of Valheiman.

Path of Valheiman's Dagger Throw turns a one-handed knife's secondary attack into a throw, but it borrows the spear-throw animation for it. This mod gives knife throws their own animation: the arm swings back and up along an even arc beside the head, then whips straight forward over the shoulder and follows through.

  • Only knife throws are affected. Spears keep the vanilla throw, and Path of Valheiman itself is not modified.
  • The knife leaves from the throwing hand at the release frame of the new animation, instead of the spear's spawn point. Aiming, damage and Weapon Return work as before.
  • Other players who also have the mod see your knife throws animated the same way.

Installation

Install with r2modman / Thunderstore Mod Manager, or copy KnifeThrowAnim.dll and knifethrow.bundle together into BepInEx/plugins/KnifeThrowAnimation/.

Configuration

BepInEx/config/valheim.knifethrowanim.cfg (created on first launch):

Setting Default Description
General.Enabled true Use the custom animation for thrown knives.
General.RemotePlayers true Also animate other players' knife throws (judged by the weapon in their right hand).
Spawn.FromHand true Launch the knife from the right hand instead of the spear's spawn point.
Spawn.Forward 0.2 Metres ahead of the hand where the knife appears.
Spawn.Up 0 Metres above the hand where the knife appears.

How it works

The custom clip replaces the spear-throw clip through an AnimatorOverrideController, only while the player holds a knife, so the animator's states and parameters stay untouched.

Changelog

  • 0.1.0 — First release.