Gita Assets
Unity / Template

BASTION Turn-Based Combat Framework

Overview

BASTION Turn-Based Combat Framework is a modular backend framework for turn-based combat, for tactical grid role-playing games and squad-based strategy games. It handles the combat logic so developers can focus on game design.
The framework is driven by ScriptableObject design, so balancing and design can be handled entirely within the Inspector, and difficulty, AI behaviour and combat balance can be adjusted without touching code. It uses an event-bus architecture, triggering visual effects, sound effects and user interface updates through pre-defined event hooks. It uses a modular C# architecture and interface-based design, and supports extension with custom behaviours.
The framework provides a 4-slot formation system, grid movement, a status system, an ability framework, guard and protection mechanics, a melee engagement system, zone of control, targeting preview and 7 AI modules. It is suited to Darkest Dungeon style tactical role-playing games, Divinity: Original Sin style tactical role-playing games, XCOM and Warhammer 40K Mechanicus style squad combat, Fire Emblem and King's Bounty style turn-based strategy, and educational projects for learning combat system design.

Key features

Combat System
• Comprehensive Status System: Stackable damage over time effects (Bleed, Poison), crowd control (Stun, Silence), and Riposte and counter-attack mechanics
• Ability Framework: Modular skills for single-target, area of effect, and resource management (Action Points, Mana, Stamina)
• Guard and Protection: Guardian system with damage reduction and redirect mechanics
• Melee Engagement System: Tactical ranged weapon restrictions when enemies are adjacent (Warhammer 40K style)
Formation and Positioning
• Rank-Based Formations: 4-slot system with position-locked abilities and auto-advance (Darkest Dungeon style)
• Formation Swaps: Dynamic rank position swapping with optional resource costs
• Visual Rank Placement: Transform-based positioning for custom formation layouts
Tactical Features
• Automatic unit responses to combat events (Ripostes, healing triggers, buff refresh)
• Targeting Preview: Live visual feedback for area of effect, cone, line and single-target abilities with hit markers
• Zone of Control (ZoC): Opportunity attacks when enemies move
AI and Behaviour
• 7 AI Modules: Ready-to-use behaviours (BestAbility, AttackNearest, AttackWeakest, HealAllies, BuffAllies, DebuffEnemies, RetreatOnLowHP)
• AI Presets: Configurable via ScriptableObject, including Aggressive, Healer, Support, Tactical Controller
• Difficulty Scaling: Easy (0.85x), Normal (1.0x) and Hard (1.15x) priority weighting
Movement Systems
• Grid Movement: Classic tile-based movement with obstacle detection
• Tactical movement mechanics: Cover System, Zone of Reaction and Guarding
Technical Workflow
Designer-Friendly
• ScriptableObject Driven: Handle balancing and design entirely within the Inspector, with no coding required
• Visual Targeting System: Live preview of ability impact zones before casting
• Formation Templates: Pre-configured 4-rank formations for quick setup
Developer-Friendly
• Event-Bus Architecture: Seamlessly trigger visual effects, sound effects and user interface updates using pre-defined event hooks
• Clean Code: Modular C# architecture, interface-based, optimised for performance, with low garbage collection allocation
• Extension Points: ITargetingStrategy, IAbilityValidator and IAIModule for custom behaviours
Performance and Extensibility
• Drag-and-drop use: Import into a Unity project and start prototyping
• Performance Optimised: Low garbage allocation, efficient pathfinding and an optimised event system
• Extensible: Add custom abilities, status effects and AI modules with clean interfaces
• Well-Documented: API reference, setup guides and troubleshooting for every system

Included content

Scenes and Examples
• Starter Scene: Minimal setup for quick prototyping
• Grid Demo Scene: Grid-based combat showcase for tactical positioning
• Full Demo Brightest Dungeon: Hand-drawn character showcase with all features
Content
• 7 AI Presets (Aggressive, Healer, Support, Tactical, and variants)
• Status Effect Library: Bleed, Poison, Stun, Silence, and custom templates
• Ability Templates: Attack, Heal, Buff, Debuff, Utility
• Formation Presets: Ready-to-use 4-rank setups
Documentation
• Complete User Manual (v1.1)
• Formation System and Swaps
• Squad Grid Scene setup
• Zone of Reaction mechanics
• Targeting Preview configuration
• Melee Engagement System
• AI Preset creation and tuning
• Troubleshooting and optimisation guides
• Included DOCUMENTATION.md
Tools
• Inspector-based AI Editor: Visual module management
• Status Effect Tracker: Real-time status monitoring
• Combat Log: Built-in event logging for debugging

Compatibility

The version sold on this site is 1.1a, and actual support is based on that version. The compatibility below is based on 1.1a, and it is not promised that older versions have newer features.
Unity 6000.5.5f1: Built-in unsupported; URP supported; HDRP unsupported.
Unity 6000.4.3f1: Built-in unsupported; URP supported; HDRP unsupported.
Render pipeline: URP only; Built-in and HDRP are unsupported.
It is recommended to start with a 2D URP Scene.

Requirements

Unity 6000.4.3f1 or 6000.5.5f1 is required, with URP.
It is best practice to start with a 2D URP Scene when importing.
Open the Brightest Dungeon Scene to see everything in action.
Read the included DOCUMENTATION.md.
Duplicate a preset and modify settings in the Inspector to adjust the content.
Extend via the interfaces ITargetingStrategy, IAbilityValidator and IAIModule for custom behaviours.
If the demo scene appears pink or empty, assign a URP Renderer Asset under Edit, Project Settings, Graphics (or Quality, depending on Unity version). This is standard URP project setup.

Render pipeline compatibility

