Add debug floors, fix boss battle A crashes (need to reimplement the fight anyway)

This commit is contained in:
2025-06-29 22:11:49 -07:00
parent 5d49842c04
commit f12841f88f
21 changed files with 1677 additions and 148 deletions

View File

@@ -1,12 +1,18 @@
[gd_scene load_steps=5 format=3 uid="uid://by67pn7fdsg1m"]
[gd_scene load_steps=11 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="3_s7lwc"]
[ext_resource type="PackedScene" uid="uid://dmiqwmivkjgmq" path="res://src/map/dungeon/floors/Floor02.tscn" id="4_0qcd2"]
[ext_resource type="PackedScene" uid="uid://bc1sp6xwe0j65" path="res://src/map/dungeon/floors/Floor01.tscn" id="4_1ny7u"]
[ext_resource type="PackedScene" uid="uid://bh8wgd536f317" path="res://src/map/dungeon/debug_floors/DebugFloor03.tscn" id="2_0qcd2"]
[ext_resource type="PackedScene" uid="uid://bep0gljnsdmwl" path="res://src/map/dungeon/debug_floors/DebugFloor01.tscn" id="2_00xd7"]
[ext_resource type="PackedScene" uid="uid://8oiglrv8q818" path="res://src/map/dungeon/debug_floors/DebugFloor02.tscn" id="3_v14r0"]
[ext_resource type="PackedScene" uid="uid://bpqm38kxonb35" path="res://src/map/dungeon/debug_floors/DebugFloor04.tscn" id="5_ne2vg"]
[ext_resource type="PackedScene" uid="uid://5ja3qxn8h7iw" path="res://src/map/dungeon/rooms/Set A/15. Boss Floor A.tscn" id="6_abpbr"]
[ext_resource type="PackedScene" uid="uid://ceo7ph483io44" path="res://src/map/dungeon/rooms/Set B/34. Boss Floor B.tscn" id="7_caf7v"]
[ext_resource type="PackedScene" uid="uid://bo20ffw2ygbks" path="res://src/map/dungeon/rooms/Set B/35. Goddess of Guidance's Room.tscn" id="8_y74f3"]
[ext_resource type="PackedScene" uid="uid://dttk7gis5ibge" path="res://src/map/dungeon/rooms/Set B/30. Void Room.tscn" id="9_dbqu2"]
[ext_resource type="PackedScene" uid="uid://cyrrhoarhxlhg" path="res://src/map/dungeon/rooms/Set B/36. Final Floor.tscn" id="10_xcm54"]
[node name="Map" type="Node3D"]
script = ExtResource("1_bw70o")
_floors = Array[PackedScene]([ExtResource("3_s7lwc"), ExtResource("4_1ny7u"), ExtResource("4_0qcd2")])
_floors = Array[PackedScene]([ExtResource("6_abpbr"), ExtResource("2_00xd7"), ExtResource("3_v14r0"), ExtResource("2_0qcd2"), ExtResource("5_ne2vg"), ExtResource("7_caf7v"), ExtResource("8_y74f3"), ExtResource("9_dbqu2"), ExtResource("10_xcm54")])
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]

View File

@@ -1,12 +1,13 @@
using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Godot;
using System.Collections.Immutable;
using Zennysoft.Ma.Adapter;
namespace Zennysoft.Game.Ma;
[Meta(typeof(IAutoNode))]
public partial class BossRoomA : Node3D, IBossRoom
public partial class BossRoomA : Node3D, IBossRoom, IDungeonFloor
{
public override void _Notification(int what) => this.Notify(what);
@@ -27,6 +28,8 @@ public partial class BossRoomA : Node3D, IBossRoom
[Node] public Node3D GateCollision { get; set; } = default!;
[Node] private Area3D _exit { get; set; } = default!;
public ImmutableList<IDungeonRoom> Rooms { get; }
public bool FloorIsLoaded { get; set; }
public void Setup()
{
@@ -46,8 +49,8 @@ public partial class BossRoomA : Node3D, IBossRoom
{
OxFaceStatue.Hide();
HorseHeadStatue.Hide();
OxFace.Activate();
HorseFace.Activate();
OxFace.StartFight();
HorseFace.StartFight();
}
public void OnBossFightEnded()
@@ -69,4 +72,11 @@ public partial class BossRoomA : Node3D, IBossRoom
if (area.GetOwner() is IPlayer)
ExitReached();
}
public void InitializeDungeon()
{
}
public Transform3D GetPlayerSpawnPoint() => PlayerSpawn.GlobalTransform;
}

