Abstract
Problem: How did a team of only 14 people create the rich, reactive dialogue that Arcanum is known for?
Approach: Tim Cain designed a system of "dialog op codes" — single-letter commands that expanded into entire dialogue subtrees, pulling from banks of lines organized by NPC social class, player race, gender, and game state.
Findings: The system handled greetings, money requests, quests, rumors, insults, training, and more — all with built-in variety and reactivity. The greeting op code alone tested over 11 conditions (death, active spells, armor, reputation, prior meetings) to generate contextually appropriate NPC responses.
Key insight: A well-designed procedural dialog system can multiply a small writing team's output enormously while simultaneously increasing reactivity — something Tim Cain believes modern LLMs could take even further.
References
- Tim Cain. YouTube video. https://www.youtube.com/watch?v=5l7YcGCQ5Ck