Tactics Forge – Turn-Based Tactics Kit (Hex & Grid)


Turns & combat Side phases, alternating units, initiative queue with turn-order preview and Delay, ... Command log: undo, saves, replays, hot-seat - every action is a serialisable command ...


by Rasterloom


Price History +

Turn-based tactics for Unity 6: hex and square grids, height, cover, overwatch, zone of control, undo, mid-battle saves, replays, utility AI and 6 ruleset presets (XCOM, Fire Emblem, Advance Wars...).
  • Pure C# rules engine (Runtime/Core) + Unity layer (board, highlights, units, sequencer, HUD, camera, input)
  • Grids: hex pointy / flat, square 4 / 8; layouts top-down, isometric (90 degree rotation), flat 3D
  • 6 Ruleset Presets: XCOM, Fire Emblem, Advance Wars, Into the Breach, Battle Brothers, FFT
  • Deterministic command log: undo, turn reset, versioned JSON saves, replays, hot-seat
  • Utility AI with 6 profiles, difficulty, telegraph mode, AI Inspector (F1)
  • Editor: map painter, inspectors with shape preview, validator, Battle Simulator
  • 3 demo scenes built at runtime (pixel art drawn by our code); 86 EditMode tests
  • Unity 6000.0+; Built-in, URP, HDRP; Input System and Input Manager; no dependencies
  • PDF guide (Quick start, cookbook, API) and Readme

One kit, six tactics genres. Tactics Forge is a complete, data-driven turn-based tactics framework for Unity 6. Switch one Ruleset Preset and the same battle plays like XCOM, Fire Emblem, Advance Wars, Into the Breach, Battle Brothers or Final Fantasy Tactics.

Grid & movement

  • Hex (pointy / flat) and square (4 / 8 directions, diagonal cost) behind one API; any map shape with holes.
  • Height and levels with climb limits and climb cost; terrain costs per movement type (foot, mounted, wheeled, tracked, flying, swimming, hover).
  • A* paths and reachable ranges with cost preview and "why unreachable"; multi-cell units (2x2 bosses), zone of control, facing (flank and back attacks).

Turns & combat

  • Side phases, alternating units, initiative queue with turn-order preview and Delay, charge time; move-then-act, XCOM two actions or AP pools.
  • Abilities as ScriptableObjects: AP / mana / cooldown / ammo / charges, min-max range, shapes (single, line, cone, cross, circle, ring, custom), target filters, line of sight or arcing.
  • Composable effects: typed damage, heal, status, cleanse, push / pull with collision damage, teleport, summon, terrain change, cover destruction, shields.
  • Explain Everything: every hit chance and damage number expands into its parts ("55% = 80 base - 40 full cover + 15 high ground"). The same code computes the forecast, the result and the AI - the forecast never lies.
  • Directional half / full cover, overwatch (cone or full), opportunity attacks, counter-attacks, double attacks.
  • Statuses with explicit stacking rules and a fixed modifier order (always from base values) - no drift when buffs expire.
  • Victory and defeat conditions as data (eliminate, survive, reach, defend, kill boss) combined with All / Any, reinforcements, capture and production, fog of war in 3 states.

Command log: undo, saves, replays, hot-seat - every action is a serialisable command with its own seed, so you get undo (until information is revealed), turn reset, save / load in the middle of a battle (versioned JSON), replays and hot-seat for free.

Utility AI with 6 personalities (aggressive, cautious, sniper that keeps its distance, support / healer, tank, coward), difficulty levels, ability choice from every ability, time-sliced thinking, telegraphed intents (Into the Breach style), production and capturing. AI Inspector overlay shows the score of every cell and why the AI chose it.

Editor tools: map painter in the Scene view (terrain, height, cover, blockers, deploy zones, spawns) with Undo, ability inspector with shape preview, footprint editor, data validator, Battle Simulator (AI vs AI win rates and average turns).

UI & input: highlights for move, dash, attack, threat ("danger zone"), path cost and areas; forecast panel, turn-order bar, ability bar, tooltips, combat log, floating numbers, HP bars, phase banners, animation speed 1-4x, colour-blind palettes. Mouse, keyboard, gamepad and touch; Input System and Input Manager.

3 playable demos: Hex Skirmish (Advance Wars style with capture, production, fog, hot-seat), Squad Tactics (XCOM style with cover, overwatch, height and a 2x2 boss; switch rules live) and Breach Defense (telegraphed attacks and pushes).

Tested: 86 unit tests / 998 assertions (grids, paths, ZoC, line of sight, cover, formulas, status order, undo / replay determinism, save round-trip, AI legality) and thousands of simulated AI-vs-AI battles with mid-battle save, load and replay.

A free Lite version is available on the Rasterloom publisher page; import the full kit over Lite to upgrade.