A usable video game script pairs the words players hear or read with the information a team needs to put them in the game. That means identifying who speaks, what triggers the line, where the conversation goes next, and what changes because of it.
A polished line such as “Fine. Come in.” can still leave a team guessing. Does the player enter? Does a companion follow? Does a door unlock? Good video game writing makes those consequences clear while keeping the dialogue natural.
Start with the scene goal
Before drafting dialogue, write a short description of what the player wants, what prevents it, and which outcomes the scene supports. This gives each line a job and keeps a short interaction from growing into an unnecessary conversation tree.
For this original example, The Last Delivery, courier Ivo wants technician Nell to admit a medicine crate. Nell is concerned about who enters the building. The player can resolve the delivery in two ways:
- Show a signed manifest: available when
manifest=true. Nell unlocks the service hatch, and the interaction setsentry=authorized. - Ask for a supervised handoff: always available. Nell takes the crate while Ivo stays outside, and the interaction sets
entry=escorted_handoff.
Both paths deliver the medicine, but they grant different access. That distinction belongs in the script and in the implementation notes. The word “escorted” in the second state name does not authorize Ivo to enter; its defined meaning here is a supervised transfer at the boundary.
Draft lines that make the choice clear
Nell speaks briefly and keeps her attention on access. She does not need to explain the building’s history or threaten Ivo to establish that concern. The scene begins with her response to his request to bring in the medicine crate.
| Line ID | Speaker | Dialogue | Condition | Direction |
|---|---|---|---|---|
| N01 | Nell | “Keep the crate there. Who’s coming through with it?” | On entering the conversation. | Restrained; watch Ivo rather than the crate. |
| N02 | Nell | “The manifest checks out. I’ll open the service hatch. Bring it through.” | Player selects “Show signed manifest”; manifest=true. |
Practical, with no sudden warmth. |
| N03 | Nell | “I’ll take the crate. You stay on that side.” | Player selects “Ask for a supervised handoff”; always available. | Firm and quiet; no anger. |
The lines establish three functions: introduction, authorized entry, and supervised transfer. N02 tells the player that the service hatch will open. N03 explicitly keeps Ivo outside. The differences are audible as well as recorded in state.
Keep acting directions separate from spoken text. An actor needs to know that Nell is restrained; a localization team needs to know which words actually appear in the game.
Connect dialogue to flow and state
Give the scene a small, explicit flow. In this example, delivery_start plays N01 and advances to delivery_choice. That choice presents the following options:
| Player-facing choice | Availability | Next line | Required outcome |
|---|---|---|---|
| Show signed manifest | Show only when manifest=true. |
N02 | Unlock the service hatch; set entry=authorized. |
| Ask for a supervised handoff | Always show. | N03 | Nell takes the crate; Ivo stays outside; set entry=escorted_handoff. |
After either outcome, flow reaches delivery_done. Rejoining there does not erase the difference between the paths. Any later access check must read the value of entry, rather than treating a completed delivery as permission to enter.
For this handoff, each outcome line plays before its listed world action and state change complete. Those effects must finish before the scene reaches delivery_done. If production changes that timing, update the handoff so dialogue, animation, and access checks still agree.
Tools express these ideas differently. Inkle’s Writing with ink documents choices, gathers, diverts, and variables. The Ren’Py Quickstart documents dialogue statements, characters, menus, labels, jumps, and supporting flags. These provide concrete ways to represent narrative flow; the example here uses engine-neutral node names and state notes.
Build a versioned writing handoff
A writing pass establishes voice, each line’s function, its source node, and its target. A design pass checks whether the choice is reachable and whether other systems honor its result. One person may perform both passes, but each pass answers a different question.
The line sheet also needs playback context, variation, voice-over status, and translation variables. “Nell at the service hatch” gives a performer and translator more useful context than an isolated sentence. Recording draft_not_recorded prevents a draft from being mistaken for approved audio.
The companion writing-handoff.csv contains the line sheet below. Open the file in a spreadsheet or a text editor to change a line, condition, or direction. Conditions, performance directions, and system actions have separate fields.
script_version,line_id,speaker,line_function,text,condition,direction,source_node,target_node,state_effect,world_action,playback_context,variation,vo_state,translation_variables
"1.0","N01","Nell","Introduction","Keep the crate there. Who's coming through with it?","true","Restrained; watch Ivo rather than the crate","delivery_start","delivery_choice","none","none","Service hatch; Ivo requests admission for a medicine crate","base","draft_not_recorded","none"
"1.0","N02","Nell","Signed manifest outcome","The manifest checks out. I'll open the service hatch. Bring it through.","manifest=true","Practical; no sudden warmth","delivery_choice.manifest","delivery_done","entry=authorized","Unlock service hatch","Service hatch; player selected Show signed manifest","base","draft_not_recorded","none"
"1.0","N03","Nell","Supervised outcome","I'll take the crate. You stay on that side.","true","Firm and quiet; no anger","delivery_choice.supervised","delivery_done","entry=escorted_handoff","Nell takes crate; Ivo stays outside","Service hatch; player selected Ask for a supervised handoff","base","draft_not_recorded","none"
The source names ending in .manifest and .supervised identify the selected options at delivery_choice. The condition does not trigger a line by itself: N03 plays only when the player selects its option.
Keep line IDs stable when revising wording, and increment the script version. Give a new line its own ID when it serves a different function or requires separate playback. If recorded text changes, mark the affected voice-over status for review.
This draft has no translation variables. If a later revision inserts a character name, quantity, or item label, document the placeholder and its allowed values. Translators need enough context to handle grammar and meaning without guessing what a variable contains.
Review the scene in context
Readback means following the interaction in its intended order and checking what the player actually receives. Start with the script, then repeat the review in the game on the target interface.
- Read the manifest path aloud. N01 should lead naturally to “Show signed manifest,” then N02. Confirm that the hatch unlocks and
entrybecomesauthorized. - Read the supervised path aloud. N01 should also support that request without a manifest. After N03, confirm that Nell has the crate, Ivo remains outside, and
entrybecomesescorted_handoff. - Check availability. With
manifest=false, the manifest choice should be absent and the supervised choice should remain reachable. Withmanifest=true, both should be available. - Check the target UI. Review choice labels, speaker labels, subtitle wrapping, text size, and reading time. Check that directions never appear as dialogue.
- Check the next interaction. Verify that later access logic distinguishes the two outcomes and that the displayed world matches the stored state.
These checks turn “the dialogue sounds right” into specific observations. A natural performance cannot compensate for a supervised handoff that accidentally grants entry, and a correct state change cannot rescue a choice label the player cannot read.
Use the workflow for your next scene
Work in four passes: define the goal and outcomes, draft the shortest complete exchange, prepare the implementation handoff, and review both paths in context. Revise the words and the handoff together whenever a change affects meaning or behavior.
For more game dialogue practice, change Nell’s attitude while preserving the same choices and outcomes. The exercise shows whether you can create voice without making the interaction harder to understand.
For a narrative design portfolio, present the scene goal, branching choices, line sheet, and review criteria together. That lets a reviewer assess both the writing and how you expect another team to build it. Label any in-engine validation accurately, and include observed results only after performing the checks.