You are viewing a potentially older version of this package. View all versions.
MathiasDecrock-PlanBuild-0.1.7 icon

PlanBuild

Plan the construction of objects for free. Anyone can add resources and finish the construction. Includes wearable item to see planned construction without shader effect for planning.

Date uploaded 3 years ago
Version 0.1.7
Download link MathiasDecrock-PlanBuild-0.1.7.zip
Downloads 765
Dependency string MathiasDecrock-PlanBuild-0.1.7

This mod requires the following mods to function

ValheimModding-HookGenPatcher-0.0.4 icon
ValheimModding-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.4
denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.20.3 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.20.3

README

Plan the construction of pieces for free with the Plan Hammer. Anyone can add the required resources to the blueprint and finish the construction. You still need a hammer and the required crafting station to finish the construction.

Switch between Hammers by pressing P.

Planned pieces that are unsupported can not be finished, these pieces are also slightly more transparent so you can see what is and isn't supported.

Includes the Skuld Crystal, a wearable item that removes the shader effect from the blueprints, so you can see what the construction will look like when completed. Watch your step! The pieces are still not really there, and will not support you! Fully compatible with:

  • BuildShare: Use the config option (server enforced) to place planned pieces instead
  • Build Camera
  • Craft from Containers

The hammer's PieceTable is scanned automatically, mods that add Pieces should be compatible. If you find a mod that adds pieces to the hammer, but don't show up, try toggling the hammer, it should trigger a scan. If it still doesn't work, please post a bug report with a link to the mod.

Most values are configurable:

  • Hotkey to switch between Hammer modes (default P)
  • Show all plans, even for pieces you don't know yet (default false)
  • Apply plan shader to ghost placement (currently placing piece) (default false)
  • Color of unsupported plan pieces (default 10% white)
  • Color of supported plan pieces (default 50% white)
  • Additional transparency (default 30%)

Source available on GitHub: https://github.com/MathiasDecrock/ValheimMods/tree/master/PlanBuild

All contributions welcome!

CHANGELOG

Version 0.18.0

  • Compatible with Valheim 0.219.14 (Bog Witch) (ths sea212)

Version 0.17.0

  • Compatible with Valheim v0.218.21
  • Fixed OnPlayer Spawn for blueprint loading (thx Bhearus).

Version 0.16.0

  • Compatible with Valheim v0.218.15
  • Fixed unsupported PlanPieces disappearing
  • Fixed compatibility with ComfyGizmo

Version 0.15.0

  • Compatible with Valheim v0.217.46
  • Fixed re-scan of piece tables (thx searica)
  • Fixed Plan Shader
  • Excluded thumbnails while moving blueprints to and from the server to preserve bandwidth

Version 0.14.8

  • Public API to re-scan pieces and create/update plans of the pieces, called via PlanBuildPlugin.UpdatescanPieces() (thx searica)
  • Implemented the new style of unlimited health like in Infinity Hammer (thx AlanDrake)

Version 0.14.7

  • Disabled Pieces are now loaded as disabled PlanPieces, allowing seasonal items to be blueprinted

Version 0.14.6

  • Fixed BlueprintGUI not being initialised properly
  • Fixed tooltips

Version 0.14.5

  • Fixed PlanBuild internal Text components

Version 0.14.4

  • Fixed NREs in PlanPiece UI components (thx searica)

Version 0.14.3

  • Fixed Blueprint preview tooltip
  • Compatible with Valheim v0.217.22

Version 0.14.2

  • Compatible with Valheim v0.217.14 (Hildir)

Version 0.14.1

  • Fix ComfyGizmo compat

Version 0.14.0

  • Compatible with Valheim v0.216.9
  • Needs Jötunn v2.12.0

Version 0.13.4

  • Compiled against Valheim v0.214.300

Version 0.13.3

  • Compiled against Valheim v0.214.2
  • Needs Jötunn v2.11.0

Version 0.13.2

  • Added korean translation (thx An9e)
  • Fixed center and snap point key hint

Version 0.13.1

  • Fixed shape and paint on the terrain marker GUI
  • Fixed rotation of square terrain markers

Version 0.13.0

  • Mistlands compatiblity

Version 0.12.0

  • Added terrain markers for terrain modifications in blueprints
  • Added option to keep markers after capturing a selection
  • Added thumbnail creation and rotation to the marketplace
  • Added a "placeholder" piece to every blueprint category to make category switching much faster
  • Fixed terrain mod deletion for reset terrain
  • Fixed terrain bleeding on heightmap edges