View File

@@ -1,11 +1,12 @@
using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Godot;
using System.Collections.Immutable;
namespace Zennysoft.Game.Ma;
[Meta(typeof(IAutoNode))]
public partial class BossRoomB : Node3D, IBossRoom
public partial class BossRoomB : Node3D, IBossRoom, IDungeonFloor
{
public override void _Notification(int what) => this.Notify(what);
@@ -14,6 +15,8 @@ public partial class BossRoomB : Node3D, IBossRoom
[Node] public DemonWall DemonWall { get; set; } = default!;
[Node] private Area3D ActivateTrap { get; set; } = default!;
public ImmutableList<IDungeonRoom> Rooms { get; }
public bool FloorIsLoaded { get; set; }
public void OnReady()
{
@@ -31,4 +34,11 @@ public partial class BossRoomB : Node3D, IBossRoom
{
DemonWall.Activate();
}
public void InitializeDungeon()
{
}
public Transform3D GetPlayerSpawnPoint() => PlayerSpawn.GlobalTransform;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,447 @@
[gd_scene load_steps=19 format=3 uid="uid://bh8wgd536f317"]
[ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_5qwu0"]
[ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="2_w3178"]
[ext_resource type="PackedScene" uid="uid://02v033xrh6xi" path="res://src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn" id="3_5qwu0"]
[ext_resource type="PackedScene" uid="uid://dooy8nc5pgaxm" path="res://src/map/dungeon/rooms/Set B/37. Corridor 2.tscn" id="4_w3178"]
[ext_resource type="PackedScene" uid="uid://dadl2rua1ovhq" path="res://src/map/dungeon/rooms/Set B/20. Antechamber 3.tscn" id="5_mqac6"]
[ext_resource type="PackedScene" uid="uid://dra1mqcqhw7g0" path="res://src/map/dungeon/rooms/Set B/21. Gallery Room.tscn" id="6_0v4w1"]
[ext_resource type="PackedScene" uid="uid://cq82tqhlshn1k" path="res://src/map/dungeon/rooms/Set B/22. Pit Room B.tscn" id="7_5qwu0"]
[ext_resource type="PackedScene" uid="uid://utaqo4hl68yw" path="res://src/map/dungeon/rooms/Set B/23. Antechamber 4.tscn" id="8_w3178"]
[ext_resource type="PackedScene" uid="uid://bhqmpgpegcuu5" path="res://src/map/dungeon/rooms/Set B/24. Balcony Room 2.tscn" id="9_k2pbf"]
[ext_resource type="PackedScene" uid="uid://dbfkpodwvxmfe" path="res://src/map/dungeon/rooms/Set B/25. Pedestal Room.tscn" id="10_4abo2"]
[ext_resource type="PackedScene" uid="uid://d2k2v4bcybx3k" path="res://src/map/dungeon/rooms/Set B/26. Item Transfer Room B.tscn" id="11_h4n5t"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="12_6ccoi"]
[ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="13_xw5po"]
[ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="14_b8w6w"]
[ext_resource type="PackedScene" uid="uid://bs56ccgosmu47" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="15_optp8"]
[ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="16_h86t4"]
[sub_resource type="NavigationMesh" id="NavigationMesh_xw4dv"]
sample_partition_type = 2
geometry_parsed_geometry_type = 1
geometry_collision_mask = 2147483648
cell_height = 1.0
agent_height = 2.0
agent_max_climb = 1.0
region_min_size = 8.0
[sub_resource type="BoxShape3D" id="BoxShape3D_xw4dv"]
size = Vector3(191.648, 1, 155.671)
[node name="Floor01" type="Node3D"]
script = ExtResource("1_5qwu0")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
unique_name_in_owner = true
navigation_mesh = SubResource("NavigationMesh_xw4dv")
[node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"]
unique_name_in_owner = true
script = ExtResource("2_w3178")
room_scenes = Array[PackedScene]([ExtResource("3_5qwu0")])
corridor_room_scene = ExtResource("4_w3178")
dungeon_size = Vector3i(40, 1, 40)
voxel_scale = Vector3(4, 4, 4)
generate_on_ready = false
heuristic_scale = 3.0
corridor_cost_multiplier = 0.1
show_debug_in_editor = false
hide_debug_visuals_for_all_generated_rooms = false
[node name="Antechamber 3" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("5_mqac6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -16)
[node name="Gallery Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("6_0v4w1")]
transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -68, 0, -8)
[node name="Pit Room B" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_5qwu0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -54)
[node name="Antechamber 4" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -8)
[node name="Balcony Room 2" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_k2pbf")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4, 0, -50)
[node name="Pedestal Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("10_4abo2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, 16)
[node name="Item Transfer Room B" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("11_h4n5t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 12)
[node name="Floor Exit B_0" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("3_5qwu0")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -70, 0, -34)
script = ExtResource("12_6ccoi")
size_in_voxels = Vector3i(5, 1, 9)
voxel_scale = Vector3(4, 4, 4)
min_count = 1
max_count = 3
[node name="Corridor_1" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_2" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_3" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_4" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_5" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_6" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_7" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_8" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_9" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_10" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -10)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_11" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -14)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_12" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -18)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_13" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -22)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_14" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -26)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_15" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -30)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_16" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_17" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_18" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_19" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_20" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_21" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -30)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_22" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -26)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_23" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -22)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_24" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -18)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_25" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_26" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_27" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_28" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -50)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_29" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -50)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_30" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -50)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_31" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -46)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_32" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -42)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_33" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -38)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_34" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_35" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_36" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_37" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_38" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -34)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_39" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_40" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_41" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_42" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_43" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_44" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_45" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_46" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_47" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_48" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_49" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_50" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_51" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_52" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_53" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_54" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_55" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_56" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_57" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_58" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_59" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 6)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_60" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_61" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_62" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_63" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_64" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_65" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_66" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_67" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_68" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -2)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_69" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_70" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[node name="Corridor_71" type="Node3D" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("4_w3178")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, -54)
script = ExtResource("13_xw5po")
voxel_scale = Vector3(4, 4, 4)
[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, -12.7119, 1, 0)
shape = SubResource("BoxShape3D_xw4dv")
disabled = true
[node name="EnemyDatabase" parent="." instance=ExtResource("14_b8w6w")]
unique_name_in_owner = true
EnemyList = Array[PackedScene]([ExtResource("15_optp8"), ExtResource("16_h86t4")])

View File

@@ -0,0 +1,243 @@
[gd_scene load_steps=17 format=3 uid="uid://bpqm38kxonb35"]
[ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_hwssm"]
[ext_resource type="Script" uid="uid://b1x125h0tya2w" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="2_f10ye"]
[ext_resource type="PackedScene" uid="uid://02v033xrh6xi" path="res://src/map/dungeon/rooms/Set B/38. Floor Exit B.tscn" id="3_5wjmx"]
[ext_resource type="PackedScene" uid="uid://dooy8nc5pgaxm" path="res://src/map/dungeon/rooms/Set B/37. Corridor 2.tscn" id="4_5dvb6"]
[ext_resource type="PackedScene" uid="uid://cypdcaqeylnwl" path="res://src/map/dungeon/rooms/Set B/27. Water Room B.tscn" id="5_gt56l"]
[ext_resource type="PackedScene" uid="uid://b8tiuu3l181ke" path="res://src/map/dungeon/rooms/Set B/28. Long Room B.tscn" id="6_rkuht"]
[ext_resource type="PackedScene" uid="uid://5cstpejxygy6" path="res://src/map/dungeon/rooms/Set B/29. Column Circle Room.tscn" id="7_hwssm"]
[ext_resource type="PackedScene" uid="uid://b1oayub1dt5ag" path="res://src/map/dungeon/rooms/Set B/31. Dismantled Saint's Room.tscn" id="8_f10ye"]
[ext_resource type="PackedScene" uid="uid://cuau7xgx3rkxu" path="res://src/map/dungeon/rooms/Set B/32. Proscenium's Room.tscn" id="9_5wjmx"]
[ext_resource type="PackedScene" uid="uid://b6akxaacr8jd2" path="res://src/map/dungeon/rooms/Set B/33. Puer's Room.tscn" id="10_5dvb6"]
[ext_resource type="PackedScene" uid="uid://dqppy7sj8pial" path="res://src/map/dungeon/rooms/Set B/39. Gesthemii's Room 2.tscn" id="11_2me6y"]
[ext_resource type="PackedScene" uid="uid://dbvr8ewajja6a" path="res://src/enemy/EnemyDatabase.tscn" id="14_5jv0q"]
[ext_resource type="PackedScene" uid="uid://bs56ccgosmu47" path="res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn" id="15_raccu"]
[ext_resource type="PackedScene" uid="uid://b0gwivt7cw7nd" path="res://src/enemy/enemy_types/02. michael/Michael.tscn" id="16_5jgmg"]
[sub_resource type="NavigationMesh" id="NavigationMesh_xw4dv"]
sample_partition_type = 2
geometry_parsed_geometry_type = 1
geometry_collision_mask = 2147483648
cell_height = 1.0
agent_height = 2.0
agent_max_climb = 1.0
region_min_size = 8.0
[sub_resource type="BoxShape3D" id="BoxShape3D_xw4dv"]
size = Vector3(191.648, 1, 155.671)
[node name="Floor01" type="Node3D"]
script = ExtResource("1_hwssm")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
unique_name_in_owner = true
navigation_mesh = SubResource("NavigationMesh_xw4dv")
[node name="DungeonGenerator" type="Node3D" parent="NavigationRegion3D"]
unique_name_in_owner = true
script = ExtResource("2_f10ye")
room_scenes = Array[PackedScene]([ExtResource("3_5wjmx")])
corridor_room_scene = ExtResource("4_5dvb6")
dungeon_size = Vector3i(40, 1, 40)
voxel_scale = Vector3(4, 4, 4)
generate_on_ready = false
heuristic_scale = 3.0
corridor_cost_multiplier = 0.1
show_debug_in_editor = false
hide_debug_visuals_for_all_generated_rooms = false
[node name="Water Room B" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("5_gt56l")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 0)
[node name="Long Room B" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("6_rkuht")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 42)
[node name="Column Circle Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("7_hwssm")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 14, 0, 10)
[node name="Dismantled Saint\'s Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("8_f10ye")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, 42)
[node name="Proscenium\'s Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("9_5wjmx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 54, 0, 10)
[node name="Puer\'s Room" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("10_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -14)
[node name="GesthemiisRoom" parent="NavigationRegion3D/DungeonGenerator" instance=ExtResource("11_2me6y")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -58, 0, -58)
[node name="RoomsContainer" type="Node3D" parent="NavigationRegion3D/DungeonGenerator"]
[node name="Floor Exit B_0" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("3_5wjmx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -26)
[node name="Corridor_1" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 26)
[node name="Corridor_2" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 10)
[node name="Corridor_3" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 14)
[node name="Corridor_4" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, 14)
[node name="Corridor_5" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, 14)
[node name="Corridor_6" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 14)
[node name="Corridor_7" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 18)
[node name="Corridor_8" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 22)
[node name="Corridor_9" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 26)
[node name="Corridor_10" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 30)
[node name="Corridor_11" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 34)
[node name="Corridor_12" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 38)
[node name="Corridor_13" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 42)
[node name="Corridor_14" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, 42)
[node name="Corridor_15" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, 42)
[node name="Corridor_16" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 42)
[node name="Corridor_17" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 42)
[node name="Corridor_18" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 26)
[node name="Corridor_19" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 0, 22)
[node name="Corridor_20" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 22)
[node name="Corridor_21" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 22)
[node name="Corridor_22" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 22)
[node name="Corridor_23" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 18)
[node name="Corridor_24" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 14)
[node name="Corridor_25" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26, 0, 10)
[node name="Corridor_26" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 10)
[node name="Corridor_27" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34, 0, 10)
[node name="Corridor_28" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -14)
[node name="Corridor_29" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -14)
[node name="Corridor_30" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -14)
[node name="Corridor_31" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -14)
[node name="Corridor_32" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -34)
[node name="Corridor_33" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -38)
[node name="Corridor_34" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -38)
[node name="Corridor_35" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -38)
[node name="Corridor_36" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -38)
[node name="Corridor_37" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -38)
[node name="Corridor_38" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -38)
[node name="Corridor_39" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -38)
[node name="Corridor_40" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -38)
[node name="Corridor_41" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -38)
[node name="Corridor_42" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -34)
[node name="Corridor_43" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -30)
[node name="Corridor_44" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -26)
[node name="Corridor_45" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -22)
[node name="Corridor_46" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -18)
[node name="Corridor_47" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 6)
[node name="Corridor_48" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 2)
[node name="Corridor_49" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -2)
[node name="Corridor_50" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -6)
[node name="Corridor_51" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, -6)
[node name="Corridor_52" parent="NavigationRegion3D/DungeonGenerator/RoomsContainer" instance=ExtResource("4_5dvb6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -6)
[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, -12.7119, 1, 0)
shape = SubResource("BoxShape3D_xw4dv")
disabled = true
[node name="EnemyDatabase" parent="." instance=ExtResource("14_5jv0q")]
unique_name_in_owner = true
EnemyList = Array[PackedScene]([ExtResource("15_raccu"), ExtResource("16_5jgmg")])

View File

@@ -64,7 +64,6 @@ shadow_mesh = SubResource("ArrayMesh_4eou0")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jcrt6"]
resource_name = "SWIRL"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("2_06eum")
texture_filter = 2
@@ -74,113 +73,95 @@ resource_name = "MOTHER.002"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("3_aiyhv")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x4ioo"]
resource_name = "BRICK 3"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("4_gg1gw")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fklur"]
resource_name = "FLOOR 1.001"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("5_3yvkn")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t2dkh"]
resource_name = "WALL TILE 1"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("6_ayffp")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mhxry"]
resource_name = "TILE 5"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("7_mucxn")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qjhhv"]
resource_name = "TILE 4.001"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("8_x36ik")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_knbsp"]
resource_name = "COLUMN"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("9_peiep")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rb146"]
resource_name = "BLUE LIGHT"
cull_mode = 0
shading_mode = 0
albedo_color = Color(0.0408016, 0.822256, 0.810541, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5m22i"]
resource_name = "BRICK CORRIDOR"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("10_p5e8a")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6o5w8"]
resource_name = "Dark Brick"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("11_rssw8")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_656uk"]
resource_name = "LOWER CORRIDOR TRIM"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("12_2niov")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gs3lq"]
resource_name = "COLUMN 2"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("13_cvs65")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ub4gm"]
resource_name = "BRICK"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("4_gg1gw")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3dv1r"]
resource_name = "HAND TILE.004"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("14_l0jay")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6sui2"]
resource_name = "BRICK 3.003"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("4_gg1gw")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wdnpw"]
resource_name = "STONE PANEL 2.004"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("15_0qf8c")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t0v5k"]
resource_name = "TILE 2"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("16_bgmrw")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rnlrr"]
resource_name = "STONE PANEL 1.002"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("17_0tjgo")
texture_filter = 2
@@ -188,7 +169,6 @@ texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f5xan"]
resource_name = "CEILING 1.007"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("18_ymsfi")
@@ -698,7 +678,6 @@ shadow_mesh = SubResource("ArrayMesh_nweei")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xm4ti"]
resource_name = "HAND CYCLE"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("19_btt2p")
@@ -796,7 +775,6 @@ shadow_mesh = SubResource("ArrayMesh_2xh7e")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_08cpb"]
resource_name = "Material.018"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("20_ibc11")
@@ -1175,7 +1153,6 @@ resource_name = "Material.030"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("21_a3et2")
@@ -1216,7 +1193,6 @@ resource_name = "Material"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("22_4tjx7")
@@ -1972,9 +1948,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -102.157, -2.30863, 13.0139)
unique_name_in_owner = true
transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, -102.157, -0.510939, 13.0139)
visible = false
PrimaryAttackElementalType = null
PrimaryAttackElementalDamageBonus = null
_movementSpeed = null
[node name="OxFaceStatue" parent="Room" instance=ExtResource("26_futcf")]
unique_name_in_owner = true

View File

@@ -1208,14 +1208,12 @@ size = Vector3(32.0834, 10, 35.8235)
[node name="CSGBox" type="CSGBox3D" parent="Doors"]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -17.9446, -0.0155478, 0.01906)
visible = false
use_collision = true
size = Vector3(4.05, 4.05, 0.01)
material = SubResource("StandardMaterial3D_51rrf")
[node name="DOOR" type="CSGBox3D" parent="Doors/CSGBox"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.0686455)
visible = false
material_override = SubResource("StandardMaterial3D_alrge")
operation = 2
size = Vector3(4, 4, 2)

View File

@@ -457,7 +457,7 @@ resource_name = "BOTTOM TRIM.007"
shading_mode = 0
albedo_texture = ExtResource("5_qnt5r")
[sub_resource type="ArrayMesh" id="ArrayMesh_ood8f"]
[sub_resource type="ArrayMesh" id="ArrayMesh_7a87o"]
_surfaces = [{
"aabb": AABB(-0.984553, -23.5008, -0.95724, 2.00022, 24.4466, 1e-05),
"format": 34896613377,
@@ -509,7 +509,7 @@ _surfaces = [{
"vertex_data": PackedByteArray("AAAAAAAAAID/////AAAAgP//AAAAAACAAAD//wAAAID/f////3////9/////f///")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ood8f")
shadow_mesh = SubResource("ArrayMesh_7a87o")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0b3sx"]
albedo_texture = ExtResource("9_adgr5")
@@ -518,11 +518,7 @@ albedo_texture = ExtResource("9_adgr5")
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_adgr5"]
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="ArrayMesh" id="ArrayMesh_p4f4g"]
[sub_resource type="ArrayMesh" id="ArrayMesh_adgr5"]
_surfaces = [{
"aabb": AABB(-0.984553, -23.5008, 1.0428, 2.00022, 24.4466, 1e-05),
"format": 34896613377,
@@ -574,13 +570,17 @@ _surfaces = [{
"vertex_data": PackedByteArray("//8AAAAAAAAAAP//AAAAAAAAAAAAAAAA/////wAAAAD///9/////f////3////9/")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_p4f4g")
shadow_mesh = SubResource("ArrayMesh_adgr5")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_adgr5"]
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4sxun"]
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="ArrayMesh" id="ArrayMesh_te6g1"]
[sub_resource type="ArrayMesh" id="ArrayMesh_3j8ld"]
_surfaces = [{
"aabb": AABB(-0.984553, -23.5008, -0.95724, 1e-05, 24.4466, 2.00004),
"format": 34896613377,
@@ -632,13 +632,13 @@ _surfaces = [{
"vertex_data": PackedByteArray("AAAAAP///78AAP//AAD/vwAAAAAAAP+/AAD//////7//fwAA/38AAP9/AAD/fwAA")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_te6g1")
shadow_mesh = SubResource("ArrayMesh_3j8ld")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hm6c0"]
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="ArrayMesh" id="ArrayMesh_5chhi"]
[sub_resource type="ArrayMesh" id="ArrayMesh_0b3sx"]
_surfaces = [{
"aabb": AABB(1.01566, -23.5008, -0.95724, 1e-05, 24.4466, 2.00004),
"format": 34896613377,
@@ -690,7 +690,7 @@ _surfaces = [{
"vertex_data": PackedByteArray("AAAAAAAAAAAAAP////8AAAAAAAD//wAAAAD//wAAAAD/P/9//z//f/8//3//P/9/")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_5chhi")
shadow_mesh = SubResource("ArrayMesh_0b3sx")
[sub_resource type="BoxShape3D" id="BoxShape3D_7uihh"]
size = Vector3(4, 4, 4)
@@ -702,11 +702,7 @@ size = Vector2(4, 4)
[node name="Corridor" type="Node3D"]
script = ExtResource("1_lepkf")
voxel_scale = Vector3(4, 4, 4)
is_stair_room = null
force_align_with_grid_button = null
show_debug_in_editor = null
show_debug_in_game = null
show_grid_aabb_with_doors = null
show_debug_in_editor = false
[node name="Model" type="Node3D" parent="."]
script = ExtResource("2_xywry")
@@ -780,9 +776,9 @@ mesh = SubResource("ArrayMesh_ue4n7")
skeleton = NodePath("")
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00236224, -3.72529e-08, 0.0620437)
material_override = SubResource("StandardMaterial3D_0b3sx")
size = Vector3(4, 4, 0.203003)
size = Vector3(4.99487, 4, 0.203003)
material = SubResource("StandardMaterial3D_7a87o")
[node name="DOOR?2" type="CSGBox3D" parent="Doors"]
@@ -791,17 +787,17 @@ use_collision = true
size = Vector3(3.90674, 4, 0.1)
material = SubResource("StandardMaterial3D_3j8ld")
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
material_override = SubResource("StandardMaterial3D_0b3sx")
size = Vector3(4, 4, 0.203003)
material = SubResource("StandardMaterial3D_adgr5")
[node name="CA_WALL_3" type="MeshInstance3D" parent="Doors/DOOR?2"]
transform = Transform3D(-8.74228e-08, 0.10779, 1.73929e-20, -2, -4.71165e-09, 3.97904e-13, 3.97904e-13, 0, 2, 1.84215, 0.088098, -2.03793)
mesh = SubResource("ArrayMesh_ux4sw")
skeleton = NodePath("")
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00984479, -3.72529e-08, 0.0620438)
material_override = SubResource("StandardMaterial3D_0b3sx")
size = Vector3(4.97876, 4, 0.203003)
material = SubResource("StandardMaterial3D_adgr5")
[node name="DOOR?3" type="CSGBox3D" parent="Doors"]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -1.95513, 0.0586318, -0.00728679)
use_collision = true
@@ -809,9 +805,9 @@ size = Vector3(3.90674, 4, 0.1)
material = SubResource("StandardMaterial3D_3j8ld")
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0715151, -3.72529e-08, 0.0620437)
material_override = SubResource("StandardMaterial3D_0b3sx")
size = Vector3(4, 4, 0.203003)
size = Vector3(4.37317, 4, 0.203003)
material = SubResource("StandardMaterial3D_4sxun")
[node name="CA_WALL_4" type="MeshInstance3D" parent="Doors/DOOR?3"]
@@ -826,9 +822,9 @@ size = Vector3(3.90674, 4, 0.1)
material = SubResource("StandardMaterial3D_3j8ld")
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?4"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00215435, -3.81842e-08, 0.0620437)
material_override = SubResource("StandardMaterial3D_0b3sx")
size = Vector3(4, 4, 0.203003)
size = Vector3(4.24316, 4, 0.203003)
material = SubResource("StandardMaterial3D_hm6c0")
[node name="CA_WALL_1" type="MeshInstance3D" parent="Doors/DOOR?4"]

View File

@@ -454,7 +454,7 @@ shading_mode = 0
albedo_texture = ExtResource("18_r3pjb")
[sub_resource type="BoxShape3D" id="BoxShape3D_mg5bq"]
size = Vector3(19.8499, 10.2039, 7.09571)
size = Vector3(15.7098, 10.2039, 7.09571)
[sub_resource type="BoxShape3D" id="BoxShape3D_tgauh"]
size = Vector3(20, 20, 36)
@@ -574,7 +574,7 @@ collision_layer = 256
collision_mask = 256
[node name="CollisionShape3D" type="CollisionShape3D" parent="Room/Exit"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00817108, 1.56831, 4.23168)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00295544, 1.56831, 4.23168)
shape = SubResource("BoxShape3D_mg5bq")
[node name="Room" type="Area3D" parent="Room"]

View File

@@ -758,7 +758,7 @@ size = Vector3(28, 6, 48)
material = ExtResource("20_jum0i")
size = Vector2(20, 16)
[node name="DungeonRoom3D" type="Node3D"]
[node name="Water Room B" type="Node3D"]
script = ExtResource("1_nwdhf")
size_in_voxels = Vector3i(7, 1, 12)
voxel_scale = Vector3(4, 4, 4)

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=40 format=4 uid="uid://dooy8nc5pgaxm"]
[gd_scene load_steps=43 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"]
@@ -9,6 +9,7 @@
[ext_resource type="Texture2D" uid="uid://bltjwwsy7cieh" path="res://src/map/dungeon/models/Set B/37. Corridor B/37_A2_CORRIDOR_B_area_2_tile_3.png" id="6_lsept"]
[ext_resource type="Texture2D" uid="uid://dqj533i8quohm" path="res://src/map/dungeon/models/Set B/37. Corridor B/37_A2_CORRIDOR_B_CORRIDOR_PANEL_UPPER.png" id="7_sx4i6"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="8_4fw8l"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="10_7c8qf"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l2f0d"]
resource_name = "Material.014"
@@ -671,6 +672,13 @@ shadow_mesh = SubResource("ArrayMesh_4ude8")
transparency = 1
albedo_color = Color(1, 1, 1, 0)
[sub_resource type="BoxShape3D" id="BoxShape3D_7c8qf"]
size = Vector3(4, 4, 4)
[sub_resource type="PlaneMesh" id="PlaneMesh_htf4s"]
material = ExtResource("10_7c8qf")
size = Vector2(4, 4)
[node name="Corridor" type="Node3D"]
script = ExtResource("1_71ggh")
voxel_scale = Vector3(4, 4, 4)
@@ -782,4 +790,22 @@ material = SubResource("StandardMaterial3D_bcqgr")
[node name="Room" type="Node3D" parent="."]
[node name="Room" type="Area3D" parent="Room"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.8436, 0)
collision_layer = 0
collision_mask = 10
[node name="CollisionShape3D" type="CollisionShape3D" parent="Room/Room"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00170277, -11.8564, -1.19209e-07)
shape = SubResource("BoxShape3D_7c8qf")
[node name="Minimap" type="Node3D" parent="."]
[node name="Minimap" type="MeshInstance3D" parent="Minimap"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false
layers = 2
mesh = SubResource("PlaneMesh_htf4s")
skeleton = NodePath("../..")