Valheim
Install with App

Details

Latest version
1.11.0
Last Updated
First Uploaded
Downloads
53
Likes
1
Size
45KB
Dependants

Categories

ADDatHost Valheim hosting
30% off

HammerThrow

Throw your great hammer like Mjolnir.

Two-handed clubs (great hammers, TwoHandedWeapon + Clubs) get a middle-mouse heavy attack: the character plays the one-handed mace heavy swing, the hammer leaves the hand a moment later, spins out toward your crosshair up to 25 m, damages everything it passes through on the way out and on the way back, then returns to your hand.

Behaviour

  • Trigger: middle mouse button (ExtraKey adds a keyboard alternative).
  • Animation: the one-handed mace heavy attack (mace_secondary), so the throw reads as an underhand sweep rather than the two-handed ground slam.
  • Release timing: LaunchDelaySeconds (1.3 s) after the animation starts.
  • Flight: outbound up to MaxRange, then it turns around; a ray along the path stops the outbound leg early when it meets terrain or a structure.
  • Damage: 75% of the weapon's blunt damage (DamageMultiplier), once per target per leg, no knockback, with the hammer's ground-slam dust on every hit.
  • While it is away: movement and jumping work normally, attacking is blocked (BlockAttackWhileFlying).
  • Stamina: the same cost as a normal swing (scaled by StaminaMultiplier); the throw is refused when stamina is too low.
  • Birds: ambient birds (RandomFlyingBird) are hit through their IDestructible.

Configuration

Key Default Meaning
Enabled true Master switch
ReloadConfigKey F10 Reload the config in game
MaxRange 25 Flight distance in meters
OutSpeed / ReturnSpeed 26 / 34 Flight speeds
LaunchAtPeak false Throw at the top of the motion instead of using the delay
LaunchDelaySeconds 1.3 Seconds after the animation starts
LaunchAtAnimationFraction 1.0 Used only when LaunchAtPeak is on
SpinAxis Tumble Tumble / Roll / Yaw
SpinDirection -1 1 or -1
SpinSpeed 720 Degrees per second
ModelRoll 90 Roll around the flight direction
ModelYaw 0 Yaw of the model
DamageMultiplier 0.75 Blunt damage fraction
HitRadius 1.2 Path hit radius
StaminaMultiplier 1.0 Multiplier on the normal swing stamina
Cooldown 0.6 Delay after catching
BlockAttackWhileFlying true No attacks while the hammer is away
Verbose false Diagnostics

Notes

  • Client-side damage goes through the vanilla Character.Damage path, so a dedicated server does not need the mod for the damage itself; only the flying model is local to the thrower.
  • Works together with RainbowGear: the flying copy is registered so it keeps its rainbow colours.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.