-
Notifications
You must be signed in to change notification settings - Fork 1
Nodes
mifth edited this page Jan 25, 2024
·
18 revisions
Start Node is the first node from what any dialogue starts.
JSON:
{
"Inputs": [],
"Name": "StartNode",
"Outputs": [
{
"Type": 0
}
],
"Position": [
768,
420.399993896484
],
"Size": [
280.000213623047,
121.00048828125
],
"StartID": 0,
"StartName": "First Quest"
}
This is the main node which represents dialogue data. It contains a main text(MainText) and answers(TextSlots).
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\",}"
}
]
}
This node represents any action in a game and can store any JSON data.
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
]
}
The Text Node is used to set up default texts and make them more procedural and random.
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?\",}"
}
]
}
Set Text Node is used to replace text during a dialogue.
JSON:
{
"Inputs": [
{
"Type": 0
},
{
"Type": 1
},
{
"Type": 1
}
],
"Name": "SetTextNode",
"Outputs": [
{
"Type": 0
},
{
"Type": 1
},
{
"Type": 1
},
{
"Type": 1
}
],
"Position": [
676.046691894531,
290.942901611328
],
"Size": [
413.900085449219,
324.099884033203
],
"TextSlots": [
{
"Text": "{\"Eng\": \"Hey, hello friend!\",}"
},
{
"Text": "{\"Eng\": \"Greetings!\",}"
}
]
}
Character Node represents a character in a dialogue.
JSON:
{
"CharacterID": 0,
"CharacterName": "Marina",
"CharacterTexture": 1,
"Inputs": [],
"Name": "CharacterNode",
"Outputs": [],
"Position": [
-940,
290
],
"Size": [
338,
396.999969482422
]
}