hnnngghh open door
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=46 format=4 uid="uid://bn4gslp2gk8ds"]
|
||||
[gd_scene load_steps=48 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="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"]
|
||||
@@ -9,6 +9,7 @@
|
||||
[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="Material" uid="uid://bsafm3t4drpl" path="res://src/map/dungeon/textures/MinimapTexture.tres" id="9_7a87o"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkvegamuqdsdd" path="res://src/map/dungeon/models/Set A/18. Corridor A/CORRIDOR test_FLOOR1.jpg" id="9_adgr5"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jhg27"]
|
||||
resource_name = "WALL.007"
|
||||
@@ -447,9 +448,8 @@ radius = 0.1
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_xywry"]
|
||||
size = Vector3(4, 0.557617, 4)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2qrwe"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3j8ld"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1huxf"]
|
||||
@@ -457,6 +457,71 @@ resource_name = "BOTTOM TRIM.007"
|
||||
shading_mode = 0
|
||||
albedo_texture = ExtResource("5_qnt5r")
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_ood8f"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.984553, -23.5008, -0.95724, 2.00022, 24.4466, 1e-05),
|
||||
"format": 34896613377,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"name": "WALL.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAAD/////AAAAAP//AAAAAAAAAAD//wAAAAA=")
|
||||
}, {
|
||||
"aabb": AABB(-0.984553, -36.1633, -0.95724, 2.00022, 12.6625, 1e-05),
|
||||
"format": 34896613377,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"name": "BOTTOM TRIM.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAAD/////AAAAAP//AAAAAAAAAAD//wAAAAA=")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_ue4n7"]
|
||||
resource_name = "18_A1_CORRIDOR_A_Cube_002"
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.984553, -23.5008, -0.95724, 2.00022, 24.4466, 1e-05),
|
||||
"attribute_data": PackedByteArray("AAAAAP////8AAP////8AAA=="),
|
||||
"format": 34896613399,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"material": SubResource("StandardMaterial3D_jhg27"),
|
||||
"name": "WALL.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAA/7//////AAD/v///AAAAAP+/AAD//wAA/7//////////////////////")
|
||||
}, {
|
||||
"aabb": AABB(-0.984553, -36.1633, -0.95724, 2.00022, 12.6625, 1e-05),
|
||||
"attribute_data": PackedByteArray("/3///////3///////3//fw=="),
|
||||
"format": 34896613399,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"material": SubResource("StandardMaterial3D_1huxf"),
|
||||
"name": "BOTTOM TRIM.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(2, 2, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAID/////AAAAgP//AAAAAACAAAD//wAAAID/f////3////9/////f///")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_ood8f")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0b3sx"]
|
||||
albedo_texture = ExtResource("9_adgr5")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7a87o"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_adgr5"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_p4f4g"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.984553, -23.5008, 1.0428, 2.00022, 24.4466, 1e-05),
|
||||
@@ -511,10 +576,7 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_p4f4g")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gbjb2"]
|
||||
size = Vector3(4.40063, 4, 0.195191)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lepkf"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4sxun"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
@@ -572,7 +634,7 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_te6g1")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0m8h3"]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hm6c0"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
@@ -630,65 +692,6 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_5chhi")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4xu2u"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_ood8f"]
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.984553, -23.5008, -0.95724, 2.00022, 24.4466, 1e-05),
|
||||
"format": 34896613377,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"name": "WALL.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAAD/////AAAAAP//AAAAAAAAAAD//wAAAAA=")
|
||||
}, {
|
||||
"aabb": AABB(-0.984553, -36.1633, -0.95724, 2.00022, 12.6625, 1e-05),
|
||||
"format": 34896613377,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"name": "BOTTOM TRIM.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAAD/////AAAAAP//AAAAAAAAAAD//wAAAAA=")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
|
||||
[sub_resource type="ArrayMesh" id="ArrayMesh_ue4n7"]
|
||||
resource_name = "18_A1_CORRIDOR_A_Cube_002"
|
||||
_surfaces = [{
|
||||
"aabb": AABB(-0.984553, -23.5008, -0.95724, 2.00022, 24.4466, 1e-05),
|
||||
"attribute_data": PackedByteArray("AAAAAP////8AAP////8AAA=="),
|
||||
"format": 34896613399,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"material": SubResource("StandardMaterial3D_jhg27"),
|
||||
"name": "WALL.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(0, 0, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAA/7//////AAD/v///AAAAAP+/AAD//wAA/7//////////////////////")
|
||||
}, {
|
||||
"aabb": AABB(-0.984553, -36.1633, -0.95724, 2.00022, 12.6625, 1e-05),
|
||||
"attribute_data": PackedByteArray("/3///////3///////3//fw=="),
|
||||
"format": 34896613399,
|
||||
"index_count": 6,
|
||||
"index_data": PackedByteArray("AAABAAIAAAADAAEA"),
|
||||
"material": SubResource("StandardMaterial3D_1huxf"),
|
||||
"name": "BOTTOM TRIM.007",
|
||||
"primitive": 3,
|
||||
"uv_scale": Vector4(2, 2, 0, 0),
|
||||
"vertex_count": 4,
|
||||
"vertex_data": PackedByteArray("AAAAAAAAAID/////AAAAgP//AAAAAACAAAD//wAAAID/f////3////9/////f///")
|
||||
}]
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_ood8f")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7uihh"]
|
||||
size = Vector3(4, 4, 4)
|
||||
|
||||
@@ -699,6 +702,11 @@ size = Vector2(4, 4)
|
||||
[node name="Corridor" type="Node3D"]
|
||||
script = ExtResource("1_lepkf")
|
||||
voxel_scale = Vector3(4, 4, 4)
|
||||
is_stair_room = null
|
||||
force_align_with_grid_button = null
|
||||
show_debug_in_editor = null
|
||||
show_debug_in_game = null
|
||||
show_grid_aabb_with_doors = null
|
||||
|
||||
[node name="Model" type="Node3D" parent="."]
|
||||
script = ExtResource("2_xywry")
|
||||
@@ -760,79 +768,73 @@ shape = SubResource("BoxShape3D_xywry")
|
||||
|
||||
[node name="Doors" type="Node3D" parent="."]
|
||||
|
||||
[node name="DOOR?_F_CUT" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.0339368, -0.095025, 1.87165)
|
||||
[node name="DOOR?" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.0498385, 0.0586318, -2.03732)
|
||||
use_collision = true
|
||||
size = Vector3(3.8, 3.8, 0.25)
|
||||
material = SubResource("StandardMaterial3D_2qrwe")
|
||||
size = Vector3(3.90674, 4, 0.1)
|
||||
material = SubResource("StandardMaterial3D_3j8ld")
|
||||
|
||||
[node name="CA_WALL_3" type="MeshInstance3D" parent="Doors/DOOR?_F_CUT"]
|
||||
transform = Transform3D(-2, 0, 1.74846e-07, 0, 0.10779, 0, -1.74846e-07, 0, -2, 0.00432254, 1.99581, 1.94811)
|
||||
mesh = SubResource("ArrayMesh_ux4sw")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Doors/DOOR?_F_CUT"]
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Doors/DOOR?_F_CUT/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0286865, 0, 0.0675668)
|
||||
shape = SubResource("BoxShape3D_gbjb2")
|
||||
|
||||
[node name="DOOR?_R_CUT" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.87415, -0.109414, -0.094615)
|
||||
use_collision = true
|
||||
size = Vector3(3.8, 3.8, 0.25)
|
||||
material = SubResource("StandardMaterial3D_lepkf")
|
||||
|
||||
[node name="CA_WALL_4" type="MeshInstance3D" parent="Doors/DOOR?_R_CUT"]
|
||||
transform = Transform3D(-8.74228e-08, 0, -2, 0, 0.10779, 0, 2, 0, -8.74228e-08, -0.0181541, 2.0102, 1.83589)
|
||||
mesh = SubResource("ArrayMesh_tmqha")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Doors/DOOR?_R_CUT"]
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Doors/DOOR?_R_CUT/StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.45058e-09, 0, -0.217697)
|
||||
shape = SubResource("BoxShape3D_gbjb2")
|
||||
|
||||
[node name="DOOR?_L_CUT" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1.98471, -0.0715388, -0.0946158)
|
||||
use_collision = true
|
||||
size = Vector3(3.8, 3.8, 0.25)
|
||||
material = SubResource("StandardMaterial3D_0m8h3")
|
||||
|
||||
[node name="CA_WALL_1" type="MeshInstance3D" parent="Doors/DOOR?_L_CUT"]
|
||||
transform = Transform3D(-8.74228e-08, 0, -2, 0, 0.10779, 0, 2, 0, -8.74228e-08, -0.0181548, 1.97232, -2.02297)
|
||||
mesh = SubResource("ArrayMesh_o04ue")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Doors/DOOR?_L_CUT"]
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Doors/DOOR?_L_CUT/StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_gbjb2")
|
||||
|
||||
[node name="DOOR?_B_CUT" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.0339377, -0.127415, -2.00389)
|
||||
use_collision = true
|
||||
size = Vector3(3.8, 3.8, 0.25)
|
||||
material = SubResource("StandardMaterial3D_4xu2u")
|
||||
|
||||
[node name="CA_WALL_2" type="MeshInstance3D" parent="Doors/DOOR?_B_CUT"]
|
||||
transform = Transform3D(-2, 0, 1.74846e-07, 0, 0.10779, 0, -1.74846e-07, 0, -2, 0.00432197, 2.0282, -1.92743)
|
||||
[node name="CA_WALL_2" type="MeshInstance3D" parent="Doors/DOOR?"]
|
||||
transform = Transform3D(-8.74228e-08, 0.10779, 1.73929e-20, -2, -4.71165e-09, 3.97904e-13, 3.97904e-13, 0, 2, 1.84215, 0.088098, 1.96086)
|
||||
mesh = SubResource("ArrayMesh_ue4n7")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Doors/DOOR?_B_CUT"]
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
|
||||
material_override = SubResource("StandardMaterial3D_0b3sx")
|
||||
size = Vector3(4, 4, 0.203003)
|
||||
material = SubResource("StandardMaterial3D_7a87o")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Doors/DOOR?_B_CUT/StaticBody3D"]
|
||||
shape = SubResource("BoxShape3D_gbjb2")
|
||||
[node name="DOOR?2" type="CSGBox3D" parent="Doors"]
|
||||
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.0498385, 0.0586318, 1.96147)
|
||||
use_collision = true
|
||||
size = Vector3(3.90674, 4, 0.1)
|
||||
material = SubResource("StandardMaterial3D_3j8ld")
|
||||
|
||||
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
|
||||
material_override = SubResource("StandardMaterial3D_0b3sx")
|
||||
size = Vector3(4, 4, 0.203003)
|
||||
material = SubResource("StandardMaterial3D_adgr5")
|
||||
|
||||
[node name="CA_WALL_3" type="MeshInstance3D" parent="Doors/DOOR?2"]
|
||||
transform = Transform3D(-8.74228e-08, 0.10779, 1.73929e-20, -2, -4.71165e-09, 3.97904e-13, 3.97904e-13, 0, 2, 1.84215, 0.088098, -2.03793)
|
||||
mesh = SubResource("ArrayMesh_ux4sw")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="DOOR?3" 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, -1.95513, 0.0586318, -0.00728679)
|
||||
use_collision = true
|
||||
size = Vector3(3.90674, 4, 0.1)
|
||||
material = SubResource("StandardMaterial3D_3j8ld")
|
||||
|
||||
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?3"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
|
||||
material_override = SubResource("StandardMaterial3D_0b3sx")
|
||||
size = Vector3(4, 4, 0.203003)
|
||||
material = SubResource("StandardMaterial3D_4sxun")
|
||||
|
||||
[node name="CA_WALL_4" type="MeshInstance3D" parent="Doors/DOOR?3"]
|
||||
transform = Transform3D(3.82137e-15, 0.10779, 8.74228e-08, 8.74228e-08, -4.71165e-09, 2, 2, 0, -8.74228e-08, 1.84215, -0.0691742, 1.91687)
|
||||
mesh = SubResource("ArrayMesh_tmqha")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="DOOR?4" 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, 1.95208, 0.0586318, -0.00681353)
|
||||
use_collision = true
|
||||
size = Vector3(3.90674, 4, 0.1)
|
||||
material = SubResource("StandardMaterial3D_3j8ld")
|
||||
|
||||
[node name="Box" type="CSGBox3D" parent="Doors/DOOR?4"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00166607, -3.72529e-08, 0.0620437)
|
||||
material_override = SubResource("StandardMaterial3D_0b3sx")
|
||||
size = Vector3(4, 4, 0.203003)
|
||||
material = SubResource("StandardMaterial3D_hm6c0")
|
||||
|
||||
[node name="CA_WALL_1" type="MeshInstance3D" parent="Doors/DOOR?4"]
|
||||
transform = Transform3D(3.82137e-15, 0.10779, 8.74228e-08, 8.74228e-08, -4.71165e-09, 2, 2, 0, -8.74228e-08, 1.84215, -0.0696476, -1.99034)
|
||||
mesh = SubResource("ArrayMesh_o04ue")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="Spawn Points" type="Node3D" parent="."]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user