Echoria ← Back to main page
Design Note · Character Dialogue

The Living
Dialogue System

Why we should stop writing lines — and start writing instructions that let our characters answer anything, live, and still stay themselves.

01 — The problem

Pre-written dialogue can't survive a player who speaks freely.

Right now each interaction has a box where I type what the character says. That's perfect for a film or a linear game. It breaks the second a player can say anything.

In our game they will. A player might ask Echo about a red flower they're looking at, accuse a character of lying, or trail off mid-thought. A line I wrote a year ago can't answer a question I never saw coming — and we can't write every branch, because there are infinite branches. Even if we tried, the result feels like a vending machine: pick A, B or C. Dead.

We don't want pre-recorded answers. We want a character who actually responds.

02 — The idea

Don't write what the character says. Write the instructions that let the AI say it — in character, on-story, every single time.

So each box stops holding dialogue and starts holding a prompt. Not one giant prompt — a few small, focused ones, each telling the AI something different about the moment. The AI reads them together with the character's background, takes the player's input, and generates the reply.

03 — The fields, per interaction

Four small boxes instead of one big one.

1

Scene Intent — what is this moment for?

The narrative job of the beat. What it needs to accomplish, and where the player should be left.

Introduce the blacksmith as gruff but decent. Plant the carved symbol. Leave the player curious — not satisfied.
2

Mood & Subtext — what is he feeling, and hiding?

The inner state the AI plays underneath the words. This is where characters get depth instead of just lines.

Tired and on edge. He's seen the symbol before and it scared him — but he'll deny it and cover with sarcasm.
3

Direction & Examples — how should it sound?

Voice, register, rhythm — plus a few sample lines as a tuning fork. Not read verbatim; they set the tone.

Short sentences. Dry. Calls the player "kid."
e.g. — "Symbols don't keep the rain off. You want a roof, or a riddle?"
4

Locked Line override — when exact words matter

The escape hatch back to full control. For beats we can't leave to chance — a reveal, a punchline, a plot-critical line — type it word-for-word and the AI delivers it as written. Leave it empty the rest of the time.

"The mark on your gate. I carved its twin into a coffin lid, ten winters back."

And underneath every interaction, two things are always present:

📖

The Background Sheet always loaded

The character bible — history, wound, secret, how they speak, their bond with Echo and with the player. It can run a hundred pages. Every interaction reads from it, so the character is consistent whether it's their first scene or their fortieth.

🎙️

The Player's Input live

Whatever the player just said or did — voice or text — fed in at the moment of play. This is the part we can never predict, and the whole reason the system has to be generative.

04 — How it flows

Everything converges into one generated reply.

Inputs — assembled together
Background Sheet  the character bible · persistent
Prompt Fields ①②③  intent · mood · direction
Locked Line ④  optional · exact words
Player Input  live · free-form
AI Engine
assembles every layer · generates in character
In-character response
on-voice · on-story · never the same twice
05 — Worked example

The line I never wrote still works.

Scene
Meeting the Blacksmith
① Intent
Gruff but decent. Plant the symbol. Leave them curious.
② Mood
On edge. He fears the symbol — denies it with sarcasm.
③ Direction
Dry, short sentences. Calls the player "kid."
④ Locked line
— empty here · AI improvises freely —
Turn A — the expected question
Player"Did you make that symbol on the gate?"
SmithA pause, a little too long. "Lots of iron passes through here, kid. I don't keep a diary of it." — he turns back to the forge a beat too fast.
Turn B — the curveball I never scripted
Player"I found this little red flower outside. Does it mean anything?"
Smith"Do I look like a man who knows about flowers?" A short laugh. "Ask the spirit hovering at your shoulder — that's more her department than mine."

Off-script, in character, and it even hands the moment back to Echo. No line for this was ever written.

I write a handful of smart instructions instead of thousands of dead lines. The AI handles the infinite things players throw at it. And where it matters — I still hold the pen.