Turn-based strategy games are content-heavy in a very particular way. A small number of systems (movement, combat, abilities, status effects) get multiplied by dozens of units, factions and maps. If every unit is hand-coded, the game stops scaling the moment a second team starts adding content. If every unit is data, designers and engineers can work in parallel, even across time zones.
This post is a checklist for the schema itself: what to decide about your unit, ability and effect data before production, so that an in-house team and an outsourced or offshore team in India (or anywhere else) can both add content without stepping on each other. It is engine-agnostic; the examples use JSON, but the same ideas apply to ScriptableObjects in Unity or Data Assets in Unreal.
1. Separate definitions from runtime state
A unit definition is what a designer edits: base stats, movement type, the abilities it starts with. A unit instance is what exists on the map during a match: current HP, cooldowns, applied effects, position.
Never let runtime code write back into definitions. Mixing the two is the most common reason a "simple balance tweak" breaks save files.
{
"id": "unit.archer.basic",
"displayNameKey": "UNIT_ARCHER_BASIC",
"stats": { "hp": 18, "move": 4, "attack": 6, "defence": 2, "range": 3 },
"movementType": "foot",
"abilities": ["ability.volley", "ability.overwatch"],
"tags": ["ranged", "infantry"]
}
2. Give everything a stable, human-readable ID
Use string IDs with a namespace prefix (unit., ability., effect.) rather than array indexes or auto-generated numbers. Stable IDs survive reordering, merges and renames of display text, and they make code review readable: a diff that changes ability.volley is obvious; a diff that changes abilityIndex: 7 is not.
Agree the naming convention in writing before two teams start authoring content.
3. Model abilities as targeting + effects, not as code
Most turn-based abilities can be described as: who can be targeted, in what shape, at what cost, and which effects apply. Write that structure down as data and keep the code for the small set of effect types.
{
"id": "ability.volley",
"cost": { "actionPoints": 2 },
"cooldownTurns": 2,
"targeting": { "type": "area", "shape": "circle", "radius": 1, "range": 4, "requiresLineOfSight": true },
"effects": [
{ "type": "damage", "amount": 4, "damageType": "piercing" },
{ "type": "applyEffect", "effectId": "effect.pinned", "durationTurns": 1 }
]
}
A healthy target: a new unit should usually need zero new code, and a new ability should only need code when it introduces a genuinely new effect type.
4. Decide how modifiers stack before anyone writes one
Status effects and passives are where strategy games quietly fall apart. Decide up front:
- Are modifiers additive, multiplicative, or applied in fixed layers (base, then flat, then percentage)?
- Does the same effect stack, refresh its duration, or get ignored when reapplied?
- When do durations tick: start of the owner's turn, end of it, or end of the round?
Put the answer in the schema (for example a stacking field with refresh, stack or ignore) instead of in a wiki page nobody opens.
5. Validate content in CI, not in playtests
Once content is data, it can be checked automatically on every commit:
- Every referenced ID exists.
- Numeric fields sit inside agreed ranges (no unit with 400 HP because of a typo).
- Required localisation keys exist.
- No ability has an empty effect list.
A JSON Schema plus a small validation script catches most of these. This matters even more when part of the content team is several time zones away: a broken reference found by CI at the end of their day is far cheaper than one a reviewer finds at the start of yours.
6. Version the schema and write migrations
Your schema will change during production. Add a schemaVersion field to every data file and write small migration scripts when it changes, rather than hand-editing hundreds of files. Save games need the same treatment: store definition IDs and the schema version, never serialised copies of the definitions themselves.
7. Split ownership by folder, not by file
When two teams author content in parallel, merge conflicts on one giant units.json will eat your week. Prefer one file per unit or ability, organised by faction or feature, and assign folder ownership. An offshore team can own factions/forest/ end to end while the core team owns shared abilities, and code review stays focused.
8. Make the data readable for balance reviews
Designers balance from spreadsheets, not from JSON. Add a simple export (CSV or a sheet) of the key stats per unit, and an import path back if that suits your team. Balance discussions across an IST and GMT or EST overlap go much faster when everyone looks at the same table.
Before you sign off pre-production
- Definitions and runtime state are separate types.
- IDs are namespaced strings with an agreed convention.
- Abilities are targeting + effects; effect types are a short, known list.
- Stacking and duration rules are fields in the schema.
- CI validates references, ranges and localisation keys.
- Data files carry a schema version, with a migration plan.
- Content is split one item per file, with folder ownership.
- There is a stats export for balance reviews.
If you're planning a strategy title and thinking about bringing in an offshore game development team for content production, a schema like this is what lets that team be productive from the first sprint. We've also written about why systems that drive retention need to be built during production rather than bolted on later, in Mobile Retention Work That Belongs in Production, Not in a Post-Launch Scramble.
Top comments (0)