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.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.
