This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dialogue_editor [2017/07/24 13:58] – justin | dialogue_editor [2022/05/10 17:07] – justin | ||
---|---|---|---|
Line 5: | Line 5: | ||
The **Dialogue Editor** is where you will create conversations for your game's characters or narration for scripted sequences and cutscenes. Dialogue can be attached to an NPC from its [[Entity Properties]] dialog in the [[Map Editor]] or triggered from a script using the [[Start Dialogue]] function. | The **Dialogue Editor** is where you will create conversations for your game's characters or narration for scripted sequences and cutscenes. Dialogue can be attached to an NPC from its [[Entity Properties]] dialog in the [[Map Editor]] or triggered from a script using the [[Start Dialogue]] function. | ||
- | =====Toolbar===== | + | =====File Toolbar===== |
- | ^Icon^Function^Description^ | + | ^Function^Description^ |
- | |{{: | + | |New Resource|Opens the [[New Resource dialog]] (with " |
- | |{{: | + | |Save|Saves changes to the dialogue.| |
- | |{{: | + | |Save As|Saves a copy of the dialogue to a new file.| |
+ | |Add Section|Adds a new section to the dialogue. A section can be jumped to using a "Go To" node.| | ||
+ | |Collapse All|Collapses all dialogue nodes that have any child nodes underneath them.| | ||
+ | |Expand All|Expands all dialogue nodes that have any child nodes underneath them.| | ||
+ | |Compact All|Enables compact mode for all dialogue nodes.| | ||
+ | |Decompact All|Disables compact mode for all dialogue nodes.| | ||
- | =====Dialogue | + | =====Dialogue |
- | The Dialogue | + | The Dialogue |
- | {{:wiki:dialogue_graph.png? | + | {{:dialogue_tools.png? |
+ | |||
+ | =====Dialogue Tree===== | ||
+ | The Dialogue Tree is the visual workspace where you will build your dialogue. Nodes can be removed from the dialogue tree by clicking on their " | ||
+ | |||
+ | {{:dialogue_tree.png? | ||
=====Node Types===== | =====Node Types===== | ||
- | There are several different types of nodes that can be added to the dialogue. | + | There are several different types of nodes that can be added to a dialogue |
- | ====NPC Node==== | + | |
- | <WRAP group> | + | =====NPC Node===== |
- | <WRAP column> | + | **NPC nodes** are for dialogue spoken by non-player characters (i.e. characters other than the player). Typing into the main box allows you to enter the text that will be displayed in the game's dialogue box when this node is reached. |
{{: | {{: | ||
- | </ | + | |
- | <WRAP column 58%> | + | |
- | **NPC nodes** are for dialogue spoken by non-player characters (i.e. characters other than the player). Clicking the " | + | |
- | \\ | + | |
- | \\ | + | |
The NPC's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the " | The NPC's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the " | ||
- | \\ | + | |
- | \\ | + | |
The " | The " | ||
- | </ | + | |
- | </ | + | |
<WRAP group> | <WRAP group> | ||
<WRAP column 70%> | <WRAP column 70%> | ||
Line 46: | Line 51: | ||
</ | </ | ||
- | ====Player Node==== | + | =====Player Node===== |
- | <WRAP group> | + | **Player nodes** are for dialogue spoken by the player character. Typing into the main box allows you to enter the text that will be displayed in the game's dialogue box when this node is reached. |
- | <WRAP column> | + | |
+ | The player' | ||
{{: | {{: | ||
- | </ | + | |
- | <WRAP column 58%> | + | |
- | **Player nodes** are for dialogue spoken by the player character. Clicking the " | + | |
- | \\ | + | |
- | \\ | + | |
- | The player' | + | |
- | </ | + | |
- | </ | + | |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | You can connect more than one " | + | You can provide the player with a list of responses to choose from and branch |
</ | </ | ||
- | ====Message Node==== | + | =====Message Node===== |
- | <WRAP group> | + | **Message nodes** are used to display any general text that is not spoken by a character, for example to describe an event that is occurring in the scene. |
- | <WRAP column> | + | |
+ | Typing into the main box allows you to enter the text that will be displayed in the game's dialogue box when this node is reached. This is similar to using the [[Display Message]] function in a script. | ||
{{: | {{: | ||
- | </ | ||
- | <WRAP column 58%> | ||
- | **Message nodes** | ||
- | </ | ||
- | </ | ||
- | ====Condition Node==== | + | =====Condition Node===== |
- | <WRAP group> | + | **Condition nodes** provide a way of branching the dialogue based on the results of a conditional expression being evaluated. |
- | <WRAP column> | + | |
+ | Clicking the " | ||
{{: | {{: | ||
- | </ | ||
- | <WRAP column 58%> | ||
- | **Condition nodes** | ||
- | </ | ||
- | </ | ||
- | ====Script Node==== | + | =====Script Node===== |
- | <WRAP group> | + | **Script nodes** provide a way to trigger scripts during the dialogue, for example to give an item to the player or move the camera to a different viewpoint. You can choose between either a "Quick Script" |
- | <WRAP column> | + | |
+ | The "Pause until complete" | ||
{{: | {{: | ||
- | </ | + | |
- | <WRAP column 58%> | + | =====Go To Node===== |
- | **Script nodes** | + | **Go To** nodes allow you to jump to another part of the dialogue. You can either jump to a specific dialogue node or to the start of a section. |
- | </ | + | |
- | </ | + | =====Comment Node===== |
+ | **Comment nodes** allow you to insert comments into your dialogue. These provide a way of keeping notes or commentary about the dialogue and will not be displayed in-game. | ||
~~NOTOC~~ | ~~NOTOC~~ |