BeardedGiants-Odins_Stagger_Home icon

Odins Stagger Home

Too many meads to find the way? Press \ and Odin walks you home: to your bed, or back along your Odin's Thread trail, round water and over logs. Touch a key and you're in charge again. Client-side. From the makers of Odin's Long Drop.

Last updated a week ago
Total downloads 42
Total rating 0 
Categories Mods Client-side
Dependency string BeardedGiants-Odins_Stagger_Home-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333

README

Odin's Stagger Home

The fire is warm, the mead is gone, and home is... somewhere over that hill. Odin has seen you try to find it before. He'd rather take you by the elbow.

Press \ and your viking sets off home on their own:

  • Home, by the game's own idea of home. Your bed, or where you last spawned if you haven't got one, or the world's starting stones. Pick which in Destination.
  • Back to where your thread began. With Odin's Thread installed, Odin heads for the start of your trail by the most direct way the ground allows, not the wiggly way you came. Your bed wins if it's closer.
  • Walk, run, or a bit of both. Mix runs until you're puffed, walks until you're not, and runs again.
  • The full experience. With Odin's Drunk Cam 0.1.4 or later installed, the world sways gently all the way home, mead or no mead. Drunk Cam's own off switch always wins.
  • Round the water, over the logs. It hops what's knee-high, goes round what isn't, and never goes for a swim.
  • Yours again in an instant. Touch a movement key, swing, block, jump, dodge or crouch, and you're in charge.
  • Unbothered by the locals. Get noticed by something with teeth, or take a hit, and Odin remarks on it and keeps walking. "Something's taken an interest. Odin's ignoring it." Rather stop and deal with it yourself? Set OnDanger to HandBack.
  • A remark on the way out and on the doorstep, because Odin has opinions. "Left foot. Right foot. 340 m to your bed."

No item, no map pins, nothing to set up. Press the key, keep your hands off the keyboard, and try not to sing.

How Odin finds the way

The same way the game's creatures do. Valheim maps where a body can walk around you, and a Greydwarf uses that map to come round your wall. Odin uses it to take you round the rocks, the trees and the corner of the longhouse, with water marked as no-go. The game only maps the ground near you, so Odin plans the trip a leg at a time, about 35 metres at once, and looks again every second or two. The first leg can take a moment while the game catches up.

On top of that he keeps an eye on the ground just ahead:

  • Knee-high in the way? A log, a low wall, a rock step: you hop it. Anything taller, he goes round.
  • Water ahead? If it's deep enough to swim, he stops and finds another way. Shallow paddling is fine. He never jumps a stream; he goes round, however long round is.
  • A drop ahead? Anything more than 4 metres, where the game starts charging for the landing, and he finds another way down.
  • Too steep? Anything steeper than 38°, the point where the game slides you back down, and he goes round it. No scrabbling up a hillside you just slid down.
  • Stuck? A hop if there's something to hop, a step back, a try to one side, then a fresh plan from where you are, going round sideways first. After three goes he gives up, says so, and hands you back.
  • In the water anyway? He steers you to the nearest bank, and lets go once you're on it.

Your bed, your last spawn point and the starting stones are read from the game itself, so they're always the ones the game would use.

With Odin's Thread

If you have Odin's Thread, Odin reads your trail from its file (nothing else needed) and finds where its current stretch began: your last login, respawn or portal trip, stopping at a death or portal mark. What he does with it is ThreadRoute:

  • StartPoint (the default). That spot is where you're going; the trail itself is ignored. Odin plans the most direct way there, leg by leg, the same as for your bed. The slope you slid down on the way out doesn't come into it.
  • FollowTrail. Odin walks the trail itself back, step by step, cutting corners where he can. The first time it gets him stuck, he gives up on the trail and heads straight for its start.
  • Off. Thread is ignored; Odin heads for Destination.

With CloserHomeWins on (the default), if your Destination is closer than the start of your thread, you go there instead. No thread file, or you're far from your trail: Destination it is. Thread writes its file once a minute, so the last minute of your walk isn't in it yet.

With Odin's Drunk Cam

If you have Odin's Drunk Cam, the camera sways while Odin walks you home, about as much as one mead, and more if you've had the real thing. It stops when the walk does. If you've switched Drunk Cam off (its Enabled setting, or F4), it stays off: Odin asks, Drunk Cam decides. Don't want it? Set DrunkCamWhileWalking to false. The sway needs Odin's Drunk Cam 0.1.4 or later; with an older one, nothing sways and nothing breaks.

Client-side only

Only you need it. It walks your own viking, exactly as your keys would: no new items, prefabs, network messages or world data. Works in single-player, on dedicated servers and with friends who don't have it.

Configuration

Settings live in BepInEx/config/hevyh2o.valheim.odinsstaggerhome.cfg. If you have a Configuration Manager mod installed, you can also change them in game (usually F1); this mod doesn't need one.

