ED5 Base Builder Plugin
A downloadable asset pack
Advanced Base Building & RTS Unit System
ED5_BaseBuilder brings a full base-building, settlement management, and RTS-style unit system to RPG Maker MZ & MV. Place structures on a grid, spawn and command NPC units (builders, gatherers, fighters), manage resources and production chains, and defend your territory — all through an intuitive mouse-and-keyboard build mode with a sleek HTML overlay UI. Inspired by RimWorld and classic RTS gameplay.
โ Grid Building
A semi-transparent ghost follows your cursor, tinting green (valid) or red (blocked). Supports structures from 1x1 up to 5x5 tiles. Rotate with A/D, R, or middle-click — the floating info label above the cursor updates in real time with name, cost, and rotation.
Structures take real in-game time to build, with progress bars drawn on the grid overlay. Queue multiple constructions and assign workers to speed them up with configurable efficiency bonuses.
Define costs with a simple struct picker — Gold and/or any database Item with an amount. No hand-typing JSON. Demolishing returns a configurable refund percentage.
Multi-tier upgrades with configurable cost multipliers. Lock advanced structures behind prerequisite buildings. Limit how many of each structure can exist.
Set each structure to render Below, Same as, or Above the player. Structures at Same/Above priority automatically block movement — no manual passability tweaking needed.
Designate a template map and assign an event ID to each structure. When placed, the plugin clones that event onto the game map. Events are despawned on demolish and re-spawned when loading a save.
โ Production & Benefits
Per-structure production timers with configurable cycle length and max storage. Choose Collect mode (click to gather) or Drop mode — items spawn on the ground for pickup, with optional ED5_RandomLoot integration.
Assign actors as workers to boost production speed by a configurable efficiency percentage.
Each structure can provide a benefit: Heal (regenerate HP when nearby), Shop (apply shop price discounts — stacks with ED5_RandomShopItems), Buff (apply a state to party members), or None.
Buildings contribute to your settlement's territory radius, defense rating, and citizen happiness — all tracked and displayed in the bottom HUD bar (toggleable via plugin parameter).
None (free placement), Territory (expand outward from your first building), or Region (only on painted map regions). Territory and region tiles are highlighted with configurable overlay colors.
Right-click any structure for a context menu with Info, Upgrade, Collect Production, Hire Unit, and Demolish. Hover over sidebar icons for detailed tooltips showing cost, category, size, and benefits.
โ RTS Unit System
Builder — patrols and auto-assists incomplete structures.
Gatherer — walks to resources, harvests items, returns them to storage.
Fighter — detects <ED5Enemy>-tagged events and attacks until defeated.
General — auto-selects the best role based on current settlement needs.
Patrol — wanders a set radius around spawn point.
Hold — stays in place, attacks only if enemies enter range.
Chase — aggressively pursues enemies across the map.
Wander — free-roams the entire map.
Units have HP bars drawn on the map overlay (green, yellow, red). Fighters attack enemies, reducing their HP until they are erased. Units can take damage and be destroyed.
Right-click a structure to Hire any unit type it supports. Right-click a unit for its context menu: Info, Set Role, Set Behavior, Dismiss. All units persist across saves and auto-respawn when you revisit the map.
๐ฎ Controls
| Input | Action |
|---|---|
| B | Toggle build mode |
| T | Switch sidebar: Structures / Units |
| Left Click | Move player |
| Right Click | Place or context menu on existing |
| Scroll | Cycle structures / units |
| A / D / Middle Click | Rotate |
| Shift + Arrows | Walk in build mode |
| Esc | Exit build mode |
๐ Plugin Commands
MZ plugin commands + MV ED5Base commands + ED5.Base.* script calls.
Structure Commands
| Command | What it does |
|---|---|
Enter / Exit Build Mode |
Toggle the build UI |
Place / Remove / Demolish |
Place at x,y or Remove/Demolish (with refund) |
Upgrade |
Upgrade structure at x,y |
Unlock / Lock |
Enable or disable a structure type |
Assign Worker / Collect |
Assign actor or gather items at x,y |
Get Stats to Variable |
Count, Defense, Happiness, Territory |
Unit Commands
| Command | What it does |
|---|---|
Spawn / Remove Unit |
Spawn at x,y / Remove at x,y |
Set Role |
General / Builder / Gatherer / Fighter |
Set Behavior |
Patrol / Hold / Chase / Wander |
Unlock / Lock Unit |
Enable or disable a unit type |
๐ MV Plugin Commands
ED5Base Place name x y | Remove x y | Demolish x y
ED5Base Upgrade x y | Unlock name | Lock name
ED5Base Count name varId | Defense varId | Happiness varId
ED5Base SetMap id | AssignWorker actorId x y | Collect x y
ED5Base SpawnUnit name x y | RemoveUnit x y
ED5Base UnitRole x y role | UnitBehavior x y behavior
ED5Base UnlockUnit name | LockUnit name
โ Key Parameters
| Parameter | Description |
|---|---|
| Structure Catalog | Name, icon, size, costs, build time, max level, category, prereqs, priority, benefit, production, template event |
| Unit Catalog | Name, icon, sprite, role, costs, HP, ATK, speed, range, sight, behavior, spawn-from structure |
| Build Zone Map IDs | Comma-separated map IDs where building is allowed |
| Build Restriction | None / Territory / Region |
| Template Map ID | Map with template events to clone on placement |
| Show Bottom Bar | Toggle the stats and controls HUD |
| Overlay Colors | Grid, valid/invalid, territory, region highlight colors |
| Refund / Tick / Worker Bonus | Fine-tune economy and production |
๐ Script Calls
Structures
ED5.Base.enterBuildMode() / exitBuildMode()
ED5.Base.place(name, x, y) / remove(x, y) / demolish(x, y) / upgrade(x, y)
ED5.Base.getStructureAt(x, y) / getCount(name) / getAllStructures()
ED5.Base.unlock(name) / lock(name) / isUnlocked(name)
ED5.Base.getDefenseValue() / getHappiness() / getTerritorySize()
ED5.Base.assignWorker(actorId, x, y) / collectProduction(x, y)
ED5.Base.getShopDiscount() / setShopDiscount(percent)
Units
ED5.Base.spawnUnit(name, x, y) / removeUnit(x, y)
ED5.Base.getUnitAt(x, y) / getMapUnits()
ED5.Base.setUnitRole(x, y, role) / setUnitBehavior(x, y, behavior)
ED5.Base.unlockUnit(name) / lockUnit(name)
ED5.Base.damageUnit(x, y, amount)
๐ Works Great With Other ED5 Plugins
Standalone by default. Combine for deeper gameplay:
| Plugin | What it adds |
|---|---|
| ED5_RandomLoot | Floor-drop mode spawns randomized loot tables |
| ED5_RandomShopItems | Shop discounts stack with dynamic pricing |
| ED5_AdvancedChest | Gatherers deposit into chests near storage |
| ED5_HarvestSystem | Farm crops feed into production chains |
| ED5_NPCSchedules | Workers follow daily schedules |
| ED5_CarryWeight | Gathering limited by encumbrance |
| ED5_ReputationFactions | Faction structures shift standing |
| ED5_MMO | Multiplayer settlement sync |
๐ Quick Start
ED5_BaseBuilder.js into js/plugins/ and enable in Plugin Manager.
๐ Terms of Use
- Commercial and non-commercial RPG Maker MZ and MV projects
- Credit ED5 (ChigooX) in your game credits
- Do not redistribute, resell, or claim as your own
| Updated | 8 hours ago |
| Published | 2 days ago |
| Status | In development |
| Category | Assets |
| Author | ChigooX |
| Tags | 2D, plugin, RPG Maker MV, RPG Maker MZ |
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $14.99 USD. You will get access to the following files:
Development log
- OUT OF EARLY ACCESS AND READY TO GO!12 hours ago







Leave a comment
Log in with itch.io to leave a comment.