Skip to content

📖 Support & Narrative

NPC dialogue trees, lore codex entries, quest outlines — all powered by Phi-3.5 Mini Instruct for fast, private, offline narrative generation.

Quick Reference

Command Description Model
assgen gen support narrative dialog Generate NPC dialog lines or a branching dialog tree
assgen gen support narrative lore Generate world-building lore text (codex entries, item descriptions, quest text)
assgen gen support narrative validate-dialogue Lint a dialogue JSON: orphan nodes, dead ends, missing keys
assgen gen support narrative validate-quest Check a quest JSON graph for cycles and unreachable nodes
assgen gen support data lightmap Bake GI lightmaps for a scene using AI-accelerated methods
assgen gen support data proc Generate a procedural asset generation script from a description
assgen gen support i18n extract Extract localisation string keys from JSON files (outputs JSON + CSV)

assgen gen support narrative dialog

Generate NPC dialog lines or a branching dialog tree.

Examples: assgen gen support narrative dialog "grizzled blacksmith, old town, skeptical" assgen gen support narrative dialog "mysterious elf merchant" --context "player just saved the village" --wait assgen gen support narrative dialog "guard captain, corrupt city" --branching --lines 20 --wait

Parameters

Parameter Type Default Description
CHARACTER (required) TEXT NPC name / description
--context TEXT Scene / quest context
--lines INTEGER 10 Number of dialog lines to generate
--branching BOOLEAN False Generate a branching dialog tree
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

Examples

assgen gen support narrative dialog "grizzled blacksmith, old town, skeptical"
assgen gen support narrative dialog "mysterious elf merchant" --context "player just saved the village" --wait
assgen gen support narrative dialog "guard captain, corrupt city" --branching --lines 20 --wait

assgen gen support narrative lore

Generate world-building lore text (codex entries, item descriptions, quest text).

Examples: assgen gen support narrative lore "history of the fallen empire" --wait assgen gen support narrative lore "ancient cursed sword" --format item-description --wait assgen gen support narrative lore "the order of silver dawn" --format codex --length 800 --wait

Parameters

Parameter Type Default Description
TOPIC (required) TEXT Lore topic, e.g. 'history of the fallen empire'
--length INTEGER 500 Approximate word count
--format TEXT prose prose | codex | item-description | quest
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

Examples

assgen gen support narrative lore "history of the fallen empire" --wait
assgen gen support narrative lore "ancient cursed sword" --format item-description --wait
assgen gen support narrative lore "the order of silver dawn" --format codex --length 800 --wait

assgen gen support narrative validate-dialogue

Lint a dialogue JSON: orphan nodes, dead ends, missing keys.

Parameters

Parameter Type Default Description
INPUT_FILE (required) TEXT Dialogue JSON file to validate
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

assgen gen support narrative validate-quest

Check a quest JSON graph for cycles and unreachable nodes.

Parameters

Parameter Type Default Description
INPUT_FILE (required) TEXT Quest JSON file to validate
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

assgen gen support data lightmap

Bake GI lightmaps for a scene using AI-accelerated methods.

Parameters

Parameter Type Default Description
SCENE (required) TEXT Scene file to bake
--quality TEXT medium low | medium | high
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

assgen gen support data proc

Generate a procedural asset generation script from a description.

Parameters

Parameter Type Default Description
DESCRIPTION (required) TEXT Describe the procedural asset to generate code for
--language TEXT python python | gdscript | csharp | hlsl
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress

assgen gen support i18n extract

Extract localisation string keys from JSON files (outputs JSON + CSV).

Parameters

Parameter Type Default Description
DIRECTORY (required) TEXT Directory to scan for translatable strings
--pattern TEXT **/*.json Glob pattern for files to scan
--key-field TEXT text JSON field to extract as translatable string
--output TEXT Output file or directory path
--wait BOOLEAN Block until the job completes and stream live progress