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/24 15:26] justindialogue_editor [2017/07/25 11:52] 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).|
 |{{:wiki:disk.png?nolink|}}|Save|Saves changes to the dialogue.| |{{:wiki:disk.png?nolink|}}|Save|Saves changes to the dialogue.|
 |{{: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.|
 +
 +=====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.
 +
 +{{:wiki:dialogue_editor_toolbar.png?nolink|}}
  
 =====Dialogue Graph===== =====Dialogue Graph=====
Line 21: Line 26:
 <WRAP column 58%> <WRAP column 58%>
 ====NPC Node==== ====NPC Node====
-**NPC nodes** are for dialogue spoken by non-player characters (i.e. characters other than the player). Clicking the "Edit" button allows you to enter the text that will be displayed in the dialogue box when this node is reached.+**NPC nodes** are for dialogue spoken by non-player characters (i.e. characters other than the player). Clicking the "Edit" button allows you to enter the text that will be displayed in the game'dialogue box when this node is reached.
 \\ \\
 \\ \\
Line 49: Line 54:
 <WRAP column 58%> <WRAP column 58%>
 ====Player Node==== ====Player Node====
-**Player nodes** are for dialogue spoken by the player character. Clicking the "Edit" button allows you to enter the text that will be displayed in the dialogue box when this node is reached.+**Player nodes** are for dialogue spoken by the player character. Clicking the "Edit" button allows you to enter the text that will be displayed in the game'dialogue box when this node is reached.
 \\ \\
 \\ \\
Line 65: Line 70:
 <WRAP column 58%> <WRAP column 58%>
 ====Message Node==== ====Message Node====
-**Message nodes**+**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 "Edit" button 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> </WRAP>
 <WRAP column> <WRAP column>
Line 75: Line 83:
 <WRAP column 58%> <WRAP column 58%>
 ====Condition Node==== ====Condition Node====
-**Condition nodes**+**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>
Line 85: Line 96:
 <WRAP column 58%> <WRAP column 58%>
 ====Script Node==== ====Script Node====
-**Script nodes**+**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" or a "Resource" (i.e. an existing script file). If the "Quick Script" option is selected, clicking the "Build" button will open the [[Quick Script Builder]]. 
 +\\ 
 +\\ 
 +The "Pause until complete" checkbox determines whether or not the dialogue will wait for the script to complete before proceeding. For example, if the script includes a timed camera movement and "Pause until complete" is checked, the dialogue will not proceed until the camera movement has finished.
 </WRAP> </WRAP>
 <WRAP column> <WRAP column>
dialogue_editor.txt · Last modified: 2022/05/10 17:29 by justin