Skip to content
Julian Murgia edited this page Jun 22, 2017 · 7 revisions

godot-dialogtreetools

Preview

Tool for creating dialog trees for Adventure or RPG games in the form of a Graph. Made using Godot Engine.

Documentation

>>>> HOW TO USE <<<<

Objectives

This project aims at providing a tool helping the creation of advanced trees defining the behaviour of NPC in adventure games (Point'n'click style) or RPGs.

Two ways using this tool:

  • Add the provided TreeNode custom node as a child of your target node: selecting this specific node opens a GraphEditor allowing tree building. You are then able to call this node's functions using get_node() in your target node's script.

  • Either export the tree to a JSON file and use this file as an input by script. You can parse the JSON file yourself and manage it the way you like.

Features

This tool was developed after observing old LucasArts dialog systems in-game, and aims at reproducing it. Thus, it features:

  • NPC sayings (one NPC or more in one Dialog Tree)
  • Character sayings, choices and options.
  • Variables settings
  • Simple tests
  • Animations during and between sayings
  • Looping/Recurring sayings
  • Replacement sayings (example : https://www.youtube.com/watch?v=v8eNzUtCVlY&t=1116s at 18:36: all choices lead to the same line being actually said)

Future

This plugin can also be used to create scenarios, objects logic, or even as a basis for interactive fictions games (such as Lifeline for example).

Thanks

LeeZH for the initial project, which was importantly modified since then - https://github.com/leezh/gdscript-dialogue

Clone this wiki locally