From b733a3072410ef6540b12913f64faa3bdb3d006c Mon Sep 17 00:00:00 2001 From: Zenny Date: Tue, 4 Mar 2025 00:32:24 -0800 Subject: [PATCH] Fix thrown item position Start adding more floors Testing Item Rescue --- src/game/Game.cs | 2 +- src/item_rescue/ItemRescue.cs | 2 + src/item_rescue/ItemRescue.tscn | 4 +- src/items/dropped/DroppedItem.tscn | 13 +- src/items/thrown/ThrownItem.cs | 41 +- src/items/thrown/ThrownItem.tscn | 45 +- src/map/Map.tscn | 23 +- src/map/dungeon/NavigationMesh.tres | 8 +- src/map/dungeon/floors/Floor01.tscn | 269 +++++++--- src/map/dungeon/floors/Floor02.tscn | 212 +++++++- src/map/dungeon/floors/Floor03.tscn | 499 +++++++++++++++++- src/map/dungeon/floors/Floor04.tscn | 19 +- .../rooms/Set A/10. Item Transfer Room.tscn | 8 +- .../dungeon/rooms/Set B/37. Corridor 2.tscn | 4 +- .../dungeon/rooms/Set B/38. Floor Exit B.tscn | 5 +- src/npc/Ran/Ran.tscn | 56 +- 16 files changed, 1051 insertions(+), 159 deletions(-) diff --git a/src/game/Game.cs b/src/game/Game.cs index ea09247e..d9c66ca0 100644 --- a/src/game/Game.cs +++ b/src/game/Game.cs @@ -168,7 +168,7 @@ public partial class Game : Node3D, IGame var thrown = thrownScene.Instantiate(); thrown.ItemThatIsThrown = item; AddChild(thrown); - thrown.Position += new Vector3(-0.5f, 1.5f, -0.5f); + thrown.Position += new Vector3(0, 1.5f, 0); thrown.Throw(); } diff --git a/src/item_rescue/ItemRescue.cs b/src/item_rescue/ItemRescue.cs index 184b595e..a21f23bf 100644 --- a/src/item_rescue/ItemRescue.cs +++ b/src/item_rescue/ItemRescue.cs @@ -20,5 +20,7 @@ public partial class ItemRescue : Area3D GD.Print("Item rescue entered"); if (item is IDroppedItem droppedItem) droppedItem.RescueItem(); + if (item is ThrownItem thrownItem) + thrownItem.RescueItem(); } } diff --git a/src/item_rescue/ItemRescue.tscn b/src/item_rescue/ItemRescue.tscn index e8fe616a..451d1f99 100644 --- a/src/item_rescue/ItemRescue.tscn +++ b/src/item_rescue/ItemRescue.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=4 format=3 uid="uid://duis2vhf5ojy3"] -[ext_resource type="Script" path="res://src/item_rescue/ItemRescue.cs" id="1_j1jha"] +[ext_resource type="Script" uid="uid://bxq6xpwra6o47" path="res://src/item_rescue/ItemRescue.cs" id="1_j1jha"] [sub_resource type="BoxShape3D" id="BoxShape3D_ykgmd"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j1jha"] transparency = 1 -albedo_color = Color(0.486275, 1, 0.443137, 0.309804) shading_mode = 0 +albedo_color = Color(0.486275, 1, 0.443137, 0.309804) [node name="Item Rescue" type="Area3D"] collision_layer = 0 diff --git a/src/items/dropped/DroppedItem.tscn b/src/items/dropped/DroppedItem.tscn index 5232fa2b..94ec5467 100644 --- a/src/items/dropped/DroppedItem.tscn +++ b/src/items/dropped/DroppedItem.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=9 format=3 uid="uid://brq11lswpqxei"] -[ext_resource type="Script" path="res://src/items/dropped/DroppedItem.cs" id="1_67jk4"] +[ext_resource type="Script" uid="uid://c2sps6uamyyw2" path="res://src/items/dropped/DroppedItem.cs" id="1_67jk4"] [ext_resource type="Texture2D" uid="uid://mi70lolgtf3n" path="res://src/items/throwable/textures/GEOMANCER-DICE.png" id="2_cu1v3"] [ext_resource type="Material" uid="uid://x2bv1q51mcjq" path="res://src/enemy/PixelMelt.tres" id="2_eat5q"] @@ -45,7 +45,7 @@ _data = { } [sub_resource type="ViewportTexture" id="ViewportTexture_x5q15"] -viewport_path = NodePath("Sprite3D/SubViewport") +viewport_path = NodePath("Sprite3D/SubViewportContainer/SubViewport") [node name="DroppedItem" type="RigidBody3D"] collision_layer = 1024 @@ -74,13 +74,18 @@ texture_filter = 0 render_priority = 100 texture = SubResource("ViewportTexture_x5q15") -[node name="SubViewport" type="SubViewport" parent="Sprite3D"] +[node name="SubViewportContainer" type="SubViewportContainer" parent="Sprite3D"] +visibility_layer = 0 +offset_right = 40.0 +offset_bottom = 40.0 + +[node name="SubViewport" type="SubViewport" parent="Sprite3D/SubViewportContainer"] disable_3d = true transparent_bg = true handle_input_locally = false render_target_update_mode = 4 -[node name="Sprite" type="Sprite2D" parent="Sprite3D/SubViewport"] +[node name="Sprite" type="Sprite2D" parent="Sprite3D/SubViewportContainer/SubViewport"] unique_name_in_owner = true material = ExtResource("2_eat5q") scale = Vector2(0.1, 0.1) diff --git a/src/items/thrown/ThrownItem.cs b/src/items/thrown/ThrownItem.cs index 9611b18e..c229897d 100644 --- a/src/items/thrown/ThrownItem.cs +++ b/src/items/thrown/ThrownItem.cs @@ -12,9 +12,11 @@ public partial class ThrownItem : RigidBody3D [Dependency] public IPlayer Player => this.DependOn(); + [Dependency] public IGame Game => this.DependOn(); + public IInventoryItem ItemThatIsThrown; - [Node] public Sprite3D Sprite { get; set; } = default!; + [Node] public Sprite2D Sprite { get; set; } = default!; public void OnResolved() { @@ -36,6 +38,43 @@ public partial class ThrownItem : RigidBody3D ApplyCentralImpulse(-Player.CurrentBasis.Z.Normalized() * ItemThatIsThrown.ThrowSpeed); } + public void RescueItem() + { + ContactMonitor = false; + Freeze = true; + PlayRescueAnimation(); + Game.RescuedItems.Items.Add(ItemThatIsThrown); + } + + private void PlayRescueAnimation() + { + LoadShader("res://src/vfx/shaders/PixelMelt.gdshader"); + var tweener = GetTree().CreateTween(); + SetShaderValue(true); + tweener.TweenMethod(Callable.From((float x) => SetShaderValue(x)), 0.0f, 0.3f, 2f); + tweener.TweenCallback(Callable.From(QueueFree)); + } + + private void LoadShader(string shaderPath) + { + var shader = GD.Load(shaderPath); + Sprite.Material = new ShaderMaterial(); + var shaderMaterial = (ShaderMaterial)Sprite.Material; + shaderMaterial.Shader = shader; + } + + private void SetShaderValue(float shaderValue) + { + var shaderMaterial = (ShaderMaterial)Sprite.Material; + shaderMaterial.SetShaderParameter("progress", shaderValue); + } + + private void SetShaderValue(bool shaderValue) + { + var shaderMaterial = (ShaderMaterial)Sprite.Material; + shaderMaterial.SetShaderParameter("reverse", shaderValue); + } + private void CalculateEffect(IEnemy enemy) { if (ItemThatIsThrown is ThrowableItem throwableItem) diff --git a/src/items/thrown/ThrownItem.tscn b/src/items/thrown/ThrownItem.tscn index f9d368af..2bb0a628 100644 --- a/src/items/thrown/ThrownItem.tscn +++ b/src/items/thrown/ThrownItem.tscn @@ -1,13 +1,17 @@ -[gd_scene load_steps=4 format=3 uid="uid://b1twcuneob5kt"] +[gd_scene load_steps=6 format=3 uid="uid://b1twcuneob5kt"] [ext_resource type="Script" uid="uid://bx1k4yff3m82m" path="res://src/items/thrown/ThrownItem.cs" id="1_wlplc"] [ext_resource type="Texture2D" uid="uid://mi70lolgtf3n" path="res://src/items/throwable/textures/GEOMANCER-DICE.png" id="2_alcjn"] +[ext_resource type="Material" uid="uid://x2bv1q51mcjq" path="res://src/enemy/PixelMelt.tres" id="2_qjpqg"] [sub_resource type="BoxShape3D" id="BoxShape3D_s4ym5"] size = Vector3(0.46632, 0.507293, 0.586082) +[sub_resource type="ViewportTexture" id="ViewportTexture_qjpqg"] +viewport_path = NodePath("Sprite3D/SubViewportContainer/SubViewport") + [node name="Hitbox" type="RigidBody3D"] -collision_layer = 16 +collision_layer = 1040 collision_mask = 25 gravity_scale = 0.25 contact_monitor = true @@ -15,11 +19,40 @@ max_contacts_reported = 50 script = ExtResource("1_wlplc") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.129255, 0.162556, 0.00695503) shape = SubResource("BoxShape3D_s4ym5") -[node name="Sprite" type="Sprite3D" parent="."] -unique_name_in_owner = true -pixel_size = 0.001 +[node name="Sprite3D" type="Sprite3D" parent="."] +transform = Transform3D(0.41, 0, 0, 0, 0.41, 0, 0, 0, 0.41, 0, 0, 0) billboard = 2 +shaded = true +texture_filter = 0 +render_priority = 100 +texture = SubResource("ViewportTexture_qjpqg") + +[node name="SubViewportContainer" type="SubViewportContainer" parent="Sprite3D"] +visibility_layer = 0 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_right = 100.0 +offset_bottom = 100.0 +grow_horizontal = 2 +grow_vertical = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 + +[node name="SubViewport" type="SubViewport" parent="Sprite3D/SubViewportContainer"] +disable_3d = true +transparent_bg = true +handle_input_locally = false +size = Vector2i(100, 100) +render_target_update_mode = 4 + +[node name="Sprite" type="Sprite2D" parent="Sprite3D/SubViewportContainer/SubViewport"] +unique_name_in_owner = true +material = ExtResource("2_qjpqg") +scale = Vector2(0.1, 0.1) texture = ExtResource("2_alcjn") +centered = false diff --git a/src/map/Map.tscn b/src/map/Map.tscn index 40b70b30..6af90ac8 100644 --- a/src/map/Map.tscn +++ b/src/map/Map.tscn @@ -1,13 +1,32 @@ -[gd_scene load_steps=6 format=3 uid="uid://by67pn7fdsg1m"] +[gd_scene load_steps=25 format=3 uid="uid://by67pn7fdsg1m"] [ext_resource type="Script" uid="uid://14e8mu48ed4" path="res://src/map/Map.cs" id="1_bw70o"] [ext_resource type="PackedScene" uid="uid://dl6h1djc27ddl" path="res://src/map/dungeon/floors/Floor00.tscn" id="2_0m8h8"] [ext_resource type="PackedScene" uid="uid://bc1sp6xwe0j65" path="res://src/map/dungeon/floors/Floor01.tscn" id="2_merfv"] [ext_resource type="PackedScene" uid="uid://dmiqwmivkjgmq" path="res://src/map/dungeon/floors/Floor02.tscn" id="4_8y0oy"] [ext_resource type="PackedScene" uid="uid://dl1scvkp8r5sw" path="res://src/map/dungeon/floors/Floor03.tscn" id="5_uag72"] +[ext_resource type="PackedScene" uid="uid://cikq7vuorlpbl" path="res://src/map/dungeon/floors/Floor04.tscn" id="6_1ny7u"] +[ext_resource type="PackedScene" uid="uid://t7cac7801bnk" path="res://src/map/dungeon/floors/Floor05.tscn" id="7_abpbr"] +[ext_resource type="PackedScene" uid="uid://da107mywg18x1" path="res://src/map/dungeon/floors/Floor06.tscn" id="8_caf7v"] +[ext_resource type="PackedScene" uid="uid://cgtqjgh1f5fqi" path="res://src/map/dungeon/floors/Floor07.tscn" id="9_y74f3"] +[ext_resource type="PackedScene" uid="uid://dg20ovvj2m2lp" path="res://src/map/dungeon/floors/Floor08.tscn" id="10_dbqu2"] +[ext_resource type="PackedScene" uid="uid://b5jk743ng6fqg" path="res://src/map/dungeon/floors/Floor09.tscn" id="11_xcm54"] +[ext_resource type="PackedScene" uid="uid://g28xmp6cn16h" path="res://src/map/dungeon/floors/Floor10.tscn" id="12_caf7v"] +[ext_resource type="PackedScene" uid="uid://dl2x3l7a3an65" path="res://src/map/dungeon/floors/Floor11.tscn" id="13_3vg2e"] +[ext_resource type="PackedScene" uid="uid://drvjw06wbi2qh" path="res://src/map/dungeon/floors/Floor12.tscn" id="14_tx34j"] +[ext_resource type="PackedScene" uid="uid://fellg2owwe64" path="res://src/map/dungeon/floors/Floor13.tscn" id="15_8npfy"] +[ext_resource type="PackedScene" uid="uid://vhqwff12y7wn" path="res://src/map/dungeon/floors/Floor14.tscn" id="16_pids3"] +[ext_resource type="PackedScene" uid="uid://h8tc1uohuqx2" path="res://src/map/dungeon/floors/Floor15.tscn" id="17_u3fsa"] +[ext_resource type="PackedScene" uid="uid://cyfp0p38w2yfr" path="res://src/map/dungeon/floors/Floor16.tscn" id="18_io2ww"] +[ext_resource type="PackedScene" uid="uid://dnrbqkv438tjx" path="res://src/map/dungeon/floors/Floor17.tscn" id="19_rb6u5"] +[ext_resource type="PackedScene" uid="uid://cgoogenmugoti" path="res://src/map/dungeon/floors/Floor18.tscn" id="20_31a0u"] +[ext_resource type="PackedScene" uid="uid://33lvido1dkbu" path="res://src/map/dungeon/floors/Floor19.tscn" id="21_sbsee"] +[ext_resource type="PackedScene" uid="uid://w2peiubnalof" path="res://src/map/dungeon/floors/Floor20.tscn" id="22_qamtw"] +[ext_resource type="PackedScene" uid="uid://ds5dbs3wdko8j" path="res://src/map/dungeon/floors/Floor21.tscn" id="23_j54h1"] +[ext_resource type="PackedScene" uid="uid://fvemjkxfoxlw" path="res://src/map/dungeon/floors/Floor22.tscn" id="24_41t83"] [node name="Map" type="Node3D"] script = ExtResource("1_bw70o") -Floors = Array[PackedScene]([ExtResource("2_0m8h8"), ExtResource("2_merfv"), ExtResource("4_8y0oy"), ExtResource("5_uag72")]) +Floors = Array[PackedScene]([ExtResource("2_0m8h8"), ExtResource("2_merfv"), ExtResource("4_8y0oy"), ExtResource("5_uag72"), ExtResource("6_1ny7u"), ExtResource("7_abpbr"), ExtResource("8_caf7v"), ExtResource("9_y74f3"), ExtResource("10_dbqu2"), ExtResource("11_xcm54"), ExtResource("12_caf7v"), ExtResource("13_3vg2e"), ExtResource("14_tx34j"), ExtResource("15_8npfy"), ExtResource("16_pids3"), ExtResource("17_u3fsa"), ExtResource("18_io2ww"), ExtResource("19_rb6u5"), ExtResource("20_31a0u"), ExtResource("21_sbsee"), ExtResource("22_qamtw"), ExtResource("23_j54h1"), ExtResource("24_41t83")]) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] diff --git a/src/map/dungeon/NavigationMesh.tres b/src/map/dungeon/NavigationMesh.tres index eb9c326e..17d067de 100644 --- a/src/map/dungeon/NavigationMesh.tres +++ b/src/map/dungeon/NavigationMesh.tres @@ -1,8 +1,10 @@ [gd_resource type="NavigationMesh" format=3 uid="uid://d3n1gyxfjcm5u"] [resource] -vertices = PackedVector3Array(-39, -1.46346, -18.25, -29.25, -1.46346, -18, -29, -1.46346, -20.25, -28.25, -1.46346, -21, -26.25, -1.46346, -39, -39, -1.46346, -39, -26.25, -1.46346, -21, -13.5, -1.46346, -21, -13.5, -1.46346, -39, -11.5, -1.46346, -21, -10.75, -1.46346, -20.25, 39, -1.46346, -39, -10.75, -1.46346, -1, 39, -1.46346, -0.75, -25.25, -1.46346, -15.75, -26.5, -1.46346, -15, -26.5, -1.46346, -13, -21, -1.46346, -12, -18, -1.46346, -11.25, -18, -1.46346, -10, -13.25, -1.46346, -10, -13.25, -1.46346, -15, -14, -1.46346, -15, -14.75, -1.46346, -15.75, -18.75, -1.46346, -12, -14.5, -1.46346, -18.5, -25.25, -1.46346, -18.5, -39, -1.46346, -13.75, -29, -1.46346, -13.75, -29, -1.46346, -8.25, -28, -1.46346, -9, -28, -1.46346, -11, -29, -1.46346, -11.75, -39, -1.46346, -6.25, -29, -1.46346, -6.25, -27, -1.46346, -8.5, -26.75, -1.46346, -11.75, -26.5, -1.46346, -6.75, -21, -1.46346, -8, -22, -1.46346, -8.75, -22, -1.46346, -11.25, -26.5, -1.46346, -4.75, -25.25, -1.46346, -4, -18, -1.46346, -8.75, -14, -1.46346, -4.75, -13.25, -1.46346, -4.75, -18.75, -1.46346, -8, -14.75, -1.46346, -4, -25.5, -1.46346, -1.25, -14.5, -1.46346, -1.25, -29.25, -1.46346, -1.75, -39, -1.46346, -1.5, -29, -1.46346, 0.5, -28.25, -1.46346, 1.25, -39, -1.46346, 39, -12.75, -1.46346, 39, -13, -1.46346, 1.25, -11.5, -1.46346, 1.25, -10.75, -1.46346, 0.5, 39, -1.46346, 39) -polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 5), PackedInt32Array(3, 5, 4), PackedInt32Array(4, 6, 3), PackedInt32Array(4, 8, 6), PackedInt32Array(6, 8, 7), PackedInt32Array(9, 7, 8), PackedInt32Array(9, 8, 10), PackedInt32Array(10, 8, 11), PackedInt32Array(12, 10, 13), PackedInt32Array(13, 10, 11), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 17), PackedInt32Array(20, 19, 18), PackedInt32Array(22, 21, 20), PackedInt32Array(18, 24, 20), PackedInt32Array(20, 24, 22), PackedInt32Array(22, 24, 23), PackedInt32Array(24, 17, 23), PackedInt32Array(23, 17, 25), PackedInt32Array(25, 17, 14), PackedInt32Array(25, 14, 26), PackedInt32Array(0, 1, 27), PackedInt32Array(27, 1, 28), PackedInt32Array(30, 29, 31), PackedInt32Array(31, 29, 32), PackedInt32Array(32, 29, 33), PackedInt32Array(32, 33, 27), PackedInt32Array(27, 28, 32), PackedInt32Array(29, 34, 33), PackedInt32Array(30, 31, 35), PackedInt32Array(35, 31, 36), PackedInt32Array(39, 38, 37), PackedInt32Array(36, 16, 35), PackedInt32Array(35, 16, 37), PackedInt32Array(37, 16, 39), PackedInt32Array(39, 16, 40), PackedInt32Array(16, 17, 40), PackedInt32Array(41, 37, 42), PackedInt32Array(42, 37, 38), PackedInt32Array(43, 19, 20), PackedInt32Array(20, 45, 44), PackedInt32Array(43, 20, 46), PackedInt32Array(46, 20, 44), PackedInt32Array(46, 44, 47), PackedInt32Array(46, 47, 38), PackedInt32Array(38, 47, 49), PackedInt32Array(38, 49, 42), PackedInt32Array(42, 49, 48), PackedInt32Array(51, 33, 50), PackedInt32Array(50, 33, 34), PackedInt32Array(52, 51, 50), PackedInt32Array(52, 53, 51), PackedInt32Array(51, 53, 54), PackedInt32Array(56, 55, 53), PackedInt32Array(53, 55, 54), PackedInt32Array(55, 56, 57), PackedInt32Array(57, 58, 55), PackedInt32Array(55, 58, 59), PackedInt32Array(59, 58, 13), PackedInt32Array(58, 12, 13)] +vertices = PackedVector3Array(-16.5, -3.5, -6.5, -16.75, -3.5, -7.25, -17.5, -3.5, -7.5, -18.5, -3.5, -6, -52.5, -3.5, -10.5, -52.75, -3.5, -11.25, -53.5, -3.5, -11.5, -54.5, -3.5, -10, 23.5, -3.5, 41.5, 23.25, -3.5, 40.75, 22.5, -3.5, 40.5, 21.5, -3.5, 42, -12.5, -3.5, -46.5, -12.75, -3.5, -47.25, -13.5, -3.5, -47.5, -14.5, -3.5, -46, -20.5, -3.5, -50.5, -20.75, -3.5, -51.25, -21.5, -3.5, -51.5, -22.5, -3.5, -50, -42.5, -3.5, -47.5, -43.25, -3.5, -47.25, -43.5, -3.5, -46.5, -40.5, -3.5, -46, -40.5, -3.5, -47, -41.5, -3.5, -47.5, -46.5, -3.5, -43.5, -47.25, -3.5, -43.25, -47.5, -3.5, -42.5, -45.5, -3.5, -42, 23.5, -3.5, -10.5, 23.25, -3.5, -11.25, 22.5, -3.5, -11.5, 21.5, -3.5, -10, -41.25, -3.5, -42.25, -41.25, -3.5, -43, -42.5, -3.5, -43, -42.75, -3.5, -39.25, -31.5, -3.5, -10, -31.25, -3.5, -9, -30.5, -3.5, -8.75, -29.5, -3.5, -8.75, -28.75, -3.5, -10, -19.5, -3.5, -10, -19.25, -3.5, -9, -18.5, -3.5, -8.75, -17.5, -3.5, -10.5, -11.5, -3.5, -6, -11.25, -3.5, -5, -10.5, -3.5, -4.75, -9.5, -3.5, -6.5, 20.5, -3.5, 30, 20.75, -3.5, 31, 21.5, -3.5, 31.25, 22.5, -3.5, 29.5, 40.5, -3.5, 42, 40.75, -3.5, 43, 41.5, -3.5, 43.25, 42.5, -3.5, 41.5, -23.5, -3.5, -58, -23.25, -3.5, -57, -22.5, -3.5, -56.75, -21.5, -3.5, -58.5, -15.5, -3.5, -50, -15.25, -3.5, -49, -14.5, -3.5, -48.75, -13.5, -3.5, -50.5, 43.25, -3.5, 46, 43.25, -3.5, 45, 42.5, -3.5, 44.5, -33, -3.5, 6.25, -32.25, -3.5, 5, -33.25, -3.5, 4.5, 41.5, -3.5, 46, -12.75, -3.5, 13, -27.5, -3.5, 9, -32.75, -3.5, 9, -61.5, -3.5, 60.5, 24.5, -3.5, 26.5, 25.5, -3.5, 27.25, 44.5, -3.5, 38.5, 60.25, -3.5, 39.5, 41.5, -3.5, -7.5, -54.5, -3.5, -42.5, -53.5, -3.5, -40.75, -52.75, -3.5, -42, 0.5, -3.5, -43, 18.75, -3.5, -24.75, 19.5, -3.5, -26.5, 19.25, -3.5, -29.25, 3.25, -3.5, -43, 1, -3.5, -43.75, 60.5, -3.5, 53, 60.5, -3.5, 54.5, 61.5, -3.5, 54.75, 61.75, -3.5, 52.75, -53.5, -3.5, -20.75, -53.5, -3.5, -23.5, 21.5, -3.5, -24.75, 22.5, -3.5, -26.5, -13.25, -3.5, 3.25, -12.25, -3.5, 1, -13.25, -3.5, 0.5, -20.75, -3.5, -3, 3, -3.5, -45.75, 0.5, -3.5, -46, 61.75, -3.5, 50, 63.5, -3.5, 60.5, 63.5, -3.5, -60.5, -51.75, -3.5, -23, -50.5, -3.5, -20.75, -10.5, -3.5, 0.5, -50.5, -3.5, -23.5, -10.5, -3.5, 3.25, -29.5, -3.5, 6, -30.5, -3.5, 4.5, 24.5, -3.5, -46.5, 24.5, -3.5, -46, 61.5, -3.5, 57.75, 60.5, -3.5, 58, 60.5, -3.5, 60.5, -9.5, -3.5, 8.5, -40.5, -3.5, -42, -40.75, -3.5, -37.5, -8.75, -3.5, 9, -10.5, -3.5, 10, -7.5, -3.5, 10, 42.75, -3.5, 49.75, 42.75, -3.5, 49, 39.25, -3.5, 49, 43.25, -3.5, 50, 43.25, -3.5, 60.5, -56.75, -3.5, -7, -40.25, -3.5, -35.25, -50.5, -3.5, -39, 25.5, -3.5, -28.75, 40.5, -3.5, -13.5, 41.5, -3.5, -12.75, 24.5, -3.5, -49.5, 24.75, -3.5, -43.25, -45.5, -3.5, -44.75, -46.5, -3.5, -46.5, -44.75, -3.5, -46, 19.25, -3.5, -7, 18.75, -3.5, -7.5, -6.5, -3.5, -8.75, -6.5, -3.5, 8.5, 19.25, -3.5, 45, 18.75, -3.5, 44.5, 3.25, -3.5, 33, 18.75, -3.5, 33, -21.25, -3.5, -3.5, -21.25, -3.5, -7, -26.5, -3.5, -7, -17.25, -3.5, -43.5, -17.25, -3.5, -47, -23.25, -3.5, -47, -16.75, -3.5, -43, -23.5, -3.5, -35.25, -14.5, -3.5, -12.75, -14.5, -3.5, -9.5, -7.5, -3.5, -9.5, -56.5, -3.5, -45.5, -49.25, -3.5, -45.5, -49.25, -3.5, -48.75, 24.5, -3.5, -29.5, -13.25, -3.5, -3, -15.5, -3.5, -13.5, -48.5, -3.5, -49.5, -45.25, -3.5, -60.5, -61.5, -3.5, -60.5, -41.5, -3.5, -56.75, -42.5, -3.5, -58.5, 7.5, -3.5, 26.5, -7.25, -3.5, 12.75, 2.75, -3.5, 27.25, 5.25, -3.5, 27, -40.75, -3.5, -58, -18.5, -3.5, -60.5, -18.5, -3.5, -53.5, -11.5, -3.5, -53.5, 60.5, -3.5, 49.75, -10.5, -3.5, -52.75, -45.25, -3.5, -49.5, 38.75, -3.5, 48.5, -26.5, -3.5, 8.5, -13.25, -3.5, 12.5, -57.25, -3.5, -7.5, 38.75, -3.5, 45, 25.5, -3.5, 38.5, 36.5, -3.5, -10, 38.5, -3.5, -10.5, 36.5, -3.5, -7, 37, -3.5, -7.75, 38.5, -3.5, -7.5, -33.25, -3.5, -7, -50.5, -3.5, -13.5, 45.5, -3.5, 39.5, 25.5, -3.5, -13.5, 7.5, -3.5, 29.5, 5.5, -3.5, 30, 2.75, -3.5, 32.5, 7, -3.5, 27.75, -57.25, -3.5, -44.75, -10.5, -3.5, -49.5, -26.25, -1.75, -54.25, -25.25, -1.75, -54.5, -25.25, -1.75, -55, -38.5, -1.75, -55, -37.75, -1.75, -54.5, -37.75, -1.75, -37.5, -39, -1.75, -37.25, -39, -1.75, -36.75, -24.75, -1.75, -36.75, -24.75, -1.75, -37.25, -26.25, -1.75, -37.5, -38.25, -1.75, -45.25, -38.25, -1.75, -42.25, -37.75, -1.75, -40, -33.25, -1.75, -44.5, -38.25, -1.75, -47.25, -39.5, -1.75, -47, -39.5, -1.75, -45.75, -37.75, -1.75, -51.75, -33.5, -1.75, -47.25, -30.75, -1.75, -47.5, -26.25, -1.75, -51.75, -39, -1.75, -42, -39, -1.75, -40.25, -26.25, -1.75, -40, -30.5, -1.75, -44.75, -38.5, -1.75, -51.5, -24.75, -1.75, -40.25, -25.25, -1.75, -51.5, 56.75, 6.75, 40.5, 56.75, 6.75, 43.25, 59.25, 6.75, 43.25, 59.25, 6.75, 40.5, 44.75, 6.75, 40.75, 44.75, 6.75, 43.25, 47.25, 6.75, 43.25, 47.25, 6.75, 40.75, 45.5, -1.5, 45.25, 44.25, -1.5, 45.25, 44.75, -1.5, 46.75, 45.75, -1.5, 47, 55.75, -1.5, 44, 55.75, -1.5, 41, 48.25, -1.5, 41, 48.25, -1.5, 44, 58.75, -1.5, 54.75, 59.5, -1.5, 54.5, 59.5, -1.5, 53, 58.75, -1.5, 52.75, 55.75, -1.5, 56, 45.75, -1.5, 44.25, 58.75, -1.5, 55.75, 48.25, -1.5, 59.25, 55.75, -1.5, 59.25, 48, -1.5, 55.75, 59, -1.5, 44.25, 45.75, -1.5, 49.75, 44.75, -1.5, 50, 44.75, -1.5, 55.75, 57, -1.5, 41, 57, -1.5, 43, 59, -1.5, 43, 59, -1.5, 41, 44.75, 6.75, 56.75, 44.75, 6.75, 59.25, 47.25, 6.75, 59.25, 47.25, 6.75, 56.75, 56.75, 6.75, 56.75, 56.75, 6.75, 59.25, 59.25, 6.75, 59.25, 59.25, 6.75, 56.75, 45, -1.5, 57, 45, -1.5, 59, 47, -1.5, 59, 47, -1.5, 57) +polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(5, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(9, 8, 10), PackedInt32Array(10, 8, 11), PackedInt32Array(13, 12, 14), PackedInt32Array(14, 12, 15), PackedInt32Array(17, 16, 18), PackedInt32Array(18, 16, 19), PackedInt32Array(21, 20, 22), PackedInt32Array(22, 20, 25), PackedInt32Array(22, 25, 24), PackedInt32Array(22, 24, 23), PackedInt32Array(27, 26, 28), PackedInt32Array(28, 26, 29), PackedInt32Array(31, 30, 32), PackedInt32Array(32, 30, 33), PackedInt32Array(35, 34, 36), PackedInt32Array(36, 34, 37), PackedInt32Array(39, 38, 40), PackedInt32Array(40, 38, 41), PackedInt32Array(41, 38, 42), PackedInt32Array(44, 43, 45), PackedInt32Array(45, 43, 46), PackedInt32Array(48, 47, 49), PackedInt32Array(49, 47, 50), PackedInt32Array(52, 51, 53), PackedInt32Array(53, 51, 54), PackedInt32Array(56, 55, 57), PackedInt32Array(57, 55, 58), PackedInt32Array(60, 59, 61), PackedInt32Array(61, 59, 62), PackedInt32Array(64, 63, 65), PackedInt32Array(65, 63, 66), PackedInt32Array(69, 68, 67), PackedInt32Array(72, 71, 70), PackedInt32Array(67, 73, 69), PackedInt32Array(69, 73, 57), PackedInt32Array(75, 74, 76), PackedInt32Array(76, 74, 77), PackedInt32Array(79, 78, 80), PackedInt32Array(80, 78, 81), PackedInt32Array(81, 78, 82), PackedInt32Array(85, 84, 83), PackedInt32Array(91, 90, 86), PackedInt32Array(86, 90, 89), PackedInt32Array(86, 89, 88), PackedInt32Array(86, 88, 87), PackedInt32Array(58, 69, 57), PackedInt32Array(93, 92, 94), PackedInt32Array(94, 92, 95), PackedInt32Array(42, 38, 46), PackedInt32Array(7, 97, 96), PackedInt32Array(87, 88, 98), PackedInt32Array(98, 88, 99), PackedInt32Array(3, 45, 2), PackedInt32Array(2, 45, 46), PackedInt32Array(101, 100, 102), PackedInt32Array(102, 100, 103), PackedInt32Array(105, 104, 91), PackedInt32Array(91, 104, 90), PackedInt32Array(106, 81, 107), PackedInt32Array(107, 81, 108), PackedInt32Array(50, 47, 0), PackedInt32Array(0, 47, 3), PackedInt32Array(97, 109, 96), PackedInt32Array(96, 109, 110), PackedInt32Array(111, 49, 50), PackedInt32Array(112, 110, 109), PackedInt32Array(111, 113, 101), PackedInt32Array(101, 113, 100), PackedInt32Array(84, 97, 83), PackedInt32Array(83, 97, 7), PackedInt32Array(71, 115, 70), PackedInt32Array(70, 115, 114), PackedInt32Array(117, 105, 116), PackedInt32Array(116, 105, 12), PackedInt32Array(119, 118, 120), PackedInt32Array(120, 118, 107), PackedInt32Array(66, 63, 16), PackedInt32Array(16, 63, 19), PackedInt32Array(113, 111, 121), PackedInt32Array(121, 111, 50), PackedInt32Array(34, 122, 37), PackedInt32Array(37, 122, 123), PackedInt32Array(121, 124, 125), PackedInt32Array(125, 124, 126), PackedInt32Array(129, 128, 127), PackedInt32Array(127, 130, 129), PackedInt32Array(129, 130, 131), PackedInt32Array(70, 76, 72), PackedInt32Array(72, 76, 132), PackedInt32Array(132, 76, 77), PackedInt32Array(123, 133, 37), PackedInt32Array(37, 133, 134), PackedInt32Array(134, 133, 112), PackedInt32Array(94, 95, 118), PackedInt32Array(118, 95, 107), PackedInt32Array(83, 28, 85), PackedInt32Array(85, 28, 29), PackedInt32Array(139, 138, 135), PackedInt32Array(135, 138, 136), PackedInt32Array(136, 138, 137), PackedInt32Array(137, 138, 108), PackedInt32Array(19, 61, 18), PackedInt32Array(18, 61, 62), PackedInt32Array(29, 26, 140), PackedInt32Array(142, 140, 141), PackedInt32Array(141, 140, 26), PackedInt32Array(7, 4, 38), PackedInt32Array(38, 4, 46), PackedInt32Array(141, 22, 142), PackedInt32Array(142, 22, 23), PackedInt32Array(144, 143, 145), PackedInt32Array(145, 143, 146), PackedInt32Array(148, 147, 149), PackedInt32Array(149, 147, 77), PackedInt32Array(149, 150, 148), PackedInt32Array(153, 152, 151), PackedInt32Array(156, 155, 154), PackedInt32Array(153, 151, 103), PackedInt32Array(154, 157, 156), PackedInt32Array(156, 157, 158), PackedInt32Array(161, 160, 159), PackedInt32Array(164, 163, 162), PackedInt32Array(135, 165, 139), PackedInt32Array(103, 166, 102), PackedInt32Array(159, 167, 161), PackedInt32Array(161, 167, 158), PackedInt32Array(164, 162, 168), PackedInt32Array(168, 162, 169), PackedInt32Array(169, 162, 170), PackedInt32Array(25, 20, 171), PackedInt32Array(171, 20, 172), PackedInt32Array(176, 175, 173), PackedInt32Array(173, 175, 174), PackedInt32Array(177, 171, 172), PackedInt32Array(15, 65, 14), PackedInt32Array(14, 65, 66), PackedInt32Array(180, 179, 178), PackedInt32Array(117, 104, 105), PackedInt32Array(106, 181, 81), PackedInt32Array(107, 95, 106), PackedInt32Array(165, 89, 139), PackedInt32Array(139, 89, 90), PackedInt32Array(180, 178, 182), PackedInt32Array(182, 178, 138), PackedInt32Array(138, 178, 108), PackedInt32Array(169, 183, 168), PackedInt32Array(126, 124, 146), PackedInt32Array(129, 131, 184), PackedInt32Array(184, 131, 147), PackedInt32Array(147, 131, 77), PackedInt32Array(103, 100, 153), PackedInt32Array(153, 100, 185), PackedInt32Array(185, 100, 186), PackedInt32Array(40, 41, 115), PackedInt32Array(115, 41, 114), PackedInt32Array(77, 187, 132), PackedInt32Array(147, 188, 184), PackedInt32Array(42, 46, 43), PackedInt32Array(33, 98, 32), PackedInt32Array(32, 98, 99), PackedInt32Array(82, 137, 81), PackedInt32Array(81, 137, 108), PackedInt32Array(80, 189, 79), PackedInt32Array(191, 190, 30), PackedInt32Array(30, 190, 33), PackedInt32Array(126, 146, 174), PackedInt32Array(174, 146, 143), PackedInt32Array(174, 143, 192), PackedInt32Array(193, 190, 194), PackedInt32Array(194, 190, 191), PackedInt32Array(113, 121, 125), PackedInt32Array(192, 193, 194), PackedInt32Array(194, 82, 192), PackedInt32Array(192, 82, 78), PackedInt32Array(192, 78, 173), PackedInt32Array(192, 173, 174), PackedInt32Array(132, 195, 72), PackedInt32Array(139, 117, 116), PackedInt32Array(186, 74, 185), PackedInt32Array(185, 74, 75), PackedInt32Array(145, 161, 144), PackedInt32Array(144, 161, 87), PackedInt32Array(87, 161, 86), PackedInt32Array(86, 161, 158), PackedInt32Array(110, 133, 196), PackedInt32Array(196, 133, 158), PackedInt32Array(196, 158, 167), PackedInt32Array(197, 80, 81), PackedInt32Array(11, 8, 55), PackedInt32Array(55, 8, 58), PackedInt32Array(158, 157, 86), PackedInt32Array(136, 198, 135), PackedInt32Array(11, 53, 10), PackedInt32Array(10, 53, 54), PackedInt32Array(139, 116, 138), PackedInt32Array(7, 96, 6), PackedInt32Array(200, 199, 51), PackedInt32Array(51, 199, 54), PackedInt32Array(201, 149, 77), PackedInt32Array(199, 200, 202), PackedInt32Array(202, 200, 176), PackedInt32Array(15, 12, 105), PackedInt32Array(173, 202, 176), PackedInt32Array(174, 175, 74), PackedInt32Array(74, 175, 201), PackedInt32Array(74, 201, 77), PackedInt32Array(203, 187, 170), PackedInt32Array(170, 187, 77), PackedInt32Array(138, 204, 182), PackedInt32Array(170, 162, 203), PackedInt32Array(110, 112, 133), PackedInt32Array(177, 172, 59), PackedInt32Array(59, 172, 62), PackedInt32Array(206, 205, 207), PackedInt32Array(207, 205, 209), PackedInt32Array(207, 209, 208), PackedInt32Array(211, 210, 212), PackedInt32Array(212, 210, 215), PackedInt32Array(212, 215, 214), PackedInt32Array(212, 214, 213), PackedInt32Array(217, 216, 218), PackedInt32Array(218, 216, 219), PackedInt32Array(221, 220, 222), PackedInt32Array(222, 220, 216), PackedInt32Array(226, 225, 205), PackedInt32Array(205, 225, 224), PackedInt32Array(205, 224, 223), PackedInt32Array(205, 223, 209), PackedInt32Array(227, 217, 228), PackedInt32Array(228, 217, 218), PackedInt32Array(218, 219, 210), PackedInt32Array(210, 219, 230), PackedInt32Array(210, 230, 229), PackedInt32Array(210, 229, 215), PackedInt32Array(220, 231, 223), PackedInt32Array(216, 220, 219), PackedInt32Array(219, 220, 224), PackedInt32Array(224, 220, 223), PackedInt32Array(226, 233, 225), PackedInt32Array(225, 233, 230), PackedInt32Array(230, 233, 229), PackedInt32Array(229, 233, 232), PackedInt32Array(237, 236, 234), PackedInt32Array(234, 236, 235), PackedInt32Array(241, 240, 238), PackedInt32Array(238, 240, 239), PackedInt32Array(245, 244, 242), PackedInt32Array(242, 244, 243), PackedInt32Array(249, 248, 246), PackedInt32Array(246, 248, 247), PackedInt32Array(251, 250, 252), PackedInt32Array(252, 250, 253), PackedInt32Array(253, 250, 254), PackedInt32Array(242, 255, 245), PackedInt32Array(245, 255, 249), PackedInt32Array(250, 256, 254), PackedInt32Array(258, 257, 254), PackedInt32Array(254, 257, 259), PackedInt32Array(246, 260, 253), PackedInt32Array(262, 261, 263), PackedInt32Array(263, 261, 259), PackedInt32Array(261, 245, 249), PackedInt32Array(254, 259, 253), PackedInt32Array(253, 259, 261), PackedInt32Array(253, 261, 249), PackedInt32Array(253, 249, 246), PackedInt32Array(267, 266, 264), PackedInt32Array(264, 266, 265), PackedInt32Array(271, 270, 268), PackedInt32Array(268, 270, 269), PackedInt32Array(275, 274, 272), PackedInt32Array(272, 274, 273), PackedInt32Array(279, 278, 276), PackedInt32Array(276, 278, 277)] +sample_partition_type = 2 geometry_parsed_geometry_type = 1 geometry_collision_mask = 2147483648 -agent_radius = 1.0 +agent_height = 2.0 +region_min_size = 8.0 diff --git a/src/map/dungeon/floors/Floor01.tscn b/src/map/dungeon/floors/Floor01.tscn index 044476a3..034cff35 100644 --- a/src/map/dungeon/floors/Floor01.tscn +++ b/src/map/dungeon/floors/Floor01.tscn @@ -1,18 +1,19 @@ -[gd_scene load_steps=12 format=3 uid="uid://bc1sp6xwe0j65"] +[gd_scene load_steps=15 format=3 uid="uid://bc1sp6xwe0j65"] [ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_0ecnn"] [ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="2_cxmwa"] [ext_resource type="PackedScene" uid="uid://dpec2lbt83dhe" path="res://src/map/dungeon/rooms/Set A/03. Antechamber A.tscn" id="3_gkkr3"] +[ext_resource type="PackedScene" uid="uid://dn5546yqyntfr" path="res://src/map/dungeon/rooms/Set A/10. Item Transfer Room.tscn" id="6_atq1f"] +[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="8_1l8yt"] [ext_resource type="PackedScene" uid="uid://b82dx66mgs2d7" path="res://src/map/dungeon/rooms/Set A/08. Basin Room.tscn" id="8_5rblf"] +[ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="9_lcc45"] [ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="12_aw26s"] [ext_resource type="PackedScene" uid="uid://cihbmyo0ltq4m" path="res://src/map/dungeon/rooms/Set A/19. Floor Exit A.tscn" id="12_n02rw"] [ext_resource type="PackedScene" uid="uid://bksq62muhk3h5" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="13_kwaga"] [ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/rooms/Set A/18. Corridor A.tscn" id="13_ofywd"] [ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="14_gkkr3"] -[sub_resource type="NavigationMesh" id="NavigationMesh_4d8mx"] -vertices = PackedVector3Array(18.4194, -0.588592, -8.75, 19.1694, -0.588592, -9, 19.1694, -0.588592, -9.75, 16.4194, -0.588592, -10, 16.6694, -0.588592, -9, 17.6694, -0.588592, -8.75, -18.5806, -0.588592, 0.75, -19.3306, -0.588592, 0.75, -19.5806, -0.588592, 1.5, -17.5806, -0.588592, 2, -1.58061, -0.588592, 3.25, -0.830608, -0.588592, 3, -0.580608, -0.588592, 2, -2.33061, -0.588592, 1.5, -6.33061, -0.588592, -7.5, -7.33061, -0.588592, -7.25, -7.58061, -0.588592, -6.5, -5.58061, -0.588592, -6, -10.3306, -0.588592, -3.5, -11.3306, -0.588592, -3.25, -11.5806, -0.588592, -2.5, -9.58061, -0.588592, -2, -21.5806, -0.588592, 3.25, -20.8306, -0.588592, 3, -20.5806, -0.588592, 2, -22.3306, -0.588592, 1.5, -17.5806, -0.588592, -0.75, -16.8306, -0.588592, -1, -16.5806, -0.588592, -2, -18.3306, -0.588592, -2.5, -9.58061, -0.588592, -4.75, -8.83061, -0.588592, -5, -8.58061, -0.588592, -6, -10.3306, -0.588592, -6.5, -5.58061, -0.588592, -8.75, -4.83061, -0.588592, -9, -4.58061, -0.588592, -10, -6.33061, -0.588592, -10.5, 17.6694, -0.588592, 0.5, 16.6694, -0.588592, 0.75, 16.4194, -0.588592, 1.5, 18.4194, -0.588592, 2, 13.6694, -0.588592, 22.5, 2.41939, -0.588592, 22.5, 0.919392, -0.588592, 22.75, 0.919392, -0.588592, 23.25, 15.1694, -0.588592, 23.25, 15.1694, -0.588592, 22.75, 32.4194, -0.588592, -13.5, 33.4194, -0.588592, -12.75, 39.4194, -0.588592, -39.5, 13.6694, -0.588592, 5.75, 15.1694, -0.588592, 5.5, 15.1694, -0.588592, 5, 1.41939, -0.588592, 5, 2.41939, -0.588592, 5.5, -5.33061, -0.588592, 16.5, -5.33061, -0.588592, -0.75, -6.83061, -0.588592, 0.75, -22.5806, -0.588592, 38, -23.5806, -0.588592, 38, -23.5806, -0.588592, 39.5, -38.3306, -0.588592, 25.25, -39.5806, -0.588592, 25.25, -39.5806, -0.588592, 26.75, -38.3306, -0.588592, 27, -4.58061, -0.588592, -1.5, -3.58061, -0.588592, -3, 1.66939, -0.588592, 17.75, 0.919392, -0.588592, 18, 0.919392, -0.588592, 19.75, 2.41939, -0.588592, 20, -27.8306, -0.588592, 35.75, -25.3306, -0.588592, 35.75, -25.3306, -0.588592, 34.75, -38.0806, -0.588592, 24.25, -19.5806, -0.588592, 37, -22.3306, -0.588592, 37, -1.33061, -0.588592, 17.75, -1.33061, -0.588592, 17, -4.58061, -0.588592, 17, -25.3306, -0.588592, 32.5, -35.8306, -0.588592, 36, -24.5806, -0.588592, 34, -24.8306, -0.588592, 33, -35.8306, -0.588592, 24, -38.3306, -0.588592, 29.75, -0.580608, -0.588592, 18, -0.330608, -0.588592, 24.75, 2.41939, -0.588592, 8.25, 1.41939, -0.588592, 8.5, 1.66939, -0.588592, 12.75, 6.41939, -0.588592, 12.75, -24.5806, -0.588592, -1.5, -21.3306, -0.588592, -1.5, -21.3306, -0.588592, -4.75, -39.5806, -0.588592, -39.5, -12.5806, -0.588592, -9.5, -9.33061, -0.588592, -9.5, -9.33061, -0.588592, -12.75, -6.58061, -0.588592, -3, 1.66939, -0.588592, 14.75, 6.66939, -0.588592, 15.5, -0.830608, -0.588592, 13, 0.419392, -0.588592, 14, -18.5806, -0.588592, 36.5, 39.4194, -0.588592, 39.5, 16.4194, -0.588592, 24.75, -39.3306, -0.588592, 19.75, -25.3306, -0.588592, 19.75, -25.3306, -0.588592, -0.75, -39.0806, -0.588592, 30, -39.0806, -0.588592, 35.75, -20.5806, -0.588592, -5.5, -13.3306, -0.588592, -5.5, -13.3306, -0.588592, -8.75, 9.16939, -0.588592, 12.5, 13.6694, -0.588592, 8.25, -28.0806, -0.588592, 24, -28.0806, -0.588592, 21, -35.8306, -0.588592, 21, -35.8306, -0.588592, 39.25, -28.0806, -0.588592, 39.25, -8.58061, -0.588592, -13.5, -25.3306, -0.588592, 24.25, -14.5806, -0.588592, 1, -14.8306, -0.588592, 4.75, 21.4194, -0.588592, 4.5, 20.4194, -0.588592, 5, 9.41939, -0.588592, 15.25, 13.6694, -0.588592, 20, 15.1694, -0.588592, 19.75, 15.1694, -0.588592, 8.5, 33.1694, -0.588592, -7.25, 30.4194, -0.588592, -7.5, 28.4194, -0.588592, -7, 16.6694, -0.588592, 5, 14.6694, -0.588592, -7, -2.58061, -0.588592, -7, -2.58061, -0.588592, -3.5, 14.6694, -0.588592, -1.5, -22.3306, -0.588592, 32.75, -21.5806, -0.588592, 34, 30.4194, -0.588592, -10.5, 28.4194, -0.588592, -10, 21.4194, -0.588592, -7, -18.5806, -0.588592, 5, -2.33061, -0.588592, 14, -1.58061, -0.588592, 12.5, -12.0806, 2.16141, -4.25, -11.3306, 2.16141, -4.25, -11.3306, 2.16141, -7.25, -23.3306, 2.16141, 0.75, -20.3306, 2.16141, 0.5, -20.0806, 2.16141, -0.25, -20.5806, 2.16141, -0.5, -23.8306, 2.16141, -0.5, -24.3306, 2.16141, 0, -19.3306, 2.16141, -0.25, -19.0806, 2.16141, -3.5, -19.8306, 2.16141, -4.5, -20.3306, 2.16141, -4, -8.33061, 2.16141, -7.5, -8.08061, 2.16141, -8.25, -8.58061, 2.16141, -8.5, -11.8306, 2.16141, -8.5, -12.3306, 2.16141, -8, -7.33061, 2.16141, -8.25, -7.08061, 2.16141, -11.5, -7.83061, 2.16141, -12.5, -8.33061, 2.16141, -12, 31.1694, 2.41141, -11.5, 31.4194, 2.41141, -8.25, 32.4194, 2.41141, -8.25, 32.4194, 2.41141, -12, 31.6694, 2.41141, -12.5, -12.5806, 2.16141, -4.5, -12.3306, 2.16141, -3.5, -24.3306, 2.16141, 19.5, -23.3306, 2.16141, 19.75, -20.5806, 2.41141, 34.75, -22.3306, 2.16141, 35, -22.3306, 2.16141, 36, -19.5806, 2.41141, 35.75, 15.6694, 2.16141, -7.75, 15.4194, 2.16141, -0.5, 15.9194, 2.16141, -0.25, -1.33061, 2.16141, 16, -1.33061, 2.16141, 15, -3.33061, 2.16141, 14.75, -4.33061, 2.16141, 15.75, -3.33061, 2.41141, -8, 15.6694, 2.16141, -8.25, 15.6694, 2.16141, -9, -3.83061, 2.16141, -9, -3.83061, 2.41141, -8.25, -4.58061, 2.41141, -8, -4.58061, 2.41141, -5.25, -3.58061, 2.41141, -4.25, -15.3306, 2.41141, 0, -15.8306, 2.41141, -0.25, -16.5806, 2.41141, 0, -16.5806, 2.41141, 2.75, -15.5806, 2.41141, 3.75, -7.83061, 2.16141, -5, -7.83061, 2.41141, -4.25, -7.58061, 2.41141, -3.75, -8.58061, 2.41141, -4, -8.83061, 2.41141, -1, -7.58061, 2.41141, -0.25, -19.8306, 2.16141, 3, -19.8306, 2.41141, 3.75, -20.5806, 2.41141, 4, -19.5806, 2.41141, 4.25, -15.8306, 2.16141, -1, 16.6694, 2.16141, -0.25, 16.6694, 2.16141, -8, -4.33061, 2.16141, 0, -3.08061, 2.16141, 0.5, -3.83061, 2.16141, -0.5, 15.6694, 2.16141, 0.5, 16.4194, 2.16141, 3.5, 16.6694, 2.16141, 4, 19.9194, 2.41141, 4, 20.4194, 2.41141, 3.75, 19.1694, 2.41141, 3, 19.4194, 2.41141, -8, 20.4194, 2.41141, -7.75, 20.1694, 2.41141, -8.25, 27.6694, 2.16141, -8, 27.6694, 2.16141, -9, 20.1694, 2.16141, -9, 0.169392, 2.16141, 3, 0.169392, 2.41141, 3.5, -27.0806, 6.66141, 20.5, -27.0806, 6.66141, 23.25, -24.5806, 6.66141, 23.25, -24.5806, 6.66141, 20.5, -39.5806, 6.66141, 20.75, -39.5806, 6.66141, 23.25, -36.8306, 6.66141, 23.25, -36.8306, 6.66141, 20.75, -39.3306, 6.66141, 36.75, -39.3306, 6.66141, 39.25, -36.8306, 6.66141, 39.25, -36.8306, 6.66141, 36.75, -27.0806, 6.66141, 36.75, -27.0806, 6.66141, 39.25, -24.5806, 6.66141, 39.25, -24.5806, 6.66141, 36.75, -39.0806, -0.588592, 37, -39.0806, -0.588592, 39, -37.0806, -0.588592, 39, -37.0806, -0.588592, 37) -polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 5), PackedInt32Array(2, 5, 4), PackedInt32Array(2, 4, 3), PackedInt32Array(7, 6, 8), PackedInt32Array(8, 6, 9), PackedInt32Array(11, 10, 12), PackedInt32Array(12, 10, 13), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 17), PackedInt32Array(19, 18, 20), PackedInt32Array(20, 18, 21), PackedInt32Array(23, 22, 24), PackedInt32Array(24, 22, 25), PackedInt32Array(27, 26, 28), PackedInt32Array(28, 26, 29), PackedInt32Array(31, 30, 32), PackedInt32Array(32, 30, 33), PackedInt32Array(35, 34, 36), PackedInt32Array(36, 34, 37), PackedInt32Array(39, 38, 40), PackedInt32Array(40, 38, 41), PackedInt32Array(47, 46, 42), PackedInt32Array(42, 46, 43), PackedInt32Array(43, 46, 44), PackedInt32Array(44, 46, 45), PackedInt32Array(50, 49, 48), PackedInt32Array(52, 51, 53), PackedInt32Array(53, 51, 55), PackedInt32Array(53, 55, 54), PackedInt32Array(56, 58, 57), PackedInt32Array(61, 60, 59), PackedInt32Array(63, 62, 64), PackedInt32Array(64, 62, 65), PackedInt32Array(57, 67, 66), PackedInt32Array(69, 68, 70), PackedInt32Array(70, 68, 71), PackedInt32Array(13, 40, 12), PackedInt32Array(12, 40, 41), PackedInt32Array(74, 73, 72), PackedInt32Array(65, 62, 75), PackedInt32Array(59, 77, 76), PackedInt32Array(80, 79, 78), PackedInt32Array(84, 83, 81), PackedInt32Array(81, 83, 74), PackedInt32Array(81, 74, 72), PackedInt32Array(81, 72, 82), PackedInt32Array(75, 85, 65), PackedInt32Array(65, 85, 86), PackedInt32Array(78, 87, 80), PackedInt32Array(80, 87, 88), PackedInt32Array(90, 89, 91), PackedInt32Array(91, 89, 92), PackedInt32Array(94, 93, 95), PackedInt32Array(95, 93, 96), PackedInt32Array(99, 98, 97), PackedInt32Array(61, 59, 76), PackedInt32Array(67, 57, 100), PackedInt32Array(100, 57, 58), PackedInt32Array(68, 101, 71), PackedInt32Array(71, 101, 102), PackedInt32Array(103, 91, 104), PackedInt32Array(104, 91, 101), PackedInt32Array(101, 91, 92), PackedInt32Array(101, 92, 102), PackedInt32Array(76, 105, 61), PackedInt32Array(61, 105, 107), PackedInt32Array(61, 107, 106), PackedInt32Array(109, 108, 110), PackedInt32Array(110, 108, 96), PackedInt32Array(111, 86, 112), PackedInt32Array(112, 86, 82), PackedInt32Array(96, 113, 95), PackedInt32Array(9, 6, 26), PackedInt32Array(26, 6, 29), PackedInt32Array(105, 88, 107), PackedInt32Array(115, 114, 113), PackedInt32Array(92, 89, 116), PackedInt32Array(116, 89, 55), PackedInt32Array(116, 55, 117), PackedInt32Array(117, 55, 51), PackedInt32Array(85, 120, 118), PackedInt32Array(118, 120, 119), PackedInt32Array(21, 18, 30), PackedInt32Array(30, 18, 33), PackedInt32Array(121, 82, 122), PackedInt32Array(122, 82, 72), PackedInt32Array(33, 16, 32), PackedInt32Array(32, 16, 17), PackedInt32Array(48, 123, 50), PackedInt32Array(50, 123, 96), PackedInt32Array(124, 81, 118), PackedInt32Array(118, 81, 85), PackedInt32Array(85, 81, 86), PackedInt32Array(86, 81, 82), PackedInt32Array(125, 58, 126), PackedInt32Array(126, 58, 56), PackedInt32Array(97, 115, 113), PackedInt32Array(56, 80, 88), PackedInt32Array(29, 20, 28), PackedInt32Array(28, 20, 21), PackedInt32Array(107, 128, 127), PackedInt32Array(117, 132, 116), PackedInt32Array(116, 132, 129), PackedInt32Array(129, 132, 130), PackedInt32Array(130, 132, 131), PackedInt32Array(134, 133, 135), PackedInt32Array(135, 133, 127), PackedInt32Array(127, 133, 107), PackedInt32Array(107, 133, 106), PackedInt32Array(107, 136, 128), PackedInt32Array(138, 137, 139), PackedInt32Array(139, 137, 140), PackedInt32Array(49, 50, 133), PackedInt32Array(133, 50, 106), PackedInt32Array(17, 14, 34), PackedInt32Array(34, 14, 37), PackedInt32Array(25, 8, 24), PackedInt32Array(24, 8, 9), PackedInt32Array(84, 141, 83), PackedInt32Array(83, 141, 142), PackedInt32Array(135, 144, 134), PackedInt32Array(134, 144, 143), PackedInt32Array(71, 102, 43), PackedInt32Array(43, 102, 129), PackedInt32Array(43, 129, 130), PackedInt32Array(43, 130, 42), PackedInt32Array(127, 145, 135), PackedInt32Array(144, 2, 143), PackedInt32Array(143, 2, 3), PackedInt32Array(93, 110, 96), PackedInt32Array(99, 97, 113), PackedInt32Array(142, 141, 22), PackedInt32Array(22, 141, 25), PackedInt32Array(5, 0, 38), PackedInt32Array(38, 0, 41), PackedInt32Array(99, 113, 123), PackedInt32Array(123, 113, 96), PackedInt32Array(126, 56, 146), PackedInt32Array(146, 56, 88), PackedInt32Array(146, 88, 105), PackedInt32Array(148, 103, 147), PackedInt32Array(147, 103, 104), PackedInt32Array(67, 139, 66), PackedInt32Array(66, 139, 140), PackedInt32Array(148, 147, 10), PackedInt32Array(10, 147, 13), PackedInt32Array(36, 37, 3), PackedInt32Array(3, 37, 143), PackedInt32Array(151, 150, 149), PackedInt32Array(154, 153, 155), PackedInt32Array(155, 153, 152), PackedInt32Array(155, 152, 156), PackedInt32Array(156, 152, 157), PackedInt32Array(154, 155, 158), PackedInt32Array(158, 155, 159), PackedInt32Array(159, 155, 161), PackedInt32Array(159, 161, 160), PackedInt32Array(163, 162, 164), PackedInt32Array(164, 162, 151), PackedInt32Array(164, 151, 165), PackedInt32Array(165, 151, 166), PackedInt32Array(163, 164, 167), PackedInt32Array(167, 164, 168), PackedInt32Array(168, 164, 170), PackedInt32Array(168, 170, 169), PackedInt32Array(175, 174, 171), PackedInt32Array(171, 174, 172), PackedInt32Array(172, 174, 173), PackedInt32Array(177, 159, 176), PackedInt32Array(176, 159, 160), PackedInt32Array(171, 168, 175), PackedInt32Array(175, 168, 169), PackedInt32Array(177, 176, 149), PackedInt32Array(149, 176, 151), PackedInt32Array(151, 176, 166), PackedInt32Array(179, 178, 152), PackedInt32Array(152, 178, 157), PackedInt32Array(181, 180, 182), PackedInt32Array(182, 180, 183), PackedInt32Array(186, 185, 184), PackedInt32Array(188, 187, 189), PackedInt32Array(189, 187, 190), PackedInt32Array(195, 194, 191), PackedInt32Array(191, 194, 192), PackedInt32Array(192, 194, 193), PackedInt32Array(195, 191, 196), PackedInt32Array(196, 191, 197), PackedInt32Array(197, 191, 198), PackedInt32Array(200, 199, 201), PackedInt32Array(201, 199, 202), PackedInt32Array(202, 199, 203), PackedInt32Array(205, 204, 206), PackedInt32Array(206, 204, 197), PackedInt32Array(206, 197, 198), PackedInt32Array(205, 206, 207), PackedInt32Array(207, 206, 208), PackedInt32Array(208, 206, 209), PackedInt32Array(211, 210, 202), PackedInt32Array(212, 211, 213), PackedInt32Array(213, 211, 202), PackedInt32Array(213, 202, 203), PackedInt32Array(200, 214, 199), PackedInt32Array(199, 214, 208), PackedInt32Array(199, 208, 209), PackedInt32Array(192, 216, 184), PackedInt32Array(184, 216, 186), PackedInt32Array(186, 216, 215), PackedInt32Array(192, 184, 191), PackedInt32Array(219, 218, 217), PackedInt32Array(217, 218, 189), PackedInt32Array(217, 189, 190), PackedInt32Array(212, 213, 180), PackedInt32Array(180, 213, 183), PackedInt32Array(186, 220, 185), PackedInt32Array(185, 220, 218), PackedInt32Array(185, 218, 219), PackedInt32Array(224, 223, 225), PackedInt32Array(225, 223, 222), PackedInt32Array(225, 222, 221), PackedInt32Array(228, 227, 226), PackedInt32Array(226, 227, 225), PackedInt32Array(225, 227, 224), PackedInt32Array(228, 231, 227), PackedInt32Array(227, 231, 229), PackedInt32Array(229, 231, 230), PackedInt32Array(233, 232, 221), PackedInt32Array(221, 232, 225), PackedInt32Array(237, 236, 234), PackedInt32Array(234, 236, 235), PackedInt32Array(241, 240, 238), PackedInt32Array(238, 240, 239), PackedInt32Array(245, 244, 242), PackedInt32Array(242, 244, 243), PackedInt32Array(249, 248, 246), PackedInt32Array(246, 248, 247), PackedInt32Array(253, 252, 250), PackedInt32Array(250, 252, 251)] +[sub_resource type="NavigationMesh" id="NavigationMesh_xw4dv"] sample_partition_type = 2 geometry_parsed_geometry_type = 1 geometry_collision_mask = 2147483648 @@ -27,12 +28,12 @@ script = ExtResource("1_0ecnn") [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] unique_name_in_owner = true -navigation_mesh = SubResource("NavigationMesh_4d8mx") +navigation_mesh = SubResource("NavigationMesh_xw4dv") [node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"] unique_name_in_owner = true script = ExtResource("2_cxmwa") -room_scenes = Array[PackedScene]([ExtResource("8_5rblf"), ExtResource("3_gkkr3"), ExtResource("12_n02rw")]) +room_scenes = Array[PackedScene]([ExtResource("8_5rblf"), ExtResource("3_gkkr3"), ExtResource("12_n02rw"), ExtResource("6_atq1f")]) corridor_room_scene = ExtResource("13_ofywd") dungeon_size = Vector3i(20, 1, 20) voxel_scale = Vector3(4, 4, 4) @@ -42,122 +43,222 @@ corridor_cost_multiplier = 0.1 show_debug_in_editor = false hide_debug_visuals_for_all_generated_rooms = false -[node name="BasinRoom_0" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_5rblf")] -transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 8, 0, 14) +[node name="BasinRoom_0" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_5rblf")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 8, 0, 22) +script = ExtResource("8_1l8yt") +size_in_voxels = Vector3i(5, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 -[node name="Floor Exit A_1" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("12_n02rw")] -transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 30, 0, 10) +[node name="Antechamber A_1" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("3_gkkr3")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 32) +script = ExtResource("8_1l8yt") +size_in_voxels = Vector3i(5, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 -[node name="Antechamber A_2" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("3_gkkr3")] -transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -32, 0, 30) +[node name="Floor Exit A_2" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("12_n02rw")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 22, 0, -30) +script = ExtResource("8_1l8yt") +size_in_voxels = Vector3i(5, 1, 9) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 -[node name="Corridor_3" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 14) +[node name="Item Transfer Room_3" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("6_atq1f")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -16, 0, -14) +script = ExtResource("8_1l8yt") +size_in_voxels = Vector3i(3, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 -[node name="Corridor_4" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 10) +[node name="Corridor_4" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_5" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 6) +[node name="Corridor_5" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_6" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 2) +[node name="Corridor_6" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_7" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 2) +[node name="Corridor_7" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_8" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 2) +[node name="Corridor_8" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_9" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 2) +[node name="Corridor_9" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_10" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 2) +[node name="Corridor_10" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 14) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_11" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 2) +[node name="Corridor_11" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 10) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_12" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -2) +[node name="Corridor_12" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 6) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_13" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -6) +[node name="Corridor_13" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 2) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_14" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -10) +[node name="Corridor_14" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, -2) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_15" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -10) +[node name="Corridor_15" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, -6) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_16" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, -10) +[node name="Corridor_16" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, -10) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_17" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -10) +[node name="Corridor_17" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, -14) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_18" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, -10) +[node name="Corridor_18" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -14) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_19" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -10) +[node name="Corridor_19" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_20" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -10) +[node name="Corridor_20" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_21" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -10) +[node name="Corridor_21" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_22" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -10) +[node name="Corridor_22" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_23" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -10) +[node name="Corridor_23" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_24" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -6) +[node name="Corridor_24" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_25" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -6) +[node name="Corridor_25" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_26" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -2) +[node name="Corridor_26" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_27" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -2) +[node name="Corridor_27" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_28" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -2) +[node name="Corridor_28" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -26) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_29" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 2) +[node name="Corridor_29" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -30) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_30" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 2) +[node name="Corridor_30" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -30) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_31" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 6) +[node name="Corridor_31" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -30) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_32" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 10) +[node name="Corridor_32" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -30) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_33" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 14) +[node name="Corridor_33" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -30) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_34" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 18) +[node name="Corridor_34" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -26) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_35" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 22) +[node name="Corridor_35" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -26) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_36" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 26) +[node name="Corridor_36" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_37" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 30) +[node name="Corridor_37" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) -[node name="Corridor_38" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 34) +[node name="Corridor_38" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -22) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_39" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -18) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_40" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("13_ofywd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -14) +script = ExtResource("9_lcc45") +voxel_scale = Vector3(4, 4, 4) [node name="RoomsContainer" type="Node3D" parent="NavigationRegion3D/DungeonGenerator"] diff --git a/src/map/dungeon/floors/Floor02.tscn b/src/map/dungeon/floors/Floor02.tscn index 343f6e0c..0df7d716 100644 --- a/src/map/dungeon/floors/Floor02.tscn +++ b/src/map/dungeon/floors/Floor02.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=15 format=3 uid="uid://dmiqwmivkjgmq"] +[gd_scene load_steps=19 format=3 uid="uid://dmiqwmivkjgmq"] [ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_afeds"] [ext_resource type="PackedScene" uid="uid://dpec2lbt83dhe" path="res://src/map/dungeon/rooms/Set A/03. Antechamber A.tscn" id="3_7txs6"] +[ext_resource type="PackedScene" uid="uid://i781lbf2wb22" path="res://src/map/dungeon/rooms/Set A/04. Antechamber B.tscn" id="4_k6xgr"] [ext_resource type="PackedScene" uid="uid://b82dx66mgs2d7" path="res://src/map/dungeon/rooms/Set A/08. Basin Room.tscn" id="4_r7shj"] [ext_resource type="PackedScene" uid="uid://b7111krf365x0" path="res://src/map/dungeon/rooms/Set A/06. Balcony Room A.tscn" id="5_geyju"] [ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="5_ld0kt"] @@ -10,30 +11,227 @@ [ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/rooms/Set A/13. Water Room.tscn" id="8_lpc1g"] [ext_resource type="PackedScene" uid="uid://vdhl32je6hq2" path="res://src/map/dungeon/rooms/Set A/07. Statue Room.tscn" id="9_4i2f8"] [ext_resource type="PackedScene" uid="uid://cam640h4euewx" path="res://src/map/dungeon/rooms/Set A/05. Pit Room A.tscn" id="9_lpelw"] +[ext_resource type="PackedScene" uid="uid://dhm2lyfkrjugf" path="res://src/map/dungeon/rooms/Set A/11. Long Room.tscn" id="10_5omre"] [ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="11_yvj8v"] +[ext_resource type="PackedScene" uid="uid://cihbmyo0ltq4m" path="res://src/map/dungeon/rooms/Set A/19. Floor Exit A.tscn" id="12_e0s3j"] [ext_resource type="PackedScene" uid="uid://bksq62muhk3h5" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="12_pmbic"] [ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="13_eyrkc"] -[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"] -border_size = 1.0 -agent_height = 3.0 -agent_radius = 0.1 +[sub_resource type="NavigationMesh" id="NavigationMesh_23nxb"] +vertices = PackedVector3Array(-30, -0.588592, -15, -30.25, -0.588592, -15.5, -32, -0.588592, -15.25, -32.5, -0.588592, 2.5, -29.25, -0.588592, 2.5, -14, -0.588592, -33.25, -14, -0.588592, -32.25, -11.25, -0.588592, -32.25, -14.5, -0.588592, -33.5, -9.25, -0.588592, -35.5, -9.25, -0.588592, -40.75, -14.5, -0.588592, -52.75, 26.75, -0.588592, 21.75, 26.75, -0.588592, 21, 23.25, -0.588592, 21, -48.75, -0.588592, 45, -49.25, -0.588592, 44.5, -66.5, -0.588592, 57.5, -8.75, -0.588592, -35, 27.5, -0.588592, 22, 27.25, -0.588592, 26.5, -5.25, -0.588592, -35, -11.25, -0.588592, -15.75, -5.25, -0.588592, -19.5, -66.5, -0.588592, -66.5, -61.25, -0.588592, -44.75, -60.5, -0.588592, -45.5, 22.75, -0.588592, 20.5, 22.75, -0.588592, 13, 19.25, -0.588592, 13, -18.75, -0.588592, 8.75, -26.5, -0.588592, 9, -26.75, -0.588592, 12.75, 18.75, -0.588592, 12.5, 25.5, -0.588592, -28.75, 25.5, -0.588592, 6.5, 28.5, -0.588592, 6.5, 27.75, -0.588592, 28.75, -42.5, -0.588592, 44.5, -32, -0.588592, -32.5, -22.25, -0.588592, -32.25, -22.25, -0.588592, -33.5, -11.75, -0.588592, -15.25, -22, -0.588592, -15.5, -22.5, -0.588592, -14.75, -19.5, -0.588592, 2.5, -18.5, -0.588592, 3.25, -21.25, -0.588592, -33.75, -21.25, -0.588592, -52.75, 18.75, -0.588592, -28.75, 19.5, -0.588592, -29.5, 9.5, -0.588592, -35.5, 8.5, -0.588592, -35, -8.5, -0.588592, -41.5, 2.75, -0.588592, -41.5, 2.75, -0.588592, -44.75, -33.25, -0.588592, 12.5, -33.25, -0.588592, 3.25, -43.5, -0.588592, 18.5, -42.5, -0.588592, 19.25, -20.5, -0.588592, -53.5, -15.5, -0.588592, -53.5, 67.5, -0.588592, -66.5, -32.75, -0.588592, 13, -43.5, -0.588592, 45, 67.5, -0.588592, 57.5, 44.75, -0.588592, 28.5, 3.5, -0.588592, -45.5, -55.5, -0.588592, -45.5, 9.5, -0.588592, -44.75, 24.5, -0.588592, -29.5, -42.5, -0.588592, -32.75, -42.5, -0.588592, -27.5, -32.5, -0.588592, -32, -4.75, -0.588592, -19, 0.5, -0.588592, -19, -54.75, -0.588592, -45, -54.5, -0.588592, -33.5, -43.5, -0.588592, -33.5, 29.5, -0.588592, 7.5, 44.75, -0.588592, 7.75, 1.5, -0.588592, -35, 1.5, -0.588592, -19.5, -22.5, -0.588592, 2.5, -29.25, -0.588592, -15, -49.25, -0.588592, 19.25, -60.75, -0.588592, -27, -61.25, -0.588592, -27.5, -32.5, -0.588592, -15.75, -43.5, -0.588592, -27, -48.5, -0.588592, 18.5, 8.5, -0.588592, -45.5, -31.5, 6.66141, -31.25, -31.5, 6.66141, -28.75, -28.75, 6.66141, -28.75, -28.75, 6.66141, -31.25, -15.25, 6.66141, -31.25, -15.25, 6.66141, -28.75, -12.75, 6.66141, -28.75, -12.75, 6.66141, -31.25, -31, -0.588592, -31, -31, -0.588592, -29, -29, -0.588592, -29, -29, -0.588592, -31, -22.25, -0.588592, -17.75, -22, -0.588592, -16.75, -16.25, -0.588592, -16.75, -16.25, -0.588592, -20, -28, -0.588592, -20.25, -27.75, -0.588592, -17.75, -27.75, -0.588592, -31, -28, -0.588592, -27.75, -16.25, -0.588592, -30.75, -31, -0.588592, -27.75, -31, -0.588592, -20.25, -16, -0.588592, -27.75, -12.75, -0.588592, -20.25, -12.75, -0.588592, -27.75, -31.25, 6.66141, -19.25, -31.25, 6.66141, -16.75, -28.75, 6.66141, -16.75, -28.75, 6.66141, -19.25, -15.25, 6.66141, -19.25, -15.25, 6.66141, -16.75, -12.75, 6.66141, -16.75, -12.75, 6.66141, -19.25, -15, -0.588592, -19, -15, -0.588592, -17, -13, -0.588592, -17, -13, -0.588592, -19, 30.25, -0.588592, 26.5, 29, -0.588592, 26.75, 29, -0.588592, 27.25, 43.25, -0.588592, 27.25, 43.25, -0.588592, 26.75, 41.75, -0.588592, 26.5, 41.75, -0.588592, 9.75, 30.25, -0.588592, 9.5, 30.25, -0.588592, 12.25, 34.5, -0.588592, 16.75, 37.25, -0.588592, 16.5, 41.75, -0.588592, 12.25, 43.25, -0.588592, 9.5, 43.25, -0.588592, 9, 29.5, -0.588592, 9, 29.75, -0.588592, 21.75, 29, -0.588592, 22, 29, -0.588592, 23.75, 30.25, -0.588592, 24, 34.75, -0.588592, 19.5, 41.75, -0.588592, 24, 37.5, -0.588592, 19.25, 29.5, -0.588592, 12.5, 43.25, -0.588592, 23.75, 43.25, -0.588592, 12.5) +polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(7, 6, 5), PackedInt32Array(5, 8, 7), PackedInt32Array(7, 8, 9), PackedInt32Array(9, 8, 10), PackedInt32Array(10, 8, 11), PackedInt32Array(14, 13, 12), PackedInt32Array(17, 16, 15), PackedInt32Array(7, 9, 18), PackedInt32Array(12, 19, 14), PackedInt32Array(14, 19, 20), PackedInt32Array(18, 21, 7), PackedInt32Array(7, 21, 23), PackedInt32Array(7, 23, 22), PackedInt32Array(26, 25, 24), PackedInt32Array(27, 14, 20), PackedInt32Array(29, 28, 27), PackedInt32Array(32, 31, 30), PackedInt32Array(33, 29, 27), PackedInt32Array(36, 35, 34), PackedInt32Array(20, 37, 27), PackedInt32Array(27, 37, 30), PackedInt32Array(30, 37, 32), PackedInt32Array(32, 37, 38), PackedInt32Array(41, 40, 39), PackedInt32Array(43, 42, 44), PackedInt32Array(44, 42, 45), PackedInt32Array(45, 42, 46), PackedInt32Array(41, 39, 47), PackedInt32Array(47, 39, 48), PackedInt32Array(50, 49, 51), PackedInt32Array(51, 49, 52), PackedInt32Array(55, 54, 53), PackedInt32Array(59, 58, 56), PackedInt32Array(56, 58, 57), PackedInt32Array(60, 24, 61), PackedInt32Array(61, 24, 62), PackedInt32Array(63, 59, 56), PackedInt32Array(64, 38, 17), PackedInt32Array(17, 38, 37), PackedInt32Array(17, 37, 66), PackedInt32Array(17, 66, 65), PackedInt32Array(55, 53, 67), PackedInt32Array(67, 53, 11), PackedInt32Array(68, 26, 24), PackedInt32Array(11, 53, 10), PackedInt32Array(70, 69, 34), PackedInt32Array(34, 69, 62), PackedInt32Array(73, 72, 39), PackedInt32Array(39, 72, 71), PackedInt32Array(39, 71, 48), PackedInt32Array(22, 23, 74), PackedInt32Array(22, 74, 42), PackedInt32Array(42, 74, 75), PackedInt32Array(42, 75, 46), PackedInt32Array(46, 75, 30), PackedInt32Array(17, 15, 64), PackedInt32Array(78, 77, 76), PackedInt32Array(50, 51, 70), PackedInt32Array(70, 51, 69), PackedInt32Array(79, 36, 80), PackedInt32Array(80, 36, 34), PackedInt32Array(80, 34, 62), PackedInt32Array(52, 49, 81), PackedInt32Array(81, 49, 82), PackedInt32Array(82, 49, 33), PackedInt32Array(63, 32, 59), PackedInt32Array(59, 32, 38), PackedInt32Array(78, 76, 71), PackedInt32Array(71, 76, 48), PackedInt32Array(48, 76, 60), PackedInt32Array(60, 76, 24), PackedInt32Array(45, 83, 44), PackedInt32Array(0, 84, 4), PackedInt32Array(16, 17, 85), PackedInt32Array(85, 17, 86), PackedInt32Array(86, 17, 87), PackedInt32Array(76, 68, 24), PackedInt32Array(2, 3, 88), PackedInt32Array(88, 3, 57), PackedInt32Array(75, 82, 30), PackedInt32Array(30, 82, 33), PackedInt32Array(30, 33, 27), PackedInt32Array(72, 73, 89), PackedInt32Array(89, 73, 90), PackedInt32Array(89, 90, 85), PackedInt32Array(66, 80, 65), PackedInt32Array(65, 80, 62), PackedInt32Array(25, 87, 24), PackedInt32Array(24, 87, 17), PackedInt32Array(69, 91, 62), PackedInt32Array(11, 61, 67), PackedInt32Array(67, 61, 91), PackedInt32Array(91, 61, 62), PackedInt32Array(85, 86, 89), PackedInt32Array(58, 90, 57), PackedInt32Array(57, 90, 88), PackedInt32Array(88, 90, 73), PackedInt32Array(95, 94, 92), PackedInt32Array(92, 94, 93), PackedInt32Array(99, 98, 96), PackedInt32Array(96, 98, 97), PackedInt32Array(103, 102, 100), PackedInt32Array(100, 102, 101), PackedInt32Array(105, 104, 106), PackedInt32Array(106, 104, 107), PackedInt32Array(104, 109, 108), PackedInt32Array(111, 110, 108), PackedInt32Array(108, 110, 104), PackedInt32Array(104, 110, 107), PackedInt32Array(107, 110, 112), PackedInt32Array(111, 108, 113), PackedInt32Array(113, 108, 114), PackedInt32Array(112, 115, 107), PackedInt32Array(117, 116, 115), PackedInt32Array(115, 116, 107), PackedInt32Array(121, 120, 118), PackedInt32Array(118, 120, 119), PackedInt32Array(125, 124, 122), PackedInt32Array(122, 124, 123), PackedInt32Array(129, 128, 126), PackedInt32Array(126, 128, 127), PackedInt32Array(131, 130, 132), PackedInt32Array(132, 130, 135), PackedInt32Array(132, 135, 134), PackedInt32Array(132, 134, 133), PackedInt32Array(141, 140, 136), PackedInt32Array(136, 140, 139), PackedInt32Array(136, 139, 138), PackedInt32Array(136, 138, 137), PackedInt32Array(142, 136, 143), PackedInt32Array(143, 136, 137), PackedInt32Array(143, 137, 144), PackedInt32Array(146, 145, 147), PackedInt32Array(147, 145, 148), PackedInt32Array(148, 149, 130), PackedInt32Array(130, 149, 151), PackedInt32Array(130, 151, 150), PackedInt32Array(130, 150, 135), PackedInt32Array(138, 139, 152), PackedInt32Array(152, 139, 149), PackedInt32Array(152, 149, 145), PackedInt32Array(145, 149, 148), PackedInt32Array(141, 154, 140), PackedInt32Array(140, 154, 151), PackedInt32Array(151, 154, 150), PackedInt32Array(150, 154, 153)] +sample_partition_type = 2 +geometry_parsed_geometry_type = 1 +geometry_collision_mask = 2147483648 +agent_height = 2.0 +region_min_size = 8.0 + +[sub_resource type="BoxShape3D" id="BoxShape3D_23nxb"] +size = Vector3(135, 1, 125) [node name="Floor02" type="Node3D"] script = ExtResource("5_ld0kt") [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] unique_name_in_owner = true -navigation_mesh = SubResource("NavigationMesh_gqi8w") +navigation_mesh = SubResource("NavigationMesh_23nxb") [node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"] unique_name_in_owner = true script = ExtResource("1_afeds") -room_scenes = Array[PackedScene]([ExtResource("3_7txs6"), ExtResource("4_r7shj"), ExtResource("5_geyju"), ExtResource("6_jgovx"), ExtResource("8_lpc1g"), ExtResource("9_4i2f8"), ExtResource("9_lpelw")]) +room_scenes = Array[PackedScene]([ExtResource("3_7txs6"), ExtResource("4_k6xgr"), ExtResource("9_lpelw"), ExtResource("5_geyju"), ExtResource("9_4i2f8"), ExtResource("4_r7shj"), ExtResource("6_jgovx"), ExtResource("10_5omre"), ExtResource("8_lpc1g"), ExtResource("12_e0s3j")]) corridor_room_scene = ExtResource("7_86if8") dungeon_size = Vector3i(30, 1, 30) voxel_scale = Vector3(4, 4, 4) generate_on_ready = false +show_debug_in_editor = false + +[node name="Long Room_0" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("10_5omre")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -46, 0, -4) + +[node name="Column Room_1" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("6_jgovx")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -20, 0, 42) + +[node name="Floor Exit A_2" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("12_e0s3j")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -38, 0, -42) + +[node name="Pit Room A_3" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_lpelw")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -2, 0, 6) + +[node name="Antechamber A_4" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("3_7txs6")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -24) + +[node name="Antechamber B_5" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_k6xgr")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8, 0, -50) + +[node name="Balcony Room A_6" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("5_geyju")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 42, 0, -8) + +[node name="BasinRoom_7" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_r7shj")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 36, 0, 18) + +[node name="Water Room_8" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_lpc1g")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 32, 0, -42) + +[node name="Statue Room_9" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_4i2f8")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 8, 0, -20) + +[node name="Corridor_10" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 22) + +[node name="Corridor_11" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 26) + +[node name="Corridor_12" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 30) + +[node name="Corridor_13" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 34) + +[node name="Corridor_14" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 38) + +[node name="Corridor_15" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 42) + +[node name="Corridor_16" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -30) + +[node name="Corridor_17" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -30) + +[node name="Corridor_18" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -30) + +[node name="Corridor_19" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -30) + +[node name="Corridor_20" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -34) + +[node name="Corridor_21" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -38) + +[node name="Corridor_22" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -42) + +[node name="Corridor_23" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 10) + +[node name="Corridor_24" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 6) + +[node name="Corridor_25" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 6) + +[node name="Corridor_26" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 6) + +[node name="Corridor_27" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 2) + +[node name="Corridor_28" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -2) + +[node name="Corridor_29" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -6) + +[node name="Corridor_30" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -10) + +[node name="Corridor_31" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -14) + +[node name="Corridor_32" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -34) + +[node name="Corridor_33" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -38) + +[node name="Corridor_34" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -42) + +[node name="Corridor_35" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -46) + +[node name="Corridor_36" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -50) + +[node name="Corridor_37" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -38) + +[node name="Corridor_38" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -38) + +[node name="Corridor_39" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -38) + +[node name="Corridor_40" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -38) + +[node name="Corridor_41" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -42) + +[node name="Corridor_42" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -26) + +[node name="Corridor_43" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -22) + +[node name="Corridor_44" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -18) + +[node name="Corridor_45" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -14) + +[node name="Corridor_46" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -10) + +[node name="Corridor_47" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -6) + +[node name="Corridor_48" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -2) + +[node name="Corridor_49" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 2) + +[node name="Corridor_50" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 6) + +[node name="Corridor_51" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 10) + +[node name="Corridor_52" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 10) + +[node name="Corridor_53" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 14) + +[node name="Corridor_54" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 18) + +[node name="Corridor_55" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -34) + +[node name="Corridor_56" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -30) + +[node name="Corridor_57" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -26) + +[node name="Corridor_58" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_86if8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -22) + +[node name="RoomsContainer" type="Node3D" parent="NavigationRegion3D/DungeonGenerator"] + +[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"] +collision_layer = 2147483648 +collision_mask = 2147483648 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, -1.5, -4.5) +shape = SubResource("BoxShape3D_23nxb") [node name="EnemyDatabase" parent="." instance=ExtResource("11_yvj8v")] unique_name_in_owner = true diff --git a/src/map/dungeon/floors/Floor03.tscn b/src/map/dungeon/floors/Floor03.tscn index b236120e..8ed9c9e1 100644 --- a/src/map/dungeon/floors/Floor03.tscn +++ b/src/map/dungeon/floors/Floor03.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=3 uid="uid://dl1scvkp8r5sw"] +[gd_scene load_steps=21 format=3 uid="uid://dl1scvkp8r5sw"] [ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_ou8lo"] [ext_resource type="PackedScene" uid="uid://dpec2lbt83dhe" path="res://src/map/dungeon/rooms/Set A/03. Antechamber A.tscn" id="3_yeqmp"] @@ -10,32 +10,515 @@ [ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/rooms/Set A/13. Water Room.tscn" id="8_06hbf"] [ext_resource type="PackedScene" uid="uid://cam640h4euewx" path="res://src/map/dungeon/rooms/Set A/05. Pit Room A.tscn" id="9_imrv0"] [ext_resource type="PackedScene" uid="uid://vdhl32je6hq2" path="res://src/map/dungeon/rooms/Set A/07. Statue Room.tscn" id="9_ym1ny"] +[ext_resource type="PackedScene" uid="uid://c5eon2dk4ojua" path="res://src/map/dungeon/rooms/Set A/14. Ran's Room.tscn" id="10_1j6d5"] +[ext_resource type="PackedScene" uid="uid://cihbmyo0ltq4m" path="res://src/map/dungeon/rooms/Set A/19. Floor Exit A.tscn" id="11_0ea7q"] [ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="11_kyvxc"] [ext_resource type="PackedScene" uid="uid://bksq62muhk3h5" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="12_1j6d5"] +[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="12_g81xt"] +[ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="13_0ea7q"] [ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="13_q8fb5"] [ext_resource type="PackedScene" uid="uid://cvk007twac22c" path="res://src/enemy/enemy_types/03. filth_eater/FilthEater.tscn" id="14_g81xt"] -[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"] -border_size = 1.0 -agent_height = 3.0 -agent_radius = 0.1 +[sub_resource type="NavigationMesh" id="NavigationMesh_0ea7q"] +vertices = PackedVector3Array(-26.25, -0.588592, -54.25, -25.25, -0.588592, -54.5, -25.25, -0.588592, -55, -38.5, -0.588592, -55, -37.75, -0.588592, -54.5, -16.5, -0.588592, -6.5, -16.75, -0.588592, -7.25, -17.5, -0.588592, -7.5, -18.5, -0.588592, -6, -52.5, -0.588592, -10.5, -52.75, -0.588592, -11.25, -53.5, -0.588592, -11.5, -54.5, -0.588592, -10, 23.5, -0.588592, 41.5, 23.25, -0.588592, 40.75, 22.5, -0.588592, 40.5, 21.5, -0.588592, 42, -12.5, -0.588592, -46.5, -12.75, -0.588592, -47.25, -13.5, -0.588592, -47.5, -14.5, -0.588592, -46, -20.5, -0.588592, -50.5, -20.75, -0.588592, -51.25, -21.5, -0.588592, -51.5, -22.5, -0.588592, -50, -42.5, -0.588592, -47.5, -43.25, -0.588592, -47.25, -43.5, -0.588592, -46.5, -39.5, -0.588592, -46, -40.75, -0.588592, -47, -41.5, -0.588592, -47.5, -46.5, -0.588592, -43.5, -47.25, -0.588592, -43.25, -47.5, -0.588592, -42.5, -45.5, -0.588592, -42, 23.5, -0.588592, -10.5, 23.25, -0.588592, -11.25, 22.5, -0.588592, -11.5, 21.5, -0.588592, -10, -41.25, -0.588592, -42.25, -41.25, -0.588592, -43, -42.5, -0.588592, -43, -42.75, -0.588592, -39.25, -37.75, -0.588592, -37.5, -39, -0.588592, -37.25, -39, -0.588592, -36.75, -24.75, -0.588592, -36.75, -24.75, -0.588592, -37.25, -26.25, -0.588592, -37.5, -31.5, -0.588592, -10, -31.25, -0.588592, -9, -30.5, -0.588592, -8.75, -29.5, -0.588592, -8.75, -28.75, -0.588592, -10, -19.5, -0.588592, -10, -19.25, -0.588592, -9, -18.5, -0.588592, -8.75, -17.5, -0.588592, -10.5, -11.5, -0.588592, -6, -11.25, -0.588592, -5, -10.5, -0.588592, -4.75, -9.5, -0.588592, -6.5, 20.5, -0.588592, 30, 20.75, -0.588592, 31, 21.5, -0.588592, 31.25, 22.5, -0.588592, 29.5, 40.5, -0.588592, 42, 40.75, -0.588592, 43, 41.5, -0.588592, 43.25, 42.5, -0.588592, 41.5, 44.5, -0.588592, 46, 44.75, -0.588592, 46.75, 45.75, -0.588592, 47, -23.5, -0.588592, -58, -23.25, -0.588592, -57, -22.5, -0.588592, -56.75, -21.5, -0.588592, -58.5, -15.5, -0.588592, -50, -15.25, -0.588592, -49, -14.5, -0.588592, -48.75, -13.5, -0.588592, -50.5, -33, -0.588592, 6.25, -32.25, -0.588592, 5, -33.25, -0.588592, 4.5, -54.5, -0.588592, -42.5, -53.5, -0.588592, -40.75, -52.75, -0.588592, -42, 0.5, -0.588592, -43, 18.75, -0.588592, -24.75, 19.5, -0.588592, -26.5, 19.25, -0.588592, -29.25, 3.25, -0.588592, -43, 1, -0.588592, -43.75, 5.5, -0.588592, 27.25, 7, -0.588592, 27.75, 7.5, -0.588592, 26.5, -38.25, -0.588592, -42.25, -39, -0.588592, -42, -39, -0.588592, -40.25, -37.75, -0.588592, -40, 61.5, -0.588592, 57.75, 60.25, -0.588592, 58, 60.25, -0.588592, 59.5, 60.5, -0.588592, 60.5, 62.5, -0.588592, 60.5, -53.5, -0.588592, -20.75, -42.5, -0.588592, -58.5, -40.75, -0.588592, -58, 21.5, -0.588592, -24.75, 22.5, -0.588592, -26.5, 43.25, -0.588592, 45.25, 41.5, -0.588592, 46, 45.5, -0.588592, 45.25, 5.5, -0.588592, 30, 7.5, -0.588592, 29.5, -13.25, -0.588592, 3.25, -12.25, -0.588592, 1, -13.25, -0.588592, 0.5, -20.75, -0.588592, -3, 3, -0.588592, -45.75, 0.5, -0.588592, -46, 58.75, -0.588592, 52.75, 55.75, -0.588592, 44, 59, -0.588592, 54.5, -51.75, -0.588592, -23, -53.5, -0.588592, -23.5, -50.5, -0.588592, -20.75, 42.5, -0.588592, 44.5, -50.5, -0.588592, -23.5, -10.5, -0.588592, 3.25, -10.5, -0.588592, 0.5, 60.5, -0.588592, 40, 61.75, -0.588592, 50, 62.5, -0.588592, -60.5, -29.5, -0.588592, 6, -30.5, -0.588592, 4.5, -10.5, -0.588592, -52.75, -10.5, -0.588592, -49.5, 24.5, -0.588592, -49.5, 48.25, -0.588592, 44, 45.75, -0.588592, 44.25, 56, -0.588592, 55.75, 58.75, -0.588592, 55.75, -7.25, -0.588592, 12.75, 24.5, -0.588592, 26.5, -40.5, -0.588592, -42, -40.75, -0.588592, -37.5, 42.75, -0.588592, 49.75, 42.75, -0.588592, 49, 39.25, -0.588592, 49, 43.5, -0.588592, 50, 43.5, -0.588592, 60.5, -32.75, -0.588592, 9, -56.75, -0.588592, -7, -62.5, -0.588592, 60.5, 3, -0.588592, 27, -37.75, -0.588592, -51.75, -38.5, -0.588592, -51.5, -38.25, -0.588592, -47.25, -33.5, -0.588592, -47.25, -40.25, -0.588592, -35.25, -50.5, -0.588592, -39, 38.75, -0.588592, 48.5, 38.75, -0.588592, 45, 19.25, -0.588592, 45, -45.5, -0.588592, -44.75, -46.5, -0.588592, -46.5, -44.75, -0.588592, -46, 24.75, -0.588592, -43.25, 24.5, -0.588592, -29.5, -12.75, -0.588592, 13, -13.25, -0.588592, 12.5, -26.5, -0.588592, 8.5, -27.5, -0.588592, 9, -38.25, -0.588592, -45.25, -33.25, -0.588592, -44.5, 45.75, -0.588592, 49.75, 44.75, -0.588592, 50, 44.75, -0.588592, 55.75, 48, -0.588592, 55.75, 61.25, -0.588592, 54.5, 61.75, -0.588592, 52.75, 18.75, -0.588592, 44.5, 18.75, -0.588592, 33, 3.25, -0.588592, 33, -21.25, -0.588592, -3.5, -21.25, -0.588592, -7, -26.5, -0.588592, -7, -17.25, -0.588592, -43.5, -17.25, -0.588592, -47, -23.25, -0.588592, -47, -16.75, -0.588592, -43, -23.5, -0.588592, -35.25, -14.5, -0.588592, -12.75, -14.5, -0.588592, -9.5, -7.5, -0.588592, -9.5, 24.5, -0.588592, -46.5, 24.5, -0.588592, -46, -56.5, -0.588592, -45.5, -49.25, -0.588592, -45.5, -49.25, -0.588592, -48.75, 55.75, -0.588592, 41, 48.25, -0.588592, 41, -9.5, -0.588592, 8.5, -30.75, -0.588592, -47.5, -26.25, -0.588592, -51.75, -13.25, -0.588592, -3, 48.25, -0.588592, 59.25, 55.75, -0.588592, 59.25, -15.5, -0.588592, -13.5, -48.5, -0.588592, -49.5, -45.25, -0.588592, -60.5, -62.5, -0.588592, -60.5, 59, -0.588592, 44.25, -18.5, -0.588592, -60.5, -18.5, -0.588592, -53.5, -11.5, -0.588592, -53.5, -10.5, -0.588592, 10, -7.5, -0.588592, 10, -8.75, -0.588592, 9, 60.25, -0.588592, 49.75, 19.25, -0.588592, -7, 18.75, -0.588592, -7.5, -6.5, -0.588592, -8.75, -6.5, -0.588592, 8.5, 2.75, -0.588592, 32.5, 25.5, -0.588592, -28.75, -45.25, -0.588592, -49.5, -30.5, -0.588592, -44.75, -26.25, -0.588592, -40, -24.75, -0.588592, -40.25, -25.25, -0.588592, -51.5, 44.5, -0.588592, 38.5, 45.5, -0.588592, 39.75, 60, -0.588592, 39.5, 38.5, -0.588592, -7.5, 37, -0.588592, -7.75, 36.5, -0.588592, -7, -50.5, -0.588592, -13.5, 25.5, -0.588592, 27.25, 41.5, -0.588592, -7.5, 40.5, -0.588592, -13.5, 41.5, -0.588592, -12.75, -57.25, -0.588592, -7.5, -57.25, -0.588592, -44.75, -41.5, -0.588592, -56.75, 25.5, -0.588592, 38.5, 25.5, -0.588592, -13.5, 36.5, -0.588592, -10, 38.5, -0.588592, -10.5, -33.25, -0.588592, -7, 56.75, 6.66141, 40.5, 56.75, 6.66141, 43.25, 59.25, 6.66141, 43.25, 59.25, 6.66141, 40.5, 44.75, 6.66141, 40.75, 44.75, 6.66141, 43.25, 47.25, 6.66141, 43.25, 47.25, 6.66141, 40.75, 57, -0.588592, 41, 57, -0.588592, 43, 59, -0.588592, 43, 59, -0.588592, 41, 44.75, 6.66141, 56.75, 44.75, 6.66141, 59.25, 47.25, 6.66141, 59.25, 47.25, 6.66141, 56.75, 56.75, 6.66141, 56.75, 56.75, 6.66141, 59.25, 59.25, 6.66141, 59.25, 59.25, 6.66141, 56.75, 45, -0.588592, 57, 45, -0.588592, 59, 47, -0.588592, 59, 47, -0.588592, 57) +polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 4), PackedInt32Array(2, 4, 3), PackedInt32Array(6, 5, 7), PackedInt32Array(7, 5, 8), PackedInt32Array(10, 9, 11), PackedInt32Array(11, 9, 12), PackedInt32Array(14, 13, 15), PackedInt32Array(15, 13, 16), PackedInt32Array(18, 17, 19), PackedInt32Array(19, 17, 20), PackedInt32Array(22, 21, 23), PackedInt32Array(23, 21, 24), PackedInt32Array(26, 25, 27), PackedInt32Array(27, 25, 30), PackedInt32Array(27, 30, 29), PackedInt32Array(27, 29, 28), PackedInt32Array(32, 31, 33), PackedInt32Array(33, 31, 34), PackedInt32Array(36, 35, 37), PackedInt32Array(37, 35, 38), PackedInt32Array(40, 39, 41), PackedInt32Array(41, 39, 42), PackedInt32Array(44, 43, 45), PackedInt32Array(45, 43, 48), PackedInt32Array(45, 48, 47), PackedInt32Array(45, 47, 46), PackedInt32Array(50, 49, 51), PackedInt32Array(51, 49, 52), PackedInt32Array(52, 49, 53), PackedInt32Array(55, 54, 56), PackedInt32Array(56, 54, 57), PackedInt32Array(59, 58, 60), PackedInt32Array(60, 58, 61), PackedInt32Array(63, 62, 64), PackedInt32Array(64, 62, 65), PackedInt32Array(67, 66, 68), PackedInt32Array(68, 66, 69), PackedInt32Array(72, 71, 70), PackedInt32Array(74, 73, 75), PackedInt32Array(75, 73, 76), PackedInt32Array(78, 77, 79), PackedInt32Array(79, 77, 80), PackedInt32Array(69, 66, 13), PackedInt32Array(13, 66, 16), PackedInt32Array(83, 82, 81), PackedInt32Array(86, 85, 84), PackedInt32Array(92, 91, 87), PackedInt32Array(87, 91, 90), PackedInt32Array(87, 90, 89), PackedInt32Array(87, 89, 88), PackedInt32Array(95, 94, 93), PackedInt32Array(97, 96, 98), PackedInt32Array(98, 96, 99), PackedInt32Array(101, 100, 102), PackedInt32Array(102, 100, 103), PackedInt32Array(103, 100, 104), PackedInt32Array(12, 105, 11), PackedInt32Array(107, 106, 73), PackedInt32Array(73, 106, 76), PackedInt32Array(88, 89, 108), PackedInt32Array(108, 89, 109), PackedInt32Array(112, 70, 110), PackedInt32Array(110, 70, 111), PackedInt32Array(94, 114, 93), PackedInt32Array(93, 114, 113), PackedInt32Array(24, 75, 23), PackedInt32Array(23, 75, 76), PackedInt32Array(116, 115, 117), PackedInt32Array(117, 115, 118), PackedInt32Array(120, 119, 92), PackedInt32Array(92, 119, 91), PackedInt32Array(80, 77, 21), PackedInt32Array(21, 77, 24), PackedInt32Array(70, 112, 72), PackedInt32Array(72, 112, 122), PackedInt32Array(72, 122, 121), PackedInt32Array(72, 121, 123), PackedInt32Array(125, 124, 105), PackedInt32Array(105, 124, 126), PackedInt32Array(111, 127, 110), PackedInt32Array(128, 126, 124), PackedInt32Array(130, 129, 116), PackedInt32Array(116, 129, 115), PackedInt32Array(133, 132, 131), PackedInt32Array(82, 135, 81), PackedInt32Array(81, 135, 134), PackedInt32Array(20, 79, 19), PackedInt32Array(19, 79, 80), PackedInt32Array(138, 137, 136), PackedInt32Array(140, 139, 112), PackedInt32Array(112, 139, 122), PackedInt32Array(123, 142, 141), PackedInt32Array(144, 95, 143), PackedInt32Array(39, 145, 42), PackedInt32Array(42, 145, 146), PackedInt32Array(12, 125, 105), PackedInt32Array(149, 148, 147), PackedInt32Array(147, 150, 149), PackedInt32Array(149, 150, 151), PackedInt32Array(81, 152, 83), PackedInt32Array(83, 152, 153), PackedInt32Array(153, 152, 154), PackedInt32Array(93, 155, 95), PackedInt32Array(95, 155, 143), PackedInt32Array(157, 156, 158), PackedInt32Array(158, 156, 159), PackedInt32Array(146, 160, 42), PackedInt32Array(42, 160, 161), PackedInt32Array(161, 160, 128), PackedInt32Array(84, 33, 86), PackedInt32Array(86, 33, 34), PackedInt32Array(8, 56, 7), PackedInt32Array(7, 56, 57), PackedInt32Array(164, 163, 162), PackedInt32Array(34, 31, 165), PackedInt32Array(167, 165, 166), PackedInt32Array(166, 165, 31), PackedInt32Array(169, 90, 168), PackedInt32Array(168, 90, 91), PackedInt32Array(166, 27, 167), PackedInt32Array(167, 27, 28), PackedInt32Array(53, 49, 57), PackedInt32Array(171, 170, 172), PackedInt32Array(172, 170, 173), PackedInt32Array(96, 174, 99), PackedInt32Array(99, 174, 175), PackedInt32Array(29, 158, 28), PackedInt32Array(28, 158, 174), PackedInt32Array(174, 158, 159), PackedInt32Array(174, 159, 175), PackedInt32Array(177, 176, 178), PackedInt32Array(178, 176, 179), PackedInt32Array(180, 181, 100), PackedInt32Array(100, 181, 104), PackedInt32Array(184, 183, 182), PackedInt32Array(187, 186, 185), PackedInt32Array(61, 58, 5), PackedInt32Array(5, 58, 8), PackedInt32Array(190, 189, 188), PackedInt32Array(187, 185, 118), PackedInt32Array(188, 191, 190), PackedInt32Array(190, 191, 192), PackedInt32Array(195, 194, 193), PackedInt32Array(197, 120, 196), PackedInt32Array(196, 120, 17), PackedInt32Array(200, 199, 198), PackedInt32Array(139, 202, 122), PackedInt32Array(122, 202, 201), PackedInt32Array(129, 130, 203), PackedInt32Array(203, 130, 61), PackedInt32Array(205, 204, 0), PackedInt32Array(0, 204, 159), PackedInt32Array(0, 159, 156), PackedInt32Array(0, 156, 4), PackedInt32Array(118, 206, 117), PackedInt32Array(207, 179, 208), PackedInt32Array(208, 179, 141), PackedInt32Array(173, 170, 152), PackedInt32Array(152, 170, 154), PackedInt32Array(193, 209, 195), PackedInt32Array(195, 209, 192), PackedInt32Array(200, 198, 210), PackedInt32Array(210, 198, 211), PackedInt32Array(211, 198, 212), PackedInt32Array(176, 72, 179), PackedInt32Array(179, 72, 141), PackedInt32Array(141, 72, 123), PackedInt32Array(122, 213, 121), PackedInt32Array(111, 68, 127), PackedInt32Array(127, 68, 69), PackedInt32Array(216, 215, 214), PackedInt32Array(203, 219, 217), PackedInt32Array(217, 219, 218), PackedInt32Array(132, 220, 131), PackedInt32Array(222, 221, 223), PackedInt32Array(223, 221, 224), PackedInt32Array(143, 155, 170), PackedInt32Array(170, 155, 225), PackedInt32Array(170, 225, 154), PackedInt32Array(12, 9, 49), PackedInt32Array(49, 9, 57), PackedInt32Array(226, 169, 168), PackedInt32Array(216, 214, 136), PackedInt32Array(136, 214, 138), PackedInt32Array(138, 214, 133), PackedInt32Array(211, 227, 210), PackedInt32Array(205, 231, 204), PackedInt32Array(204, 231, 228), PackedInt32Array(228, 231, 229), PackedInt32Array(229, 231, 230), PackedInt32Array(168, 196, 138), PackedInt32Array(234, 233, 232), PackedInt32Array(237, 236, 235), PackedInt32Array(126, 160, 238), PackedInt32Array(238, 160, 192), PackedInt32Array(238, 192, 209), PackedInt32Array(239, 144, 232), PackedInt32Array(232, 144, 234), PackedInt32Array(129, 203, 217), PackedInt32Array(126, 128, 160), PackedInt32Array(235, 240, 237), PackedInt32Array(237, 240, 143), PackedInt32Array(143, 240, 144), PackedInt32Array(144, 240, 234), PackedInt32Array(99, 175, 43), PackedInt32Array(43, 175, 228), PackedInt32Array(43, 228, 229), PackedInt32Array(43, 229, 48), PackedInt32Array(218, 224, 143), PackedInt32Array(143, 224, 221), PackedInt32Array(143, 221, 237), PackedInt32Array(53, 57, 54), PackedInt32Array(192, 191, 87), PackedInt32Array(168, 138, 226), PackedInt32Array(226, 138, 241), PackedInt32Array(241, 138, 242), PackedInt32Array(242, 138, 133), PackedInt32Array(218, 219, 224), PackedInt32Array(123, 121, 180), PackedInt32Array(180, 121, 181), PackedInt32Array(130, 60, 61), PackedInt32Array(20, 17, 120), PackedInt32Array(244, 243, 212), PackedInt32Array(212, 243, 154), PackedInt32Array(197, 119, 120), PackedInt32Array(30, 25, 245), PackedInt32Array(245, 25, 106), PackedInt32Array(232, 246, 239), PackedInt32Array(107, 245, 106), PackedInt32Array(118, 115, 187), PackedInt32Array(187, 115, 172), PackedInt32Array(172, 115, 171), PackedInt32Array(149, 151, 162), PackedInt32Array(162, 151, 164), PackedInt32Array(164, 151, 154), PackedInt32Array(65, 62, 114), PackedInt32Array(114, 62, 113), PackedInt32Array(182, 164, 184), PackedInt32Array(184, 164, 154), PackedInt32Array(168, 197, 196), PackedInt32Array(16, 64, 15), PackedInt32Array(15, 64, 65), PackedInt32Array(241, 247, 226), PackedInt32Array(223, 195, 222), PackedInt32Array(222, 195, 88), PackedInt32Array(88, 195, 87), PackedInt32Array(87, 195, 192), PackedInt32Array(51, 52, 135), PackedInt32Array(135, 52, 134), PackedInt32Array(225, 184, 154), PackedInt32Array(181, 132, 104), PackedInt32Array(104, 132, 133), PackedInt32Array(244, 212, 198), PackedInt32Array(38, 108, 37), PackedInt32Array(37, 108, 109), PackedInt32Array(154, 243, 153), PackedInt32Array(234, 240, 131), PackedInt32Array(131, 240, 242), PackedInt32Array(131, 242, 133), PackedInt32Array(249, 248, 35), PackedInt32Array(35, 248, 38), PackedInt32Array(153, 250, 83), PackedInt32Array(236, 248, 235), PackedInt32Array(235, 248, 249), PackedInt32Array(85, 125, 84), PackedInt32Array(84, 125, 12), PackedInt32Array(254, 253, 251), PackedInt32Array(251, 253, 252), PackedInt32Array(258, 257, 255), PackedInt32Array(255, 257, 256), PackedInt32Array(262, 261, 259), PackedInt32Array(259, 261, 260), PackedInt32Array(266, 265, 263), PackedInt32Array(263, 265, 264), PackedInt32Array(270, 269, 267), PackedInt32Array(267, 269, 268), PackedInt32Array(274, 273, 271), PackedInt32Array(271, 273, 272)] +sample_partition_type = 2 +geometry_parsed_geometry_type = 1 +geometry_collision_mask = 2147483648 +agent_height = 2.0 +region_min_size = 8.0 + +[sub_resource type="BoxShape3D" id="BoxShape3D_g81xt"] +size = Vector3(126, 1, 122) [node name="Floor03" type="Node3D"] script = ExtResource("5_mo2td") [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] unique_name_in_owner = true -navigation_mesh = SubResource("NavigationMesh_gqi8w") +navigation_mesh = SubResource("NavigationMesh_0ea7q") [node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"] unique_name_in_owner = true script = ExtResource("1_ou8lo") -room_scenes = Array[PackedScene]([ExtResource("3_yeqmp"), ExtResource("4_2o7kq"), ExtResource("5_wo0bu"), ExtResource("6_o010k"), ExtResource("8_06hbf"), ExtResource("9_ym1ny"), ExtResource("9_imrv0")]) +room_scenes = Array[PackedScene]([ExtResource("3_yeqmp"), ExtResource("4_2o7kq"), ExtResource("5_wo0bu"), ExtResource("6_o010k"), ExtResource("8_06hbf"), ExtResource("9_ym1ny"), ExtResource("9_imrv0"), ExtResource("10_1j6d5"), ExtResource("11_0ea7q")]) corridor_room_scene = ExtResource("7_qjouh") -dungeon_size = Vector3i(60, 1, 60) +dungeon_size = Vector3i(30, 1, 30) voxel_scale = Vector3(4, 4, 4) generate_on_ready = false +[node name="Floor Exit A_0" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("11_0ea7q")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -34, 0, -22) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(5, 1, 9) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 + +[node name="RansRoom_1" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("10_1j6d5")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 8, 0, 10) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(8, 1, 9) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 + +[node name="BasinRoom_2" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_2o7kq")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -32, 0, -46) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(5, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 + +[node name="Water Room_3" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_06hbf")] +transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 38, 0, 16) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(7, 1, 12) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 + +[node name="Column Room_4" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("6_o010k")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -46, 0, 20) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(12, 1, 7) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 + +[node name="Balcony Room A_5" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("5_wo0bu")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 42, 0, -44) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(9, 1, 8) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 1 + +[node name="Pit Room A_6" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_imrv0")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 2, 0, -26) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(9, 1, 9) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 + +[node name="Antechamber A_7" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("3_yeqmp")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, 52, 0, 50) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(5, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 + +[node name="Statue Room_8" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_ym1ny")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -20, 0, 4) +script = ExtResource("12_g81xt") +size_in_voxels = Vector3i(4, 1, 4) +voxel_scale = Vector3(4, 4, 4) +min_count = 1 +max_count = 2 + +[node name="Corridor_9" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -22) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_10" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -18) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_11" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -14) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_12" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_13" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_14" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_15" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_16" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_17" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_18" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_19" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_20" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_21" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_22" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_23" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_24" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_25" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -2) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_26" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 2) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_27" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_28" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_29" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -26) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_30" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_31" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -34) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_32" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -38) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_33" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_34" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_35" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_36" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_37" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_38" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -50) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_39" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -54) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_40" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_41" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_42" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_43" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_44" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_45" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -58) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_46" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -54) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_47" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -50) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_48" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -50) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_49" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -50) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_50" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_51" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_52" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_53" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_54" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_55" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -26) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_56" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -22) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_57" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -18) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_58" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -14) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_59" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_60" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_61" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_62" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_63" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38, 0, -10) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_64" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_65" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -2) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_66" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 2) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_67" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 6) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_68" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_69" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_70" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_71" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_72" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, -46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_73" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_74" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_75" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_76" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_77" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 30) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_78" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 34) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_79" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 38) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_80" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_81" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_82" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_83" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_84" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_85" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 42, 0, 42) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="Corridor_86" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_qjouh")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 42, 0, 46) +script = ExtResource("13_0ea7q") +voxel_scale = Vector3(4, 4, 4) + +[node name="RoomsContainer" type="Node3D" parent="NavigationRegion3D/DungeonGenerator"] + +[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"] +collision_layer = 2147483648 +collision_mask = 2147483648 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0) +shape = SubResource("BoxShape3D_g81xt") + [node name="EnemyDatabase" parent="." instance=ExtResource("11_kyvxc")] unique_name_in_owner = true EnemyList = Array[PackedScene]([ExtResource("12_1j6d5"), ExtResource("13_q8fb5"), ExtResource("14_g81xt")]) diff --git a/src/map/dungeon/floors/Floor04.tscn b/src/map/dungeon/floors/Floor04.tscn index d9f00041..ec5fd5ff 100644 --- a/src/map/dungeon/floors/Floor04.tscn +++ b/src/map/dungeon/floors/Floor04.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=15 format=3 uid="uid://cikq7vuorlpbl"] +[gd_scene load_steps=16 format=3 uid="uid://cikq7vuorlpbl"] [ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_8amoj"] [ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="2_p7nwd"] @@ -9,29 +9,32 @@ [ext_resource type="PackedScene" uid="uid://dfpyfpnya0f4u" path="res://src/map/dungeon/rooms/Set A/13. Water Room.tscn" id="7_5wyu4"] [ext_resource type="PackedScene" uid="uid://vdhl32je6hq2" path="res://src/map/dungeon/rooms/Set A/07. Statue Room.tscn" id="8_36gcj"] [ext_resource type="PackedScene" uid="uid://cam640h4euewx" path="res://src/map/dungeon/rooms/Set A/05. Pit Room A.tscn" id="9_gn1yf"] +[ext_resource type="PackedScene" uid="uid://cihbmyo0ltq4m" path="res://src/map/dungeon/rooms/Set A/19. Floor Exit A.tscn" id="10_8amoj"] [ext_resource type="PackedScene" uid="uid://bn4gslp2gk8ds" path="res://src/map/dungeon/rooms/Set A/18. Corridor A.tscn" id="10_he2ag"] [ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="11_f4225"] [ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="13_5kttw"] [ext_resource type="PackedScene" uid="uid://cvk007twac22c" path="res://src/enemy/enemy_types/03. filth_eater/FilthEater.tscn" id="14_h5hhw"] -[sub_resource type="NavigationMesh" id="NavigationMesh_gqi8w"] -border_size = 1.0 -agent_height = 3.0 -agent_radius = 0.1 +[sub_resource type="NavigationMesh" id="NavigationMesh_p7nwd"] +sample_partition_type = 2 +geometry_parsed_geometry_type = 1 +geometry_collision_mask = 2147483648 +agent_height = 2.0 +region_min_size = 8.0 [node name="Floor04" type="Node3D"] script = ExtResource("1_8amoj") [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] unique_name_in_owner = true -navigation_mesh = SubResource("NavigationMesh_gqi8w") +navigation_mesh = SubResource("NavigationMesh_p7nwd") [node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"] unique_name_in_owner = true script = ExtResource("2_p7nwd") -room_scenes = Array[PackedScene]([ExtResource("3_te0rp"), ExtResource("4_i5hjj"), ExtResource("5_katpr"), ExtResource("6_8pmtc"), ExtResource("7_5wyu4"), ExtResource("8_36gcj"), ExtResource("9_gn1yf")]) +room_scenes = Array[PackedScene]([ExtResource("3_te0rp"), ExtResource("4_i5hjj"), ExtResource("5_katpr"), ExtResource("6_8pmtc"), ExtResource("7_5wyu4"), ExtResource("8_36gcj"), ExtResource("9_gn1yf"), ExtResource("10_8amoj")]) corridor_room_scene = ExtResource("10_he2ag") -dungeon_size = Vector3i(60, 1, 60) +dungeon_size = Vector3i(30, 1, 30) voxel_scale = Vector3(4, 4, 4) generate_on_ready = false diff --git a/src/map/dungeon/rooms/Set A/10. Item Transfer Room.tscn b/src/map/dungeon/rooms/Set A/10. Item Transfer Room.tscn index e0ede13e..cc334aef 100644 --- a/src/map/dungeon/rooms/Set A/10. Item Transfer Room.tscn +++ b/src/map/dungeon/rooms/Set A/10. Item Transfer Room.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=158 format=4 uid="uid://dn5546yqyntfr"] +[gd_scene load_steps=159 format=4 uid="uid://dn5546yqyntfr"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_7tf58"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_xx257"] @@ -24,6 +24,7 @@ [ext_resource type="Texture2D" uid="uid://ba3ecx1vqqjid" path="res://src/map/dungeon/models/Set A/10. Item Transfer Room/10_A1_ITEM_TRANSFER_ROOM_A_starsigns.png" id="19_ahdj5"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_l8s5t"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_ahdj5"] +[ext_resource type="PackedScene" uid="uid://duis2vhf5ojy3" path="res://src/item_rescue/ItemRescue.tscn" id="24_x7lek"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tlbfk"] resource_name = "Material.144" @@ -2559,7 +2560,7 @@ material = SubResource("StandardMaterial3D_x3ul8") [node name="PlayerSpawn" type="Marker3D" parent="Spawn Points"] unique_name_in_owner = true -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.61757, -1.89174, 0.580412) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.593048, -1.89174, -3.5752) [node name="ItemSpawnPoints" type="Node3D" parent="Spawn Points"] unique_name_in_owner = true @@ -2583,6 +2584,9 @@ collision_mask = 10 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04566, 1.9843, 0) shape = SubResource("BoxShape3D_x7lek") +[node name="Item Rescue" parent="Room" instance=ExtResource("24_x7lek")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.215604, 0) + [node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="MeshInstance3D" parent="Minimap"] diff --git a/src/map/dungeon/rooms/Set B/37. Corridor 2.tscn b/src/map/dungeon/rooms/Set B/37. Corridor 2.tscn index bb8fc59f..9d51f341 100644 --- a/src/map/dungeon/rooms/Set B/37. Corridor 2.tscn +++ b/src/map/dungeon/rooms/Set B/37. Corridor 2.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=36 format=4 uid="uid://dooy8nc5pgaxm"] +[gd_scene load_steps=37 format=4 uid="uid://dooy8nc5pgaxm"] [ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="1_71ggh"] +[ext_resource type="Script" uid="uid://csxfet8l04swm" path="res://src/map/dungeon/code/CorridorRoom.cs" id="2_5ibpy"] [ext_resource type="Texture2D" uid="uid://cn0xqpblr7n4u" path="res://src/map/dungeon/models/Set B/37. Corridor B/37_A2_CORRIDOR_B_COLUMN_WHITE.png" id="2_ijgu6"] [ext_resource type="Texture2D" uid="uid://byubpdnlpys1g" path="res://src/map/dungeon/models/Set B/37. Corridor B/37_A2_CORRIDOR_B_AREA_2_MAIN_222STONE.png" id="3_nbkbi"] [ext_resource type="Texture2D" uid="uid://c2kjbuid1jksf" path="res://src/map/dungeon/models/Set B/37. Corridor B/37_A2_CORRIDOR_B_WHITE_TILE2.png" id="4_05q7p"] @@ -680,6 +681,7 @@ voxel_scale = Vector3(4, 4, 4) [node name="37_A2_CORRIDOR_B" type="Node3D" parent="Model"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.0203, -1.96873, -0.90789) +script = ExtResource("2_5ibpy") [node name="CB_COLUMN_001" type="MeshInstance3D" parent="Model/37_A2_CORRIDOR_B"] transform = Transform3D(2, 0, 0, 0, 0.10779, 0, 0, 0, 2, -9.92441, 3.92578, 0.91278) diff --git a/src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn b/src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn index 40230dd1..bea41e56 100644 --- a/src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn +++ b/src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=56 format=4 uid="uid://02v033xrh6xi"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_sofp0"] -[ext_resource type="Script" uid="uid://r1ukwtc040w" path="res://src/map/dungeon/code/IExitRoom.cs" id="2_tnx8b"] +[ext_resource type="Script" uid="uid://bd824eigybu51" path="res://src/map/dungeon/code/ExitRoom.cs" id="2_7o05s"] [ext_resource type="Texture2D" uid="uid://c0ilimt6tnd4t" path="res://src/map/dungeon/models/Set B/38. Floor Exit B/38_A2_FLOOR_EXIT_B_area_2_tile_3.png" id="3_tnx8b"] [ext_resource type="Texture2D" uid="uid://vwajohccffv" path="res://src/map/dungeon/models/Set B/38. Floor Exit B/38_A2_FLOOR_EXIT_B_swirled_column _AREA2.png" id="4_rs16x"] [ext_resource type="Texture2D" uid="uid://mhdm87tatgkf" path="res://src/map/dungeon/models/Set B/38. Floor Exit B/38_A2_FLOOR_EXIT_B_CORRIDOR_PANEL_UPPER.png" id="5_t7egw"] @@ -567,7 +567,6 @@ material = ExtResource("22_twkyh") size = Vector2(20, 16) [node name="Floor Exit B" type="Node3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.73082, 0, -1.86841) script = ExtResource("1_sofp0") size_in_voxels = Vector3i(5, 1, 9) voxel_scale = Vector3(4, 4, 4) @@ -575,10 +574,10 @@ min_count = 1 max_count = 3 [node name="Model" type="Node3D" parent="."] +script = ExtResource("2_7o05s") [node name="Floor Exit B" type="Node3D" parent="Model"] unique_name_in_owner = true -script = ExtResource("2_tnx8b") [node name="38_A2_FLOOR_EXIT_B" type="Node3D" parent="Model/Floor Exit B"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.11174, 2.89397) diff --git a/src/npc/Ran/Ran.tscn b/src/npc/Ran/Ran.tscn index 5ef72559..e841b4b6 100644 --- a/src/npc/Ran/Ran.tscn +++ b/src/npc/Ran/Ran.tscn @@ -169,6 +169,33 @@ height = 2.8375 height = 2.24425 radius = 1.941 +[sub_resource type="Animation" id="Animation_jl1c6"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [&"idle"] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [0] +} + [sub_resource type="Animation" id="Animation_bww12"] resource_name = "idle" length = 2.91668 @@ -199,33 +226,6 @@ tracks/1/keys = { "values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34] } -[sub_resource type="Animation" id="Animation_jl1c6"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:animation") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 1, -"values": [&"idle"] -} -tracks/1/type = "value" -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:frame") -tracks/1/interp = 1 -tracks/1/loop_wrap = true -tracks/1/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 1, -"values": [0] -} - [sub_resource type="AnimationLibrary" id="AnimationLibrary_yx0nu"] _data = { &"RESET": SubResource("Animation_jl1c6"), @@ -253,12 +253,14 @@ unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0) gi_mode = 0 pixel_size = 0.02 +billboard = 2 double_sided = false alpha_cut = 2 texture_filter = 0 texture = SubResource("ViewportTexture_3udpp") [node name="SubViewportContainer" type="SubViewportContainer" parent="Sprite"] +visibility_layer = 0 offset_left = -44.0 offset_right = 407.0 offset_bottom = 257.0