Fix all doors
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=83 format=4 uid="uid://b7111krf365x0"]
|
||||
[gd_scene load_steps=81 format=4 uid="uid://b7111krf365x0"]
|
||||
|
||||
[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"]
|
||||
@@ -14,7 +14,6 @@
|
||||
[ext_resource type="Texture2D" uid="uid://cu6gxsk51w5t8" path="res://src/map/dungeon/models/Set A/06. Balcony Room A/INNER_BALCONY_ROOM_VER2_brick3.png" id="11_layqk"]
|
||||
[ext_resource type="Texture2D" uid="uid://cl6gq1xxh7a1p" path="res://src/map/dungeon/models/Set A/06. Balcony Room A/INNER_BALCONY_ROOM_VER2_STONE_PANEL_1png.png" id="12_7tgyc"]
|
||||
[ext_resource type="Texture2D" uid="uid://del2dfj3etokd" path="res://src/map/dungeon/textures/BLOCKED-DOOR_REGULAR.png" id="13_66rjw"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="14_vh3wx"]
|
||||
[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="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="19_dmkqn"]
|
||||
@@ -853,14 +852,10 @@ data = PackedVector3Array(1.20722, -1, 0, 0.853632, -1, 0.853632, 0.853632, 1, 0
|
||||
data = PackedVector3Array(0.983567, -1, 0, 0.695487, -1, 0.695487, 0.695487, 1, 0.695487, 0.695487, 1, 0.695487, 0.983567, 1, 0, 0.983567, -1, 0, 0.695487, -1, 0.695487, 0.983567, -1, 0, 0, -1, 0, 0.983567, 1, 0, 0.695487, 1, 0.695487, 0, 1, 0, 0.695487, -1, 0.695487, -4.29931e-08, -1, 0.983567, -4.29931e-08, 1, 0.983567, -4.29931e-08, 1, 0.983567, 0.695487, 1, 0.695487, 0.695487, -1, 0.695487, -4.29931e-08, -1, 0.983567, 0.695487, -1, 0.695487, 0, -1, 0, 0.695487, 1, 0.695487, -4.29931e-08, 1, 0.983567, 0, 1, 0, -4.29931e-08, -1, 0.983567, -0.695487, -1, 0.695487, -0.695487, 1, 0.695487, -0.695487, 1, 0.695487, -4.29931e-08, 1, 0.983567, -4.29931e-08, -1, 0.983567, -0.695487, -1, 0.695487, -4.29931e-08, -1, 0.983567, 0, -1, 0, -4.29931e-08, 1, 0.983567, -0.695487, 1, 0.695487, 0, 1, 0, -0.695487, -1, 0.695487, -0.983567, -1, -8.59862e-08, -0.983567, 1, -8.59862e-08, -0.983567, 1, -8.59862e-08, -0.695487, 1, 0.695487, -0.695487, -1, 0.695487, -0.983567, -1, -8.59862e-08, -0.695487, -1, 0.695487, 0, -1, 0, -0.695487, 1, 0.695487, -0.983567, 1, -8.59862e-08, 0, 1, 0, -0.983567, -1, -8.59862e-08, -0.695487, -1, -0.695487, -0.695487, 1, -0.695487, -0.695487, 1, -0.695487, -0.983567, 1, -8.59862e-08, -0.983567, -1, -8.59862e-08, -0.695487, -1, -0.695487, -0.983567, -1, -8.59862e-08, 0, -1, 0, -0.983567, 1, -8.59862e-08, -0.695487, 1, -0.695487, 0, 1, 0, -0.695487, -1, -0.695487, 1.17289e-08, -1, -0.983567, 1.17289e-08, 1, -0.983567, 1.17289e-08, 1, -0.983567, -0.695487, 1, -0.695487, -0.695487, -1, -0.695487, 1.17289e-08, -1, -0.983567, -0.695487, -1, -0.695487, 0, -1, 0, -0.695487, 1, -0.695487, 1.17289e-08, 1, -0.983567, 0, 1, 0, 1.17289e-08, -1, -0.983567, 0.695487, -1, -0.695487, 0.695487, 1, -0.695487, 0.695487, 1, -0.695487, 1.17289e-08, 1, -0.983567, 1.17289e-08, -1, -0.983567, 0.695487, -1, -0.695487, 1.17289e-08, -1, -0.983567, 0, -1, 0, 1.17289e-08, 1, -0.983567, 0.695487, 1, -0.695487, 0, 1, 0, 0.695487, -1, -0.695487, 0.983567, -1, 0, 0.983567, 1, 0, 0.983567, 1, 0, 0.695487, 1, -0.695487, 0.695487, -1, -0.695487, 0.983567, -1, 0, 0.695487, -1, -0.695487, 0, -1, 0, 0.695487, 1, -0.695487, 0.983567, 1, 0, 0, 1, 0)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fgovc"]
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("13_66rjw")
|
||||
texture_filter = 0
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xw1ea"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
albedo_texture = ExtResource("14_vh3wx")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ce8rm"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1up8d"]
|
||||
@@ -1139,10 +1134,10 @@ use_collision = true
|
||||
size = Vector3(12.2137, 20, 1)
|
||||
|
||||
[node name="CSGBox3D2" type="CSGBox3D" parent="Collision"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 11.9644, -1.3749, -4.13978)
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, 11.6335, -1.3749, -4.13978)
|
||||
visible = false
|
||||
use_collision = true
|
||||
size = Vector3(12.2137, 20, 1)
|
||||
size = Vector3(12.5993, 20, 1)
|
||||
|
||||
[node name="CSGBox3D3" type="CSGBox3D" parent="Collision"]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.997884, 0.06502, 0, -0.06502, 0.997884, -10.7496, -1.3749, -4.13978)
|
||||
@@ -1184,41 +1179,38 @@ flip_faces = true
|
||||
size = Vector3(36, 20, 32)
|
||||
|
||||
[node name="CSGBox2" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -0.0786376, -0.0984231, -16.0709)
|
||||
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, -0.00840968, -0.0984231, -15.9479)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
size = Vector3(4, 4, 0.01)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[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.0686455)
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
|
||||
[node name="CSGBox3" 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, 18.1888, -0.0868863, -2.18982)
|
||||
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 17.9545, -0.0868863, -2.18982)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
size = Vector3(4, 4, 0.1)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[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.0686455)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0544863, -0.0126953, -0.161224)
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
size = Vector3(4.69824, 4.98047, 0.5)
|
||||
|
||||
[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, -18.2592, -0.0868863, -2.18982)
|
||||
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, -17.912, -0.0868863, -2.21708)
|
||||
use_collision = true
|
||||
size = Vector3(4, 4, 0.5)
|
||||
size = Vector3(4, 4.32678, 0.01)
|
||||
material = SubResource("StandardMaterial3D_fgovc")
|
||||
|
||||
[node name="DOOR?" type="CSGBox3D" parent="Doors/CSGBox4"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0686455)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0340147, -0.133423, 0.0686455)
|
||||
material_override = SubResource("StandardMaterial3D_ce8rm")
|
||||
operation = 2
|
||||
size = Vector3(4, 4, 2)
|
||||
material = SubResource("StandardMaterial3D_xw1ea")
|
||||
size = Vector3(4.45825, 5.09937, 2)
|
||||
|
||||
[node name="RemoveUnusedDoors" type="Node" parent="Doors"]
|
||||
script = ExtResource("17_atu1n")
|
||||
|
||||
Reference in New Issue
Block a user