Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Plugin for building province maps for grand strategy games. Define a map shape from an image, divide it into region layers, define metadata for each region, and render an interactive map at runtime.
Province Map Builder
A Godot 4.6 editor plugin for building province maps for grand strategy games. Define a map shape from an image, divide it into region layers, define metadata for each region, and render an interactive map at runtime.
Features
- Map outline import β select an image in the Layers tab to extract the landmass outline as an editable polygon
- Divide-down layer hierarchy β define as many layers as you need (e.g. Continents β Countries β Provinces), each layer subdivides the one above it
- Voronoi auto-subdivision β generate child regions automatically using Voronoi cells, with Lloyd relaxation for more natural-looking results
- Typed region data β write a GDScript class to define per-region properties (strings, numbers, booleans, colors); the editor generates a typed form for each region
- Paint & inspect modes β click regions on the map to paint property values or inspect and edit all fields at once
- Runtime node (
ProvinceMap2D) β add to any scene to render the map, receive hover/click signals, query and mutate region data, and run pathfinding between regions
Requirements
- Godot 4.6
Installation
Asset Library (recommended)
Search for Province Map Builder in the Godot Asset Library, or open the plugin page directly: https://godotengine.org/asset-library/asset/4973
Then enable the plugin in the engine: Project β Project Settings β Plugins β enable Province Map Builder
Manual
- Download the latest release zip from the releases page
- Copy the
addons/province_map_builder/folder into your project'saddons/directory
Then enable the plugin in the engine: Project β Project Settings β Plugins β enable Province Map Builder
Quick Start
- Add a
ProvinceMap2Dnode to your scene and create a newProvinceMapresource on it in the Inspector β the Province Map dock opens at the bottom of the editor - In the Layers tab, select an image to define the map outline (opaque pixels = landmass, transparent = sea); the outline is extracted as an editable polygon
- Drag vertices to reshape the outline, click an edge to insert a new vertex, or right-click a vertex to delete it
- Add child layers and click Subdivide to split them into Voronoi regions; adjust point count, relaxation, and seed until the result looks right
- In the Metadata tab, assign a custom schema script to the layer β it defines the typed properties each region holds (e.g. terrain, owner) and the rules for how those properties are rendered as colors; then use Paint mode to fill in values or Inspect mode to edit a region's full data
- Configure the
ProvinceMap2Dnode in the Inspector: select which layer and render mode to display, and set border style and color - At runtime, connect to
ProvinceMap2Dsignals to detect which region was hovered or clicked, callfind_pathto run pathfinding between regions, or use the mutation API to update region data and trigger a redraw
See the full documentation for a detailed walkthrough and runtime API reference.
License
MIT β see LICENSE
Plugin for building province maps for grand strategy games. Define a map shape from an image, divide it into region layers, define metadata for each region, and render an interactive map at runtime.
Reviews
Quick Information
Plugin for building province maps for grand strategy games. Define a map shape from an image, divide it into region layers, define metadata for each region, and render an interactive map at runtime.