Added mapping tool, reworked scene structure, and added test data.
This commit is contained in:
@@ -3,20 +3,34 @@
|
||||
[ext_resource type="Script" uid="uid://dw5jr50hsls5n" path="res://dialogue/scripts/dialogue.gd" id="1_tbx8t"]
|
||||
[ext_resource type="Script" uid="uid://d2d5w1vmd71js" path="res://dialogue/scripts/choice.gd" id="2_7gud4"]
|
||||
[ext_resource type="Script" uid="uid://cu54e7uh65lq0" path="res://dialogue/scripts/scene.gd" id="3_2c6wc"]
|
||||
[ext_resource type="Script" uid="uid://bcx25iulofjjw" path="res://dialogue/scripts/choice_target.gd" id="3_7gud4"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_w5su3"]
|
||||
script = ExtResource("3_7gud4")
|
||||
metadata/_custom_type_script = "uid://bcx25iulofjjw"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6lvw1"]
|
||||
script = ExtResource("2_7gud4")
|
||||
response = "test1"
|
||||
targets = Array[ExtResource("3_7gud4")]([SubResource("Resource_w5su3")])
|
||||
metadata/_custom_type_script = "uid://d2d5w1vmd71js"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_k33ik"]
|
||||
script = ExtResource("2_7gud4")
|
||||
response = "test2"
|
||||
metadata/_custom_type_script = "uid://d2d5w1vmd71js"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_qdk4l"]
|
||||
script = ExtResource("1_tbx8t")
|
||||
dialogue = "this is a test of the dialoge sysytem"
|
||||
choices = Array[ExtResource("2_7gud4")]([SubResource("Resource_6lvw1"), SubResource("Resource_k33ik")])
|
||||
metadata/_custom_type_script = "uid://dw5jr50hsls5n"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_psx0q"]
|
||||
script = ExtResource("1_tbx8t")
|
||||
dialogue = "this should be the second message"
|
||||
metadata/_custom_type_script = "uid://dw5jr50hsls5n"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_elg5j"]
|
||||
script = ExtResource("1_tbx8t")
|
||||
dialogue = "i hope you enjoyed"
|
||||
metadata/_custom_type_script = "uid://dw5jr50hsls5n"
|
||||
|
||||
[resource]
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"d":[
|
||||
{
|
||||
"chr": "test_character1",
|
||||
"d": "Hi, I'm test1!\nNice to meet you, what's your name?",
|
||||
"chs": []
|
||||
},
|
||||
{
|
||||
"chr": "test_character2",
|
||||
"d": "I'm test2!",
|
||||
"chs": []
|
||||
},
|
||||
{
|
||||
"chr": "test_character1",
|
||||
"d": "Where are you from?",
|
||||
"chs": [
|
||||
{
|
||||
"r": "Atlanta",
|
||||
"t": [
|
||||
{
|
||||
"t": "test_scene3.json",
|
||||
"c": [],
|
||||
"e": "ATL1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"r": "San Francisco",
|
||||
"t": [
|
||||
{
|
||||
"t": "test_scene4.json",
|
||||
"c": [],
|
||||
"e": "SFO1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"d":[
|
||||
{
|
||||
"chr": "test_character1",
|
||||
"d": "Goodbye!",
|
||||
"chs": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"d":[
|
||||
{
|
||||
"chr": "test_character1",
|
||||
"d": "You are from Atlanta!",
|
||||
"chs": [
|
||||
{
|
||||
"r": "",
|
||||
"t": [
|
||||
{
|
||||
"t": "test_scene2.json",
|
||||
"c": [],
|
||||
"e": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"d":[
|
||||
{
|
||||
"chr": "test_character1",
|
||||
"d": "You are from San Francisco!",
|
||||
"chs": [
|
||||
{
|
||||
"r": "",
|
||||
"t": [
|
||||
{
|
||||
"t": "test_scene2.json",
|
||||
"c": [],
|
||||
"e": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user