Valheim
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
57
Likes
1
Size
57KB
Dependants
ADDatHost Valheim hosting
30% off

Trollstav Aim Indicator

Shows a ring on the ground exactly where the Trollstav is going to drop the summoned troll, so you can place the landing instead of guessing.

Screenshots

Trollstav equipped — the landing zone appears on the ground

The summon forming inside the marked zone

The troll came down inside the ring

The wide outer ring in these shots is the optional 10 m blast radius (Damage ring → Enabled, off by default). The two orange rings are the 3 m landing spread and its 1.5 m inner bound.

Why a ring and not a single dot

  • the summon is spawned 15 m in front of your character (Attack.m_attackRange = 15, measured along your body's facing, at foot height);
  • the troll then lands at a random offset of 1.5 m to 3 m from that spot (SpawnAbility.m_spawnRadius = 3), snapped to the ground and pulled onto walkable terrain;
  • the landing blast (staff_redtroll_aoe) has a 10 m radius.

So the honest indicator is an area, and that is what this mod draws:

Ring Radius Meaning
Outer 3 m the troll never lands further out than this
Inner 1.5 m it never lands closer to the centre than this
Damage (optional) 10 m the impact blast radius

All three are poured onto the terrain — every vertex is raycast onto the solid layers, so the rings follow slopes, stairs, rocks and player builds instead of cutting through them.

Every number is read off the equipped item at runtime, so if Iron Gate rebalances the staff the indicator follows along without an update.

Requirements

  • Valheim 1.0 (tested on build 26249040, Unity 6 Mono)
  • BepInEx 5 — via the Thunderstore pack denikson-BepInExPack_Valheim (listed as a dependency)

Install

  • Mod manager (r2modman / Thunderstore Mod Manager / Gale): search for Trollstav Aim Indicator and install. Done.
  • Manual: unpack the zip into your Valheim folder so that you end up with BepInEx/plugins/TrollstavAim/TrollstavAim.dll.

Use

Equip the Trollstav. The ring appears as soon as it is in your hand and disappears when it is not. Note that it follows your character's facing, not the camera — that is the direction the game actually uses.

F8 toggles the indicator, and shows a message in the corner.

Configuration

BepInEx/config/Ovosh1337.TrollstavAim.cfg, or edit it live with the Configuration Manager.

Section Key Default What it does
General Enabled true master switch
General ToggleKey F8 toggle hotkey
General TrackedItems StaffRedTroll,$item_staffredtroll item prefab names / tokens to track
Landing ring Segments 40 ring smoothness
Landing ring RadiusOverride 0 0 = use the staff's own radius (3 m)
Landing ring ShowInnerRing true draw the inner bound too
Landing ring Thickness / InnerThickness 0.35 / 0.16 band width in metres
Landing ring HeightOffset 0.07 how far the ring floats above the ground
Landing ring Color orange RGBA
Damage ring Enabled false also show the 10 m blast radius
Debug LogPrediction false log the predicted point once a second
Debug DumpHotkey F9 dump the staff's prefab data to a log

Compatibility

  • Client side only. It draws for the local player and changes nothing about the attack itself, so it is safe on servers you play on — but other players will not see your ring.
  • Nothing is patched with Harmony for the feature itself; the mod only reads item data and renders.
  • If another mod replaces the Trollstav's attack with something that is not a SpawnAbility, the indicator simply stays hidden rather than guessing.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.