diff --git a/project/objects/tiles/path.tscn b/project/objects/tiles/path.tscn index d66514d2a8..cd86d9a61d 100644 --- a/project/objects/tiles/path.tscn +++ b/project/objects/tiles/path.tscn @@ -1,8 +1,13 @@ [gd_scene format=3 uid="uid://bn7d8n5mbabu3"] +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dwmor"] +albedo_color = Color(0.49411765, 0.654902, 0.39215687, 1) +metallic_specular = 0.0 + [node name="Path" type="Node3D" unique_id=1526274724] [node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=252792297] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0345459, 0) use_collision = true -size = Vector3(2, 0.06567383, 2) +size = Vector3(3, 0.06567383, 3) +material = SubResource("StandardMaterial3D_dwmor") diff --git a/project/objects/tiles/room.tscn b/project/objects/tiles/room.tscn index e4490f9815..ba2f94b5bb 100644 --- a/project/objects/tiles/room.tscn +++ b/project/objects/tiles/room.tscn @@ -3,7 +3,8 @@ [ext_resource type="PackedScene" uid="uid://bn7d8n5mbabu3" path="res://objects/tiles/path.tscn" id="1_txfrx"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_txfrx"] -albedo_color = Color(0.5137255, 0.85882354, 0.6862745, 1) +albedo_color = Color(0.677409, 0.927285, 0.98743767, 1) +metallic_specular = 0.0 [node name="Path" unique_id=1526274724 instance=ExtResource("1_txfrx")] diff --git a/project/objects/tiles/tree.tscn b/project/objects/tiles/tree.tscn new file mode 100644 index 0000000000..dc89efed58 --- /dev/null +++ b/project/objects/tiles/tree.tscn @@ -0,0 +1,58 @@ +[gd_scene format=4 uid="uid://chdubc88gxpdo"] + +[ext_resource type="PackedScene" uid="uid://bn7d8n5mbabu3" path="res://objects/tiles/path.tscn" id="1_xpuv5"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xpuv5"] +albedo_color = Color(0.41960785, 0.2784314, 0.003921569, 1) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5004x"] +albedo_color = Color(0.49803922, 0.56078434, 0.25490198, 1) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_xpuv5"] +data = PackedVector3Array(-0.66740113, -0.34313965, -0.667401, 0, -0.34313965, 0, 1.12552705e-08, -0.34313965, -0.94384766, -0.66740113, -0.34313965, -0.667401, -0.94384766, -0.34313965, -8.2513786e-08, 0, -0.34313965, 0, -0.66740113, -0.34313965, -0.667401, -0.66740113, 4.875427, -0.667401, -0.94384766, -0.34313965, -8.2513786e-08, -0.66740113, -0.34313965, -0.667401, 1.12552705e-08, -0.34313965, -0.94384766, 1.12552705e-08, 5.2167068, -0.94384766, -0.94384766, -0.34313965, -8.2513786e-08, -0.66740113, 4.875427, -0.667401, -0.79887486, 4.4393635, -0.34999537, -0.94384766, -0.34313965, -8.2513786e-08, -0.79887486, 4.4393635, -0.34999537, -0.94384766, 4.8638444, -8.2513786e-08, -0.66740113, -0.34313965, -0.667401, 1.12552705e-08, 5.2167068, -0.94384766, -0.66740113, 4.875427, -0.667401, -0.94384766, -0.34313965, -8.2513786e-08, -0.6674011, -0.34313965, 0.6674011, 0, -0.34313965, 0, -0.6674011, -0.34313965, 0.6674011, -4.1256893e-08, -0.34313965, 0.94384766, 0, -0.34313965, 0, -0.94384766, -0.34313965, -8.2513786e-08, -0.94384766, 4.8638444, -8.2513786e-08, -0.6674011, -0.34313965, 0.6674011, -0.6674011, -0.34313965, 0.6674011, -0.6674011, 5.0774446, 0.6674011, -4.1256893e-08, -0.34313965, 0.94384766, -0.6674011, -0.34313965, 0.6674011, -0.94384766, 4.8638444, -8.2513786e-08, -0.6674011, 5.0774446, 0.6674011, -4.1256893e-08, -0.34313965, 0.94384766, -0.6674011, 5.0774446, 0.6674011, -4.1256893e-08, 4.5700846, 0.94384766, 1.12552705e-08, -0.34313965, -0.94384766, 0, -0.34313965, 0, 0.66740096, -0.34313965, -0.6674012, 0.66740096, -0.34313965, -0.6674012, 0, -0.34313965, 0, 0.94384766, -0.34313965, 0, 1.12552705e-08, -0.34313965, -0.94384766, 0.66740096, -0.34313965, -0.6674012, 0.66740096, 4.782449, -0.6674012, 0.66740096, -0.34313965, -0.6674012, 0.94384766, -0.34313965, 0, 0.94384766, 5.0313044, 0, 1.12552705e-08, -0.34313965, -0.94384766, 0.66740096, 4.782449, -0.6674012, 1.12552705e-08, 5.2167068, -0.94384766, 0.66740096, -0.34313965, -0.6674012, 0.7555928, 4.4776535, -0.4544872, 0.66740096, 4.782449, -0.6674012, 0.66740096, -0.34313965, -0.6674012, 0.94384766, 5.0313044, 0, 0.7555928, 4.4776535, -0.4544872, -4.1256893e-08, -0.34313965, 0.94384766, 0.6674011, -0.34313965, 0.6674011, 0, -0.34313965, 0, 0, -0.34313965, 0, 0.6674011, -0.34313965, 0.6674011, 0.94384766, -0.34313965, 0, -4.1256893e-08, -0.34313965, 0.94384766, 0.09506693, 4.437453, 0.9044696, 0.6674011, -0.34313965, 0.6674011, 0.94384766, -0.34313965, 0, 0.6674011, -0.34313965, 0.6674011, 0.6674011, 5.078015, 0.6674011, -4.1256893e-08, -0.34313965, 0.94384766, -4.1256893e-08, 4.5700846, 0.94384766, 0.09506693, 4.437453, 0.9044696, 0.6674011, -0.34313965, 0.6674011, 0.09506693, 4.437453, 0.9044696, 0.6674011, 5.078015, 0.6674011, 0.94384766, -0.34313965, 0, 0.6674011, 5.078015, 0.6674011, 0.94384766, 5.0313044, 0, -3.6688764, 6.5100718, -1.6837136, -0.66740113, 4.875427, -0.667401, 1.12552705e-08, 5.2167068, -0.94384766, -3.6688764, 6.5100718, -1.6837136, -0.79887486, 4.4393635, -0.34999537, -0.66740113, 4.875427, -0.667401, -3.6688764, 6.5100718, -1.6837136, -0.94384766, 4.8638444, -8.2513786e-08, -0.79887486, 4.4393635, -0.34999537, -3.6688764, 6.5100718, -1.6837136, -0.6674011, 5.0774446, 0.6674011, -0.94384766, 4.8638444, -8.2513786e-08, 0.25443035, 6.7252855, 4.1135864, -4.1256893e-08, 4.5700846, 0.94384766, -0.6674011, 5.0774446, 0.6674011, -3.6688764, 6.5100718, -1.6837136, 3.2495835, 6.791897, -2.2281992, -0.47170913, 9.476811, -3.9575212, -3.6688764, 6.5100718, -1.6837136, 1.12552705e-08, 5.2167068, -0.94384766, 3.2495835, 6.791897, -2.2281992, -3.6688764, 6.5100718, -1.6837136, -0.47170913, 9.476811, -3.9575212, -0.26969498, 12.376941, 0.110457405, -3.6688764, 6.5100718, -1.6837136, -3.4668624, 9.4102, 2.3842647, 0.25443035, 6.7252855, 4.1135864, -3.6688764, 6.5100718, -1.6837136, -0.26969498, 12.376941, 0.110457405, -3.4668624, 9.4102, 2.3842647, -3.6688764, 6.5100718, -1.6837136, 0.25443035, 6.7252855, 4.1135864, -0.6674011, 5.0774446, 0.6674011, -3.4668624, 9.4102, 2.3842647, -0.26969498, 12.376941, 0.110457405, 0.25443035, 6.7252855, 4.1135864, 3.2495835, 6.791897, -2.2281992, 1.12552705e-08, 5.2167068, -0.94384766, 0.66740096, 4.782449, -0.6674012, 3.2495835, 6.791897, -2.2281992, 0.66740096, 4.782449, -0.6674012, 0.7555928, 4.4776535, -0.4544872, 3.2495835, 6.791897, -2.2281992, 0.7555928, 4.4776535, -0.4544872, 0.94384766, 5.0313044, 0, 0.25443035, 6.7252855, 4.1135864, 0.09506693, 4.437453, 0.9044696, -4.1256893e-08, 4.5700846, 0.94384766, 0.25443035, 6.7252855, 4.1135864, 0.6674011, 5.078015, 0.6674011, 0.09506693, 4.437453, 0.9044696, 0.25443035, 6.7252855, 4.1135864, 0.94384766, 5.0313044, 0, 0.6674011, 5.078015, 0.6674011, -0.47170913, 9.476811, -3.9575212, 3.2495835, 6.791897, -2.2281992, -0.26969498, 12.376941, 0.110457405, -0.26969498, 12.376941, 0.110457405, 3.2495835, 6.791897, -2.2281992, 3.4515975, 9.692025, 1.839779, 3.2495835, 6.791897, -2.2281992, 0.94384766, 5.0313044, 0, 0.25443035, 6.7252855, 4.1135864, -0.26969498, 12.376941, 0.110457405, 3.4515975, 9.692025, 1.839779, 0.25443035, 6.7252855, 4.1135864, 3.2495835, 6.791897, -2.2281992, 0.25443035, 6.7252855, 4.1135864, 3.4515975, 9.692025, 1.839779) + +[sub_resource type="ArrayMesh" id="ArrayMesh_5004x"] +_surfaces = [{ +"aabb": AABB(-0.94384766, -0.34313965, -0.94384766, 1.8876953, 5.5598464, 1.8876953), +"attribute_data": PackedByteArray("GPYVPgAAAAAAAAA/AAAAPwAAAD8AAAAAGPYVPgAAAAAAAAAAAAAAAAAAAD8AAAA/AAAgPwAAAAAAACA/J3tNPwAAAD8AAAAAAAAgPwAAAAAAAEA/AAAAAAAAQD9B61o/AAAAPwAAAAAAACA/J3tNPwPIED+iTzw/AAAAPwAAAAADyBA/ok88PwAAAD9nBk0/AAAgPwAAAAAAAEA/QetaPwAAID8ne00/AAAAAAAAAAAa9hU+AAAAAAAAAD8AAAA/GvYVPgAAAAD///8+AAAAAAAAAD8AAAA/AAAAPwAAAAAAAAA/ZwZNPwAAwD4AAAAAAADAPgAAAAAAAMA+fm9VPwAAgD4AAAAAAADAPgAAAAAAAAA/ZwZNPwAAwD5+b1U/AACAPgAAAAAAAMA+fm9VPwAAgD5NdUE/AAAAPwAAAAAAAAA/AAAAP3iCWj8AAAAAeIJaPwAAAAAAAAA/AAAAPwAAgD8AAAAAAABAPwAAAAAAAGA/AAAAAAAAYD/v0Uk/AABgPwAAAAAAAAAAAAAAAAAAAABmnlM/AABAPwAAAAAAAGA/79FJPwAAQD9B61o/AABgPwAAAAAmihg/mdE9PwAAYD/v0Uk/AABgPwAAAAAAAAAAZp5TPyaKGD+Z0T0/////PgAAAAB6glo/AAAAAAAAAD8AAAA/AAAAPwAAAD96glo/AAAAAAAAgD8AAAAAAACAPgAAAABpxG0+YDw8PwAAAD4AAAAAAAAAAAAAAAAAAAA+AAAAAAAAAD4+dVU/AACAPgAAAAAAAIA+TXVBP2nEbT5gPDw/AAAAPgAAAABpxG0+YDw8PwAAAD4+dVU/AAAAAAAAAAAAAAA+PnVVPwAAAABmnlM/"), +"format": 34359738391, +"material": SubResource("StandardMaterial3D_xpuv5"), +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 81, +"vertex_data": PackedByteArray("zdoqvwCwr77L2iq/AAAAAACwr74AAAAANF1BMgCwr74AoHG/zdoqvwCwr77L2iq/AKBxvwCwr75vMrGzAAAAAACwr74AAAAAzdoqvwCwr77L2iq/zdoqv38DnEDL2iq/AKBxvwCwr75vMrGzzdoqvwCwr77L2iq/NF1BMgCwr74AoHG/NF1BMkPvpkAAoHG/AKBxvwCwr75vMrGzzdoqv38DnEDL2iq/EINMv0QPjkCYMrO+AKBxvwCwr75vMrGzEINMv0QPjkCYMrO+AKBxv52km0BvMrGzzdoqvwCwr77L2iq/NF1BMkPvpkAAoHG/zdoqv38DnEDL2iq/AKBxvwCwr75vMrGzzNoqvwCwr77M2io/AAAAAACwr74AAAAAzNoqvwCwr77M2io/bzIxswCwr74AoHE/AAAAAACwr74AAAAAAKBxvwCwr75vMrGzAKBxv52km0BvMrGzzNoqvwCwr77M2io/zNoqvwCwr77M2io/zNoqv216okDM2io/bzIxswCwr74AoHE/zNoqvwCwr77M2io/AKBxv52km0BvMrGzzNoqv216okDM2io/bzIxswCwr74AoHE/zNoqv216okDM2io/bzIxsyI+kkAAoHE/NF1BMgCwr74AoHG/AAAAAACwr74AAAAAytoqPwCwr77O2iq/ytoqPwCwr77O2iq/AAAAAACwr74AAAAAAKBxPwCwr74AAAAANF1BMgCwr74AoHG/ytoqPwCwr77O2iq/ytoqP9IJmUDO2iq/ytoqPwCwr77O2iq/AKBxPwCwr74AAAAAAKBxP3IAoUAAAAAANF1BMgCwr74AoHG/ytoqP9IJmUDO2iq/NF1BMkPvpkAAoHG/ytoqPwCwr77O2iq/iG5BP/BIj0CMsui+ytoqP9IJmUDO2iq/ytoqPwCwr77O2iq/AKBxP3IAoUAAAAAAiG5BP/BIj0CMsui+bzIxswCwr74AoHE/zNoqPwCwr77M2io/AAAAAACwr74AAAAAAAAAAACwr74AAAAAzNoqPwCwr77M2io/AKBxPwCwr74AAAAAbzIxswCwr74AoHE/c7LCPZ3/jUBSi2c/zNoqPwCwr77M2io/AKBxPwCwr74AAAAAzNoqPwCwr77M2io/zNoqPxl/okDM2io/bzIxswCwr74AoHE/bzIxsyI+kkAAoHE/c7LCPZ3/jUBSi2c/zNoqPwCwr77M2io/c7LCPZ3/jUBSi2c/zNoqPxl/okDM2io/AKBxPwCwr74AAAAAzNoqPxl/okDM2io/AKBxP3IAoUAAAAAA/38AAP///x//fwAA////P/9/AAD///8//38AAP///x//fwAA//++Ev9/AAD///8/AADVyP//lNsAACm3//+UmwAA9ZX//wP1AADVyP//lNv//3fwd/D/vwAAd/D//8LHAAD1lf//A/UAACm3//+UmwAAfKX+/0DtAAD1lf//A/UAAHyl/v9A7YcP/38AADv4AADVyP//lNsAAHfw///CxwAAKbf//2rk/38AAHyl/7//fwAA/7//v/9/AAD///+//38AAP+//7//fwAA////v/9/AAD///+/AAD1lf//+oqHD/9/AAA7+Ck3/38AAGrkKTf/fwAAauTVSP9/AACU2/9//38AAP+/KTf/fwAAauSHD/9/AAA7+NVI/38AAJTb/3//fwAA/7/VSP9/AACU2/9//38AAP+//38AAP///z//fwAA////P/9/AAD/v/8//38AAP+//z//fwAA////P/9/AAB8pf8///938Hfw/7///76yvrL/v///1cjVyP+///++sgAAoGZ38P9////DB///ho8AAMMH//938Hfw/7///9XI1cj/vwAAd/D//8LH//++sgAAoGb//3ylAAC+Ev//1cgAAGok//++sgAAoGb//4aPAADDB///fKUAAL4S/38AAP///7//fwAA////3/9/AAD///+//38AAP///7//fwAA////3/9/AAD//0Dt/3//fwAA/798pf9/fSX/vym3/38pN/+/d/D/f3hw/78pt/9/KTf/v9XI/3/VSP+//3//fwAA/7//f/9/AAD/v3yl/399Jf+/Kbf/fyk3/798pf9/fSX/v9XI/3/VSP+/d/D/f3hw/7/VyP9/1Uj/v///ho+Gj/+/") +}, { +"aabb": AABB(-3.6688764, 4.437453, -3.9575212, 7.120474, 7.939488, 8.071108), +"attribute_data": PackedByteArray("AAAAAAAAAADtL849ilY4P8xugz787kM/AAAAAAAAAAAAAAAA129FP+0vzj2KVjg/AAAAAAAAAAAUATo/dhXXPddvRT8AAAAAAAAAAAAAAAAkI0s/eGh2PhQBOj92Fdc9AACAPwAAgD/3Knk/bbltPiQjSz94aHY+AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAAAAAAAAAAADMboM+/O5DPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAAAAAAAAAAAAAAIA/AACAPyQjSz94aHY+AAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAACAPwAAgD/MboM+/O5DP8AFiD7o328/AACAPwAAgD/ABYg+6N9vP0Q3YT4AAIA/AAAAAAAAAAAAAAAAL7JHP9wNDz7N4To/AACAPwAAgD8AAIA/xjFYPvcqeT9tuW0+AACAPwAAgD+lwoA+VNNSP8YxWD4AAIA/AACAPwAAgD/cDQ8+zeE6P6XCgD5U01I/AAAAAAAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAAAAAAIA/AACAPwAAgD8AAAAAAAAAAAAAAADcDQ8+zeE6PwAAgD8AAIA/AACAPwAAgD8AAIA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA/AACAPwAAgD8AAAAA"), +"format": 34359738391, +"material": SubResource("StandardMaterial3D_5004x"), +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 69, +"vertex_data": PackedByteArray("385qwIJS0EDtg9e/zdoqv38DnEDL2iq/NF1BMkPvpkAAoHG/385qwIJS0EDtg9e/EINMv0QPjkCYMrO+zdoqv38DnEDL2iq/385qwIJS0EDtg9e/AKBxv52km0BvMrGzEINMv0QPjkCYMrO+385qwIJS0EDtg9e/zNoqv216okDM2io/AKBxv52km0BvMrGzskSCPoo110CAooNAbzIxsyI+kkAAoHE/zNoqv216okDM2io/385qwIJS0EDtg9e/LflPQDhX2UDRmg7A3IPxvgWhF0EHSH3A385qwIJS0EDtg9e/NF1BMkPvpkAAoHG/LflPQDhX2UDRmg7A385qwIJS0EDtg9e/3IPxvgWhF0EHSH3AdhWKvvMHRkF+N+I9385qwIJS0EDtg9e/E+FdwC6QFkHLlxhAskSCPoo110CAooNA385qwIJS0EDtg9e/dhWKvvMHRkF+N+I9E+FdwC6QFkHLlxhA385qwIJS0EDtg9e/skSCPoo110CAooNAzNoqv216okDM2io/E+FdwC6QFkHLlxhAdhWKvvMHRkF+N+I9skSCPoo110CAooNALflPQDhX2UDRmg7ANF1BMkPvpkAAoHG/ytoqP9IJmUDO2iq/LflPQDhX2UDRmg7AytoqP9IJmUDO2iq/iG5BP/BIj0CMsui+LflPQDhX2UDRmg7AiG5BP/BIj0CMsui+AKBxP3IAoUAAAAAAskSCPoo110CAooNAc7LCPZ3/jUBSi2c/bzIxsyI+kkAAoHE/skSCPoo110CAooNAzNoqPxl/okDM2io/c7LCPZ3/jUBSi2c/skSCPoo110CAooNAAKBxP3IAoUAAAAAAzNoqPxl/okDM2io/3IPxvgWhF0EHSH3ALflPQDhX2UDRmg7AdhWKvvMHRkF+N+I9dhWKvvMHRkF+N+I9LflPQDhX2UDRmg7A+eZcQIkSG0Hhfes/LflPQDhX2UDRmg7AAKBxP3IAoUAAAAAAskSCPoo110CAooNAdhWKvvMHRkF+N+I9+eZcQIkSG0Hhfes/skSCPoo110CAooNALflPQDhX2UDRmg7AskSCPoo110CAooNA+eZcQIkSG0Hhfes/xTObA/3SQBjFM5sD/dJAGMUzmwP90kAYxTObA/3SQBjFM5sD/dJAGMUzmwP90kAYf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5Vf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5Vf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5VxTObA/3SQBjFM5sD/dJAGMUzmwP90kAYxTObA/3SQBjFM5sD/dJAGMUzmwP90kAYPipyxZqDHCY+KnLFmoMcJj4qcsWagxwmf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5VPipyxZqDHCY+KnLFmoMcJj4qcsWagxwmf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5VmoPFs/3SQBiag8Wz/dJAGJqDxbP90kAYxTObA/3SQBjFM5sD/dJAGMUzmwP90kAYxTObA/3SQBjFM5sD/dJAGMUzmwP90kAYi7rBVZqDHCaLusFVmoMcJou6wVWagxwmf0/+Uou6HlV/T/5Si7oeVX9P/lKLuh5Vi7rBVZqDHCaLusFVmoMcJou6wVWagxwmi7rBVZqDHCaLusFVmoMcJou6wVWagxwm/dJ+z4u6HlX90n7Pi7oeVf3Sfs+Luh5V/dJ+z4u6HlX90n7Pi7oeVf3Sfs+Luh5Vi7rBVZqDHCaLusFVmoMcJou6wVWagxwmmoPFs/3SQBiag8Wz/dJAGJqDxbP90kAYi7rBVZqDHCaLusFVmoMcJou6wVWagxwm") +}] + +[node name="Path" unique_id=1526274724 instance=ExtResource("1_xpuv5")] + +[node name="StaticBody3D" type="StaticBody3D" parent="." index="1" unique_id=1373387792] + +[node name="CSGCombiner3D" type="CSGCombiner3D" parent="StaticBody3D" index="0" unique_id=383990101] +visible = false + +[node name="CSGCylinder3D" type="CSGCylinder3D" parent="StaticBody3D/CSGCombiner3D" index="0" unique_id=1732873877] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.9076538, 0) +use_collision = true +radius = 0.94384766 +height = 6.501587 +material = SubResource("StandardMaterial3D_xpuv5") + +[node name="CSGBox3D3" type="CSGBox3D" parent="StaticBody3D/CSGCombiner3D" index="1" unique_id=1499597348] +transform = Transform3D(-0.6500023, -0.7588576, -0.040402826, -0.6031552, 0.5475163, -0.5800258, 0.46227804, -0.3526487, -0.81359565, -0.10863938, 8.101048, 0.07803272) +size = Vector3(4.918701, 4.9038086, 5) +material = SubResource("StandardMaterial3D_5004x") + +[node name="CSGBakedCollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=312454773] +shape = SubResource("ConcavePolygonShape3D_xpuv5") + +[node name="CSGBakedMeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" index="2" unique_id=1852330464] +mesh = SubResource("ArrayMesh_5004x") diff --git a/project/objects/tiles/wall.tscn b/project/objects/tiles/wall.tscn index 8d91f42600..a03e83c574 100644 --- a/project/objects/tiles/wall.tscn +++ b/project/objects/tiles/wall.tscn @@ -3,6 +3,6 @@ [node name="Wall" type="Node3D" unique_id=1065638339] [node name="CSGBox3D" type="CSGBox3D" parent="." unique_id=2062434187] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2372894, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.695982, 0) use_collision = true -size = Vector3(2, 2.6093445, 2) +size = Vector3(3, 6.1347656, 3) diff --git a/project/scenes/levels/dungeon.tscn b/project/scenes/levels/dungeon.tscn index 352be3c25b..86f2856b46 100644 --- a/project/scenes/levels/dungeon.tscn +++ b/project/scenes/levels/dungeon.tscn @@ -4,6 +4,7 @@ [ext_resource type="PackedScene" uid="uid://cts1ix6iw1jpc" path="res://objects/tiles/start.tscn" id="2_srduu"] [ext_resource type="PackedScene" uid="uid://cgg86120wb367" path="res://objects/tiles/room.tscn" id="3_s5a2w"] [ext_resource type="PackedScene" uid="uid://dgfja2ji86rp7" path="res://objects/tiles/wall.tscn" id="4_yc5ro"] +[ext_resource type="PackedScene" uid="uid://chdubc88gxpdo" path="res://objects/tiles/tree.tscn" id="5_7f72c"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_wail4"] sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) @@ -17,117 +18,21 @@ background_mode = 2 sky = SubResource("Sky_srduu") glow_enabled = true -[sub_resource type="Sentence" id="Sentence_c7dwr"] -size = Vector2i(5, 5) -symbols_string = "sssss -sssss -sssss -sssss -sssss" - -[sub_resource type="Sentence" id="Sentence_ohg4i"] -size = Vector2i(5, 5) -symbols_string = "ppppp -ppppp -ppspp -ppppp -ppppp" - -[sub_resource type="Sentence" id="Sentence_yxqus"] -size = Vector2i(7, 7) -symbols_string = "*#####* -upppppu -upppppu -upppppu -upppppu -upppppu -*#####*" - -[sub_resource type="Sentence" id="Sentence_08grt"] -size = Vector2i(7, 7) -symbols_string = "*#####* -uupppuu -uupppuu -uupppuu -uupppuu -uupppuu -*#####*" - -[sub_resource type="Sentence" id="Sentence_b4io3"] -size = Vector2i(4, 4) -symbols_string = "#uuu -#uuu -#uuu -####" - -[sub_resource type="Sentence" id="Sentence_cygrb"] -size = Vector2i(4, 4) -symbols_string = "#puu -#ppu -#ppp -####" - -[sub_resource type="Sentence" id="Sentence_cxvmb"] -size = Vector2i(4, 4) -symbols_string = "#uuu -#puu -#ppu -####" - -[sub_resource type="Sentence" id="Sentence_45kae"] -size = Vector2i(4, 4) -symbols_string = "pppu -pppu -pppu -uuuu" - -[sub_resource type="Sentence" id="Sentence_eijdf"] -size = Vector2i(4, 4) -symbols_string = "pppu -ppuu -puuu -uuuu" - -[sub_resource type="Sentence" id="Sentence_5lcvo"] -size = Vector2i(4, 4) -symbols_string = "pppu -pppu -ppuu -uuuu" - -[sub_resource type="Sentence" id="Sentence_5ax7p"] -size = Vector2i(2, 1) -symbols_string = "pu" - -[sub_resource type="Sentence" id="Sentence_ntpuo"] -size = Vector2i(2, 1) -symbols_string = "pw" - -[sub_resource type="Sentence" id="Sentence_25vwi"] -size = Vector2i(2, 1) -symbols_string = "xu" - -[sub_resource type="Sentence" id="Sentence_wvupy"] -size = Vector2i(2, 1) -symbols_string = "xw" - [sub_resource type="Sentence" id="Sentence_bb2w7"] -size = Vector2i(15, 15) -symbols_string = "uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu -uuuuuuuuuuuuuuu" +size = Vector2i(13, 13) +symbols_string = "uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu +uuuuuuuuuuuuu" [sub_resource type="Sentence" id="Sentence_s5a2w"] size = Vector2i(5, 3) @@ -147,20 +52,6 @@ symbols_string = "uuuuu uppxu *pup*" -[sub_resource type="Sentence" id="Sentence_pbld3"] -size = Vector2i(5, 4) -symbols_string = "####* -u#u#u -u#### -uuu*u" - -[sub_resource type="Sentence" id="Sentence_06kf8"] -size = Vector2i(5, 4) -symbols_string = "####* -uuu#u -uuu## -uuu*u" - [sub_resource type="Sentence" id="Sentence_7f72c"] size = Vector2i(5, 3) symbols_string = "**#** @@ -216,9 +107,252 @@ upu *p*" [sub_resource type="Sentence" id="Sentence_13d85"] -size = Vector2i(3, 2) +size = Vector2i(3, 3) symbols_string = "uuu -uxu" +uuu +uuu" + +[sub_resource type="Sentence" id="Sentence_w7jvv"] +size = Vector2i(5, 5) +symbols_string = "#u#u# +#u#u# +##### +#u#u# +#u#u#" + +[sub_resource type="Sentence" id="Sentence_an3i5"] +size = Vector2i(5, 5) +symbols_string = "#u#u# +#u#p# +#u#u# +#p#u# +#u#u#" + +[sub_resource type="Sentence" id="Sentence_rr1wu"] +size = Vector2i(5, 5) +symbols_string = "#u#u# +#u#p# +#p#u# +#u#u# +#u#u#" + +[sub_resource type="Sentence" id="Sentence_f7vr5"] +size = Vector2i(5, 5) +symbols_string = "#u#u# +#p#u# +#u#p# +#u#u# +#u#u#" + +[sub_resource type="Sentence" id="Sentence_c7dwr"] +size = Vector2i(6, 6) +symbols_string = "ssssss +ssssss +ssssss +ssssss +ssssss +ssssss" + +[sub_resource type="Sentence" id="Sentence_ohg4i"] +size = Vector2i(6, 6) +symbols_string = "pppppp +pppppp +ppsppp +pppppp +pppppp +pppppp" + +[sub_resource type="Sentence" id="Sentence_b4io3"] +size = Vector2i(4, 4) +symbols_string = "#uuu +#uuu +#uuu +####" + +[sub_resource type="Sentence" id="Sentence_cygrb"] +size = Vector2i(4, 4) +symbols_string = "#puu +#ppu +#ppp +####" + +[sub_resource type="Sentence" id="Sentence_cxvmb"] +size = Vector2i(4, 4) +symbols_string = "#uuu +#puu +#ppu +####" + +[sub_resource type="Sentence" id="Sentence_45kae"] +size = Vector2i(4, 4) +symbols_string = "##pu +#ppu +pppu +uuuu" + +[sub_resource type="Sentence" id="Sentence_eijdf"] +size = Vector2i(4, 4) +symbols_string = "##pu +#puu +puuu +uuuu" + +[sub_resource type="Sentence" id="Sentence_5lcvo"] +size = Vector2i(4, 4) +symbols_string = "##uu +#uuu +uuuu +uuuu" + +[sub_resource type="Sentence" id="Sentence_gmsn7"] +size = Vector2i(3, 1) +symbols_string = "xuu" + +[sub_resource type="Sentence" id="Sentence_b5mqr"] +size = Vector2i(3, 1) +symbols_string = "xpu" + +[sub_resource type="Sentence" id="Sentence_yxqus"] +size = Vector2i(8, 7) +symbols_string = "*######* +*######* +*######* +uppppppu +uppppppu +uppppppu +uppppppu" + +[sub_resource type="Sentence" id="Sentence_08grt"] +size = Vector2i(8, 7) +symbols_string = "*######* +*######* +*######* +uppppuuu +uppuuuuu +uppppuuu +uuupppuu" + +[sub_resource type="Sentence" id="Sentence_r4e0t"] +size = Vector2i(8, 7) +symbols_string = "*######* +*######* +*######* +uuuupppu +uuppppuu +uuppuuuu +uupppuuu" + +[sub_resource type="Sentence" id="Sentence_vay0p"] +size = Vector2i(8, 7) +symbols_string = "*######* +*######* +*######* +uuuupppu +uuupppuu +uupppuuu +upppuuuu" + +[sub_resource type="Sentence" id="Sentence_axw1i"] +size = Vector2i(3, 3) +symbols_string = "pp* +pup +ppp" + +[sub_resource type="Sentence" id="Sentence_02jbd"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ppppp +ppppp +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_l56kf"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ppppp +pptpp +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_7uroe"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ppppp +ppptp +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_dlqvn"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ppppp +ppptp +ptppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_ef5dr"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ptppp +ppptp +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_165gg"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ptppp +ppptp +ptppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_mqrf4"] +size = Vector2i(5, 5) +symbols_string = "ppppp +ppppp +ptptp +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_dup5e"] +size = Vector2i(3, 3) +symbols_string = "*u* +upu +*#*" + +[sub_resource type="Sentence" id="Sentence_4pubi"] +size = Vector2i(3, 3) +symbols_string = "*u* +uuu +*#*" + +[sub_resource type="Sentence" id="Sentence_pbld3"] +size = Vector2i(5, 3) +symbols_string = "uuuuu +ppppp +ppppp" + +[sub_resource type="Sentence" id="Sentence_06kf8"] +size = Vector2i(5, 3) +symbols_string = "uuuuu +uuuuu +ppppp" + +[sub_resource type="Sentence" id="Sentence_5ax7p"] +size = Vector2i(2, 1) +symbols_string = "pu" + +[sub_resource type="Sentence" id="Sentence_ntpuo"] +size = Vector2i(2, 1) +symbols_string = "pw" + +[sub_resource type="Sentence" id="Sentence_25vwi"] +size = Vector2i(2, 1) +symbols_string = "xu" + +[sub_resource type="Sentence" id="Sentence_wvupy"] +size = Vector2i(2, 1) +symbols_string = "xw" [node name="Dungeon" type="Node3D" unique_id=719313039] @@ -229,67 +363,16 @@ environment = SubResource("Environment_s5a2w") transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0) shadow_enabled = true -[node name="ResizeRule" type="ResizeRule" parent="." unique_id=630306379] -factor = 5 - -[node name="SingleStart" type="ReplaceRule" parent="." unique_id=80625713] -pattern = SubResource("Sentence_c7dwr") -results_dict = { -SubResource("Sentence_ohg4i"): 1.0 -} - -[node name="TightenPaths" type="RepeatRuleUntilFailure" parent="." unique_id=1419444164] - -[node name="Path" type="ReplaceRule" parent="TightenPaths" unique_id=582926889] -pattern = SubResource("Sentence_yxqus") -results_dict = { -SubResource("Sentence_08grt"): 1.0 -} -deterministic = true - -[node name="Naturalise" type="RepeatRuleUntilFailure" parent="." unique_id=945333249] - -[node name="InnerCorner" type="ReplaceRule" parent="Naturalise" unique_id=1294874606] -pattern = SubResource("Sentence_b4io3") -results_dict = { -SubResource("Sentence_cygrb"): 1.0, -SubResource("Sentence_cxvmb"): 1.0 -} -deterministic = true - -[node name="OuterCorner" type="ReplaceRule" parent="Naturalise" unique_id=1858990914] -pattern = SubResource("Sentence_45kae") -results_dict = { -SubResource("Sentence_eijdf"): 1.0, -SubResource("Sentence_5lcvo"): 1.0 -} -deterministic = true - -[node name="AddWalls" type="RepeatRuleUntilFailure" parent="." unique_id=351448478] - -[node name="Path" type="ReplaceRule" parent="AddWalls" unique_id=1194164836] -pattern = SubResource("Sentence_5ax7p") -results_dict = { -SubResource("Sentence_ntpuo"): 1.0 -} -deterministic = true - -[node name="Room" type="ReplaceRule" parent="AddWalls" unique_id=1878579537] -pattern = SubResource("Sentence_25vwi") -results_dict = { -SubResource("Sentence_wvupy"): 1.0 -} -deterministic = true - [node name="Generator" type="Generator" parent="." unique_id=1532743122] state = SubResource("Sentence_bb2w7") tiles_dict = { "p": ExtResource("1_wail4"), "s": ExtResource("2_srduu"), +"t": ExtResource("5_7f72c"), "w": ExtResource("4_yc5ro"), "x": ExtResource("3_s5a2w") } -tile_size = 2.0 +tile_size = 3.0 [node name="Generate" type="CompositeRule" parent="Generator" unique_id=474042789] @@ -303,12 +386,6 @@ SubResource("Sentence_yc5ro"): 1.0, SubResource("Sentence_qw2yk"): 1.0 } -[node name="L" type="ReplaceRule" parent="Generator/Generate/InitialLayout" unique_id=129040074] -pattern = SubResource("Sentence_pbld3") -results_dict = { -SubResource("Sentence_06kf8"): 1.0 -} - [node name="CloseLines" type="ReplaceRule" parent="Generator/Generate/InitialLayout" unique_id=1610319319] pattern = SubResource("Sentence_7f72c") results_dict = { @@ -322,6 +399,7 @@ SubResource("Sentence_q0ye3"): 1.0 } [node name="RefineRooms" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=1503159395] +random_order = true [node name="ReplaceDouble" type="ReplaceRule" parent="Generator/Generate/RefineRooms" unique_id=1043806381] pattern = SubResource("Sentence_7ibwp") @@ -343,3 +421,97 @@ pattern = SubResource("Sentence_7rlrl") results_dict = { SubResource("Sentence_13d85"): 1.0 } + +[node name="SplitLongHallways" type="ReplaceRule" parent="Generator/Generate/RefineRooms" unique_id=1882155248] +pattern = SubResource("Sentence_w7jvv") +results_dict = { +SubResource("Sentence_an3i5"): 1.0, +SubResource("Sentence_rr1wu"): 1.0, +SubResource("Sentence_f7vr5"): 1.0 +} + +[node name="ResizeRule" type="ResizeRule" parent="Generator/Generate" unique_id=630306379] +factor = 6 + +[node name="SingleStart" type="ReplaceRule" parent="Generator/Generate" unique_id=80625713] +pattern = SubResource("Sentence_c7dwr") +results_dict = { +SubResource("Sentence_ohg4i"): 1.0 +} + +[node name="RefineGeometry" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=1419444164] +random_order = true + +[node name="InnerCorner" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=1294874606] +pattern = SubResource("Sentence_b4io3") +results_dict = { +SubResource("Sentence_cygrb"): 1.0, +SubResource("Sentence_cxvmb"): 1.0 +} +deterministic = true + +[node name="OuterCorner" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=1858990914] +pattern = SubResource("Sentence_45kae") +results_dict = { +SubResource("Sentence_eijdf"): 1.0, +SubResource("Sentence_5lcvo"): 1.0 +} +deterministic = true + +[node name="BufferRooms" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=424099199] +pattern = SubResource("Sentence_gmsn7") +results_dict = { +SubResource("Sentence_b5mqr"): 1.0 +} + +[node name="TightenPath" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=582926889] +pattern = SubResource("Sentence_yxqus") +results_dict = { +SubResource("Sentence_08grt"): 1.0, +SubResource("Sentence_r4e0t"): 1.0, +SubResource("Sentence_vay0p"): 1.0 +} +deterministic = true + +[node name="RemoveIslands" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=476014299] +pattern = SubResource("Sentence_axw1i") +deterministic = true + +[node name="AddTrees" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=1874593537] +pattern = SubResource("Sentence_02jbd") +results_dict = { +SubResource("Sentence_l56kf"): 1.0, +SubResource("Sentence_7uroe"): 1.0, +SubResource("Sentence_dlqvn"): 1.0, +SubResource("Sentence_ef5dr"): 1.0, +SubResource("Sentence_165gg"): 1.0, +SubResource("Sentence_mqrf4"): 1.0 +} + +[node name="RemoveDeadEnds" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=2071486466] +pattern = SubResource("Sentence_dup5e") +results_dict = { +SubResource("Sentence_4pubi"): 1.0 +} + +[node name="Curve" type="ReplaceRule" parent="Generator/Generate/RefineGeometry" unique_id=104291893] +pattern = SubResource("Sentence_pbld3") +results_dict = { +SubResource("Sentence_06kf8"): 1.0 +} + +[node name="AddWalls" type="RepeatRuleUntilFailure" parent="Generator/Generate" unique_id=351448478] + +[node name="Path" type="ReplaceRule" parent="Generator/Generate/AddWalls" unique_id=1194164836] +pattern = SubResource("Sentence_5ax7p") +results_dict = { +SubResource("Sentence_ntpuo"): 1.0 +} +deterministic = true + +[node name="Room" type="ReplaceRule" parent="Generator/Generate/AddWalls" unique_id=1878579537] +pattern = SubResource("Sentence_25vwi") +results_dict = { +SubResource("Sentence_wvupy"): 1.0 +} +deterministic = true