You are viewing a potentially older version of this package. View all versions.
BeardedGiants-Odins_Drunk_Cam-0.1.2 icon

Odins Drunk Cam

Drink mead and the world sways a little. Camera-only and client-side, with an intensity slider, a cap and an off key for queasy vikings. From the makers of Odin's Free Refills and Odin's Almanac.

Date uploaded 2 months ago
Version 0.1.2
Download link BeardedGiants-Odins_Drunk_Cam-0.1.2.zip
Downloads 47
Dependency string BeardedGiants-Odins_Drunk_Cam-0.1.2

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 Drunk Cam

Drink a mead and the world starts to lean a little. Drink three and the horizon can't make up its mind. As the meads wear off, the sway eases off with them, until you're steady on your feet again.

  • The camera rolls, tips and drifts while a mead is active, and the view slowly "breathes" wider and narrower.
  • Each extra active mead makes it stronger, up to a cap you set.
  • A soft vignette darkens the edges of the screen (optional).
  • It fades in and out smoothly, never with a jolt.

Visual only, client-side only

This mod changes only your own camera and screen effects. It does not change movement, aiming, combat, damage, crits, stamina or any other gameplay value.

  • Where you aim, what you hit and what you pick up are exactly the same as sober. The sway is added after the game has placed the camera, and removed again before the next frame, so the game always aims from the sober camera.
  • No new items, prefabs, network messages or world data.
  • Only you need it. Works in single-player, on dedicated servers and with friends who don't have it. Other players can't see it, because it only moves your own camera.

Feeling queasy?

Some people get motion sick from camera sway, so the sway stays slow rather than jittery. It also gives you three ways to tone it down:

  • F4 switches the whole effect off immediately, with no fade-out. Press it again to switch it back on. The choice is saved.
  • Intensity scales how much each mead sways the camera.
  • MaxIntensity caps the sway, however many meads you've had.

The sway also gets out of the way on its own while the map, inventory, menus, chat or console are open, while the hammer or another build tool is out, during cutscenes and the intro, while sleeping, and after death.

Which drinks count

Every mead in Valheim comes out of a fermenter, so the mod treats the effect of anything a fermenter produces as a mead. Meads from other mods that use the fermenter count too. Items whose name starts with "Mead" are included as well. Food, feasts and other consumables don't count.

Configuration

Settings live in BepInEx/config/hevyh2o.valheim.odinsdrunkcam.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. F4 flips this.
ToggleKey F4 The quick-off key. Rebindable in game through Configuration Manager.
Intensity 1 How much each mead sways the camera, 0 to 3.
MaxIntensity 1 Hard cap on the effect, 0 to 2. At 1 the roll reaches about 18°, at 2 about 36°.
Vignette true Darken the screen edges while drunk.

At the default settings, one mead gives a clear sway, two a strong one, and three reach the cap.

Things to know

  • If you've turned the vignette off, the mod also stops touching the game's post-processing. When you sober up, the game's own vignette setting is put back exactly as it was.
  • Other camera mods (first-person, free camera and so on) should still work, since the sway is added on top of wherever the camera ends up. In free-fly mode the mod does nothing.
  • 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 Free Refills

Odin's Free Refills: no stamina costs while the coast is clear. The mead is on Odin.

Odin's Wanted Posters

Odin's Wanted Posters: look at a creature and press E to see its health, weaknesses and drops.

Odin's Almanac

Odin's Almanac: press K for a forecast of the next weather changes in your biome.

Odin's Saga

Odin's Saga: sleep or log out and Odin reads you the saga of your day.

Odin's Hearth

Odin's Hearth: press N at home to see your comfort level and the cheapest piece to build next.

Odin's Pantry

Odin's Pantry: press P to see your foods, what you could cook right now, and Odin's best pick.

Odin's Raven Returns

Odin's Raven Returns: after you die, a raven guards your grave; press H to find it again.

Odin's Weapon Memories

Odin's Weapon Memories: every weapon remembers what it has killed and earns a name from how it was used, like Storied Frost Greataxe of the Troll's Bane. Your blade remembers every kill, even the ones you don't.

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. Rocks are easier to find sober. Mostly.

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. After three meads the horn sounds closer and home looks further.

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. Tie your knot before the third mead, not after.

CHANGELOG

Changelog

0.1.5

  • Listing now links Odin's Stagger Home, Odin's Long Drop, Odin's Thread, Odin's Nudge and Odin's Latch, the newest mods from Odin's tavern.
  • Tavern icons in the listing now show each mod's current version.
  • No gameplay changes.

0.1.4

  • Other mods can now ask for the sway without a mead, through OdinsDrunkCam.Api.SetExternalSway(source, on): one mead's worth while any mod asks, more if you've had real meads too. Odin's Stagger Home uses it while it walks you home.
  • Never while Enabled is off: the motion-sickness switch (and F4) always wins.
  • Api.IsEnabled and Api.HasExternalSway let mods check.

0.1.3

  • Listing now links Odin's Second Hand, the newest mod from Odin's tavern.
  • Tavern icons in the listing now show each mod's current version.
  • No gameplay changes.

0.1.2

  • Listing now links Odin's Tavern for bug reports and ideas.
  • Listing now links Odin's Stone Whispers, Odin's Dusk Horn and Odin's Knot.
  • No gameplay changes.

0.1.1

  • Listing now links Odin's Weapon Memories, the newest mod from Odin's tavern.
  • No gameplay changes.

0.1.0

  • First release: meads sway the camera, more meads sway it more, and it eases off as they wear off. The view also slowly "breathes" wider and narrower. Optional vignette. Intensity slider, a hard cap and an off key (F4).