User Tools

Site Tools


dialogue_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dialogue_editor [2017/07/25 09:08] justindialogue_editor [2022/05/10 15:58] 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^
 |{{:wiki:new_resource.png?nolink|}}|New Resource|Opens the [[New Resource dialog]] (with "Dialogue" selected for the resource type).| |{{:wiki:new_resource.png?nolink|}}|New Resource|Opens the [[New Resource dialog]] (with "Dialogue" selected for the resource type).|
Line 11: Line 11:
 |{{:wiki:disk_multiple.png?nolink|}}|Save As|Saves a copy of the dialogue to a new file.| |{{:wiki:disk_multiple.png?nolink|}}|Save As|Saves a copy of the dialogue to a new file.|
  
-=====Dialogue Graph===== +=====Node Toolbar===== 
-The Dialogue Graph is the visual workspace where you will build your dialogue. Once you have added nodes to your dialogue, you can click and drag to move them aroundTo connect two nodes together, click and hold on the output connector of one then drag to the input connector of another and release. In order to have valid dialogue, you need at least one node connected to the Start node. Nodes can be removed from the Dialogue Graph by clicking on their "X" button located in the upper right corner of the node.+The Node Toolbar is for adding new nodes to your dialogue. A node represents a specific point in the dialogue where an event occursfor example when a character speaks, a message is displayed, a condition is evaluated, or a script is triggeredClicking on one of these toolbar buttons will add new node of that type to the center of the editor view.
  
-{{:wiki:dialogue_graph.png?nolink|}}+{{:wiki:dialogue_editor_toolbar.png?nolink|}} 
 + 
 +=====Dialogue Tree===== 
 +The Dialogue Tree is the visual workspace where you will build your dialogue. Nodes can be removed from the Dialogue Graph by clicking on their "X" button located in the upper right corner of the node. 
 + 
 +{{:dialogue_tree.png?nolink|}} 
 + 
 +=====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=====
Line 78: Line 89:
 <WRAP column 58%> <WRAP column 58%>
 ====Condition Node==== ====Condition Node====
-**Condition nodes** provide a way of branching the dialogue based on the results of a conditional expression being evaluated. Clicking the "Edit" button opens the [[Conditional Expression Builder]], allowing you to define the conditional expression that will be evaluated when this node is reached. If the condition is met (i.e. evaluates to true), then the dialogue will proceed to the node connected to the "Then" output connector. Otherwise, it will proceed to the node connected to the "Else" output connector.+**Condition nodes** provide a way of branching the dialogue based on the results of a conditional expression being evaluated. 
 +\\ 
 +\\ 
 +Clicking the "Edit" button opens the [[Conditional Expression Builder]], allowing you to define the conditional expression that will be evaluated when this node is reached. If the condition is met (i.e. evaluates to true), then the dialogue will proceed to the node connected to the "Then" output connector. Otherwise, it will proceed to the node connected to the "Else" output connector.
 </WRAP> </WRAP>
 <WRAP column> <WRAP column>
dialogue_editor.txt · Last modified: 2022/05/10 17:29 by justin