Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
BuildCamera
Fly the camera away from your character while you build, so you can see the whole build site. Client-side only.
By FlyingHose
| Last updated | an hour ago |
| Total downloads | 9 |
| Total rating | 0 |
| Categories | Building |
| Dependency string | FlyingHose-BuildCamera-1.0.0 |
| Dependants | 1 other package depends on this package |
This mod requires the following mods to function
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.2360README
Build Camera
Part of FlyingHose's Modpack. Needs only BepInEx.
Press a key while you have a build tool out and the camera comes loose from your character. You can fly it around to see the build site from above, from the side, or from inside a room, while your character stands where it is. Press the key again and the camera snaps back.
Using it
Take out the hammer or another build tool, then press Keys.ToggleKey. It is N by default. A message in the middle of the screen says "Build camera on". The key does nothing without a build tool out, and nothing while a menu, the chat, the console, the inventory, or the map is open.
While the camera is on:
- Move keys fly the camera. Forward goes along where you look, so looking down and pressing forward takes the camera down. Strafe keys go sideways.
- Jump raises the camera straight up. Crouch lowers it straight down.
- Hold the run key to fly faster.
- The mouse looks around exactly as in the base game. Your character turns to face where you look, as it always does.
- Placing, removing, and repairing work as usual.
Your character does not walk, jump, or crouch while the camera is on. It stays where it is and it can still be hit.
The camera passes through walls and terrain, and it can go under water.
When the camera goes back
The camera turns itself off, with a message, when you put the build tool away, when you die, when you teleport, when you sit or get on something, and when a cutscene starts. It also turns off when you take damage. Set Camera.ExitOnDamage to false to keep it on when you are hit.
The leash
The camera cannot go farther than Camera.MaxDistance meters from your character, 30 by default. It stops at that distance and slides along it.
Reach
Reach is the base game's unless you change it. With the camera away from your character you can only place or remove pieces within the base game's normal distance of your character, even if you can see farther. To build farther from your character, set Camera.ReachWhileActive to a distance in meters. It applies only while the camera is on and the game's own value is put back when the camera goes off. The default of 0 leaves the game's value alone.
Placement uses a ray from the camera, and the ray takes the first thing it hits. If something in front of the camera is out of your character's reach, it blocks placement, even when the spot you meant is within reach.
Client-side only
This mod works on any server, and the other players do not need it. It sends nothing of its own over the network and does not check versions. Every setting is yours; the server has no say in any of them.
After a game update
If a game update breaks the code this mod changes, the mod leaves the game's camera alone and writes the reason to the BepInEx log. If something goes wrong while you play, the camera goes back to your character, a message says "Build camera is off after an error", and the mod stays off until you restart the game.
Do not combine with
Other mods that move the camera freely while you build. They change the same game code, so run one or the other.
Config
File: BepInEx/config/com.yesucs.yesubuildkit.buildcamera.cfg
| Key | Default | Who decides | What it does |
|---|---|---|---|
General.Enabled |
true |
you | Master switch. Off means no patches. Needs a restart. |
General.DebugLogging |
false |
you | Detailed log lines. |
Keys.ToggleKey |
N |
you | Turns the build camera on and off. |
Camera.Speed |
8 |
you | Meters per second. From 1 to 50. |
Camera.FastMultiplier |
3 |
you | How many times faster the camera moves while run is held. From 1 to 10. |
Camera.MaxDistance |
30 |
you | The farthest the camera can be from your character, in meters. From 5 to 100. |
Camera.ExitOnDamage |
true |
you | Turn the camera off when you take damage. |
Camera.ReachWhileActive |
0 |
you | Placement and removal reach in meters while the camera is on. 0 keeps the base game's reach. Otherwise 5 to 50. |