Writing Compelling NPC Dialogue
Published by GamiDay - June 26, 2026
In thousands of indie RPGs, the Non-Playable Character (NPC) is treated as a glorified vending machine. The player walks up, presses 'Interact', and the NPC dispenses three paragraphs of dry exposition ending with, "Please, hero, go to the dark cave and kill ten spiders." This is a tragic waste of narrative real estate. Great dialogue should never feel like a Wikipedia article; it should feel like an eavesdropped conversation. It must reveal character, advance the plot, and maintain the pacing of the game.
Writing good dialogue for a video game requires a completely different mindset than writing a novel. In a novel, you have infinite time to explore linguistic poetry. In a video game, you have about seven seconds before the player gets bored and starts pressing the skip button. Let's explore the rules of writing sharp, compelling NPC dialogue.
The "Three-Sentence" Rule
The golden rule of game dialogue is brevity. If an NPC speaks in massive, unbroken blocks of text, the player's brain will automatically filter it out as "background noise." To combat this, adhere strictly to the Three-Sentence Rule: An NPC should never say more than three sentences before the player is required to provide an input or a response.
If you have a complex plot point that requires explanation, break it up. Let the NPC say two sentences. Give the player a dialogue choice (e.g., "Why did the King do that?" or "Get to the point."). Then let the NPC continue for another three sentences. By forcing the player to physically interact with the dialogue tree every ten seconds, you keep them actively engaged in the conversation rather than passively scrolling.
Subtext is Everything
Amateur writers rely on 'On-the-Nose' dialogue, where characters state exactly what they are feeling with mechanical precision. "I am very sad that my husband died. I miss him." This is boring and unnatural. Real humans rarely say exactly what they mean. They hide behind sarcasm, anger, or deflection. This hidden meaning is called Subtext.
Instead of having the widow say she is sad, have her say, "He promised he'd fix that damn squeaky floorboard before winter. Now I guess I have to do it myself." She is talking about a floorboard, but the subtext screams of grief, frustration, and the sudden, crushing reality of being alone. Subtext forces the player to read between the lines, making the emotional impact significantly stronger because the player had to deduce it themselves.
Giving NPCs an Agenda
A boring NPC exists solely to wait for the player to arrive so they can hand over a quest. A compelling NPC has their own life, their own problems, and their own agenda that was happening long before the player walked into the room.
When the player approaches a blacksmith, the blacksmith shouldn't just stand there waiting to talk. The dialogue should interrupt something. The blacksmith is cursing at a ruined sword. When the player speaks, the blacksmith's first line of dialogue should not be, "Welcome to my shop." It should be, "Can't you see I'm busy? If you aren't buying steel, get out."
The player now has to navigate the blacksmith's bad mood to get what they want. The conversation becomes a micro-conflict. Conflict is the engine of drama. If every NPC is perfectly polite and eagerly waiting to help the protagonist, the world feels like an artificial theme park rather than a living society.
Distinct Voices
Finally, perform the 'Nametag Test'. If you take ten lines of dialogue from ten different NPCs in your game, remove their nametags, and shuffle the lines, can you still tell who said what? If not, your characters all sound exactly like you (the writer).
Give your characters distinct vocal tics based on their background. A wealthy aristocrat will use complex vocabulary, passive-aggressive phrasing, and avoid contractions (do not, cannot). A street urchin will speak in clipped sentences, use heavy slang, and rely on contractions (don't, can't). A veteran soldier might speak entirely in military jargon and blunt directives. By treating every NPC as a fully realized human being with an agenda and a unique voice, you transform boring exposition into gripping narrative.