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

@@ -15,8 +15,8 @@
[ext_resource type="Texture2D" uid="uid://db27h0ufbt5co" path="res://src/map/dungeon/models/Set A/03. Antechamber A/ANTECHAMBER_TYPE1_VER2_hand-tiile.png" id="13_tv8gm"]
[ext_resource type="Texture2D" uid="uid://chq4yvuxw0err" path="res://src/map/dungeon/models/Set A/03. Antechamber A/ANTECHAMBER_TYPE1_VER2_mother.png" id="14_1wlp7"]
[ext_resource type="Texture2D" uid="uid://5cprc7yqq5xy" path="res://src/map/dungeon/models/Set A/03. Antechamber A/ANTECHAMBER_TYPE1_VER2_brick3.png" id="15_rowg2"]
[ext_resource type="Texture2D" uid="uid://d0mag58v6pv4" path="res://src/map/dungeon/door/A1_BLOCKED_DOOR.png" id="16_e81mq"]
[ext_resource type="PackedScene" uid="uid://twrj4wixcbu7" path="res://src/items/ItemDatabase.tscn" id="17_25wvm"]
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="17_jig7d"]
[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="Script" uid="uid://yl7wyeo5m725" path="res://src/map/dungeon/code/remove_unused_doors.gd" id="21_m6pqv"]
@@ -629,20 +629,18 @@ data = PackedVector3Array(34.7912, -0.0011, 13.9165, 34.7912, 13.9165, 27.833, 3
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_h52xe"]
data = PackedVector3Array(-1.0001, -1, 1, -1.0001, 1, -1, -1.0001, 1, 1, -1.0001, -1, 1, -1.0001, -1, -1, -1.0001, 1, -1, -1.0001, -1, -1, 1, 1, -1, -1.0001, 1, -1, -1.0001, -1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, 1, 1, -1, 1, -1.0001, 1, 1, 1, 1, 1, 1, -1, 1, -1.0001, -1, 1, -1.0001, 1, 1, -1.0001, -1, -1, 1, -1, 1, 1, -1, -1, -1.0001, -1, -1, -1.0001, -1, 1, 1, -1, 1, 1, 1, -1, -1.0001, 1, 1, -1.0001, 1, -1, 1, 1, -1, 1, 1, 1, -1.0001, 1, 1, -10.917, -1, 1, -10.917, 1, -1, -10.917, 1, 1, -10.917, -1, 1, -10.917, -1, -1, -10.917, 1, -1, -10.917, -1, -1, -8.9171, 1, -1, -10.917, 1, -1, -10.917, -1, -1, -8.9171, -1, -1, -8.9171, 1, -1, -8.9171, -1, -1, -8.9171, 1, 1, -8.9171, 1, -1, -8.9171, -1, -1, -8.9171, -1, 1, -8.9171, 1, 1, -8.9171, -1, 1, -10.917, 1, 1, -8.9171, 1, 1, -8.9171, -1, 1, -10.917, -1, 1, -10.917, 1, 1, -10.917, -1, -1, -8.9171, -1, 1, -8.9171, -1, -1, -10.917, -1, -1, -10.917, -1, 1, -8.9171, -1, 1, -8.9171, 1, -1, -10.917, 1, 1, -10.917, 1, -1, -8.9171, 1, -1, -8.9171, 1, 1, -10.917, 1, 1, -10.917, -1, 8.4565, -10.917, 1, 6.4564, -10.917, 1, 8.4565, -10.917, -1, 8.4565, -10.917, -1, 6.4564, -10.917, 1, 6.4564, -10.917, -1, 6.4564, -8.9171, 1, 6.4564, -10.917, 1, 6.4564, -10.917, -1, 6.4564, -8.9171, -1, 6.4564, -8.9171, 1, 6.4564, -8.9171, -1, 6.4564, -8.9171, 1, 8.4565, -8.9171, 1, 6.4564, -8.9171, -1, 6.4564, -8.9171, -1, 8.4565, -8.9171, 1, 8.4565, -8.9171, -1, 8.4565, -10.917, 1, 8.4565, -8.9171, 1, 8.4565, -8.9171, -1, 8.4565, -10.917, -1, 8.4565, -10.917, 1, 8.4565, -10.917, -1, 6.4564, -8.9171, -1, 8.4565, -8.9171, -1, 6.4564, -10.917, -1, 6.4564, -10.917, -1, 8.4565, -8.9171, -1, 8.4565, -8.9171, 1, 6.4564, -10.917, 1, 8.4565, -10.917, 1, 6.4564, -8.9171, 1, 6.4564, -8.9171, 1, 8.4565, -10.917, 1, 8.4565, -1.0001, -1, 8.4565, -1.0001, 1, 6.4564, -1.0001, 1, 8.4565, -1.0001, -1, 8.4565, -1.0001, -1, 6.4564, -1.0001, 1, 6.4564, -1.0001, -1, 6.4564, 1, 1, 6.4564, -1.0001, 1, 6.4564, -1.0001, -1, 6.4564, 1, -1, 6.4564, 1, 1, 6.4564, 1, -1, 6.4564, 1, 1, 8.4565, 1, 1, 6.4564, 1, -1, 6.4564, 1, -1, 8.4565, 1, 1, 8.4565, 1, -1, 8.4565, -1.0001, 1, 8.4565, 1, 1, 8.4565, 1, -1, 8.4565, -1.0001, -1, 8.4565, -1.0001, 1, 8.4565, -1.0001, -1, 6.4564, 1, -1, 8.4565, 1, -1, 6.4564, -1.0001, -1, 6.4564, -1.0001, -1, 8.4565, 1, -1, 8.4565, 1, 1, 6.4564, -1.0001, 1, 8.4565, -1.0001, 1, 6.4564, 1, 1, 6.4564, 1, 1, 8.4565, -1.0001, 1, 8.4565)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_b605t"]
shading_mode = 0
albedo_texture = ExtResource("16_e81mq")
[sub_resource type="QuadMesh" id="QuadMesh_cnaww"]
material = SubResource("StandardMaterial3D_b605t")
size = Vector2(4, 4)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_51rrf"]
transparency = 1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e81mq"]
shading_mode = 0
albedo_texture = ExtResource("20_le1vp")
texture_filter = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_b605t"]
albedo_texture = ExtResource("17_jig7d")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cnaww"]
shading_mode = 0
albedo_texture = ExtResource("17_jig7d")
[sub_resource type="BoxShape3D" id="BoxShape3D_e81mq"]
size = Vector3(20, 8, 16)
@@ -742,25 +740,31 @@ operation = 1
flip_faces = true
size = Vector3(20, 10, 16)
[node name="CSGBox3" type="CSGBox3D" parent="Doors"]
transform = Transform3D(-1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0, 0, 1, -3.93839, 0.00991234, 8.01472)
use_collision = true
size = Vector3(4, 4, 0.1)
material = SubResource("StandardMaterial3D_e81mq")
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -2.98023e-08, -0.290867)
material_override = SubResource("StandardMaterial3D_b605t")
operation = 2
size = Vector3(4, 4, 2)
material = SubResource("StandardMaterial3D_cnaww")
[node name="CSGBox2" type="CSGBox3D" parent="Doors"]
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -3.9518, 0.00102097, 7.98137)
transparency = 1.0
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 3.95582, 0.0120009, -7.80663)
use_collision = true
size = Vector3(4, 4, 0.001)
size = Vector3(4, 4, 0.1)
material = SubResource("StandardMaterial3D_e81mq")
[node name="DOOR?" type="MeshInstance3D" parent="Doors/CSGBox2"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.00618792, -0.0105445, 0)
mesh = SubResource("QuadMesh_cnaww")
[node name="CSGBox" type="CSGBox3D" parent="Doors"]
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 4, 0.0988947, -8)
use_collision = true
size = Vector3(4, 4, 0.5)
material = SubResource("StandardMaterial3D_51rrf")
[node name="DOOR?" type="MeshInstance3D" parent="Doors/CSGBox"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.00618792, -0.0105445, 0)
mesh = SubResource("QuadMesh_cnaww")
[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_b605t")
operation = 2
size = Vector3(4, 4, 2)
material = SubResource("StandardMaterial3D_cnaww")
[node name="RemoveUnusedDoors" type="Node" parent="Doors"]
script = ExtResource("21_m6pqv")