Put minimap back in place

Note: issue still exists where the last spot the player existed before the level finished loading is marked visibile on the minimap
This commit is contained in:
2025-03-03 02:45:45 -08:00
parent 3860155675
commit b26654346b
29 changed files with 157 additions and 352 deletions

View File

@@ -281,9 +281,6 @@ public partial class Game : Node3D, IGame
public void NextFloorLoaded() public void NextFloorLoaded()
{ {
var transform = Map.GetPlayerSpawnPosition();
GameRepo.SetPlayerGlobalTransform(transform);
Player.TeleportPlayer(new Vector3(transform.Origin.X, -1.75f, transform.Origin.Z));
GameLogic.Input(new GameLogic.Input.HideFloorClearMenu()); GameLogic.Input(new GameLogic.Input.HideFloorClearMenu());
} }

View File

@@ -26,6 +26,9 @@ public partial class Map : Node3D, IMap
[Dependency] [Dependency]
public IGame Game => this.DependOn<IGame>(); public IGame Game => this.DependOn<IGame>();
[Dependency]
public IPlayer Player => this.DependOn<IPlayer>();
[Export] [Export]
public Godot.Collections.Array<PackedScene> Floors { get; set; } = default!; public Godot.Collections.Array<PackedScene> Floors { get; set; } = default!;
@@ -42,6 +45,9 @@ public partial class Map : Node3D, IMap
oldFloor.CallDeferred(MethodName.QueueFree, []); oldFloor.CallDeferred(MethodName.QueueFree, []);
LoadFloor(); LoadFloor();
CurrentFloor.InitializeDungeon(); CurrentFloor.InitializeDungeon();
var transform = GetPlayerSpawnPosition();
Player.TeleportPlayer(new Vector3(transform.Origin.X, -1.75f, transform.Origin.Z));
CurrentFloor.FloorIsLoaded = true;
Game.NextFloorLoaded(); Game.NextFloorLoaded();
} }

View File

@@ -18,8 +18,10 @@ public partial class BossFloor : Node3D, IDungeonFloor
{ {
var bossRoomScene = GD.Load<PackedScene>($"res://src/map/dungeon/scenes/BossRoom.tscn"); var bossRoomScene = GD.Load<PackedScene>($"res://src/map/dungeon/scenes/BossRoom.tscn");
BossRoom = bossRoomScene.Instantiate<BossRoomA>(); BossRoom = bossRoomScene.Instantiate<BossRoomA>();
AddChild(BossRoom); FloorIsLoaded = true;
} }
public bool FloorIsLoaded { get; set; }
public Transform3D GetPlayerSpawnPoint() => BossRoom.PlayerSpawn.GlobalTransform; public Transform3D GetPlayerSpawnPoint() => BossRoom.PlayerSpawn.GlobalTransform;
} }

View File

@@ -0,0 +1,31 @@
using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Godot;
namespace GameJamDungeon;
[Meta(typeof(IAutoNode))]
public partial class CorridorRoom : Node3D
{
public override void _Notification(int what) => this.Notify(what);
[Dependency] IGame Game => this.DependOn<IGame>();
[Node] private Area3D _room { get; set; } = default!;
[Node] private MeshInstance3D _minimap { get; set; } = default!;
private bool _playerDiscoveredRoom = false;
public void Setup()
{
_room.BodyEntered += Room_BodyEntered;
}
private void Room_BodyEntered(Node3D body)
{
if (!Game.CurrentFloor.FloorIsLoaded)
return;
if (body is IPlayer)
_minimap.Show();
}
}

View File

@@ -0,0 +1 @@
uid://csxfet8l04swm

View File

@@ -20,6 +20,8 @@ namespace GameJamDungeon
public ImmutableList<IDungeonRoom> Rooms { get; private set; } public ImmutableList<IDungeonRoom> Rooms { get; private set; }
public bool FloorIsLoaded { get; set; }
public void InitializeDungeon() public void InitializeDungeon()
{ {
Rooms = []; Rooms = [];

View File

@@ -12,14 +12,19 @@ public abstract partial class DungeonRoom : Node3D, IDungeonRoom
[Node] public Marker3D PlayerSpawn { get; set; } = default!; [Node] public Marker3D PlayerSpawn { get; set; } = default!;
[Node] private MeshInstance3D _minimap { get; set; } = default!;
public bool IsPlayerInRoom => _isPlayerInRoom; public bool IsPlayerInRoom => _isPlayerInRoom;
public bool PlayerDiscoveredRoom => _playerDiscoveredRoom;
public ImmutableList<IEnemy> EnemiesInRoom => _enemiesInRoom; public ImmutableList<IEnemy> EnemiesInRoom => _enemiesInRoom;
[Node] private Area3D _room { get; set; } = default!; [Node] private Area3D _room { get; set; } = default!;
private ImmutableList<IEnemy> _enemiesInRoom; private ImmutableList<IEnemy> _enemiesInRoom;
private bool _isPlayerInRoom = false; private bool _isPlayerInRoom = false;
private bool _playerDiscoveredRoom = false;
public void Setup() public void Setup()
{ {
@@ -40,11 +45,21 @@ public abstract partial class DungeonRoom : Node3D, IDungeonRoom
if (body is IEnemy enemy) if (body is IEnemy enemy)
_enemiesInRoom = _enemiesInRoom.Add(enemy); _enemiesInRoom = _enemiesInRoom.Add(enemy);
if (body is IPlayer) if (body is IPlayer)
if (_playerDiscoveredRoom)
_isPlayerInRoom = true; _isPlayerInRoom = true;
else
OnPlayerDiscoveringRoom();
} }
public ImmutableList<IEnemy> GetEnemiesInCurrentRoom() public ImmutableList<IEnemy> GetEnemiesInCurrentRoom()
{ {
return _enemiesInRoom; return _enemiesInRoom;
} }
private void OnPlayerDiscoveringRoom()
{
_isPlayerInRoom = true;
_playerDiscoveredRoom = true;
_minimap.Show();
}
} }