Version 0.11.1

  • Fixed compat with ComfyGizmo 1.5.0

Version 0.11.0

  • Added server enforced config option to disable all blueprint rune operations for clients (admins are still allowed to use it)
  • Changed blueprint piece description to include piece count
  • Fixed saving of null values to the TextReceiver ZDO

Version 0.10.8

  • Fixed selection cutting to respect admin state

Version 0.10.7

  • Completely reworked the Marketplace GUI to manage blueprints in game
  • Added door state to blueprints (only interpreted on "direct" build)
  • Added ward state (active/inactive) to blueprints (only interpreted on "direct" build)
  • Added container contents to blueprints (only interpreted on "direct" build)
  • Added config value for the smoothing option of the terrain tools
  • Added cut option for selections (copy and delete the selection) to the GUI and as a command
  • Added possibility to save blueprints including the vanilla snap points to the GUI and as a command
  • Added possibility to capture vanilla snap points when using quick select

Version 0.10.6

  • Fixed undo not removing pieces from blueprint selections
  • Added reacting to Escape and Return to the blueprint save GUI
  • Added undo/redo to marker placement

Version 0.10.5

  • Fixed old saved markers

Version 0.10.4

  • Added global plan deletion tool to the plan hammer
  • Snap point and center markers are now concidered "selection tools" - if you have a current selection, newly placed markers will automatically be added to that selection and selection highlighting will be retained
  • Added deletion of snap/center markers with the rune (like removing pieces with the hammer) - only works with a marker selected
  • Fixed rune tools executing without a visible placement marker
  • Increased max camera distance
  • Added key to reset placement offset for blueprints (default Q)
  • Added automatic reset to the placement offset after placing a blueprint
  • Added selection delete to undo queue
  • Added new save dialogue for blueprints
  • Added config for player name prefix on blueprint files
  • Added replacement of spaces in blueprint file names (spaces will be replaced with an underscore)

Version 0.10.3

  • Implemented bp.undo and bp.redo console commands for all blueprint and terrain actions (big thx to Jere)
  • Changed offset handling for blueprints so the placement marker stays in place
  • Added compat patches for ComfyGizmo

Version 0.10.2

  • Fixed Plan Hammer compat with BuildCamera
  • Fixed errors with some blueprints using item/armor stands

Version 0.10.1

  • Added stripping of Semicolons on "additionalText" to prevent CSV errors
  • Added unlimited health to other types of prefabs (Trees, Destructibles)
  • Added back "quick select tool" for direct blueprinting

Version 0.10.0

  • Split plan and blueprint functionality into two separate items
  • If you want to use plans, you must craft the new item "Plan Hammer" from your player crafting screen
  • Reorganized configuration entries for more clarity
  • Please revise your configuration once after installing this version
  • Added saving of local scaling into blueprints. Note that the scale is not saved/synced by the vanilla game for most of the prefabs, so an additional mod for piece scaling should be installed.
  • Added saving of item stand and armor stand items. Loadouts only get placed when using "Direct Build".
  • Added the ability to change blueprint categories via the Marketplace GUI
  • Removed the blueprint "Quick Select" tool, use the add/remove/edit selection tools instead
  • Added temporary capturing of blueprints from the "Edit Selection" tool at runtime without saving a file for it (copy+paste)
  • Added deletion of selected pieces from the "Edit Selection" tool
  • Added ability to capture blueprints using the vanilla snap points (can be used in copy+paste)
  • Added ability to "finish" planned pieces without having the needed resources when the "no placement cost" debug option is active
  • Changed building requirements for the plan totem (1x Wood, 1x Grey Dwarf Eye) and skuld crystal (1 x Grey Dwarf Eye)
  • Added rotation to the square shaped marker
  • Added config to set piece health to "unlimited" for direct builds
  • Check out the README file on github for more in-depth instructions on the new usage: https://github.com/sirskunkalot/PlanBuild/blob/master/README.md

Version 0.9.5

  • Fixed placement of non-Piece prefabs

Version 0.9.4

  • Fixed placement offset not resetting
  • Fixed custom inputs for 0.207.20

Version 0.9.3

  • Fixed manual selection tools

Version 0.9.2

  • Added config for default blueprint build mode
  • Expanded plan totem inventory slots to 28
  • Fixed NRE in main menu when using auga
  • Fixed blueprint tooltip while using a gamepad

