Back to Devlog

Devlog 4 min read

Compose, program, command: the three layers of Stone Tribes

Stone Tribes is a real-time strategy game with three layers that multiply into each other: the tribe you compose, the rules you program into each of its members, and the orders you give while the fight runs. Here is how they stack.

The behaviour panel, with a list of conditions and the action each one triggers

In most real-time strategy games there is one layer, and it is your hands. You box-select, you focus the hurt unit, you pull the wounded one out, you cast at the right second. Skill means doing the right thing fast, and often.

Stone Tribes keeps that layer — you select, you move, you give orders mid-fight — and builds two more around it. Before the battle you compose a tribe out of thirty characters, each with its own level, kit and spells. Still before the battle, you program what each of them does on their own when something happens. Then the fight starts and you command. The three multiply, and no two tribes come out the same.

This piece is about the middle one, because it is the layer other strategy games do not hand you.

The three rules everybody writes first

The behaviour panel is a list of rules, each one a set of conditions and the action they trigger. The first three rules most players write look like this:

  • Focus the enemy below 30% health. A condition on the closest enemy’s health, an action that attacks it.
  • Cast when mana is full. A condition on mana, an action that launches a spell slot at whatever target the game picks for it.
  • Fall back when the group drops under half. A condition on health, and the action that flees the closest enemies.

That is already a working tribe. It will win fights that a passive tribe loses, and it will lose to anybody who wrote a fourth rule.

What your hands do while it runs

The rules do not put you in a chair. Everything you expect to do in an RTS is still here: drag a selection, send the group where you want it, and above all call a macro — a live order that takes over from the rules for as long as you hold it. Bleeding them from range becomes everything in, and the switch costs one key.

You can also split: cut the tribe into groups that carry different rules and take different orders, so one half holds a totem while the other goes hunting.

What the rules buy you is the rest of the map and the rest of the second. Your cursor can be on one place at a time; your rules are on all thirty people at once. So the skill lives in two places here instead of one — in what you wrote before the fight, and in what you call during it.

The part that hurts

This design has a cost I did not expect when I started, and it is the thing I am still working on: a loss has to be readable. When you lose a unit in a normal RTS, you know whose fault it was. Here someone can die doing exactly what you taught them to do, while you were commanding somewhere else — and that feels like the game decided for you, unless you can see the rule that fired and the number it read. That is the whole reason the F2 overlay exists, and why conditions show their measured value instead of a green or red dot.

A fight where the rules carry what the cursor cannot reach

The second cost is the first five minutes. A behaviour editor can read as homework. The tutorial now hands you a tribe that already has three rules, so your first act is to change one, not to write one from nothing.

The honest counter-argument

Plenty of RTS players will tell you that execution is the pleasure, and that automating it is automating the game. Nothing is taken away here: you can drive a fight by hand, and against a good opponent you will. What the rules add is everything happening where your cursor is not. A fight you lost is then either a call you made or a rule you got wrong — and the second kind is one you can read, fix and test.

If you want to see whether it scratches the itch, the demo is free and a run lasts about twenty minutes.

Wishlist on Steam Play the free demo

Wishlist on Steam Play the free demo

Keep reading