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
dialogue_editor [2022/05/10 16:11] justindialogue_editor [2022/05/10 17:29] (current) justin
Line 22: Line 22:
  
 =====Dialogue Tree===== =====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.+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 "X" button located in the upper right corner of the node.
  
 {{:dialogue_tree.png?nolink|}} {{:dialogue_tree.png?nolink|}}
Line 28: Line 28:
 =====Node Types===== =====Node Types=====
 There are several different types of nodes that can be added to a dialogue tree. Refer to each section below for an explanation of that node type's purpose and any options that can be set. There are several different types of nodes that can be added to a dialogue tree. Refer to each section below for an explanation of that node type's purpose and any options that can be set.
-====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 game's dialogue box when this node is reached. +=====NPC Node===== 
-\\ +**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. 
-\\+ 
 +{{:wiki:npc_dialogue_node.png?nolink|}} 
 The NPC's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the "Portrait" dropdown box. Selecting "None" will cause the portrait to be hidden. The NPC's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the "Portrait" dropdown box. Selecting "None" will cause the portrait to be hidden.
-\\ +
-\\+
 The "Speaker" setting is used by the game to determine the name that is displayed for the speaker, along with its text color. Each setting is described in the table below. The "Speaker" setting is used by the game to determine the name that is displayed for the speaker, along with its text color. Each setting is described in the table below.
  
Line 49: Line 50:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
-\\ 
  
-====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 game's dialogue box when this node is reached. +**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. 
-\\ +
-\\+
 The player's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the "Portrait" dropdown box. Selecting "None" will cause the portrait to be hidden. The player's default portrait (as defined in the [[Voxel Editor]]) can be overridden for a specific node by selecting an image from the "Portrait" dropdown box. Selecting "None" will cause the portrait to be hidden.
  
Line 60: Line 59:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-You can connect more than one "Player" node to the output connector of another node. Doing so will provide the player with a list of responses to choose from and allow the dialogue to be branched based upon the player's response.+You can provide the player with a list of responses to choose from and branch the dialogue based upon the player's response. To do so, either drag and drop a player node from the Dialogue Tools panel onto an existing player node without any subsequent nodes, or click the green branching arrow button on the titlebar of the node.
 </WRAP> </WRAP>
  
-====Message Node====+=====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. **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.+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.
  
 {{:wiki:message_dialogue_node.png?nolink|}} {{:wiki:message_dialogue_node.png?nolink|}}
  
-====Condition Node====+=====Condition Node=====
 **Condition nodes** provide a way of branching the dialogue based on the results of a conditional expression being evaluated. **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.+Clicking the wizard button opens the [[Conditional Expression Builder]], allowing you to define the conditional expression that will be evaluated when this node is reached. You can also type an expression directly into the field. 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.
  
 {{:wiki:condition_dialogue_node.png?nolink|}} {{:wiki:condition_dialogue_node.png?nolink|}}
  
-====Script Node====+=====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" 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]]. **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]].
  
Line 83: Line 82:
  
 {{:wiki:script_dialogue_node.png?nolink|}} {{:wiki:script_dialogue_node.png?nolink|}}
 +
 +=====Go To Node=====
 +**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~~
dialogue_editor.1652224279.txt.gz · Last modified: 2022/05/10 16:11 by justin