Version 0.9.0

  • Fixed syncing of blueprints from the server
  • Fixed replacing of blueprints on capture not writing files
  • Fixed piece description size for blueprints
  • Needs at least Jötunn v2.4.0, Server needs PlanBuild v0.9.0 as well

Version 0.8.5

  • Lowered the scanning runs for new plan prefabs
  • Fixed a NRE when a game object can be found but not instantiated

Version 0.8.4

  • Fixed capturing and placing of meta pieces
  • Fixed breaking terrain mesh when making large changes at zone borders

Version 0.8.3

  • Fixed redundant blueprint manager GameObject when placing directly

Version 0.8.2

  • Fixed selection not resetting after capture
  • Fixed Gizmo Reloaded rotation patch

Version 0.8.1

  • Fixed tooltip display on inventory items

Version 0.8.0

  • Added prefab blacklist for server owners to prevent non-admin users from planning or blueprinting pieces from that list
  • Prefabs can be added directly in the config file or via console commands while being connected to the server
  • Added custom piece table categories to the .blueprint format
  • Added new Thumbnail creation by rendering the blueprint and taking a screenshot of it
  • You can recreate your current blueprint thumbnails via console command "bp.thumbnail" for single blueprints and "bp.regenthumbnails" for all current blueprints
  • Added a new tooltip overlay for blueprints previewing the blueprint's thumbnail
  • Added Piece-only mode to the deletion tool
  • Fixed camera offset in blueprint mode

Version 0.7.1

  • Fix requirements count in Plan Totem

Version 0.7.0

  • Plan Totems will now replace broken pieces in range with plans
  • Added enable/disable to individual Plan Totems (both building & replacing with plans are controlled by this)

Version 0.6.14

  • Fix stuck square tool outline

Version 0.6.13

  • Fixed admin overrides for tools: direct place, terrain and marketplace GUI hotkey

Version 0.6.12

  • Added new tools to modify your blueprint selection manually before saving it - add or remove single pieces or connected structures all at once

Version 0.6.11

  • Fix GizmoReloaded patch when shifting blueprints (unwanted rotation)

Version 0.6.10

  • Fix ValheimRAFT support

Version 0.6.9

  • Made modifier keys in blueprint mode configurable
  • Compress blueprints before transfer and always resize PNG files to max 160 width
  • Needs at least Jötunn v2.3.7

Version 0.6.8

  • Compatibility patch for Gizmo Reloaded (Gizmo is disabled in blueprint mode because of conflicting usage of modifier keys)

Version 0.6.7

  • Fixed compatibility with Build Camera

Version 0.6.6

  • Made the totem piece collection more failsafe
  • Better plan pieces compatibility
  • Remove all GOs with EffectArea from plan pieces
  • Reverted the reset between switching tools
  • Capped the circle size to 100

Version 0.6.5

  • Fixed terrain tool removal not saving

Version 0.6.4

  • Enable clients without PlanBuild to connect to servers with PlanBuild installed but prevent clients with PlanBuild to connect to servers without it (needs Jötunn v2.3.3)

Version 0.6.3

  • Reset selection radius & offset when switching tools

Version 0.6.2

  • Fixed ValheimRAFT compat

Version 0.6.1

  • Fixed BuildCamera compat

Version 0.6.0

  • Hearth & Home update

Version 0.5.2

  • Fixed projector mask for paint / deletion tools
  • Almost every aspect of the mod is translatable now (thx Dominowood371)
  • Added more german translation

Version 0.5.1

  • Remove the ability of the BlueprintRune to "middle-mouse-delete" non-planned pieces
  • Don't make noise and attract mobs when placing blueprints
  • "Plan unknown pieces" is now a server enforced configuration
  • Handle duplicate piece names to avoid new piece notification spam

Version 0.5.0

  • Made the mod mandatory on server and client again - too many griefing oppertunities with the new terrain tools
  • Blueprint market GUI is now translatable (check PlanBuild\assets\Translations)
  • Show ghosts for blueprints with missing pieces
  • Fixed some errors with missing pieces
  • More russian translation (thx Dominowood371)

Version 0.4.3

  • Added new russian translation

Version 0.4.2

  • Fixed new particle effects config option ...
  • Added null check in RPC call, should fix infinite build issue

Version 0.4.1

  • Fixed compatibility with ValheimRAFT
  • Added config for particle effects of Plan Totem

Version 0.4.0

  • Added new tools for terrain modification, terrain painting and vegetation/object deletion to the Blueprint Rune (controlled by server side config)
  • Use the TerrainComp system from Valheim for all tools
  • Removed flatten while placing a blueprint (too inaccurate, use the terrain tools before placing the blueprint)
  • Added a square marker for terrain tools

