Skip to content

Cast

The cast is the project’s character roster, in Project Settings ▸ Cast. Each entry has a character ID, what a writer types before a line (BARKEEP:), which is the character’s stable identity. An optional character name is the name the player sees, and it can be translated (so BARKEEP shows as “The Barkeep” in English and “Le tavernier” in French). A grammatical gender, sent to translators, is free text (blank means not specified), with auto-suggest for the everyday values (male / female / neuter) plus any others already used in the cast, so a project can name whatever gender a language needs while keeping spellings consistent. Notes and an actor are optional, for production. The character colour is drawn from the character ID rather than picked, so the same character is the same colour everywhere: in the editor, the play window, and the readable script alike. Rename a character and they keep their colour: the project file remembers it for them (a cast member’s colour, a slot in the palette).

Gender, notes, and actor sit behind the ▸ expander on each row.

You don’t have to fill the cast in first. When a writer types a new character ID, the character joins the roster automatically. Set it up ahead of time only when you want character names, notes, or actors ready before writing starts. The character ID is what runs through the story; the character name is presentation, chosen per language.

Three things here feed the rest of production. Character names are translated as part of Languages & translation, the grammatical gender travels with every localisation export so a gendered language can inflect that character’s lines (see Localisation), and the actor you assign feeds the voice-recording pipeline.

Only the character ID and the character name are compiled into the published .patterc bundle. Grammatical gender, notes, the actor’s name, and the character colour are project-side context for translators and the production team; they are deliberately left out, so a game you ship never contains a real person’s name or a writer’s private notes about a character.

A speaker qualifier is what a screenplay calls a character extension: how a line is delivered, not who says it. TAM (O.S.) is Tam heard but not seen, PLAYER (V.O.) is a thought or narration, and GUARD (RADIO) is a voice through a radio. A qualified line is still the same character, so TAM and TAM (O.S.) count as one in the cast, the report, coverage, and every script export. You never need a second cast member such as TAM_OS to get one.

A project starts with three:

Qualifier Game ID Meaning
V.O. vo Voice-over: the character isn’t in the scene (a thought, narration, a voice in the ear)
O.S. os Off-screen: the character is there, but not seen (the next room, behind a door)
RADIO radio Heard through a radio, a phone, or a loudspeaker

Change the list in Project Settings ▸ Qualifiers: add your own (PHONE, PA, O.C.), rename, reorder, describe, or remove them. Each has a name, which the script shows, and a Game ID, which your game’s code relies on. Renaming V.O. to VO changes the name a game shows, never what its code switches on. A new qualifier’s Game ID is made from its name until you edit it, and changing a Game ID updates every line that uses it.

A qualifier’s name is translated like a character name, for the qualifiers your lines use (see Localisation). Only those qualifiers are compiled into the .patterc, with their Game ID and name; the description is for writers.

The game shows a qualified line’s speaker as the character name and the qualifier together: PLAYER with V.O. shows as You (V.O.). That needs nothing from you. How the two go together is the project’s speaker pattern, {name} ({qualifier}), set once in Project Settings ▸ Qualifiers.

When one character’s version should read differently, give that pair a label of its own: in Project Settings ▸ Cast, expand the character (▸) and type it in Shown with V.O., so the player’s thoughts show as Your thoughts. A field appears for each qualifier that character’s lines use; leave it blank to keep the pattern. A label whose lines are gone keeps its field, marked as unused, until you clear it.

Translators see the pattern and any pair labels beside the character names, so each language can change the order or the punctuation once, and translate a pair label like any other phrase:

String English French
cast:PLAYER You Vous
qualifier:os O.S. H.C.
speaker:pattern {name} ({qualifier}) {name} ({qualifier})
speaker:PLAYER:vo Your thoughts Vos pensées

The script itself always shows PLAYER (V.O.), as a screenplay does; the label is what the player sees.

Open source under the MIT licence, made by .