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 11:47] – justin | dialogue_editor [2017/09/01 13:59] – 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^ | ^Icon^Function^Description^ | ||
|{{: | |{{: | ||
|{{: | |{{: | ||
|{{: | |{{: | ||
+ | |||
+ | =====Node Toolbar===== | ||
+ | The Node Toolbar is for adding new nodes to your dialogue. A node represents a specific point in the dialogue where an event occurs, for example when a character speaks, a message is displayed, a condition is evaluated, or a script is triggered. Clicking on one of these toolbar buttons will add a new node of that type to the center of the editor view. | ||
+ | |||
+ | {{: | ||
=====Dialogue Graph===== | =====Dialogue Graph===== | ||
Line 15: | Line 20: | ||
{{: | {{: | ||
+ | |||
+ | =====Dialogue Graph Toolbar===== | ||
+ | ^Function^Description^ | ||
+ | |Duplicate|Creates a copy of all selected nodes in the dialogue graph (including any connections between the selected nodes).| | ||
+ | |Select All|Selects all nodes in the dialogue graph.| | ||
+ | |Select None|Deselects any selected nodes in the dialogue graph.| | ||
=====Node Types===== | =====Node Types===== | ||
+ | There are several different types of nodes that can be added to a dialogue graph. Refer to each section below for an explanation of that node type's purpose and any options that can be set. | ||
<WRAP group> | <WRAP group> | ||
- | <WRAP column> | ||
- | {{: | ||
- | </ | ||
<WRAP column 58%> | <WRAP column 58%> | ||
- | **NPC** | + | ====NPC Node==== |
+ | **NPC nodes** are for dialogue spoken by non-player characters (i.e. characters other than the player). Clicking the " | ||
\\ | \\ | ||
\\ | \\ | ||
Line 30: | Line 40: | ||
The " | The " | ||
</ | </ | ||
+ | <WRAP column> | ||
+ | {{: | ||
</ | </ | ||
+ | </ | ||
+ | <WRAP group> | ||
+ | <WRAP column 70%> | ||
^Speaker Setting^Description^ | ^Speaker Setting^Description^ | ||
- | |Initiating NPC|Character from which the dialogue was started determines the speaker' | + | |Initiating NPC|Character from which the dialogue was started determines the speaker name and the text color.| |
- | |Entity ID|Character having the specified entity ID determines the speaker' | + | |Entity ID|Character having the specified entity ID determines the speaker name and the text color.| |
|Custom Name|Speaker name is overridden with the specified text.| | |Custom Name|Speaker name is overridden with the specified text.| | ||
|Custom Name/ | |Custom Name/ | ||
- | \\ | + | </WRAP> |
- | < | + | |
<WRAP column> | <WRAP column> | ||
- | {{:wiki:player_dialogue_node.png? | + | {{:wiki:dialogue_speaker_example.png? |
</ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | <WRAP group> | ||
<WRAP column 58%> | <WRAP column 58%> | ||
- | **Player** | + | ====Player Node==== |
- | \\ | + | **Player |
- | \\ | + | |
- | Connecting more than one " | + | |
\\ | \\ | ||
\\ | \\ | ||
The player' | The player' | ||
</ | </ | ||
+ | <WRAP column> | ||
+ | {{: | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP center round info 100%> | ||
+ | You can connect more than one " | ||
</ | </ | ||
\\ | \\ | ||
<WRAP group> | <WRAP group> | ||
+ | <WRAP column 58%> | ||
+ | ====Message Node==== | ||
+ | **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. | ||
+ | \\ | ||
+ | \\ | ||
+ | Clicking the " | ||
+ | </ | ||
<WRAP column> | <WRAP column> | ||
{{: | {{: | ||
- | </ | ||
- | <WRAP column 58%> | ||
- | ====Message==== | ||
</ | </ | ||
</ | </ | ||
\\ | \\ | ||
<WRAP group> | <WRAP group> | ||
+ | <WRAP column 58%> | ||
+ | ====Condition Node==== | ||
+ | **Condition nodes** provide a way of branching the dialogue based on the results of a conditional expression being evaluated. | ||
+ | \\ | ||
+ | \\ | ||
+ | Clicking the " | ||
+ | </ | ||
<WRAP column> | <WRAP column> | ||
{{: | {{: | ||
- | </ | ||
- | <WRAP column 58%> | ||
- | ====Condition==== | ||
</ | </ | ||
</ | </ | ||
\\ | \\ | ||
<WRAP group> | <WRAP group> | ||
+ | <WRAP column 58%> | ||
+ | ====Script Node==== | ||
+ | **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" | ||
+ | \\ | ||
+ | \\ | ||
+ | The "Pause until complete" | ||
+ | </ | ||
<WRAP column> | <WRAP column> | ||
{{: | {{: | ||
- | </ | ||
- | <WRAP column 58%> | ||
- | ====Script==== | ||
</ | </ | ||
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |