Cleanup
This commit is contained in:
@@ -44,6 +44,8 @@ public partial class Map : Node3D, IMap
|
||||
|
||||
public AutoProp<int> CurrentFloorNumber { get; private set; } = new AutoProp<int>(0);
|
||||
|
||||
private readonly string _floorFilePath = @"res://src/map/dungeon/floors/";
|
||||
|
||||
public void OnResolved()
|
||||
{
|
||||
GameChunk.AddChunk(MapChunk);
|
||||
@@ -56,18 +58,13 @@ public partial class Map : Node3D, IMap
|
||||
public void InitializeMapData()
|
||||
{
|
||||
FloorScenes = ImmutableDictionary<Floor, string>.Empty
|
||||
.Add(Floor.Overworld, $"res://src/map/overworld/Overworld.tscn")
|
||||
.Add(Floor.Altar, $"res://src/map/dungeon/floors/Floor00.tscn")
|
||||
.Add(Floor.BossFloorA, $"res://src/map/dungeon/floors/Special Floors/15. Boss Floor A.tscn")
|
||||
.Add(Floor.BossFloorB, $"res://src/map/dungeon/floors/Special Floors/34. Boss Floor B.tscn")
|
||||
.Add(Floor.GoddessOfGuidanceFloor, $"res://src/map/dungeon/floors/Special Floors/35. Goddess of Guidance's Room.tscn")
|
||||
.Add(Floor.VoidRoom, $"res://src/map/dungeon/floors/Set B/30. Void Room.tscn")
|
||||
.Add(Floor.FinalFloor, $"res://src/map/dungeon/floors/Special Floors/36. Final Floor.tscn")
|
||||
.Add(Floor.Floor01, $"res://src/map/dungeon/floors/Floor01.tscn")
|
||||
.Add(Floor.Floor02, $"res://src/map/dungeon/floors/Floor02.tscn")
|
||||
.Add(Floor.Floor03, $"res://src/map/dungeon/floors/Floor03.tscn")
|
||||
.Add(Floor.Floor04, $"res://src/map/dungeon/floors/Floor04.tscn")
|
||||
.Add(Floor.Floor05, $"res://src/map/dungeon/floors/Floor05.tscn");
|
||||
.Add(Floor.Overworld, _floorFilePath + "Special Floors/Overworld.tscn")
|
||||
.Add(Floor.Altar, _floorFilePath + "Special Floors/Altar.tscn")
|
||||
.Add(Floor.BossFloorA, _floorFilePath + "Special Floors/15. Boss Floor A.tscn")
|
||||
.Add(Floor.BossFloorB, _floorFilePath + "Special Floors/34. Boss Floor B.tscn")
|
||||
.Add(Floor.GoddessOfGuidanceFloor, _floorFilePath + "Special Floors/35. Goddess of Guidance's Room.tscn")
|
||||
.Add(Floor.VoidRoom, _floorFilePath + "Set B/30. Void Room.tscn")
|
||||
.Add(Floor.FinalFloor, _floorFilePath + "Special Floors/36. Final Floor.tscn");
|
||||
CurrentFloorNumber.OnNext(0);
|
||||
}
|
||||
|
||||
@@ -91,17 +88,29 @@ public partial class Map : Node3D, IMap
|
||||
{
|
||||
AnimationPlayer.CallDeferred(AnimationPlayer.MethodName.Play, "fade_out");
|
||||
ClearCurrentMap();
|
||||
var newFloor = await LoadNewFloor(sceneName);
|
||||
AddChild(newFloor);
|
||||
InitializeFloor(newFloor);
|
||||
AnimationPlayer.CallDeferred(AnimationPlayer.MethodName.Play, ("fade_in"));
|
||||
}
|
||||
|
||||
private void InitializeFloor(Node newFloor)
|
||||
{
|
||||
CurrentFloor = (IDungeonFloor)newFloor;
|
||||
SetupDungeonFloor();
|
||||
CurrentFloor.FloorIsLoaded = true;
|
||||
CurrentFloorNumber.OnNext(CurrentFloorNumber.Value + 1);
|
||||
}
|
||||
|
||||
private async Task<Node> LoadNewFloor(string sceneName)
|
||||
{
|
||||
var sceneLoader = new SceneLoader();
|
||||
AddChild(sceneLoader);
|
||||
sceneLoader.LoadSceneRequest(sceneName);
|
||||
await ToSignal(sceneLoader, SceneLoader.SignalName.SceneLoaded);
|
||||
AddChild(sceneLoader.LoadedScene);
|
||||
CurrentFloor = (IDungeonFloor)sceneLoader.LoadedScene;
|
||||
SetupDungeonFloor();
|
||||
CurrentFloor.FloorIsLoaded = true;
|
||||
CurrentFloorNumber.OnNext(CurrentFloorNumber.Value + 1);
|
||||
var result = sceneLoader.LoadedScene;
|
||||
sceneLoader.QueueFree();
|
||||
AnimationPlayer.CallDeferred(AnimationPlayer.MethodName.Play, ("fade_in"));
|
||||
return result;
|
||||
}
|
||||
|
||||
private void ClearCurrentMap()
|
||||
@@ -119,7 +128,7 @@ public partial class Map : Node3D, IMap
|
||||
|
||||
private string[] GetMapFiles()
|
||||
{
|
||||
var folderLocation = "res://src/map/dungeon/floors/" + "Floor" + CurrentFloorNumber.Value.ToString("D2");
|
||||
var folderLocation = _floorFilePath + "Floor" + CurrentFloorNumber.Value.ToString("D2");
|
||||
return DirAccess.GetFilesAt(folderLocation);
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@ using Zennysoft.Ma.Adapter;
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class Floor0 : Node3D, IDungeonFloor
|
||||
public partial class Altar : Node3D, IDungeonFloor
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
@@ -23,15 +23,15 @@ public partial class Floor0 : Node3D, IDungeonFloor
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
Show();
|
||||
Exit.AreaEntered += Exit_AreaEntered;
|
||||
FloorIsLoaded = true;
|
||||
Show();
|
||||
Exit.AreaEntered += Exit_AreaEntered;
|
||||
FloorIsLoaded = true;
|
||||
}
|
||||
|
||||
private void Exit_AreaEntered(Area3D area)
|
||||
{
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
}
|
||||
|
||||
public void ExitReached() => Game.FloorExitReached();
|
||||
@@ -1,25 +0,0 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[Meta(typeof(IAutoNode))]
|
||||
public partial class BossFloor : Node3D, IDungeonFloor
|
||||
{
|
||||
public override void _Notification(int what) => this.Notify(what);
|
||||
|
||||
[Node] private IBossRoom BossFloorRoom { get; set; } = default!;
|
||||
|
||||
public ImmutableList<IDungeonRoom> Rooms => [];
|
||||
|
||||
public void InitializeDungeon()
|
||||
{
|
||||
FloorIsLoaded = true;
|
||||
}
|
||||
|
||||
public bool FloorIsLoaded { get; set; }
|
||||
|
||||
public Transform3D GetPlayerSpawnPoint() => BossFloorRoom.PlayerSpawn.GlobalTransform;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
uid://b74nta2e20elm
|
||||
@@ -1,17 +0,0 @@
|
||||
@tool
|
||||
extends DungeonRoom3D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
super._ready()
|
||||
dungeon_done_generating.connect(remove_unused_doors_and_walls)
|
||||
|
||||
func remove_unused_doors_and_walls():
|
||||
if get_door_by_node($"Doors/DOOR?").get_room_leads_to() != null:
|
||||
$"Doors/DOOR?".queue_free()
|
||||
if get_door_by_node($"Doors/DOOR?2").get_room_leads_to() != null:
|
||||
$"Doors/DOOR?2".queue_free()
|
||||
if get_door_by_node($"Doors/DOOR?3").get_room_leads_to() != null:
|
||||
$"Doors/DOOR?3".queue_free()
|
||||
if get_door_by_node($"Doors/DOOR?4").get_room_leads_to() != null:
|
||||
$"Doors/DOOR?4".queue_free()
|
||||
@@ -1 +0,0 @@
|
||||
uid://fk3jis6rsipv
|
||||
@@ -1,284 +0,0 @@
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bi8jggqen30w6"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwt6302nsf4vq" path="res://src/map/dungeon/code/DungeonFloor.cs" id="1_5qwu0"]
|
||||
[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="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="Antechamber 3" parent="NavigationRegion3D" instance=ExtResource("5_mqac6")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -16)
|
||||
|
||||
[node name="Gallery Room" parent="NavigationRegion3D" 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" instance=ExtResource("7_5qwu0")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -54)
|
||||
|
||||
[node name="Antechamber 4" parent="NavigationRegion3D" 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" 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" 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" instance=ExtResource("11_h4n5t")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 12)
|
||||
|
||||
[node name="Floor Exit B_0" parent="NavigationRegion3D" instance=ExtResource("3_5qwu0")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -70, 0, -34)
|
||||
|
||||
[node name="Corridor_1" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -6)
|
||||
|
||||
[node name="Corridor_2" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -6)
|
||||
|
||||
[node name="Corridor_3" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -6)
|
||||
|
||||
[node name="Corridor_4" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -6)
|
||||
|
||||
[node name="Corridor_5" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -6)
|
||||
|
||||
[node name="Corridor_6" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -6)
|
||||
|
||||
[node name="Corridor_7" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -6)
|
||||
|
||||
[node name="Corridor_8" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -6)
|
||||
|
||||
[node name="Corridor_9" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -6)
|
||||
|
||||
[node name="Corridor_10" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -10)
|
||||
|
||||
[node name="Corridor_11" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -14)
|
||||
|
||||
[node name="Corridor_12" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -18)
|
||||
|
||||
[node name="Corridor_13" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -22)
|
||||
|
||||
[node name="Corridor_14" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -26)
|
||||
|
||||
[node name="Corridor_15" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -30)
|
||||
|
||||
[node name="Corridor_16" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -34)
|
||||
|
||||
[node name="Corridor_17" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, -34)
|
||||
|
||||
[node name="Corridor_18" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -34)
|
||||
|
||||
[node name="Corridor_19" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, -34)
|
||||
|
||||
[node name="Corridor_20" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -34)
|
||||
|
||||
[node name="Corridor_21" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -30)
|
||||
|
||||
[node name="Corridor_22" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -26)
|
||||
|
||||
[node name="Corridor_23" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -22)
|
||||
|
||||
[node name="Corridor_24" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, -18)
|
||||
|
||||
[node name="Corridor_25" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -54)
|
||||
|
||||
[node name="Corridor_26" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -54)
|
||||
|
||||
[node name="Corridor_27" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -54)
|
||||
|
||||
[node name="Corridor_28" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, -50)
|
||||
|
||||
[node name="Corridor_29" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, -50)
|
||||
|
||||
[node name="Corridor_30" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -50)
|
||||
|
||||
[node name="Corridor_31" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -46)
|
||||
|
||||
[node name="Corridor_32" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -42)
|
||||
|
||||
[node name="Corridor_33" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -38)
|
||||
|
||||
[node name="Corridor_34" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, -34)
|
||||
|
||||
[node name="Corridor_35" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, -34)
|
||||
|
||||
[node name="Corridor_36" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -34)
|
||||
|
||||
[node name="Corridor_37" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, -34)
|
||||
|
||||
[node name="Corridor_38" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, -34)
|
||||
|
||||
[node name="Corridor_39" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, -2)
|
||||
|
||||
[node name="Corridor_40" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, 2)
|
||||
|
||||
[node name="Corridor_41" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, 2)
|
||||
|
||||
[node name="Corridor_42" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, 2)
|
||||
|
||||
[node name="Corridor_43" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, 2)
|
||||
|
||||
[node name="Corridor_44" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, 6)
|
||||
|
||||
[node name="Corridor_45" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, 6)
|
||||
|
||||
[node name="Corridor_46" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, 6)
|
||||
|
||||
[node name="Corridor_47" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58, 0, 6)
|
||||
|
||||
[node name="Corridor_48" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, 6)
|
||||
|
||||
[node name="Corridor_49" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, 6)
|
||||
|
||||
[node name="Corridor_50" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -46, 0, 6)
|
||||
|
||||
[node name="Corridor_51" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -42, 0, 6)
|
||||
|
||||
[node name="Corridor_52" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -38, 0, 6)
|
||||
|
||||
[node name="Corridor_53" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, 0, 6)
|
||||
|
||||
[node name="Corridor_54" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 6)
|
||||
|
||||
[node name="Corridor_55" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 6)
|
||||
|
||||
[node name="Corridor_56" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 6)
|
||||
|
||||
[node name="Corridor_57" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 6)
|
||||
|
||||
[node name="Corridor_58" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 6)
|
||||
|
||||
[node name="Corridor_59" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 6)
|
||||
|
||||
[node name="Corridor_60" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 2)
|
||||
|
||||
[node name="Corridor_61" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 2)
|
||||
|
||||
[node name="Corridor_62" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 2)
|
||||
|
||||
[node name="Corridor_63" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 2)
|
||||
|
||||
[node name="Corridor_64" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 2)
|
||||
|
||||
[node name="Corridor_65" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -22, 0, 2)
|
||||
|
||||
[node name="Corridor_66" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -26, 0, 2)
|
||||
|
||||
[node name="Corridor_67" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 2)
|
||||
|
||||
[node name="Corridor_68" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -2)
|
||||
|
||||
[node name="Corridor_69" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -54)
|
||||
|
||||
[node name="Corridor_70" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -66, 0, -54)
|
||||
|
||||
[node name="Corridor_71" parent="NavigationRegion3D" instance=ExtResource("4_w3178")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -70, 0, -54)
|
||||
|
||||
[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")])
|
||||
@@ -1,229 +0,0 @@
|
||||
[gd_scene load_steps=16 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="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="Water Room B" parent="NavigationRegion3D" 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" 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" 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" 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" 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" instance=ExtResource("10_5dvb6")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -62, 0, -14)
|
||||
|
||||
[node name="GesthemiisRoom" parent="NavigationRegion3D" 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"]
|
||||
|
||||
[node name="Floor Exit B_0" parent="NavigationRegion3D/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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")])
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=70 format=4 uid="uid://dl6h1djc27ddl"]
|
||||
[gd_scene load_steps=58 format=4 uid="uid://dl6h1djc27ddl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c1nhqlem1ew3m" path="res://src/map/dungeon/code/Floor0.cs" id="1_5jip8"]
|
||||
[ext_resource type="Script" uid="uid://c1nhqlem1ew3m" path="res://src/map/dungeon/code/Altar.cs" id="1_5jip8"]
|
||||
[ext_resource type="Texture2D" uid="uid://b27ksiyfefb33" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_outside_desert.png" id="2_fsslh"]
|
||||
[ext_resource type="Texture2D" uid="uid://cmfhbi07s4v5x" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_BOULDER_DARK.png" id="3_ownfb"]
|
||||
[ext_resource type="Texture2D" uid="uid://cfo5c1twdrnea" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_concrete_0025_color_1k.jpg" id="4_5ln1c"]
|
||||
@@ -14,18 +14,6 @@
|
||||
[ext_resource type="Texture2D" uid="uid://buj20s21gq0n7" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_HAND_CYCLE_MOTIF.png" id="12_yaq7o"]
|
||||
[ext_resource type="Texture2D" uid="uid://4k6vtn4oip5f" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_TILE4.png" id="13_4jatb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhttrt4aqu1d7" path="res://src/map/dungeon/models/Special Floors & Rooms/Altar/02_ALTAR_FLOOR_ZER0_VER_COLUMN.jpg" id="14_twr0i"]
|
||||
[ext_resource type="PackedScene" uid="uid://db206brufi83s" path="res://src/items/weapons/Weapon.tscn" id="15_l2xnv"]
|
||||
[ext_resource type="Resource" uid="uid://cfhwlpa0d7wb4" path="res://src/items/weapons/resources/MysteryRod.tres" id="16_cbrvl"]
|
||||
[ext_resource type="PackedScene" uid="uid://b07srt3lckt4e" path="res://src/items/accessory/Accessory.tscn" id="17_0pvdq"]
|
||||
[ext_resource type="Resource" uid="uid://ecmjxvihuahv" path="res://src/items/accessory/resources/MysteryAccessory.tres" id="18_gc6fh"]
|
||||
[ext_resource type="PackedScene" uid="uid://dorr7v1tkeiy0" path="res://src/items/armor/Armor.tscn" id="19_3s7gu"]
|
||||
[ext_resource type="Resource" uid="uid://05hilwkmrs7a" path="res://src/items/armor/resources/MysteryArmor.tres" id="20_mfiqx"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6w7dpk0hurj0" path="res://src/items/consumable/ConsumableItem.tscn" id="21_4jl0n"]
|
||||
[ext_resource type="Resource" uid="uid://bjwbx3ymt8o7" path="res://src/items/consumable/resources/MysteryConsumable.tres" id="22_yif54"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0pl1n1jf77jm" path="res://src/items/effect/EffectItem.tscn" id="23_5fa0y"]
|
||||
[ext_resource type="Resource" uid="uid://bptg6eybj5dxk" path="res://src/items/effect/resources/DevicRecall.tres" id="24_1e0wv"]
|
||||
[ext_resource type="PackedScene" uid="uid://1fl6s352e2ej" path="res://src/items/throwable/ThrowableItem.tscn" id="25_3cbr7"]
|
||||
[ext_resource type="Resource" uid="uid://bph8c6by4s047" path="res://src/items/throwable/resources/GeomanticDice.tres" id="26_oefjj"]
|
||||
[ext_resource type="Shader" uid="uid://c4a68uhm5o2h4" path="res://src/map/map shaders/Altar Sky Environment.gdshader" id="27_lb4gb"]
|
||||
[ext_resource type="AudioStream" uid="uid://bmiitw4fcs68e" path="res://src/audio/AMB/amb_wind_loop_altar.wav" id="28_je2oh"]
|
||||
|
||||
@@ -875,30 +863,6 @@ collision_mask = 256
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.1171, -2.1779, -0.0887146)
|
||||
shape = SubResource("BoxShape3D_db2o3")
|
||||
|
||||
[node name="Weapon" parent="." instance=ExtResource("15_l2xnv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.00425, -2.90864, 0)
|
||||
Stats = ExtResource("16_cbrvl")
|
||||
|
||||
[node name="Accessory" parent="." instance=ExtResource("17_0pvdq")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98595, -1.56419, 0)
|
||||
Stats = ExtResource("18_gc6fh")
|
||||
|
||||
[node name="Armor" parent="." instance=ExtResource("19_3s7gu")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98595, -1.56419, 0)
|
||||
Stats = ExtResource("20_mfiqx")
|
||||
|
||||
[node name="ConsumableItem" parent="." instance=ExtResource("21_4jl0n")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98595, -1.56419, 0)
|
||||
Stats = ExtResource("22_yif54")
|
||||
|
||||
[node name="EffectItem" parent="." instance=ExtResource("23_5fa0y")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98595, -1.56419, 0)
|
||||
Stats = ExtResource("24_1e0wv")
|
||||
|
||||
[node name="ThrowableItem" parent="." instance=ExtResource("25_3cbr7")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.98595, -1.56419, 0)
|
||||
Stats = ExtResource("26_oefjj")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_c86uk")
|
||||
camera_attributes = SubResource("CameraAttributesPractical_ojbcg")
|
||||
|
||||
@@ -24,26 +24,10 @@ public partial class PauseDebugMenu : Control, IDebugMenu
|
||||
[Node] public OptionButton SpawnEnemyDropDown { get; set; } = default!;
|
||||
|
||||
private readonly string _floorFilePath = @"res://src/map/dungeon/floors/";
|
||||
private readonly string _enemyFilePath = @"res://src/enemy/enemy_types";
|
||||
|
||||
private ImmutableList<InventoryItem> _spawnableItems;
|
||||
private ImmutableList<string> _spawnableEnemies =
|
||||
[
|
||||
@"res://src/enemy/enemy_types/01. sproingy/Sproingy.tscn",
|
||||
@"res://src/enemy/enemy_types/02. michael/Michael.tscn",
|
||||
@"res://src/enemy/enemy_types/03. filth_eater/FilthEater.tscn",
|
||||
@"res://src/enemy/enemy_types/04. sara/Sara.tscn",
|
||||
@"res://src/enemy/enemy_types/05. ballos/Ballos.tscn",
|
||||
@"res://src/enemy/enemy_types/06. chariot/Chariot.tscn",
|
||||
@"res://src/enemy/enemy_types/07. chinthe/Chinthe.tscn",
|
||||
@"res://src/enemy/enemy_types/08a. Ambassador/Ambassador.tscn",
|
||||
@"res://src/enemy/enemy_types/08b. Ambassador (red)/AmbassadorRed.tscn",
|
||||
@"res://src/enemy/enemy_types/08c. Ambassador (steel)/AmbassadorSteel.tscn",
|
||||
@"res://src/enemy/enemy_types/09. Agni/AgniDemon.tscn",
|
||||
@"res://src/enemy/enemy_types/9b. Aqueos Demon/AqueosDemon.tscn",
|
||||
@"res://src/enemy/enemy_types/11. Palan/Palan.tscn",
|
||||
@"res://src/enemy/enemy_types/12. Shield of Heaven/ShieldModelView.tscn",
|
||||
@"res://src/enemy/enemy_types/13. gold sproingy/GoldSproingy.tscn"
|
||||
];
|
||||
private ImmutableList<string> _spawnableEnemies;
|
||||
|
||||
private ItemDatabase _itemDatabase;
|
||||
|
||||
@@ -52,6 +36,25 @@ public partial class PauseDebugMenu : Control, IDebugMenu
|
||||
_itemDatabase = new ItemDatabase();
|
||||
_spawnableItems = _itemDatabase.Items;
|
||||
|
||||
_spawnableEnemies =
|
||||
[
|
||||
_enemyFilePath + "/01. sproingy/Sproingy.tscn",
|
||||
_enemyFilePath + "/02. michael/Michael.tscn",
|
||||
_enemyFilePath + "/03. filth_eater/FilthEater.tscn",
|
||||
_enemyFilePath + "/04. sara/Sara.tscn",
|
||||
_enemyFilePath + "/05. ballos/Ballos.tscn",
|
||||
_enemyFilePath + "/06. chariot/Chariot.tscn",
|
||||
_enemyFilePath + "/07. chinthe/Chinthe.tscn",
|
||||
_enemyFilePath + "/08a. Ambassador/Ambassador.tscn",
|
||||
_enemyFilePath + "/08b. Ambassador (red)/AmbassadorRed.tscn",
|
||||
_enemyFilePath + "/08c. Ambassador (steel)/AmbassadorSteel.tscn",
|
||||
_enemyFilePath + "/09. Agni/AgniDemon.tscn",
|
||||
_enemyFilePath + "/9b. Aqueos Demon/AqueosDemon.tscn",
|
||||
_enemyFilePath + "/11. Palan/Palan.tscn",
|
||||
_enemyFilePath + "/12. Shield of Heaven/ShieldModelView.tscn",
|
||||
_enemyFilePath + "/13. gold sproingy/GoldSproingy.tscn"
|
||||
];
|
||||
|
||||
foreach (var item in _spawnableItems)
|
||||
SpawnItemDropDown.AddItem(item.ItemName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user