Fix all doors

This commit is contained in:
2025-05-17 14:37:58 -07:00
parent 97c082f87a
commit 338e303fbb
35 changed files with 1166 additions and 794 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=63 format=4 uid="uid://cq82tqhlshn1k"]
[gd_scene load_steps=60 format=4 uid="uid://cq82tqhlshn1k"]
[ext_resource type="Script" uid="uid://ce73fuh74l81l" path="res://addons/SimpleDungeons/DungeonRoom3D.gd" id="1_mjoyd"]
[ext_resource type="Script" uid="uid://dhollu4j3pynq" path="res://src/map/dungeon/code/MonsterRoom.cs" id="2_7fo8x"]
@@ -15,8 +15,7 @@
[ext_resource type="Texture2D" uid="uid://cjs7emjppl2p6" path="res://src/map/dungeon/models/Set B/22. Pit Room B/22_A2_PIT_ROOM_B_inner_rock2.png" id="11_1pmjf"]
[ext_resource type="Texture2D" uid="uid://0h0nr4i38dw3" path="res://src/map/dungeon/models/Set B/22. Pit Room B/22_A2_PIT_ROOM_B_swirled_column _AREA222.png" id="12_iyi8f"]
[ext_resource type="Texture2D" uid="uid://utu8mv3mkxsw" path="res://src/map/dungeon/models/Set B/22. Pit Room B/22_A2_PIT_ROOM_B_lime_hand_relief.png" id="13_fu7kj"]
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="17_kcwp4"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="18_ngeo4"]
[ext_resource type="Texture2D" uid="uid://dvast710lxrmw" path="res://src/map/dungeon/door/A2_BLOCKED_DOOR.png" id="17_exoe5"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="19_y4v80"]
[ext_resource type="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="20_n10ny"]
[ext_resource type="Script" uid="uid://c6s8hvdj3u3aq" path="res://src/map/dungeon/code/MinimapManager.cs" id="21_ju35g"]
@@ -24,7 +23,6 @@
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tranh"]
resource_name = "Material.168"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("3_dlfy7")
texture_filter = 2
@@ -68,7 +66,6 @@ resource_name = "Material.008"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("4_8i6dt")
@@ -109,7 +106,6 @@ resource_name = "Material.014"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("5_4rhx7")
texture_filter = 2
@@ -181,7 +177,6 @@ shadow_mesh = SubResource("ArrayMesh_h8tn4")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_plft1"]
resource_name = "Material.006"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("6_7fo8x")
texture_filter = 2
@@ -301,7 +296,6 @@ shader_parameter/FoamGlowIntensity = 0.5
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ir8hn"]
resource_name = "Material.152"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("8_ipevu")
texture_filter = 2
@@ -309,21 +303,18 @@ texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_smvi5"]
resource_name = "Material.092"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("9_elumq")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mh1j1"]
resource_name = "Material.002"
transparency = 4
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("10_3e0i3")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lvnke"]
resource_name = "Material.010"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("11_1pmjf")
texture_filter = 2
@@ -470,14 +461,12 @@ shadow_mesh = SubResource("ArrayMesh_bl7k8")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1yo07"]
resource_name = "Material.173"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("12_iyi8f")
texture_filter = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rnp42"]
resource_name = "Material.174"
cull_mode = 0
shading_mode = 0
albedo_texture = ExtResource("13_fu7kj")
texture_filter = 2
@@ -577,15 +566,9 @@ height = 12.0
radius = 2.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2xv0l"]
albedo_texture = ExtResource("17_kcwp4")
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eem4o"]
albedo_texture = ExtResource("18_ngeo4")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dd0w8"]
shading_mode = 0
albedo_texture = ExtResource("18_ngeo4")
albedo_texture = ExtResource("17_exoe5")
texture_filter = 0
[sub_resource type="BoxShape3D" id="BoxShape3D_d346t"]
size = Vector3(36, 6, 36)
@@ -765,54 +748,46 @@ size = Vector3(36, 12, 35.4266)
[node name="CSGBox2" type="CSGBox3D" parent="Doors"]
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.0660033, 0.0621085, 17.8854)
use_collision = true
size = Vector3(4, 4, 0.29248)
size = Vector3(4.05, 4.05, 0.01)
material = SubResource("StandardMaterial3D_2xv0l")
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.612764)
material_override = SubResource("StandardMaterial3D_eem4o")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0249815, -0.0408936, 0.612764)
operation = 2
size = Vector3(4, 4, 2)
material = SubResource("StandardMaterial3D_dd0w8")
size = Vector3(4.19995, 4.33325, 2)
[node name="CSGBox3" type="CSGBox3D" parent="Doors"]
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.0660033, -0.0712214, -17.9937)
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.0660033, 0.0178824, -17.9531)
use_collision = true
size = Vector3(4, 4, 0.29248)
size = Vector3(4.05, 4.05, 0.01)
material = SubResource("StandardMaterial3D_2xv0l")
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, -0.291462)
material_override = SubResource("StandardMaterial3D_eem4o")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0208922, 0.0557782, -0.305267)
operation = 2
size = Vector3(4, 4, 1.27979)
material = SubResource("StandardMaterial3D_dd0w8")
size = Vector3(4.30115, 4.12695, 1.27979)
[node name="CSGBox4" type="CSGBox3D" parent="Doors"]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 17.9379, -0.0712214, 0.0194186)
use_collision = true
size = Vector3(4, 4, 0.29248)
size = Vector3(4.05, 4.05, 0.01)
material = SubResource("StandardMaterial3D_2xv0l")
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox4"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -1.67638e-08, 0.550755)
material_override = SubResource("StandardMaterial3D_eem4o")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0216799, -0.0299683, 0.550755)
operation = 2
size = Vector3(4, 4, 2)
material = SubResource("StandardMaterial3D_dd0w8")
size = Vector3(4.28522, 4.33264, 2)
[node name="CSGBox5" type="CSGBox3D" parent="Doors"]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -17.9413, -0.0712214, 0.0194186)
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -17.8995, 0.0140357, 0.0194186)
use_collision = true
size = Vector3(4, 4, 0.29248)
size = Vector3(4.05, 4.05, 0.01)
material = SubResource("StandardMaterial3D_2xv0l")
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox5"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -6.51926e-08, -0.573383)
material_override = SubResource("StandardMaterial3D_eem4o")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0323915, 0.0638427, 0.0474663)
operation = 2
size = Vector3(4, 4, 2)
material = SubResource("StandardMaterial3D_dd0w8")
size = Vector3(4.31909, 4.34351, 0.881348)
[node name="Spawn Points" type="Node3D" parent="."]