Skip to main content

Guides Overview

These guides explain how to use the DIALOGUE-SYSTEM module to build interactive conversations in your project.

Start with an example scene

Before reading anything, open a working conversation:

BardTreeLtd/Dialogue/Examples/Create Example Scene

The wizard generates eight numbered tutorial scenes, each demonstrating one concept and each meant to be played rather than read. They are the fastest way in.

SceneWhat it demonstrates
1 - Hello WorldThe minimum: one NPC, one line, one exit
2 - Branching ConversationA hub-and-spoke merchant conversation
3 - Gated OptionsOptions gated on blackboard state — a guard who remembers you
4 - Tokens{speaker.name}, {other.name}, {world.time}, {world.period}
5 - Multi BeatSeveral beat groups on one node, text plus mood, auto-progression
6 - Cross Tree ReferencesCall and Return nodes into a separate tree
7 - Timed ResponseAuto-selecting an option on timeout
8 - NPC to NPCA headless conversation with overhead text

Start with 1 - Hello World and work up. Each scene's chat tree is authored in markdown under DIALOGUE-SYSTEM/Examples/Dialogue Scripts/, so you can read the source alongside the running scene.

Where to start

Different users will want different entry points.

What these guides cover

  • the core data model and authoring concepts
  • the flowchart and script authoring editors
  • player-facing conversation flow
  • agent-to-agent headless conversations
  • blackboard state management and token interpolation
  • camera, mood, and UI presentation
  • conversation policies and input handling
  • localisation and beat extensibility
  • debugging tools
  • integration with CIVIL-AI-SYSTEM
  1. Introduction to the Dialogue System
  2. Chat Trees
  3. Beats
  4. Authoring Editors
  5. Player Conversations
  6. Responses and Options
  7. Blackboard
  8. Token System
  9. Camera System
  10. UI and Theming
  11. Debugging