My Brute

Devlog: human, elf or orc? Three races arrive

Three cosmetic races to pick at creation: ears, hairstyles, beards and tusks. How they were added without touching combat, and what helmets had to learn.

Update: each race now has a combat ability. The racial abilities announcement gives existing brutes an Elixir of Origins to change race and an Elixir of Metamorphosis to change appearance. Changing race is no longer sold in the shop. The story below describes the initial launch, when races were still cosmetic.

Every brute had the same face

Since launch, customization came down to four colors, a silhouette and a haircut. That isn't much, and above all it isn't very visible: from two meters away, two brutes can only be told apart by their color.

This sprint adds a choice that changes the head, quite literally: race. Human, elf or orc, at creation, and now later on too.

What changes, race by race

The human is the brute you know: four male haircuts, two female ones, and a beard on one of them.

The elf shares the human build but gets ears of its own, long and pointed, with their own mesh per silhouette. It has three male haircuts, cut to leave the ear clear: a haircut covering it would defeat the whole point of the choice.

The orc is the heaviest of the three, and the only one to change more than the ears. It brings its own jaw and tusks, green skin by default, and above all its own set of hairstyles: seven male and five female haircuts, more than the other two races combined. Two of them have a beard, and some carry their own accessories, an earring or a crown.

No stats, and that is deliberate

A race that gave strength or speed points would have turned an appearance choice into a build choice, and made two of the three races useless at the very first balance pass. We would have had to balance three races against four stats, four archetype sets and forty-eight skills.

So races are purely cosmetic. No bonus, no penalty, no interaction with combat. An orc and an elf of the same level, with the same points and the same gear, are exactly evenly matched.

That is also what makes the addition safe: not a single line of the combat engine changed, and no simulation needed to be rerun.

Existing brutes stay human

The race column arrived with human as the default value, and every read goes through a function that falls back to human whenever it meets an unknown value. In practice, a brute created before this sprint displays exactly as before, and an older fight record replays identically.

It is the same precaution as for skins and equipment: a new cosmetic feature must never repaint the past.

What helmets had to learn

This is the part that took the most care, and you only see it when it goes wrong.

A helmet already hid the whole family of haircuts. With races, it has to settle two more questions, and the answer isn't the same from one helmet to the next:

  • The ears. A closed helm covers them, an arcanist's hat lets them stick out. So each headgear carries its own setting, and of the twelve in the game, seven hide the ears and five leave them visible.
  • The mouth. The orc's tusks and jaw stick out of the face: a helm that comes down over the chin has to hide them, or you'd see a tusk going through the steel.

None of this can be derived from a general rule, because it is a question of shape, not of category. Two hoods of the same rarity don't cover the same things. So it is stored per piece, with a test that checks on the actual exported files that every combination of race, silhouette and headgear displays what it should.

Hairstyles aren't indexed the same way anymore

Before, a haircut was identified by a silhouette and a number. There are now three sets, and they have neither the same size nor the same numbers: the male orc goes up to seven, the male elf stops at three.

The direct consequence in the interface: changing race clamps the chosen haircut. Going from an orc with haircut 7 to an elf, which only has three, must not produce a bald brute: it falls back on a haircut that exists. The same rule already existed for switching silhouette; it simply takes one more parameter now.

Changing your mind afterward: the Elixir of Metamorphosis

A choice made at creation and set in stone forever would have been frustrating, especially for brutes that existed before races and never got the choice.

The shop sells an Elixir of Metamorphosis to change the silhouette, the hairstyle and the four colors. It keeps the race and its racial ability. Changing race now uses an Elixir of Origins, handed out as a one-off gift with the racial abilities announcement and not available in the shop. Progression, learned skills, equipment and pets are all kept.

An implementation detail that matters to the player: the elixir is not consumed when you open the editor, but when you confirm the new look, in the same database write. Opening the modal to see what an orc would look like, then canceling, costs nothing.

What's next?

The model is built to welcome other races without touching the engine: a set of ears, a set of hairstyles, and the rest follows. Ideas on the table:

  • a fourth race, with its own signature silhouette,
  • extra hairstyles for the elf, which still has the fewest of the three,
  • head accessories independent of the haircut, like skin parts.

Until then, go see what your brute looks like as an orc. If you don't like the result, the elixir works both ways.

Read next

Tourne ton telephone en portrait pour jouer