Setting Default Controls
Enabled true Master switch.
ToggleKey Backslash Press to set off home, press again to stop.
Destination Bed Bed (falls back to LastSpawn if you have no bed), LastSpawn (where you last spawned, bed or world start), or WorldStart (the starting stones).
ThreadRoute StartPoint With Odin's Thread installed: StartPoint (head for where your trail began, the most direct way), FollowTrail (walk the trail itself back), or Off (use Destination).
CloserHomeWins true Go to Destination instead when it's closer than the start of your thread.
DrunkCamWhileWalking true With Odin's Drunk Cam installed, sway while walking home. Never when Drunk Cam is switched off.
Gait Mix Walk, Run (drops to a jog when stamina runs out, as usual), or Mix (runs, walks to recover, runs again).
MixRestBelow 0.25 Mix only: start walking when stamina falls below this share of your maximum, 0.05 to 0.9.
LegLength 35 Metres planned at a time, 20 to 40.
JumpObstacles true Hop over knee-high things. Off = walk round everything.
OnDanger KeepWalking When you're hit, or an enemy within EnemyRadius notices you. KeepWalking: Odin remarks on it and walks on. HandBack: you stop and get control back at once.
EnemyRadius 25 How close an enemy that has noticed you has to be to count, in metres, 0 to 60. 0 = ignore enemies (a hit still counts).
Remarks true Odin's one line on setting off, arriving, giving up and letting go.
TextScale 1 Size of Odin's line, 0.5 to 2. At 1 it matches the game's own HUD, which already follows your screen and the game's GUI scale.
DebugLog false Write each trip, leg, jump and stop to the BepInEx log, for bug reports.

Things to know

  • It's an escort, not a taxi. No portals, no boats, no doors: a closed door or gate stops the route in front of it. Open it and press the key again.
  • Menus pause it. With the menu, chat or console open, you stand still and wait. Close it and off you go again.
  • It won't jump streams. Not in this version. How far a jump carries depends on your skill, your gear, your load and your stamina, and Odin won't bet your pack on a guess.
  • Odin doesn't stop for trouble. By default, a hit or a curious Greydwarf gets a remark, not a halt: he keeps walking, and the trouble may well follow you home. Press any key to take over and deal with it, or set OnDanger to HandBack.
  • Running home trains your legs. The game raises Run and Jump as usual while Odin does the steering. Odin considers this a perk.
  • The sway is for show. Drunk Cam only moves the camera; you walk the same straight-ish line either way.
  • Not an auto-run. Auto-run mods (BetterAutoRun, Enhanced Movement) keep you going in a straight line or along a road. Odin's Stagger Home goes somewhere: home. If another mod turns auto-run on, Odin lets go.
  • Your eyes only. Nobody else needs the mod, and nobody else sees anything but you walking home in a reasonably straight line.
  • Found a bug or have an idea? Tell Odin in Odin's Tavern. The ravens read every note; your BepInEx\LogOutput.log helps them read faster.

Also from Odin's tavern

Odin's Long Drop

Odin's Long Drop: at a ledge or mid-fall, the drop and the damage the landing will do, beside your crosshair. Odin walks you round the cliffs; Long Drop is for when you walk yourself.

Odin's Thread

Odin's Thread: a faint trail on your map and minimap of every step you took, fading with age, with your deaths and portal hops marked. Install it and Odin walks you home the way you came.

Odin's Nudge

Odin's Nudge: alt-tabbed while something eats you? Odin flashes the taskbar and knocks when you're hurt, an enemy closes in, a raid starts or chat says your name. Handy if you put the kettle on while Odin walks you home.

Odin's Latch

Odin's Latch: Odin shuts the doors you opened when it matters: an enemy close, nightfall or a raid at your base. One gets you to the door, the other shuts it behind you.

Odin's Second Hand

Odin's Second Hand: bow out and an enemy close, Odin swaps in your best melee weapon for it, and hands the bow back once it's gone. For whatever made Odin let go of your elbow.

Odin's Free Refills

Odin's Free Refills: no stamina costs while the coast is clear, normal costs once a threat is near. With both, Mix hardly ever needs to walk.

Odin's Wanted Posters

Odin's Wanted Posters: look at a creature and press E for its health, weaknesses and drops. Worth a look at whatever just interrupted the walk home.

Odin's Almanac

Odin's Almanac: press K for a forecast of the next weather changes in your biome. Odin walks just as well in the rain; you just arrive wetter.

Odin's Saga

Odin's Saga: sleep or log out and Odin reads you the saga of your day; press J for a lifetime of deeds. "Was walked home" is not a deed. Odin checked.

Odin's Hearth

Odin's Hearth: press N at home for your comfort level and the cheapest piece to build next. Somewhere worth being walked back to.

Odin's Pantry

Odin's Pantry: press P for your foods, what you could cook right now, and Odin's pick for your biome. More stamina, more running, less walking.

Odin's Raven Returns

Odin's Raven Returns: after you die, a raven guards your grave; press H to see where it is and what killed you. For the walks home that ended early.

Odin's Drunk Cam

Odin's Drunk Cam: drink a mead and the world sways; the more meads, the more it sways. The reason you needed walking home in the first place.

Odin's Weapon Memories

Odin's Weapon Memories: every weapon remembers what it has done and earns a name from it. Your boots remember every step home. They're not saying.

Odin's Stone Whispers

Odin's Stone Whispers: Odin whispers when a Rock or Mysterious Rock is near; press 9 and he turns your gaze to it. Pick it up before you press the key, not after.

Odin's Dusk Horn

Odin's Dusk Horn: a low horn before nightfall, and press Home for the time to dark and the way to your bed. When the horn goes, press the other key.

Odin's Knot

Odin's Knot: log out and Odin asks what you were doing; log back in and he reads it back. Press ' to retie it. "Got walked home" is a perfectly good knot.