View File

@@ -18,10 +18,13 @@ public partial class Floor0 : Node3D, IDungeonFloor
public ImmutableList<IDungeonRoom> Rooms => []; public ImmutableList<IDungeonRoom> Rooms => [];
public bool FloorIsLoaded { get; set; }
public override void _Ready() public override void _Ready()
{ {
Show(); Show();
Exit.AreaEntered += Exit_AreaEntered; Exit.AreaEntered += Exit_AreaEntered;
FloorIsLoaded = true;
} }
private void Exit_AreaEntered(Area3D area) => ExitReached(); private void Exit_AreaEntered(Area3D area) => ExitReached();

View File

@@ -10,4 +10,6 @@ public interface IDungeonFloor : INode3D
public Transform3D GetPlayerSpawnPoint(); public Transform3D GetPlayerSpawnPoint();
public ImmutableList<IDungeonRoom> Rooms { get; } public ImmutableList<IDungeonRoom> Rooms { get; }
public bool FloorIsLoaded { get; set; }
} }

View File

@@ -9,5 +9,7 @@ public interface IDungeonRoom : INode3D
bool IsPlayerInRoom { get; } bool IsPlayerInRoom { get; }
bool PlayerDiscoveredRoom { get; }
ImmutableList<IEnemy> EnemiesInRoom { get; } ImmutableList<IEnemy> EnemiesInRoom { get; }
} }

View File

