Skip to content
Heartie

Guide

How to use narration and dialogue in AI roleplay

Good narration and dialogue make an AI roleplay read like fiction instead of a chat log. Heartie splits every message into italic action paragraphs and quoted speech, and once you know the rules behind that split you can shape each reply on purpose.

Published Fact-checked

A message in a story chat carries two kinds of information at once. One is what happens: a hand on a pistol, a glance at the door, rain on a window. The other is what someone says out loud. Novels separate them with paragraphs and quotation marks. Heartie does the same thing automatically, and the way it decides which is which is simple enough to learn in one sitting. The examples here use Scarlett, the red-haired bounty hunter who greets you in a jazz bar by spinning a pistol and asking whether you’re “the little cutie worth five million.”

Learn the marks that turn text into narration

When a message is displayed, Heartie reads it left to right and pulls out anything wrapped in a pair of action marks. Those parts become their own paragraph, shown in italics. Everything else is treated as speech and shown as plain text in quotation marks.

You typeShown as
*slides the glass back across the bar*Italic narration paragraph
**slides the glass back across the bar**Italic narration paragraph
(slides the glass back across the bar)Italic narration paragraph
[slides the glass back across the bar]Italic narration paragraph
Keep the change.Dialogue, wrapped in quotes for you
"Keep the change."Dialogue, left as you typed it

Two details are worth knowing. First, you don’t have to type quotation marks around speech: any stretch of plain text gets wrapped in quotes when it’s shown, unless you already added them. Second, when you send a message, asterisks and parentheses are converted to square brackets behind the scenes, so the character receives your actions in one consistent format no matter which style you prefer. Pick the mark that is fastest on your keyboard. The ✱ button in the message box inserts a pair of asterisks with the cursor already between them.

Characters write the same way. Many built-in characters, Scarlett included, open their scenes with narration in parentheses, which is why their first message already looks like a short story.

Put the action before the line it colours

Order changes meaning. A gesture placed before a line tells the reader how to hear it; placed after, it becomes a reaction or a punchline.

Action first: the gesture sets the tone

I don’t touch the pistol. I just turn it, slowly, until the barrel points at the ceiling. “Five million is a lot of money to shoot in a room full of witnesses.”

Action last: the gesture lands as a reaction

“Five million is a lot of money to shoot in a room full of witnesses.” I smile and don’t move my hands from the bar.

The first version reads as calm control. The second reads as a dare. Neither is wrong; just decide which effect you want before you send. Because each action becomes its own paragraph, alternating short narration and short speech produces a rhythm like a screenplay, and the character tends to answer in the same rhythm.

Narrate only what your character can perceive or do

The narration you write is a contract about what’s true in the scene. If you type I notice Scarlett’s hand is shaking, you’ve decided something about her, and she has to play along or contradict you. That’s fine occasionally, but if you do it every turn you end up writing both characters.

A cleaner habit is to narrate your own body and senses, and leave her interior to her:

  • Strong: I watch her fingers on the trigger guard. (Your perception; she decides what they do.)
  • Weaker: She is nervous but hides it. (You’ve written her feelings for her.)

The same goes for outcomes. I grab the gun hands the character a finished fact. I reach for the gun hands them a moment to react, which is usually more fun to read.

Keep dialogue for what would be said out loud

Speech should sound like speech. People interrupt themselves, leave things out and answer questions with questions. If a line contains information your character wouldn’t actually say to a bounty hunter’s face, move it into narration or cut it.

Over-explained dialogue

“I am nervous because I owe money to the people who hired you, and I want to negotiate.”

The same content, split properly

My mouth is dry. I’ve rehearsed this in the car three times. “Whoever’s paying you five million, I can tell you why they want me found. That information is worth more.”

Here’s another reason to keep dialogue clean: if you tap the play button on a character’s reply, it’s read aloud in that character’s voice. Replies that sound natural in speech make for much better listening.

Match the balance to the kind of scene

There’s no ideal ratio of action to speech, but different scenes lean differently. Use this as a starting point, then adjust.

SceneLean towardWhy
Standoff or negotiationMostly dialogue, tiny actionsTension lives in what’s said and withheld.
Chase or fightMostly narration, clipped linesMovement matters more than words.
Arrival in a new placeNarration first, one line to closeThe reader needs to see the room.
Quiet heart-to-heartEven mix, slow actionsSmall gestures carry the emotion.

If replies keep coming back lopsided, say a wall of description with one line of speech, regenerating the reply often helps. You can also edit the reply to cut the excess before you answer, and the character will follow the trimmed version from then on.

Avoid the formatting slips that break a message

The parser is forgiving, but a few habits produce odd results:

  • An unclosed asterisk. *I lean back and say nothing without a closing mark is treated as plain dialogue and shown in quotes. Close every pair.
  • Parentheses inside speech. "I'll pay you (eventually)" splits into a broken line of dialogue, an italic “eventually” on its own line, and a stray quotation mark. Use dashes or commas for asides in speech instead.
  • Emoticons made of brackets. A smiley with a closing parenthesis paired with an earlier opening one can swallow the text between them into narration. Skip bracket emoticons in story chats.
  • Stacking marks on one action. *(sighs)* is converted to nested brackets when you send it and can leave a stray bracket on screen. One pair of marks per action is enough.

None of these are disasters, and the edit tool fixes a character’s reply in place if one of its own lines comes out mangled. But clean formatting is the cheapest way to make a long story look the way it reads in your head.

Read a reply aloud before you send it

The fastest quality check is to read your message the way it will appear: italic paragraphs as stage directions, plain lines as speech. If the speech alone still makes sense, and the narration alone still tells you what happened, the split is right. If one half depends entirely on the other, move a sentence across. Scarlett, like every character, will mirror whatever balance you give her, so a well-split message tends to get a well-split reply.