Skip to content
Atomic Junky edited this page Dec 16, 2023 · 1 revision

🦃 Welcome to the Monologue wiki!

Monologue is a graph node-based system that allows for the creation of modular dialogues in any game engine or language. The story is stored in a JSON file.

The principle of Monologue is to assign a unique id to each node. This allows for the creation of non-linear dialogues and stories, as each node can refer to any other node.

Important
To avoid losing your work, it is important to save your dialogue frequently. If you close Monologue without saving, all your progress will be lost.

Nodes

There are various types of nodes, including: - The RootNode, this node is unique and cannot be deleted, as it serves as the entry point of the file. - The SentenceNode displays the text spoken by a character. - The ChoiceNode represents a decision that the player must make. A ChoiceNode includes multiple OptionNode that redirect to different paths. - The EndPathNode is the end of a file and can refer to an other file.

There are various other types of nodes, including ConditionNode, ActionNode, DiceRollNode, EventNode, BridgeInNode/BridgeOutNode, and CommentNode. However, it is advisable to begin with the initial few.

Variables

Monologue allows you to define and modify variables, which can be compared throughout your story tree. This feature enables you to create a variety of gameplay options.

  • To define a variable, go to the config panel by clicking on 'File' and then 'Edit Config' or on the root node. Under the variables section, you can define your variables as Booleans, Integers, or Strings.

  • To modify a variable, create an ActionNode and select the 'ActionVariable' type. Then, choose your variable, the operation, and the value.

  • To compare a variable, create a ConditionNode and select the variable, operator type, and value to compare with.

Note
When moving to another file using an EndPathNode, the variables are retained.

Characters

A character is used in the SentenceNode.

The default character is the narrator and he is id is _NARRATOR

Note
If a character begin with "_" he is interpreted like a narrator.

To define a character, go to the configuration panel by clicking on 'File' and then 'Edit Config' or on the root node. In the characters section, add a new character and set their ID (which is their name).

Enjoy Monologue!

Clone this wiki locally