@@ -15,9 +15,12 @@ public partial class Overworld : Node3D, IDungeonFloor
public ImmutableList<IDungeonRoom> Rooms => []; public ImmutableList<IDungeonRoom> Rooms => [];
public bool FloorIsLoaded { get; set; }
public void InitializeDungeon() public void InitializeDungeon()
{ {
Show(); Show();
FloorIsLoaded = true;
} }
public Transform3D GetPlayerSpawnPoint() public Transform3D GetPlayerSpawnPoint()

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=60 format=4 uid="uid://dpec2lbt83dhe"] [gd_scene load_steps=58 format=4 uid="uid://dpec2lbt83dhe"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_ho6e8"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_ho6e8"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_phhs1"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_phhs1"]
@@ -19,7 +19,6 @@
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="19_06gih"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="19_06gih"]
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="20_le1vp"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="20_le1vp"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_8vpi3"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_8vpi3"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="21_h0ti6"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="21_m6pqv"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="21_m6pqv"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3hnk1"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3hnk1"]
@@ -668,9 +667,6 @@ size = Vector3(20, 8, 16)
material = ExtResource("21_8vpi3") material = ExtResource("21_8vpi3")
size = Vector2(20, 16) size = Vector2(20, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_24rcp"]
size = Vector3(20, 8, 16)
[node name="Antechamber A" type="Node3D"] [node name="Antechamber A" type="Node3D"]
script = ExtResource("1_ho6e8") script = ExtResource("1_ho6e8")
size_in_voxels = Vector3i(5, 1, 4) size_in_voxels = Vector3i(5, 1, 4)
@@ -840,26 +836,10 @@ shape = SubResource("BoxShape3D_e81mq")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("21_h0ti6")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.98417, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
shape = SubResource("BoxShape3D_24rcp")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=85 format=4 uid="uid://i781lbf2wb22"] [gd_scene load_steps=83 format=4 uid="uid://i781lbf2wb22"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_owolg"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_owolg"]
[ext_resource type="Texture2D" uid="uid://b3sg8oamch2i1" path="res://src/map/dungeon/models/Set A/04. Antechamber B/TREE_ROOM_VER2_STONE_PANEL_2png.png" id="2_q760f"] [ext_resource type="Texture2D" uid="uid://b3sg8oamch2i1" path="res://src/map/dungeon/models/Set A/04. Antechamber B/TREE_ROOM_VER2_STONE_PANEL_2png.png" id="2_q760f"]
@@ -23,7 +23,6 @@
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="22_3xjct"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="22_3xjct"]
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="23_sd6x0"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="23_sd6x0"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="24_nv6nc"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="24_nv6nc"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="24_s8wpb"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h5y3c"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h5y3c"]
resource_name = "Material.391" resource_name = "Material.391"
@@ -1086,10 +1085,7 @@ size = Vector3(20, 8, 16)
[sub_resource type="PlaneMesh" id="PlaneMesh_qpvag"] [sub_resource type="PlaneMesh" id="PlaneMesh_qpvag"]
material = ExtResource("22_3xjct") material = ExtResource("22_3xjct")
size = Vector2(16, 16) size = Vector2(20, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_5sviy"]
size = Vector3(20, 8, 16)
[node name="Antechamber B" type="Node3D"] [node name="Antechamber B" type="Node3D"]
script = ExtResource("1_owolg") script = ExtResource("1_owolg")
@@ -1289,26 +1285,10 @@ shape = SubResource("BoxShape3D_cgshv")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0273285, 1.56664, -0.860627)
collision_layer = 512
collision_mask = 512
script = ExtResource("24_s8wpb")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0507317, -3.54459, 0.878017) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0780602, -2.0394, 0.01739)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_qpvag") mesh = SubResource("PlaneMesh_qpvag")
skeleton = NodePath("../../../Model/Antechamber B") skeleton = NodePath("../../Model/Antechamber B")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0507317, -3.54078, 0.878017)
layers = 4
mesh = SubResource("PlaneMesh_qpvag")
skeleton = NodePath("../../../Model/Antechamber B")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.187622, 1.94617, 0.0406494)
shape = SubResource("BoxShape3D_5sviy")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=88 format=4 uid="uid://cam640h4euewx"] [gd_scene load_steps=87 format=4 uid="uid://cam640h4euewx"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_hww7y"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_hww7y"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_et5yn"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_et5yn"]
@@ -20,7 +20,6 @@
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="17_4r724"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="17_4r724"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="19_yh0qc"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="19_yh0qc"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="21_5mo1p"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="21_5mo1p"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="22_h4dhe"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="23_2yaqs"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="23_2yaqs"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mbeyw"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mbeyw"]
@@ -1414,21 +1413,10 @@ shape = SubResource("BoxShape3D_c4wqw")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.764877, -0.480896, -0.482112)
collision_layer = 512
collision_mask = 512
script = ExtResource("22_h4dhe")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.60688, -2.08931, 0.47202) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.157997, -2.16733, -0.010092)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_i3uar") mesh = SubResource("PlaneMesh_i3uar")
skeleton = NodePath("")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.51272, 0)
layers = 4
mesh = SubResource("PlaneMesh_i3uar")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=85 format=4 uid="uid://b7111krf365x0"] [gd_scene load_steps=83 format=4 uid="uid://b7111krf365x0"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_jccmw"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_jccmw"]
[ext_resource type="Texture2D" uid="uid://bb7y5jjl32b11" path="res://src/map/dungeon/models/Set A/06. Balcony Room A/INNER_BALCONY_ROOM_VER2_STONE_PANEL_2png.png" id="2_40w7a"] [ext_resource type="Texture2D" uid="uid://bb7y5jjl32b11" path="res://src/map/dungeon/models/Set A/06. Balcony Room A/INNER_BALCONY_ROOM_VER2_STONE_PANEL_2png.png" id="2_40w7a"]
@@ -18,7 +18,6 @@
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="15_n8s21"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="15_n8s21"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="17_atu1n"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="17_atu1n"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="19_dmkqn"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="19_dmkqn"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="19_gi8bh"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ta5ix"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ta5ix"]
resource_name = "Material.003" resource_name = "Material.003"
@@ -886,9 +885,6 @@ albedo_texture = ExtResource("14_vh3wx")
[sub_resource type="BoxShape3D" id="BoxShape3D_1up8d"] [sub_resource type="BoxShape3D" id="BoxShape3D_1up8d"]
size = Vector3(36, 8, 32) size = Vector3(36, 8, 32)
[sub_resource type="BoxShape3D" id="BoxShape3D_suh2k"]
size = Vector3(36, 8, 36)
[sub_resource type="PlaneMesh" id="PlaneMesh_fhks4"] [sub_resource type="PlaneMesh" id="PlaneMesh_fhks4"]
material = ExtResource("19_dmkqn") material = ExtResource("19_dmkqn")
size = Vector2(36, 32) size = Vector2(36, 32)
@@ -1282,26 +1278,10 @@ shape = SubResource("BoxShape3D_1up8d")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.516256, -0.306861, -0.323822)
collision_layer = 512
collision_mask = 512
script = ExtResource("19_gi8bh")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
shape = SubResource("BoxShape3D_suh2k")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503605, -2.25834, 0.293772) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.012651, -2.5652, -0.03005)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_fhks4") mesh = SubResource("PlaneMesh_fhks4")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.545578, -1.75954, 0.251803)
layers = 4
mesh = SubResource("PlaneMesh_fhks4")
skeleton = NodePath("../../..")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=89 format=4 uid="uid://vdhl32je6hq2"] [gd_scene load_steps=87 format=4 uid="uid://vdhl32je6hq2"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_j1kxr"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_j1kxr"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_6xco5"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_6xco5"]
@@ -24,7 +24,6 @@
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_3r6v3"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_3r6v3"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="23_rhlsp"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="23_rhlsp"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="25_8521a"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="25_8521a"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="26_tvm82"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="27_mgor6"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="27_mgor6"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3iqv8"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3iqv8"]
@@ -1688,9 +1687,6 @@ size = Vector3(16, 8, 16)
material = ExtResource("27_mgor6") material = ExtResource("27_mgor6")
size = Vector2(16, 16) size = Vector2(16, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_grw58"]
size = Vector3(16.0326, 8.01392, 2007.07)
[node name="Statue Room" type="Node3D"] [node name="Statue Room" type="Node3D"]
script = ExtResource("1_j1kxr") script = ExtResource("1_j1kxr")
size_in_voxels = Vector3i(4, 1, 4) size_in_voxels = Vector3i(4, 1, 4)
@@ -1861,26 +1857,10 @@ shape = SubResource("BoxShape3D_jruxb")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.524475, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("26_tvm82")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.07721, -1.68247, 0.149613) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0264068, -2.00413, -0.00689709)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_qxc34") mesh = SubResource("PlaneMesh_qxc34")
skeleton = NodePath("../../../Model/Statue Room") skeleton = NodePath("../../Model/Statue Room")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.07721, -1.4635, 0.149613)
layers = 4
mesh = SubResource("PlaneMesh_qxc34")
skeleton = NodePath("../../../Model/Statue Room")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.03888, 0.0590906, 995.718)
shape = SubResource("BoxShape3D_grw58")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=67 format=4 uid="uid://b82dx66mgs2d7"] [gd_scene load_steps=65 format=4 uid="uid://b82dx66mgs2d7"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_0qew1"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_0qew1"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_pu81k"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_pu81k"]
@@ -18,7 +18,6 @@
[ext_resource type="Texture2D" uid="uid://chn58u65p126k" path="res://src/map/dungeon/models/Set A/08. Basin Room/BASIN_ROOM_VER2_TILE4.png" id="13_oh2ks"] [ext_resource type="Texture2D" uid="uid://chn58u65p126k" path="res://src/map/dungeon/models/Set A/08. Basin Room/BASIN_ROOM_VER2_TILE4.png" id="13_oh2ks"]
[ext_resource type="Texture2D" uid="uid://bb5c4q66smcc7" path="res://src/map/dungeon/models/Set A/08. Basin Room/BASIN_ROOM_VER2_TILE5.png" id="14_x3qy3"] [ext_resource type="Texture2D" uid="uid://bb5c4q66smcc7" path="res://src/map/dungeon/models/Set A/08. Basin Room/BASIN_ROOM_VER2_TILE5.png" id="14_x3qy3"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="18_bwap2"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="18_bwap2"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="20_q54wm"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="20_yhlud"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="20_yhlud"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6oscl"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6oscl"]
@@ -721,9 +720,6 @@ size = Vector3(20, 8, 16)
material = ExtResource("20_yhlud") material = ExtResource("20_yhlud")
size = Vector2(20, 16) size = Vector2(20, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_xepai"]
size = Vector3(19.9796, 8, 16)
[node name="BasinRoom" type="Node3D"] [node name="BasinRoom" type="Node3D"]
script = ExtResource("1_0qew1") script = ExtResource("1_0qew1")
size_in_voxels = Vector3i(5, 1, 4) size_in_voxels = Vector3i(5, 1, 4)
@@ -893,26 +889,10 @@ shape = SubResource("BoxShape3D_txn5d")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.170427, 1.69136, -0.0999355)
collision_layer = 512
collision_mask = 512
script = ExtResource("20_q54wm")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.222501, -2.94669, 0.206517) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.052074, -1.25533, 0.106581)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_g88f5") mesh = SubResource("PlaneMesh_g88f5")
skeleton = NodePath("../../../Model/BasinRoom") skeleton = NodePath("../../Model/BasinRoom")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.222501, -3.73303, 0.206517)
layers = 4
mesh = SubResource("PlaneMesh_g88f5")
skeleton = NodePath("../../../Model/BasinRoom")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 0.999142, 0.0414048, 0, -0.0414048, 0.999142, -0.143891, 1.9078, 0.474629)
shape = SubResource("BoxShape3D_xepai")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=107 format=4 uid="uid://c1qicmrcg6q6x"] [gd_scene load_steps=105 format=4 uid="uid://c1qicmrcg6q6x"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_x1cte"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_x1cte"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_lij04"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_lij04"]
@@ -26,7 +26,6 @@
[ext_resource type="Texture2D" uid="uid://jrsx4xa5qm15" path="res://src/map/dungeon/models/Set A/09. Column Room/COLUMN_ROOM_VER3_mother.png" id="24_wcs73"] [ext_resource type="Texture2D" uid="uid://jrsx4xa5qm15" path="res://src/map/dungeon/models/Set A/09. Column Room/COLUMN_ROOM_VER3_mother.png" id="24_wcs73"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_3jgi2"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_3jgi2"]
[ext_resource type="Texture2D" uid="uid://ca36l3t6htau7" path="res://src/map/dungeon/models/Set A/09. Column Room/COLUMN_ROOM_VER3_brick3.png" id="25_hncep"] [ext_resource type="Texture2D" uid="uid://ca36l3t6htau7" path="res://src/map/dungeon/models/Set A/09. Column Room/COLUMN_ROOM_VER3_brick3.png" id="25_hncep"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="26_l3250"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="26_uyqow"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="26_uyqow"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rone1"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rone1"]
@@ -1526,9 +1525,6 @@ albedo_texture = ExtResource("23_feo0n")
[sub_resource type="BoxShape3D" id="BoxShape3D_07e0r"] [sub_resource type="BoxShape3D" id="BoxShape3D_07e0r"]
size = Vector3(48, 8, 28) size = Vector3(48, 8, 28)
[sub_resource type="BoxShape3D" id="BoxShape3D_ydxks"]
size = Vector3(48, 8, 28)
[sub_resource type="PlaneMesh" id="PlaneMesh_bg2qr"] [sub_resource type="PlaneMesh" id="PlaneMesh_bg2qr"]
material = ExtResource("25_3jgi2") material = ExtResource("25_3jgi2")
size = Vector2(48, 28) size = Vector2(48, 28)
@@ -1738,26 +1734,10 @@ shape = SubResource("BoxShape3D_07e0r")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.992747, 1.21352, 0.739091)
collision_layer = 512
collision_mask = 512
script = ExtResource("26_l3250")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.919111, 0)
shape = SubResource("BoxShape3D_ydxks")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.02721, -3.09782, -0.756889) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.034463, -1.8843, -0.017798)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_bg2qr") mesh = SubResource("PlaneMesh_bg2qr")
skeleton = NodePath("../../../Model/ColumnRoom") skeleton = NodePath("../../Model/ColumnRoom")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.961017, -3.60823, -0.756889)
layers = 4
mesh = SubResource("PlaneMesh_bg2qr")
skeleton = NodePath("../../../Model/ColumnRoom")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=160 format=4 uid="uid://dn5546yqyntfr"] [gd_scene load_steps=158 format=4 uid="uid://dn5546yqyntfr"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_7tf58"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_7tf58"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_xx257"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_xx257"]
@@ -23,7 +23,6 @@
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="18_suaky"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="18_suaky"]
[ext_resource type="Texture2D" uid="uid://ba3ecx1vqqjid" path="res://src/map/dungeon/models/Set A/10. Item Transfer Room/10_A1_ITEM_TRANSFER_ROOM_A_starsigns.png" id="19_ahdj5"] [ext_resource type="Texture2D" uid="uid://ba3ecx1vqqjid" path="res://src/map/dungeon/models/Set A/10. Item Transfer Room/10_A1_ITEM_TRANSFER_ROOM_A_starsigns.png" id="19_ahdj5"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_l8s5t"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_l8s5t"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="20_f8yxq"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_ahdj5"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_ahdj5"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tlbfk"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tlbfk"]
@@ -2237,10 +2236,7 @@ size = Vector3(12, 8, 16)
[sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"] [sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"]
material = ExtResource("21_ahdj5") material = ExtResource("21_ahdj5")
size = Vector2(20, 16) size = Vector2(12, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_24rcp"]
size = Vector3(20, 8, 16)
[node name="Item Transfer Room" type="Node3D"] [node name="Item Transfer Room" type="Node3D"]
script = ExtResource("1_7tf58") script = ExtResource("1_7tf58")
@@ -2589,26 +2585,10 @@ shape = SubResource("BoxShape3D_x7lek")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("20_f8yxq")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.98417, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
shape = SubResource("BoxShape3D_24rcp")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=59 format=4 uid="uid://dhm2lyfkrjugf"] [gd_scene load_steps=57 format=4 uid="uid://dhm2lyfkrjugf"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_lh7xt"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_lh7xt"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_lh7xt"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_lh7xt"]
@@ -16,7 +16,6 @@
[ext_resource type="Texture2D" uid="uid://b8ptpxrur7t6s" path="res://src/map/dungeon/models/Set A/11. Long Room/11_A1_LONG_ROOM_TILE4.png" id="14_u45k1"] [ext_resource type="Texture2D" uid="uid://b8ptpxrur7t6s" path="res://src/map/dungeon/models/Set A/11. Long Room/11_A1_LONG_ROOM_TILE4.png" id="14_u45k1"]
[ext_resource type="Texture2D" uid="uid://cwb0ty7r3ea7v" path="res://src/map/dungeon/models/Set A/11. Long Room/11_A1_LONG_ROOM_COLUMN-DARKER.png" id="15_5vjoh"] [ext_resource type="Texture2D" uid="uid://cwb0ty7r3ea7v" path="res://src/map/dungeon/models/Set A/11. Long Room/11_A1_LONG_ROOM_COLUMN-DARKER.png" id="15_5vjoh"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="16_5u3o4"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="16_5u3o4"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="17_71ara"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="18_tix7m"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="18_tix7m"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_gelds"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_gelds"]
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="20_60mlu"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="20_60mlu"]
@@ -641,9 +640,6 @@ albedo_texture = ExtResource("21_j6xkj")
[sub_resource type="BoxShape3D" id="BoxShape3D_7sgjq"] [sub_resource type="BoxShape3D" id="BoxShape3D_7sgjq"]
size = Vector3(48, 12, 28) size = Vector3(48, 12, 28)
[sub_resource type="BoxShape3D" id="BoxShape3D_ydxks"]
size = Vector3(48, 8, 28)
[sub_resource type="PlaneMesh" id="PlaneMesh_bg2qr"] [sub_resource type="PlaneMesh" id="PlaneMesh_bg2qr"]
material = ExtResource("18_tix7m") material = ExtResource("18_tix7m")
size = Vector2(48, 28) size = Vector2(48, 28)
@@ -976,26 +972,10 @@ shape = SubResource("BoxShape3D_7sgjq")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.992747, 1.21352, 0.739091)
collision_layer = 512
collision_mask = 512
script = ExtResource("17_71ara")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.919111, 0)
shape = SubResource("BoxShape3D_ydxks")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.02721, -3.09782, -0.756889) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.034463, -1.8843, -0.017798)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_bg2qr") mesh = SubResource("PlaneMesh_bg2qr")
skeleton = NodePath("../../../Model/Long Room") skeleton = NodePath("../../Model/Long Room")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.961017, -3.60823, -0.756889)
layers = 4
mesh = SubResource("PlaneMesh_bg2qr")
skeleton = NodePath("../../../Model/Long Room")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=85 format=4 uid="uid://dhkbvos11tkdw"] [gd_scene load_steps=83 format=4 uid="uid://dhkbvos11tkdw"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_5ijis"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_5ijis"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_ya417"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_ya417"]
@@ -23,7 +23,6 @@
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="21_vlg2t"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="21_vlg2t"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_drvrr"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_drvrr"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_6yvdc"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_6yvdc"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="24_ngjwm"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_j2tdk"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_j2tdk"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bayb2"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bayb2"]
@@ -974,9 +973,6 @@ size = Vector3(20, 8, 16)
material = ExtResource("25_j2tdk") material = ExtResource("25_j2tdk")
size = Vector2(20, 16) size = Vector2(20, 16)
[sub_resource type="BoxShape3D" id="BoxShape3D_24rcp"]
size = Vector3(20, 8, 16)
[node name="JumpScareRoom" type="Node3D"] [node name="JumpScareRoom" type="Node3D"]
script = ExtResource("1_5ijis") script = ExtResource("1_5ijis")
size_in_voxels = Vector3i(5, 1, 4) size_in_voxels = Vector3i(5, 1, 4)
@@ -1186,26 +1182,10 @@ shape = SubResource("BoxShape3D_3jg1k")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("24_ngjwm")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.98417, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.94617, 0)
shape = SubResource("BoxShape3D_24rcp")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=89 format=4 uid="uid://dfpyfpnya0f4u"] [gd_scene load_steps=87 format=4 uid="uid://dfpyfpnya0f4u"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_ulct7"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_ulct7"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_hbsbj"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_hbsbj"]
@@ -27,7 +27,6 @@
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="24_7qo1y"] [ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="24_7qo1y"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="24_w0ing"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="24_w0ing"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="26_c86xl"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="26_c86xl"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="28_txiha"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mt2fa"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mt2fa"]
resource_name = "Material.010" resource_name = "Material.010"
@@ -1048,9 +1047,6 @@ size = Vector3(28, 8, 48)
material = ExtResource("24_w0ing") material = ExtResource("24_w0ing")
size = Vector2(28, 48) size = Vector2(28, 48)
[sub_resource type="BoxShape3D" id="BoxShape3D_t77b8"]
size = Vector3(28, 8, 48)
[node name="Water Room" type="Node3D"] [node name="Water Room" type="Node3D"]
script = ExtResource("1_ulct7") script = ExtResource("1_ulct7")
size_in_voxels = Vector3i(7, 1, 12) size_in_voxels = Vector3i(7, 1, 12)
@@ -1315,25 +1311,10 @@ shape = SubResource("BoxShape3D_2nfuf")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
collision_layer = 512
collision_mask = 512
script = ExtResource("28_txiha")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.9475, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.9475, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_7cap0") mesh = SubResource("PlaneMesh_7cap0")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.9475, 0)
layers = 4
mesh = SubResource("PlaneMesh_7cap0")
skeleton = NodePath("../../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.112244, 1.94617, 0.398682)
shape = SubResource("BoxShape3D_t77b8")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=102 format=4 uid="uid://c5eon2dk4ojua"] [gd_scene load_steps=101 format=4 uid="uid://c5eon2dk4ojua"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_bgwrn"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_bgwrn"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_bgwrn"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_bgwrn"]
@@ -23,7 +23,6 @@
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="21_hshrs"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="21_hshrs"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_gbtai"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_gbtai"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_atefy"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_atefy"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="24_6plsc"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_082m7"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_082m7"]
[ext_resource type="PackedScene" uid="uid://jds3hr41coal" path="res://src/npc/Ran/Ran.tscn" id="26_8yn83"] [ext_resource type="PackedScene" uid="uid://jds3hr41coal" path="res://src/npc/Ran/Ran.tscn" id="26_8yn83"]
@@ -1915,25 +1914,13 @@ shape = SubResource("BoxShape3D_81jou")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("24_6plsc")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.92677, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="NPC" type="Node3D" parent="."] [node name="NPC" type="Node3D" parent="."]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=100 format=4 uid="uid://crf30tibwsnri"] [gd_scene load_steps=99 format=4 uid="uid://crf30tibwsnri"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_bglxp"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_bglxp"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_5aadh"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_5aadh"]
@@ -27,7 +27,6 @@
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_oehi4"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="22_oehi4"]
[ext_resource type="Texture2D" uid="uid://ce8snm6l6hu1x" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_KNOWLEDGEPAPER_1.png" id="23_3s5fx"] [ext_resource type="Texture2D" uid="uid://ce8snm6l6hu1x" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_KNOWLEDGEPAPER_1.png" id="23_3s5fx"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_frwwy"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="23_frwwy"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="24_04lke"]
[ext_resource type="Texture2D" uid="uid://da42up4mv46kj" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_claude-monet.jpg" id="24_t8nkf"] [ext_resource type="Texture2D" uid="uid://da42up4mv46kj" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_claude-monet.jpg" id="24_t8nkf"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_25af7"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="25_25af7"]
[ext_resource type="Texture2D" uid="uid://b5hbvxvxl8gn6" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_Single-Peacock-Feather-Transparent-Free-PNG.png" id="25_77sl0"] [ext_resource type="Texture2D" uid="uid://b5hbvxvxl8gn6" path="res://src/map/dungeon/models/Set A/16. Seshat's Room/16_A1_SESHATS_ROOM_Single-Peacock-Feather-Transparent-Free-PNG.png" id="25_77sl0"]
@@ -1043,7 +1042,7 @@ size = Vector3(36, 8, 28)
[sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"] [sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"]
material = ExtResource("25_25af7") material = ExtResource("25_25af7")
size = Vector2(32, 36) size = Vector2(36, 28)
[node name="Seshat\'s Room" type="Node3D"] [node name="Seshat\'s Room" type="Node3D"]
script = ExtResource("1_bglxp") script = ExtResource("1_bglxp")
@@ -1272,24 +1271,12 @@ shape = SubResource("BoxShape3D_1cfoy")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("24_04lke")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.04173, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.92677, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")
[node name="NPC" type="Node3D" parent="."] [node name="NPC" type="Node3D" parent="."]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=79 format=4 uid="uid://cw33vpar237pm"] [gd_scene load_steps=78 format=4 uid="uid://cw33vpar237pm"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_m4la0"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_m4la0"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_56tk6"] [ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_56tk6"]
@@ -24,7 +24,6 @@
[ext_resource type="Texture2D" uid="uid://cccrvkg56wq8m" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_inner_rock2.png" id="19_0tyau"] [ext_resource type="Texture2D" uid="uid://cccrvkg56wq8m" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_inner_rock2.png" id="19_0tyau"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_5kpbt"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_5kpbt"]
[ext_resource type="Texture2D" uid="uid://d211n4wspwipo" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM__rusty-iron-plate-with-rivets_15444695_detail.png" id="20_f3hyb"] [ext_resource type="Texture2D" uid="uid://d211n4wspwipo" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM__rusty-iron-plate-with-rivets_15444695_detail.png" id="20_f3hyb"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="20_sx07l"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_0yv2j"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_0yv2j"]
[ext_resource type="Texture2D" uid="uid://dgmxl2uu287k4" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_outside_desert.png" id="21_6gfr6"] [ext_resource type="Texture2D" uid="uid://dgmxl2uu287k4" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_outside_desert.png" id="21_6gfr6"]
[ext_resource type="Texture2D" uid="uid://d0q55hxiafsye" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_RUG_GETHSTEMI.png" id="22_uayj1"] [ext_resource type="Texture2D" uid="uid://d0q55hxiafsye" path="res://src/map/dungeon/models/Set A/17. Gesthemii's Room/17_A1_GESTHEMIIS_ROOM_RUG_GETHSTEMI.png" id="22_uayj1"]
@@ -876,7 +875,7 @@ size = Vector3(36, 6, 20)
[sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"] [sub_resource type="PlaneMesh" id="PlaneMesh_s0txx"]
material = ExtResource("21_0yv2j") material = ExtResource("21_0yv2j")
size = Vector2(20, 16) size = Vector2(36, 20)
[node name="GesthemiisRoom" type="Node3D"] [node name="GesthemiisRoom" type="Node3D"]
script = ExtResource("1_m4la0") script = ExtResource("1_m4la0")
@@ -1030,22 +1029,10 @@ shape = SubResource("BoxShape3D_43nhx")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("20_sx07l")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.00422, 0)
visible = false visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.98417, 0)
layers = 4
mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..")

View File

@@ -1,13 +1,13 @@
[gd_scene load_steps=41 format=4 uid="uid://bn4gslp2gk8ds"] [gd_scene load_steps=42 format=4 uid="uid://bn4gslp2gk8ds"]
[ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="1_lepkf"] [ext_resource type="Script" uid="uid://fk3jis6rsipv" path="res://src/map/dungeon/code/corridor.gd" id="1_lepkf"]
[ext_resource type="Texture2D" uid="uid://crsw35eypj6ry" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_WALL TILE 1.jpg" id="2_jmyyj"] [ext_resource type="Texture2D" uid="uid://crsw35eypj6ry" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_WALL TILE 1.jpg" id="2_jmyyj"]
[ext_resource type="Script" uid="uid://csxfet8l04swm" path="res://src/map/dungeon/code/CorridorRoom.cs" id="2_xywry"]
[ext_resource type="Texture2D" uid="uid://dpv6gobmdhgq5" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_TILE4.png" id="3_d7rg7"] [ext_resource type="Texture2D" uid="uid://dpv6gobmdhgq5" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_TILE4.png" id="3_d7rg7"]
[ext_resource type="Texture2D" uid="uid://ldk1iveo0da5" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_brick_corridor_corrected.png" id="4_7fcpj"] [ext_resource type="Texture2D" uid="uid://ldk1iveo0da5" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_brick_corridor_corrected.png" id="4_7fcpj"]
[ext_resource type="Texture2D" uid="uid://bb4i5iu6c0jrt" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_lower_corridor_lower.png" id="5_qnt5r"] [ext_resource type="Texture2D" uid="uid://bb4i5iu6c0jrt" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_lower_corridor_lower.png" id="5_qnt5r"]
[ext_resource type="Texture2D" uid="uid://db1toc6kj5uq8" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_darkbrick.png" id="6_liffc"] [ext_resource type="Texture2D" uid="uid://db1toc6kj5uq8" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_darkbrick.png" id="6_liffc"]
[ext_resource type="Texture2D" uid="uid://3f43egfmyocx" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_concrete_0003_color_1k.png" id="7_3kayh"] [ext_resource type="Texture2D" uid="uid://3f43egfmyocx" path="res://src/map/dungeon/models/Set A/18. Corridor A/18_A1_CORRIDOR_A_concrete_0003_color_1k.png" id="7_3kayh"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="8_xywry"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="9_7a87o"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="9_7a87o"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jhg27"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jhg27"]
@@ -676,6 +676,9 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ood8f") shadow_mesh = SubResource("ArrayMesh_ood8f")
[sub_resource type="BoxShape3D" id="BoxShape3D_7uihh"]
size = Vector3(4, 4, 4)
[sub_resource type="PlaneMesh" id="PlaneMesh_adgr5"] [sub_resource type="PlaneMesh" id="PlaneMesh_adgr5"]
material = ExtResource("9_7a87o") material = ExtResource("9_7a87o")
size = Vector2(4, 4) size = Vector2(4, 4)
@@ -685,6 +688,7 @@ script = ExtResource("1_lepkf")
voxel_scale = Vector3(4, 4, 4) voxel_scale = Vector3(4, 4, 4)
[node name="Model" type="Node3D" parent="."] [node name="Model" type="Node3D" parent="."]
script = ExtResource("2_xywry")
[node name="18_A1_CORRIDOR_A" type="Node3D" parent="Model"] [node name="18_A1_CORRIDOR_A" type="Node3D" parent="Model"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.88616, -2.025, -0.989241) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.88616, -2.025, -0.989241)
@@ -816,24 +820,23 @@ shape = SubResource("BoxShape3D_gbjb2")
[node name="Room" type="Node3D" parent="."] [node name="Room" type="Node3D" parent="."]
[node name="Minimap" type="Node3D" parent="."] [node name="Room" type="Area3D" parent="Room"]
[node name="Minimap Manager" type="Area3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("8_xywry")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) 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_7uihh")
[node name="Minimap" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0586098, 0)
[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 visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_adgr5") mesh = SubResource("PlaneMesh_adgr5")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="Minimap2" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.98417, 0)
layers = 4
mesh = SubResource("PlaneMesh_adgr5")
skeleton = NodePath("../../..")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=51 format=4 uid="uid://cihbmyo0ltq4m"] [gd_scene load_steps=49 format=4 uid="uid://cihbmyo0ltq4m"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_3m472"] [ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_3m472"]
[ext_resource type="Script" uid="uid://bd824eigybu51" path="res://src/map/dungeon/code/ExitRoom.cs" id="2_umdkt"] [ext_resource type="Script" uid="uid://bd824eigybu51" path="res://src/map/dungeon/code/ExitRoom.cs" id="2_umdkt"]
@@ -20,7 +20,6 @@
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="17_c2x10"] [ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="17_c2x10"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="18_r3pjb"] [ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="18_r3pjb"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_3q8wp"] [ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="19_3q8wp"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="20_cs7my"]
[ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_am10m"] [ext_resource type="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="21_am10m"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ea82x"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ea82x"]
@@ -482,9 +481,6 @@ size = Vector3(20, 20, 36)
material = ExtResource("21_am10m") material = ExtResource("21_am10m")
size = Vector2(20, 36) size = Vector2(20, 36)
[sub_resource type="BoxShape3D" id="BoxShape3D_24rcp"]
size = Vector3(20.9775, 8, 34.2681)
[node name="Floor Exit A" type="Node3D"] [node name="Floor Exit A" type="Node3D"]
script = ExtResource("1_3m472") script = ExtResource("1_3m472")
size_in_voxels = Vector3i(5, 1, 9) size_in_voxels = Vector3i(5, 1, 9)
@@ -612,19 +608,10 @@ shape = SubResource("BoxShape3D_tgauh")
[node name="Minimap" type="Node3D" parent="."] [node name="Minimap" type="Node3D" parent="."]
[node name="Minimap Manager" type="Area3D" parent="Minimap"] [node name="Minimap" type="MeshInstance3D" parent="Minimap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.00123, 0)
collision_layer = 512
collision_mask = 512
script = ExtResource("20_cs7my")
[node name="Minimap" type="MeshInstance3D" parent="Minimap/Minimap Manager"]
unique_name_in_owner = true unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.03725, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.03602, 0)
visible = false
layers = 2 layers = 2
mesh = SubResource("PlaneMesh_s0txx") mesh = SubResource("PlaneMesh_s0txx")
skeleton = NodePath("../../..") skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Minimap/Minimap Manager"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.168457, 1.94617, -0.287262)
shape = SubResource("BoxShape3D_24rcp")

View File

@@ -5,4 +5,4 @@ transparency = 1
depth_draw_mode = 1 depth_draw_mode = 1
shading_mode = 0 shading_mode = 0
vertex_color_use_as_albedo = true vertex_color_use_as_albedo = true
albedo_color = Color(0.20871, 0.20871, 0.20871, 0.482353) albedo_color = Color(1, 1, 1, 0.482353)

View File

@@ -551,6 +551,7 @@ flip_v = true
[node name="Sprite3D" type="Sprite3D" parent="."] [node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.265086, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.265086, 0)
layers = 2 layers = 2
sorting_offset = -100.0
pixel_size = 0.025 pixel_size = 0.025
axis = 1 axis = 1
texture = ExtResource("7_8hi2n") texture = ExtResource("7_8hi2n")