UnityBuilt-inURPHDRP
6000.5.5f1
6000.4.3f1

Technical specifications

Original creator
Polyburg Studio
Current official version
1.1a
Supported engines
6000.4.3, 6000.5.5, 6000.4.3f1, 6000.5.5f1
Render pipelines
6000.4.3f1 · URP; 6000.5.5f1 · URP
Official file size
15.97 MB
Official update date
2026-07-27
Asset file count
497
Package format
unitypackage
First official release
2026-02-27

Tags

Full description

Whether you're making a tactical grid RPG or a squad-based strategy game – BASTION handles the logic, so you can focus on game design. COMBAT SYSTEM • Comprehensive Status System: Stackable DOTs (Bleed, Poison), CC (Stun, Silence), and Riposte/Counter-attack mechanics • Ability Framework: Modular skills for single-target, AOE, and resource management (Action Points, Mana, Stamina) • Guard & Protection: Guardian system with damage reduction and redirect mechanics • Melee Engagement System: Tactical ranged weapon restrictions when enemies are adjacent (Warhammer 40K style) FORMATION & POSITIONING • Rank-Based Formations: 4-slot system with position-locked abilities and auto-advance (Darkest Dungeon style) • Formation Swaps: Dynamic rank position swapping with optional resource costs • Visual Rank Placement: Transform-based positioning for custom formation layouts TACTICAL FEATURES • Automatic unit responses to combat events (Ripostes, healing triggers, buff refresh) • Targeting Preview: Live visual feedback for AOE/Cone/Line/Single-target abilities with hit markers • Zone of Control (ZoC): Opportunity attacks when enemies move AI & BEHAVIOR • 7 AI Modules: Ready-to-use behaviors (BestAbility, AttackNearest, AttackWeakest, HealAllies, BuffAllies, DebuffEnemies, RetreatOnLowHP) • AI Presets: Configurable via ScriptableObject—Aggressive, Healer, Support, Tactical Controller • Difficulty Scaling: Easy (0.85x) → Normal (1.0x) → Hard (1.15x) priority weighting MOVEMENT SYSTEMS • Grid Movement: Classic tile-based with obstacle detection TECHNICAL WORKFLOW DESIGNER-FRIENDLY • ScriptableObject Driven: Handle balancing and design entirely within the Inspector—no coding required • Visual Targeting System: Live preview of ability impact zones before casting • Formation Templates: Pre-configured 4-rank formations for quick setup DEVELOPER-FRIENDLY • Event-Bus Architecture: Seamlessly trigger VFX, SFX, and UI updates using pre-defined event hooks • Clean Code: Modular C# architecture, interface-based, optimized for performance (Low GC allocation) • Extension Points: ITargetingStrategy, IAbilityValidator, IAIModule for custom behaviors • AI-Coding Friendly: Works seamlessly with GitHub Copilot for rapid prototyping WHAT'S INCLUDED SCENES & EXAMPLES • Starter Scene: Minimal setup for quick prototyping • Grid Demo Scene: Grid-based combat showcase tactical positioning • Full Demo "Brightest Dungeon": Hand-drawn character showcase with all features CONTENT • 7 AI Presets (Aggressive, Healer, Support, Tactical, and variants) • Status Effect Library: Bleed, Poison, Stun, Silence, and custom templates • Ability Templates: Attack, Heal, Buff, Debuff, Utility • Formation Presets: Ready-to-use 4-rank setups DOCUMENTATION • Complete User Manual (v1.1) - Formation System & Swaps - Squad Grid Scene setup - Zone of Reaction mechanics - Targeting Preview configuration - Melee Engagement System - AI Preset creation & tuning - Troubleshooting & optimization guides TOOLS • Inspector-based AI Editor: Visual module management • Status Effect Tracker: Real-time status monitoring • Combat Log: Built-in event logging for debugging PERFECT FOR ✓ Tactical RPGs (Darkest Dungeon, Divinity: Original Sin style) ✓ Squad-based Combat (XCOM, Warhammer 40K Mechanicus style) ✓ Turn-based Strategies (Fire Emblem, King's Bounty) ✓ Educational Projects learning combat system design HIGHLIGHTS Zero Setup Required - Drag-and-drop into a Unity project and start prototyping Designer Paradise - Adjust difficulty, AI behavior, and combat balance without touching code Performance Optimized - Low garbage allocation, efficient pathfinding, optimized event system Extensible - Add custom abilities, status effects, and AI modules with clean interfaces Well-Documented - API reference, setup guides, and troubleshooting for every system GETTING STARTED Import into Unity (Best Practice is to start with 2D URP Scene) (⚠️ You may see console warnings about PSD Layer IDs or "inconsistent import result" during import. These are cosmetic warnings from Unity's 2D PSD Importer and can be safely ignored.) Open Brightest Dungeon Scene to see everything in action (⚠️ If the demo scene appears pink/empty: assign a URP Renderer Asset under Edit → Project Settings → Graphics (or Quality, depending on Unity version). This is standard URP project setup and not an asset issue.) Read the included DOCUMENTATION.md Duplicate a preset & modify settings in the Inspector Extend via interfaces (IAIModule, IAbilityValidator, ITargetingStrategy)

Ratings and reviews

You can rate and review this item after purchase.

No buyer reviews yet.

BASTION Turn-Based Combat Framework · Unity Template · Preview 3BASTION Turn-Based Combat Framework · Unity Template · Preview 4BASTION Turn-Based Combat Framework · Unity Template · Preview 5BASTION Turn-Based Combat Framework · Unity Template · Preview 6BASTION Turn-Based Combat Framework · Unity Template · Preview 7BASTION Turn-Based Combat Framework · Unity Template · Preview 8
Contact support