Narrative Forge
It reports duplicate IDs, broken links, missing entry nodes, unreachable nodes, ... WORKS WITH YOUR PROJECT - Unity 6000.6 or newer. ... All dialogue and quest content is data-driven JSON.
by camenduru
Price History +
Narrative Forge is a data-driven dialogue and quest toolkit for Unity. It lets you build branching conversations, conditional choices and quests without hard-coding them into your gameplay scripts.
You write dialogue and quest content in JSON. The runtime reads that data, tracks flags, variables and objectives, and updates the UI. Writers can change story content without editing C#. Programmers get a small, testable core that does not depend on a specific gameplay architecture. Designers get a live quest log and reward flow without reconnecting the UI every time the story changes.
DIALOGUE
Build NPC conversations from dialogue nodes, choices, hubs (menus that loop back) and conditional openings that change with the story state. Choices can set flags (true/false story markers), change integer variables such as gold, jump to another node or end the conversation. Hide a choice with a condition, or show it disabled with a hint such as "Need 25 gold."
Conditions can check flags, earlier choices, NPCs the player has met, integer variables and quest status. Quest rewards can set flags that unlock new dialogue, so dialogue and quests work together without extra code.
QUESTS
Create quests with objectives, counts, prerequisites, rewards and journal entries. Objective types include talk, kill, collect, reach, discover and dungeon boss. A quest completes automatically when its objectives are done. Your gameplay code reports events such as OnTalk, OnCollect or OnKill; Narrative Forge handles progress, completion and rewards.
JOURNAL, LOCALIZATION AND SAVES
QuestLogView shows a live journal with main and side quests, objective progress and an optional completed count. LocalizationTable turns nested JSON into simple dot-separated keys (for example, journal.title) and supports {token} formatting. Save data includes flags, variables, choices, met NPCs, seen nodes, quest status and objective progress, and works with Unity's JsonUtility.
VALIDATION
The package checks your data when it loads. It reports duplicate IDs, broken links, missing entry nodes, unreachable nodes, unknown NPCs or choices, flags that are never set, invalid prerequisites and unusable objective targets. Warnings appear in the Console and in the custom inspectors, so problems are caught before runtime.
WORKS WITH YOUR PROJECT
- Unity 6000.6 or newer.
- No third-party runtime dependencies.
- uGUI is included as a package dependency. The core runtime does not depend on Unity and can run in edit-mode tests, editor tools and build pipelines.
- Works with the Built-in Render Pipeline, URP and HDRP.
- Input System is optional. The demo automatically uses the Input System UI module when it is installed, and falls back to the legacy input module otherwise.
CUSTOMIZABLE
All dialogue and quest content is data-driven JSON. You can add your own conditions, text tokens, UI views and reward logic without changing the core. The included uGUI views can be replaced with your own UI.
SUITABLE FOR
RPGs, adventure games, visual novels, immersive sims and other narrative-driven projects that need branching dialogue, quests and persistent choices.
INCLUDED
- The Narrative Forge runtime, including dialogue, quests, localization and save/load.
- NarrativeForgeBehaviour, DialogueView, QuestLogView and database assets.
- Editor validation inspectors.
- The Harbour Demo: three NPCs, two quests, conditional dialogue, a locked choice, a hub conversation and reward flags that affect later dialogue.
- EditMode tests for conditions, hubs, validation, quest completion, rewards and save/load.
- README and online documentation at https://camenduru.github.io/NarrativeForgeDoc/