Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
HammerThrow
Great hammers can be thrown like Mjolnir: middle mouse hurls the spinning hammer toward the crosshair, it damages everything on the way out and back, then returns to your hand. Movement stays free while it flies, but attacks are blocked until it is caught.
By Aquark
| Last updated | 14 hours ago |
| Total downloads | 27 |
| Total rating | 1 |
| Categories | Gear |
| Dependency string | Aquark-HammerThrow-1.11.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
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.2351README
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 (
ExtraKeyadds 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 theirIDestructible.
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.Damagepath, 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.