You are viewing a potentially older version of this package. View all versions.
TheShackDev-Shack_Magic_Cam-1.0.0 icon

Shack Magic Cam

The Shack's build camera: press Y with a hammer, hoe or cultivator near a workbench and fly the camera to build from above. GPL-3 fork of Cartur's Build Camera with its 1.1.1 fixes. Settings sync from the server.

Date uploaded 2 weeks ago
Version 1.0.0
Download link TheShackDev-Shack_Magic_Cam-1.0.0.zip
Downloads 228
Dependency string TheShackDev-Shack_Magic_Cam-1.0.0

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2
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

Shack Magic Cam

The Shack's build camera. Float the camera away from your Viking and build from above, without climbing on things.

How to use it

  1. Stand near a workbench (or any build station: forge, stonecutter, artisan table...).
  2. Hold a hammer, hoe or cultivator.
  3. Press Y. The camera detaches, and "Entering Build Mode." shows top left.
  4. Fly with WASD, go up with Jump and down with Crouch, and hold Run to go faster. Look around with the mouse.
  5. Build, repair and remove pieces as usual, from wherever the camera is.
  6. Press Y again to go back to your Viking.
  • The camera can fly up to 100 m from the build station you started at (a setting), and you can build anywhere it reaches. Pieces that need a forge or stonecutter count one within that distance too.
  • The hotbar keys (1-8) and Hide work while the camera is out.
  • Build mode ends on its own if you put the tool away, take a portal, die or log out.
  • Picking up items with the camera works within 2 m of the camera (the base game's range), but only while you're cozy: rested, or near a fire and under a roof (or sitting), and not wet, cold or noticed by enemies. Otherwise a small panel says so.
  • A Wisplight follows the camera and clears mist around it at its normal range. A Dvergr circlet light moves to the camera too.
  • Works with a controller.

Settings

Synced settings come from the server when the server has this mod, and only admins can change them. They include build distance, camera range and speed, pickup range, the cozy rule, and the Wisplight and circlet light. Each player keeps their own toggle key, look inversion, light position and message position.

The config file is BepInEx/config/theshack.magiccam.cfg.

Multiplayer

  • Players without the mod can still join a server that has it. A player with an incompatible version (different major or minor) is told to update.
  • If Cartur's Build Camera or Azumatt's Build Camera is still installed, Shack Magic Cam switches it off and runs the camera itself. You can remove the old one.

Credits and license

Shack Magic Cam is a fork of Cartur's Build Camera by Cartur (jekkle). That mod forked Azumatt's Build Camera Custom Hammers Edition, which forked gittywithexcitement's and CookieMilk's Valheim Build Camera. Thank you all.

Like all of them, it is licensed under the GNU GPL v3.0: see LICENSE.txt. The complete source code is included in this package as source.zip.

What changed from Cartur's Build Camera 1.1.1:

  • Jotunn handles the settings sync and the version check, instead of a bundled ServerSync and a hand-written handshake.
  • The defaults are The Shack's settings: Y toggles, 2 m pickup range and 1x Wisplight range (both the base game's values).
  • It takes over from the older build cameras instead of running alongside them.

CHANGELOG

Changelog

1.0.0

  • First release. The behaviour of Cartur's Build Camera 1.1.1 (its 1.0.0 source plus the 1.0.1 - 1.1.1 fixes), with The Shack's settings as defaults: Y toggles, 2 m pickup range and 1x Wisplight range.
  • Settings sync and the version check now use Jotunn. A server with this mod never turns away players without it.
  • If Cartur's Build Camera or Azumatt's Build Camera is also installed, this mod switches it off and runs the camera itself.
  • GPL-3.0, with the full source included as source.zip.