Skip to content
mifth edited this page Jan 25, 2024 · 18 revisions

Start Node

Start Node is the first node from what any dialogue starts.

image

JSON:

{
   "Inputs": [],
   "Name": "StartNode",
   "Outputs": [
      {
         "Type": 0
      }
   ],
   "Position": [
      768,
      420.399993896484
   ],
   "Size": [
      280.000213623047,
      121.00048828125
   ],
   "StartID": 0,
   "StartName": "First Quest"
}

Dialogue Node

This is the main node which represents dialogue data. It contains a main text(MainText) and answers(TextSlots).

image

JSON:

{
   "Inputs": [
      {
         "Type": 0
      },
      {
         "Type": 1
      },
      {
         "Type": 1
      },
      {
         "Type": 1
      },
      {
         "Type": 1
      }
   ],
   "MainText": {
      "Text": "{\"Eng\": \"Hodor\",}"
   },
   "Name": "DialogueNode",
   "Outputs": [
      {
         "Type": 0
      },
      {
         "Type": 0
      },
      {
         "Type": 0
      },
      {
         "Type": 0
      }
   ],
   "Position": [
      415.092468261719,
      128.960174560547
   ],
   "Size": [
      549.834716796875,
      369.231323242188
   ],
   "TextSlots": [
      {
         "Text": "{\"Eng\": \"Winter is coming\",}"
      },
      {
         "Text": "{\"Eng\": \"Winter is coming\",}"
      },
      {
         "Text": "{\"Eng\": \"Winter is coming\",}"
      }
   ]
}

Action Node

This node represents any action in a game and can store any JSON data.

image

JSON:

{
   "ActionName": "Check",
   "ActionText": {
      "Text": "{\n\"Type\": \"HasItems\",\n\"Items\": [\n\"Apple\": 4, \"Banana\": 2\n]\n}"
   },
   "Inputs": [
      {
         "Type": 0
      },
      {
         "Type": 1
      }
   ],
   "Name": "ActionNode",
   "Outputs": [
      {
         "Type": 0
      },
      {
         "Type": 0
      }
   ],
   "Position": [
      560,
      180
   ],
   "Size": [
      419.591979980469,
      363.017791748047
   ]
}

Text Node

The Text Node is used to set up default texts and make them more procedural and random.

image

JSON:

{
   "Inputs": [],
   "Name": "TextNode",
   "Outputs": [
      {
         "Type": 1
      },
      {
         "Type": 1
      },
      {
         "Type": 1
      }
   ],
   "Position": [
      380,
      320
   ],
   "Size": [
      416.281036376953,
      317.413146972656
   ],
   "TextSlots": [
      {
         "Text": "{\"Eng\": \"Hey! How are you?\",}"
      },
      {
         "Text": "{\"Eng\": \"What are you doing here?\",}"
      }
   ]
}
Clone this wiki locally