divteam-GrappleMomentum icon

GrappleMomentum

Pathfinder-style grappling hook: momentum on release, progressive pull, rope swing, grapple jumps, short cooldown and off-hand firing. Client-side only.

By divteam
Last updated 3 weeks ago
Total downloads 322
Total rating 0 
Categories Mods Tweaks Client-side
Dependency string divteam-GrappleMomentum-0.3.2
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

README

GrappleMomentum

Turns Valheim's vanilla grappling hook into a fast, momentum-based traversal tool, inspired by Pathfinder's grapple in Apex Legends. You get a kick when the hook lands, a pull that builds up speed, a rope you can swing on, a boosted grapple jump, and you keep your speed when you let go.

  • Client-side only. The server and other players don't need it. Other players see your movement as normal.
  • No new items or assets. It changes how the vanilla grappling hook behaves.
  • Built for Valheim 1.0.16 with BepInEx 5.4.23.5. No Jötunn needed.

Features

  • Initial impulse and progressive pull. When the hook lands you get a burst of speed toward the anchor. After a short delay, the pull keeps accelerating, so longer grapples end up faster.
  • Momentum on release. Release at any time to keep your full velocity. Releasing when you reach the anchor also keeps it. Air braking is off until you touch ground or water, take a hit, or slow below running speed (for example, by hitting a wall).
  • Rope swing. If the anchor is above you, the rope works like a pendulum. Look away from the anchor and steer with movement keys to open the arc.
  • Grapple jump. Hook the ground ahead of you and jump within 0.5 s. You launch with a boosted jump and keep your horizontal speed, and the hook stays attached. The tip of the rope glows gold while the jump window is open.
  • Off-hand hook. Fire the hook straight from your inventory with a mouse side button, even with a sword or anything else in your hands.
  • Short cooldown. The hook is ready again 0.2 s after a shot, even while you're attached. There's no reload animation.
  • Range indicator. With a hook in your inventory, a dot appears in the crosshair. It is blue if a shot would latch within max range (60 m) and grey if it wouldn't.
  • Feather cape friendly. Glide, hook in mid-air, get pulled, release, and keep gliding.

Controls

These are the defaults. GrappleMomentum uses your Valheim key bindings and supports gamepad.

Action Default
Fire the equipped hook Attack (left mouse button)
Fire the hook from your inventory Mouse back side button (Mouse4), configurable
Grapple jump Jump, within 0.5 s of hooking the ground
Steer / open a swing Movement keys or stick, plus camera direction
Release, keeping momentum Block (right mouse button)

Attacking or switching weapons doesn't release the hook. Dropping the hook from your inventory does.

Quick start

  1. Get a grappling hook (spawn GrapplingHook 1 with devcommands for testing).
  2. On open ground, aim at the ground a bit ahead of you, fire, and press Jump right away.
  3. While flying, look slightly to one side and strafe to shape the arc.
  4. Release with Block and enjoy the momentum.
  5. Then try high anchors (trees, cliffs) to swing, and hooking from mid-air with a feather cape.

Stamina and fall damage

  • Each hook shot costs 5 stamina. You can change this in the config. Jumps keep their vanilla cost, including gear and feather cape modifiers.
  • Gravity, collisions and fall damage work as in vanilla. If you want some fall-damage protection after a release, set Inertia.FallGraceSeconds.

Configuration

The config file is BepInEx/config/dugi.GrappleMomentum.cfg. It is created the first time you run the game with the mod. In r2modman, use Config editor. Changes apply live.

Setting Default Description
General.Enabled true Master toggle. Off restores vanilla behaviour.
General.StaminaPerShot 5 Stamina cost per hook shot (0–30).
General.CooldownSeconds 0.2 Time between shots. Replaces the vanilla reload (0–5 s).
Offhand.Key Mouse4 Fires the hook from your inventory. Mouse4 = back side button, Mouse3 = forward side button, None = off.
Pull.InitialImpulse 8 Speed added toward the anchor on attach, in m/s (0–30).
Pull.GroundLift 1.5 Minimum upward takeoff speed when you hook from the ground, in m/s (0–5).
Pull.JumpMultiplier 1.5 Grapple jump strength. 1 = vanilla jump (1–3).
Pull.JumpWindowSeconds 0.5 Time after a ground hook in which you can still jump (0.05–0.5 s).
Pull.DelaySeconds 0.2 Delay between the initial impulse and the continuous pull (0–1 s).
Pull.RampSeconds 1.5 Time for the pull to reach full strength (0.05–5 s).
Pull.Acceleration 25 Pull acceleration toward the anchor, in m/s² (1–100).
Pull.TargetSpeed 24 Top pull speed toward the anchor, in m/s. Faster momentum is not slowed down (1–80).
Pull.SwingPullFactor 0.15 Share of the pull you keep while looking away from the anchor to swing (0–1).
Control.AirAcceleration 6 Air steering strength, in m/s² (0–25).
Inertia.MaxSpeed 50 Speed cap while attached or carrying momentum, in m/s (1–150).
Inertia.FallGraceSeconds 0 Optional fall-damage immunity after a release, lasting until you land (0–10 s).
Diagnostics.DebugTransitions false Logs state changes and grapple traces, for bug reports.

Compatibility

  • Mods that also change player movement or the grappling hook may conflict. When it starts, GrappleMomentum lists any other mods that patch the same methods in the BepInEx log.
  • If a Valheim update changes the code this mod relies on, it disables itself and logs an error. In that case the game runs as vanilla and nothing breaks.
  • Works in multiplayer. Your movement replicates like normal player movement.

Known limitations

  • This is an adaptation inspired by Pathfinder, not an exact copy. Speeds are tuned for Valheim.
  • The rope is straight and doesn't wrap around corners.
  • You get only one grapple jump per hook, and only from a ground attach. Hooking in mid-air doesn't give you a free extra jump.
  • Rappelling (vanilla secondary use of the hook) stays vanilla until you start pulling.
  • Very fast movement can still clip thin geometry, the same as with vanilla physics.

Bug reports

Please include your BepInEx/LogOutput.log. BepInEx overwrites it each time the game starts, so copy it before relaunching. Enable Diagnostics.DebugTransitions to add detailed grapple traces.