Luminaex-GraveBuilder icon

GraveBuilder

In-game hex-map editor for Graveyard Orbit. Paint a mining-field layout, playtest it instantly, or publish it as a real selectable contract.

Last updated 5 hours ago
Total downloads 1
Total rating 0 
Categories Tools Libraries AI Generated
Dependency string Luminaex-GraveBuilder-1.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Luminaex-GraveFramework-1.1.0 icon
Luminaex-GraveFramework

Shared mod-discovery and content-injection framework for Graveyard Orbit. Required by other mods; not a gameplay mod on its own.

Preferred version: 1.1.0

README

GraveBuilder

An in-game hex-map editor and sandbox-map unlock mod for Graveyard Orbit (dev AnchorheadGames), built on BepInEx/Harmony.

Paint a mining-field layout visually, instead of hand-authoring cell JSON, then either playtest it instantly or publish it as a real contract other players can see in the Contracts list.

Requires GraveFramework — install that first.

What it does

  • Map builder UI — open it with Ctrl+F7 in-game, or the new "MAP BUILDER" button on the title screen. Paint/erase/fill/line/circle tools, mirror painting, undo/redo, a clipboard for copy-pasting sections between maps, and a library view for loading/exporting saved work.
  • Rebindable shortcuts — the open/close key (Ctrl+F7) and the builder's undo/redo/copy/ cut/paste keys (Ctrl+Z/Y/C/X/V) can be rebound under Settings > Controls > MAP BUILDER SHORTCUTS (always Ctrl + a letter, number or F1-F12). Saved to this plugin's own shortcuts.json.
  • Instant playtest — "Save Override" writes the map to this plugin's own sandbox_map.json; the next mining sortie you start loads it instead of the default structure. No restart needed.
  • Publish as a contract — "Export Structure" writes the map into content/structures/ in the framework's format, so it shows up as a real selectable contract. Exported maps are grouped into their own CUSTOM MAPS section in the Contracts list. Click RELOAD MODS on the main menu's Mods page afterwards (the framework's hot-reload) to pick it up without restarting.
  • Parts library — save/load a clipboard selection as a reusable named piece (content/parts/<name>.json) to build up a kit of reusable map fragments. Ships with six starter parts already in it: an ore vein, a Gold/Purple deposit cluster, a shard cache (one of each pickup tile), a hazard pocket (one of each hidden-enemy tile), an alternating-colour ring wall, and a plain connector strip.
  • A challenge map out of the box — "The Sunken Vault" ships as a real contract in the CUSTOM MAPS section from first install: a hex disc split into six ore-colour pie slices, a hazard ring guarding the middle approach (with two narrow gates to get through), and a four-shard-type vault at the dead centre, sealed behind every other band.
  • Load an image — "Load Image" in the library view turns a PNG or JPEG into a map, matched to the five real ore colours (with optional dithering) or by brightness alone, with transparent pixels as gaps. Replaces the current map as one undoable step, so settings are easy to compare.

Installing (for players)

Recommended: install via r2modman or the Thunderstore Mod Manager — search for "GraveBuilder" under Graveyard Orbit and click Install. GraveFramework and BepInEx are installed automatically as dependencies.

Manual install:

  1. Install BepInEx 5.4.x (Mono) into your Graveyard Orbit install, if you haven't already — extract its zip into the game's install folder and run the game once so it finishes setting itself up.
  2. Install GraveFramework first (same steps, its own release).
  3. Download the latest release zip from this repo's Releases page and extract it into BepInEx/plugins/, so you end up with BepInEx/plugins/GraveBuilder/GraveBuilder.dll plus its bundled content folders.

Building from source

Requires the .NET SDK, a local install of Graveyard Orbit, and a clone of GraveFramework as a sibling folder named GraveFramework (the default name git clone gives it) — this project references it via a relative ProjectReference:

some-folder/
├── GraveFramework/        (clone of the framework repo)
└── GraveBuilder/          (this repo)

Edit the $(GameDir) property in this repo's root Directory.Build.props to point at your own Graveyard Orbit install, then dotnet build.

Known gap

Exported structures write every band field to JSON, but the reader currently only uses layer/outer_frac/hp_sealed — the rest are reserved for a future release, not a bug.

Status

Early v1. The sandbox-override unlock and loading content/structures/ maps as contracts (via GraveFramework) have been verified live in-game. The map builder UI itself is new in this release and has been reviewed but not yet smoke-tested end-to-end in a live session — try it and open an issue if something doesn't work. Not affiliated with AnchorheadGames.