Version 0.3.5

  • Hopefully fixed some NullReferenceExceptions

Version 0.3.4

  • Changed the way requirements are checked (for allow unknown pieces config option). Should fix the "new piece" spam

Version 0.3.3

  • Compatibility with ValheimRAFT!
  • Added server-enforced config option to allow flattening terrain while placing blueprints

Version 0.3.2

  • New blueprint marketplace pieces
  • Support for pieces in tools other than the hammer (like BuildIt and Clutter)
  • Use bounds to calculate flatten (should be more accurate)
  • Fixed material swap issue when hovering over a piece and using the Skuld Crystal

Version 0.3.1

  • Fixed center point marker issue with pieces lower than the marker

Version 0.3.0

  • New blueprint marketplace! Press "End" to open the server GUI. The server must be configured to accept the blueprints!
  • Additional movement options when placing the blueprints
  • Pieces no longer flash when selecting, instead you should press Ctrl to see the current selection
  • Circle while selecting will remain horizontal now

Version 0.2.12

  • Fix blueprint rotation (oops)

Version 0.2.11

  • Fix markers
  • Fix interaction with Gizmo
  • Fix invisble hover-target piece with Skuld Crystal
  • Added config for directories (scan & save)

Version 0.2.10

  • Allow right Shift & Ctrl (helps with Build Camera)

Version 0.2.9

  • Allow Misc items that can be placed as plans to be part of blueprints (no Misc pieces were allowed before)
  • Preload blueprints on startup, should remove lag when equiping Blueprint Rune

Version 0.2.8

  • Set a minimum of 8 for placementDistance

Version 0.2.7

  • Changed the way the maxPlaceDistance is set while using BluePrint Rune, should be more compatible with other mods that also modify this

Version 0.2.6

  • Added height offset when placing blueprints, change it by Ctrl + Scrolling
  • Added Undo to remove entire blueprints (will not work on blueprints from previous versions, sorry! use the Radius delete to remove them instead)
  • Added Delete to remove all plans in a radius
  • Plans now highlight in the "unsupported" color
  • Changed the way that the ghost prefab is created, should be much better for performance. Let me know if you see anything wonky while placing a blueprint!
  • Placing plans & blueprints no longer consume Stamina

Version 0.2.5

  • Added snap point markers for blueprints!
  • Blueprint parsing is done later & is more forgiving, pieces that are not found show a warning instead

Version 0.2.4

  • Added some automatic fixing of prefabs that are not fully registered from other mods

Version 0.2.1

  • Fixed placement distance for blueprints

Version 0.2.0

  • Changed the Plan Hammer to the Blueprint Rune from Veilheim (many many thanks to Algorithman & sirskunkalot!!!)
  • Added support for .vbuild & .blueprint files!
  • Updated to Jotunn 2.0.11

Version 0.1.8

  • Set CreatorID of finished pieces, fixes refund issue (only 1/3 refunded) of completed pieces

Version 0.1.7

  • Compatibility with Equipment & Quick Slots

Version 0.1.6

  • Avoid updating known recipes if not required, hopefully this removes the new piece message spam

Version 0.1.5

  • Added null check to prevent issues if ScanHammer is called too early (Fixes compatibility issue with RRR NPCs)

Version 0.1.4

  • Updated to Jotunn 2.0.9
  • Updated to Valheim 0.153.2

Version 0.1.3

  • Fixed (hopefully for real this time) incorrect stack count of dropped resources

Version 0.1.2

  • Resources are now dropped in stacks of 1, as a workaround for known issue with ItemDrops

Version 0.1.1

  • Added support for Craft from Containers
  • Added late scan for custom pieces in case a prefab is not found in ZNetScene

Version 0.1.0

  • Updated JotunnLib to Jotunn
  • Planned pieces no longer provide comfort
  • Patches for BuildShare & Build Camera have been moved to main mod dll (Thanks for the help ramonsantana!)

Version 0.0.4

  • Added the repair "recipe" to the Plan Hammer
  • Fixed issue with transparent pieces while wearing Skuld Crystal
  • Fixed names of pieces so they are unique (Fixes compatibility issue with Comfort Tweaks)

Version 0.0.3

  • Handle pieces without WearNTear component (fixes compatibility issue with EpicLoot)
  • Disabling the "Show all pieces" option now removes the pieces again

Version 0.0.2

  • Enemies will no longer target plans