Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
5
Size
110KB
ADDatHost Valheim hosting
30% off

Blueprints

Part of FlyingHose's Modpack. Needs only BepInEx.

Save part of your build to a file, then place copies of it anywhere. A preview shows where it will go and how it is turned.

Saving

Open the console with F5 and type:

bp save <name> [radius]

This saves every piece you or another player built within radius meters of you. The radius is 10 meters if you leave it out, and can be from 1 to 50. At most 500 pieces are saved, the nearest ones first. A name can use letters, digits, - and _, up to 64 characters. Saving under a name that already exists replaces that blueprint.

Only the pieces and where they stand are saved. Chest contents, sign text, and items on stands are not. A placed copy is empty and blank.

Commands

Command What it does
bp save <name> [radius] Save the pieces around you.
bp list List saved blueprints and how many pieces each has.
bp load <name> Pick a blueprint to place. Shows its piece count and the materials it needs. When the list of materials is too long for the screen, the screen shows a short line and the full list is in the console.
bp clear Put the blueprint away and remove the preview.
bp delete <name> Delete a saved blueprint.

The commands work without cheats or dev commands.

Placing

Load a blueprint, then take out the hammer or another build tool. A preview of the whole blueprint follows where you aim, within your normal build reach. The scroll wheel turns it, in the same steps it turns a single piece. The preview shows at most 300 pieces. A bigger blueprint shows its lowest pieces and is still placed in full. This holds for a file you edited by hand too: pieces are sorted from the bottom up when it is loaded.

Press P to place it where the preview is. The key does nothing unless a blueprint is loaded, a build tool is out, and the piece menu is closed.

Placing costs the full materials from your inventory. It is all or nothing: if you are short, nothing is placed and a message lists what is missing. The materials are taken as each piece is placed, so you are never charged for a piece that was not made. Nothing is taken from chests.

Pieces are placed from the bottom up, up to 20 per frame. A message says how many were placed.

Each piece costs the stamina and the hammer durability that placing it by hand costs. When you run out of stamina, placing pauses, the message "Placing paused: waiting for stamina" shows once, and placing goes on as your stamina comes back. A big blueprint can take a while. Placing stops if you die, log out, or drop the hammer.

A broken hammer cannot start a placement. If the hammer breaks partway through, placing stops there and the message says so.

While a blueprint is being placed, pressing the place key again is refused. After it finishes, another press places another copy and charges for it.

What is skipped

Some pieces are skipped. They are not placed and not charged for.

  • Pieces whose prefab is not in your game, for example a piece from a mod you do not have.
  • Pieces you have not learned yet.
  • DLC pieces you do not own.
  • Pieces that need a workbench or other station and you are not standing near one, the same rule the game uses when you build.
  • Pieces that fall inside a ward you cannot use. A ward in the blueprint is checked with its own radius, as the game does.
  • Pieces that fall inside a no-build zone.

The message after placing says how many were skipped.

Placement checks

Pieces are placed without the game's usual placement checks. A piece with nothing to stand on can break and drop its materials. Pieces can overlap what is already there. Check the preview before you place, and place on level ground or on the same kind of base you saved from.

Files

Blueprints are plain text files in BepInEx/config/YesuBuildKit.Blueprints/, one .blueprint file each. A file with a piece more than 100 meters from the center of the blueprint's base is refused when loaded, with the line number. You can copy a file to a friend, who puts it in the same folder on their machine. They need this mod and the same pieces available, but it works on any server.

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. Pieces are created the way the game creates them when you build by hand, so they sync to everyone as normal.

After a game update

If a game update breaks something the preview or the place key uses, they turn off for the rest of the session after three errors. A message on screen and one line in the log say so. Saving, listing and loading still work. Restart the game once the mod is updated.

Do not combine with

Other mods that save, paste, or copy builds. Both will answer the same keys and commands.

Config

File: BepInEx/config/com.yesucs.yesubuildkit.blueprints.cfg

Key Default What it does
General.Enabled true Master switch. Off means no patches and no command. Needs a restart. true or false.
General.DebugLogging false Detailed log lines. true or false.
Capture.Radius 10 Meters from you when bp save gets no radius. From 1 to 50.
Capture.MaxPieces 500 The most pieces one save takes. From 1 to 5000.
Preview.MaxPieces 300 The most pieces drawn in the preview. From 1 to 5000.
Place.PiecesPerFrame 20 The most pieces placed each frame while you have stamina. From 1 to 200.
Keys.PlaceKey P Place the loaded blueprint. Any key.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.