Migrated levels to Gunkable component system

This commit is contained in:
Rob Kelly 2025-07-04 01:06:58 -06:00
parent d301ff277f
commit be398edd8a
18 changed files with 3332 additions and 1254 deletions

View File

@ -1,9 +1,10 @@
[gd_scene load_steps=60 format=3 uid="uid://cwhmn3w8hoads"]
[gd_scene load_steps=62 format=3 uid="uid://cwhmn3w8hoads"]
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="1_isxnv"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_on3c1"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="2_si4vj"]
[ext_resource type="Texture2D" uid="uid://dthjo3ymo7say" path="res://levels/ghost_ship/level/airlock/floor_mask.png" id="3_7lojt"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="4_hgu5g"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_knpho"]
[ext_resource type="Texture2D" uid="uid://bn4nrclcovuej" path="res://assets/level/wall/wall_1_C.png" id="5_oawwh"]
[ext_resource type="Texture2D" uid="uid://da3nqwmiwbu8s" path="res://assets/level/wall/wall_1_M.png" id="6_orm16"]
[ext_resource type="Texture2D" uid="uid://bujelwt4b5d0s" path="res://assets/level/wall/wall_1_N.png" id="7_8qct8"]
@ -28,6 +29,7 @@
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="26_s0aa0"]
[ext_resource type="PackedScene" uid="uid://2yqi5u5eo025" path="res://src/world/gunk_node/grunk_nodule.tscn" id="27_4jxmw"]
[ext_resource type="PackedScene" uid="uid://d2feet02a603e" path="res://src/props/overhead_light/overhead_light.tscn" id="28_fajl5"]
[ext_resource type="Script" uid="uid://040xta01xqxd" path="res://src/props/physics/holdable.gd" id="28_knpho"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="29_ib88w"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_yvipw"]
@ -141,8 +143,8 @@ normal_texture = ExtResource("25_fbvpt")
ao_enabled = true
texture_filter = 2
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_1ckgi"]
data = PackedVector3Array(0.375, -0.15, 0.75, 0.275, -0.25, 0.75, 0.375, 0.15, 0.75, 0.375, 0.15, 0.75, 0.275, -0.25, 0.75, 0.275, 0.25, 0.75, 0.275, 0.25, 0.75, 0.275, -0.25, 0.75, -0.275, 0.25, 0.75, -0.275, 0.25, 0.75, 0.275, -0.25, 0.75, -0.375, 0.15, 0.75, -0.375, 0.15, 0.75, 0.275, -0.25, 0.75, -0.375, -0.15, 0.75, -0.375, -0.15, 0.75, 0.275, -0.25, 0.75, -0.275, -0.25, 0.75, 0.375, 0.15, -0.75, 0.375, -0.15, -0.75, 0.375, 0.15, 0.75, 0.375, 0.15, 0.75, 0.375, -0.15, -0.75, 0.375, -0.15, 0.75, -0.275, 0.25, -0.75, 0.275, 0.25, -0.75, -0.275, 0.25, 0.75, -0.275, 0.25, 0.75, 0.275, 0.25, -0.75, 0.275, 0.25, 0.75, -0.375, 0.15, 0.75, -0.375, -0.15, 0.75, -0.375, 0.15, -0.75, -0.375, 0.15, -0.75, -0.375, -0.15, 0.75, -0.375, -0.15, -0.75, -0.375, -0.15, -0.75, -0.275, -0.25, -0.75, -0.375, 0.15, -0.75, -0.375, 0.15, -0.75, -0.275, -0.25, -0.75, -0.275, 0.25, -0.75, -0.275, 0.25, -0.75, -0.275, -0.25, -0.75, 0.275, 0.25, -0.75, 0.275, 0.25, -0.75, -0.275, -0.25, -0.75, 0.375, 0.15, -0.75, 0.375, 0.15, -0.75, -0.275, -0.25, -0.75, 0.375, -0.15, -0.75, 0.375, -0.15, -0.75, -0.275, -0.25, -0.75, 0.275, -0.25, -0.75, -0.275, -0.25, 0.75, -0.275, -0.25, -0.75, -0.375, -0.15, 0.75, -0.375, -0.15, 0.75, -0.275, -0.25, -0.75, -0.375, -0.15, -0.75, -0.275, 0.25, -0.75, -0.275, 0.25, 0.75, -0.375, 0.15, -0.75, -0.375, 0.15, -0.75, -0.275, 0.25, 0.75, -0.375, 0.15, 0.75, 0.275, -0.25, -0.75, 0.275, -0.25, 0.75, 0.375, -0.15, -0.75, 0.375, -0.15, -0.75, 0.275, -0.25, 0.75, 0.375, -0.15, 0.75, 0.275, 0.25, 0.75, 0.275, 0.25, -0.75, 0.375, 0.15, 0.75, 0.375, 0.15, 0.75, 0.275, 0.25, -0.75, 0.375, 0.15, -0.75, 0.275, -0.25, -0.75, -0.275, -0.25, -0.75, 0.275, -0.25, 0.75, 0.275, -0.25, 0.75, -0.275, -0.25, -0.75, -0.275, -0.25, 0.75)
[sub_resource type="BoxShape3D" id="BoxShape3D_si4vj"]
size = Vector3(0.75, 0.5, 1.5)
[sub_resource type="Curve" id="Curve_2ldv4"]
_limits = [0.0, 0.4, 0.0, 1.0]
@ -188,25 +190,38 @@ turbulence_influence_min = 0.0
[node name="Floor" type="MeshInstance3D" parent="Bounds"]
mesh = ExtResource("1_isxnv")
skeleton = NodePath("../..")
[node name="GunkBody" parent="Bounds/Floor" groups=["MetalMaterial"] instance=ExtResource("2_on3c1")]
initial_mask = ExtResource("3_7lojt")
[node name="StaticBody3D" type="StaticBody3D" parent="Bounds/Floor" groups=["MetalMaterial"]]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Gunkable" parent="Bounds/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_si4vj")]
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("3_7lojt")
source_gunk_material = ExtResource("4_knpho")
[node name="Ceiling" type="MeshInstance3D" parent="Bounds"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, 0, 3, 0)
mesh = ExtResource("4_hgu5g")
skeleton = NodePath("../..")
[node name="GunkBody" parent="Bounds/Ceiling" instance=ExtResource("2_on3c1")]
initial_mask = ExtResource("3_7lojt")
[node name="StaticBody3D" type="StaticBody3D" parent="Bounds/Ceiling" groups=["PlasticMaterial"]]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Gunkable" parent="Bounds/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_si4vj")]
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("3_7lojt")
source_gunk_material = ExtResource("4_knpho")
[node name="SimpleWalls" type="StaticBody3D" parent="Bounds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
collision_layer = 5
@ -257,27 +272,39 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.5)
[node name="LeftWall" type="MeshInstance3D" parent="Bounds/FarWall"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -3, 1.5, 0)
mesh = ExtResource("13_wvsd4")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Bounds/FarWall/LeftWall" instance=ExtResource("2_on3c1")]
mask_dim = 64
source_gunk_material = ExtResource("14_asais")
[node name="StaticBody3D" type="StaticBody3D" parent="Bounds/FarWall/LeftWall" groups=["PlasticMaterial"]]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/FarWall/LeftWall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/FarWall/LeftWall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" parent="Bounds/FarWall/LeftWall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_si4vj")]
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("14_asais")
[node name="RightWall" type="MeshInstance3D" parent="Bounds/FarWall"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 3, 1.5, 0)
mesh = ExtResource("13_wvsd4")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Bounds/FarWall/RightWall" instance=ExtResource("2_on3c1")]
mask_dim = 64
source_gunk_material = ExtResource("14_asais")
[node name="StaticBody3D" type="StaticBody3D" parent="Bounds/FarWall/RightWall" groups=["PlasticMaterial"]]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/FarWall/RightWall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Bounds/FarWall/RightWall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" parent="Bounds/FarWall/RightWall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_si4vj")]
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("14_asais")
[node name="Props" type="Node3D" parent="."]
[node name="EmptySuitChamber" parent="Props" instance=ExtResource("15_e4f0d")]
@ -368,31 +395,43 @@ collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Props/TarpCrateLogo/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_isly2")
[node name="CrateLong" type="MeshInstance3D" parent="Props"]
[node name="CrateLong" type="RigidBody3D" parent="Props"]
transform = Transform3D(0.866025, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025, 3.33603, 0.25, 3.53907)
collision_layer = 67
collision_mask = 73
mass = 200.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="Props/CrateLong"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
mesh = ExtResource("22_ug240")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_2ybo5")
[node name="StaticBody3D" type="StaticBody3D" parent="Props/CrateLong"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Props/CrateLong"]
shape = SubResource("BoxShape3D_si4vj")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Props/CrateLong/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_1ckgi")
[node name="Holdable" type="Node" parent="Props/CrateLong"]
script = ExtResource("28_knpho")
hold_distance = 2.0
metadata/_custom_type_script = "uid://040xta01xqxd"
[node name="CrateLong2" type="MeshInstance3D" parent="Props"]
[node name="CrateLong2" type="RigidBody3D" parent="Props"]
transform = Transform3D(0.612372, 0.612373, 0.5, -0.707107, 0.707106, 1.98952e-13, -0.353553, -0.353553, 0.866025, 3.71304, 0.441942, 2.81688)
collision_layer = 67
collision_mask = 73
mass = 200.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="Props/CrateLong2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
mesh = ExtResource("22_ug240")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_2ybo5")
[node name="StaticBody3D" type="StaticBody3D" parent="Props/CrateLong2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Props/CrateLong2"]
shape = SubResource("BoxShape3D_si4vj")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Props/CrateLong2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_1ckgi")
[node name="Holdable" type="Node" parent="Props/CrateLong2"]
script = ExtResource("28_knpho")
hold_distance = 2.0
metadata/_custom_type_script = "uid://040xta01xqxd"
[node name="GrunkNodule" parent="." instance=ExtResource("27_4jxmw")]
transform = Transform3D(1, 0, 0, 0, 0.866026, -0.5, 0, 0.5, 0.866026, -2.05, 0.15, -4.5)

View File

@ -1,9 +1,11 @@
[gd_scene load_steps=47 format=4 uid="uid://ddmgqfhiv3aag"]
[gd_scene load_steps=50 format=4 uid="uid://ddmgqfhiv3aag"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ckpmb"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_a8b6q"]
[ext_resource type="PackedScene" uid="uid://cppd3scvxf3eg" path="res://src/props/crate_long/static_crate_long.tscn" id="3_8umoc"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="3_s4vba"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="4_n7a6q"]
[ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="4_s4vba"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="5_hwbyh"]
[ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="5_n7a6q"]
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="6_hwbyh"]
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="7_bt0ip"]
@ -23,7 +25,7 @@
[ext_resource type="ArrayMesh" uid="uid://cojfnrek4kgbb" path="res://assets/props/guide_sign/guide_sign.obj" id="21_mh2f3"]
[ext_resource type="Material" uid="uid://b8xdnogrfefvf" path="res://levels/ghost_ship/guide_sign/mess_hall_sign.material" id="22_d4b87"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ruwlj"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bt0ip"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ckpmb"]
@ -206,6 +208,9 @@ data = PackedVector3Array(-1, 0, 0.2, -1, -0.4, 0, -1, 0, -0.2, -1, 0, -0.2, -1,
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_if0c2"]
data = PackedVector3Array(-1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 3, -1.5, -1.5, 3, -1.5, -1.5, 0, 1.5, -1.5, 3, 1.5, -1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, 1.5, 1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, -1.5, 1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, 1.5, -1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, -1.5)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ruwlj"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bt0ip"]
resource_local_to_scene = true
albedo_texture = ExtResource("4_s4vba")
@ -261,27 +266,36 @@ data = PackedVector3Array(-0.7, 0, 0.14, -0.7, -0.28, 0, -0.7, 0, -0.14, -0.7, 0
[node name="Hallway1" type="MeshInstance3D" parent="."]
mesh = ExtResource("1_ckpmb")
skeleton = NodePath("Hallway1")
skeleton = NodePath("")
[node name="Hallway1" parent="Hallway1" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/Hallway1"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_bt0ip")
[node name="Gunkable" type="Node" parent="Hallway1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("5_hwbyh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="CrateLong" parent="Hallway1" instance=ExtResource("3_8umoc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5.9)
mesh = SubResource("ArrayMesh_a8b6q")
skeleton = NodePath("../Hallway1")
skeleton = NodePath("")
[node name="CrateLong3" parent="Hallway1" instance=ExtResource("3_8umoc")]
transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3.9)
mesh = SubResource("ArrayMesh_s4vba")
skeleton = NodePath("../Hallway1")
skeleton = NodePath("")
[node name="CrateLong2" parent="Hallway1" instance=ExtResource("3_8umoc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5.9)
mesh = SubResource("ArrayMesh_hwbyh")
skeleton = NodePath("../Hallway1")
skeleton = NodePath("")
[node name="FloatingDust" parent="Hallway1" instance=ExtResource("8_t14hf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
@ -296,35 +310,60 @@ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 3,
gi_mode = 2
mesh = SubResource("ArrayMesh_anoak")
[node name="GunkBody" parent="Hallway1/AirlockSign" instance=ExtResource("2_a8b6q")]
mask_dim = 32
source_gunk_material = ExtResource("11_i2ry3")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway1/AirlockSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/AirlockSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/AirlockSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ojd88")
[node name="Gunkable" type="Node" parent="Hallway1/AirlockSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("11_i2ry3")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="T-Junction1" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, -7.5)
mesh = ExtResource("12_3ls22")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="T-Junction1" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
mask_dim = 192
source_gunk_material = ExtResource("13_qaol8")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("13_qaol8")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway2" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.5, 0, -7.5)
mesh = ExtResource("1_ckpmb")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Hallway2" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("5_hwbyh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="GrunkNodule" parent="Hallway2" instance=ExtResource("14_bfrms")]
transform = Transform3D(0.866025, 0.5, 0, -0.5, 0.866025, 0, 0, 0, 1, -1.35, 0, -1.15)
chitter = true
@ -365,13 +404,22 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.8, -11.4)
[node name="Hallway3" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -19.5, 0, -7.5)
mesh = ExtResource("17_qhrg0")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Hallway3" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway3/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("5_hwbyh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway3" instance=ExtResource("8_t14hf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -388,37 +436,62 @@ skeleton = NodePath("../..")
[node name="T-Junction2" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -27, 0, -7.5)
mesh = ExtResource("18_xuoub")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="T-Junction2" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
mask_dim = 192
source_gunk_material = ExtResource("13_qaol8")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("13_qaol8")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="EndCap" type="MeshInstance3D" parent="."]
transform = Transform3D(2.98023e-08, 1, 0, 4.37114e-08, -1.3027e-15, -1, -1, 2.98023e-08, -4.37114e-08, -28.5, 1.5, -7.5)
mesh = ExtResource("19_unrww")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="EndCap" instance=ExtResource("2_a8b6q")]
mask_dim = 64
source_gunk_material = ExtResource("13_qaol8")
[node name="StaticBody3D" type="StaticBody3D" parent="EndCap"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="EndCap/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="EndCap/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_17ivy")
[node name="Gunkable" type="Node" parent="EndCap/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("13_qaol8")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway4" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -27, 0, -15)
mesh = ExtResource("20_kkj02")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Hallway4" groups=["MetalMaterial"] instance=ExtResource("2_a8b6q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway4"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway4/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("5_hwbyh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway4" instance=ExtResource("8_t14hf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -433,13 +506,21 @@ gi_mode = 2
mesh = ExtResource("21_mh2f3")
surface_material_override/0 = ExtResource("22_d4b87")
[node name="GunkBody" parent="Hallway4/MessHallSign" instance=ExtResource("2_a8b6q")]
mask_dim = 32
source_gunk_material = ExtResource("11_i2ry3")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway4/MessHallSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/MessHallSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/MessHallSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_mgo71")
[node name="Gunkable" type="Node" parent="Hallway4/MessHallSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("3_s4vba")]
script = ExtResource("4_n7a6q")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("11_i2ry3")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="GrunkNodule" parent="Hallway4" instance=ExtResource("14_bfrms")]
transform = Transform3D(0.71748, 0.469891, -0.514223, -0.00738759, 0.743303, 0.668914, 0.69654, -0.476134, 0.536776, -0.299999, 0, 4.8)

View File

@ -1,9 +1,11 @@
[gd_scene load_steps=46 format=4 uid="uid://6mggsi84ok1n"]
[gd_scene load_steps=48 format=4 uid="uid://6mggsi84ok1n"]
[ext_resource type="ArrayMesh" uid="uid://c4klxlj1oop7t" path="res://assets/level/hallway/hallway_4.mesh" id="1_ka7sa"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_arxka"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="2_osdhu"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="3_6qtqj"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_osdhu"]
[ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="4_6qtqj"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_650i1"]
[ext_resource type="Material" uid="uid://b8xdnogrfefvf" path="res://levels/ghost_ship/guide_sign/mess_hall_sign.material" id="5_650i1"]
[ext_resource type="Texture2D" uid="uid://duvfb656uahuu" path="res://assets/level/guide_signs/guide_sign_mess_hall_C.png" id="6_o070x"]
[ext_resource type="Texture2D" uid="uid://dm50ac5enanm6" path="res://assets/level/guide_signs/guide_sign_mess_hall_E.png" id="7_bmovs"]
@ -148,7 +150,7 @@ data = PackedVector3Array(-0.7, 0, 0.14, -0.7, -0.28, 0, -0.7, 0, -0.14, -0.7, 0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_if0c2"]
data = PackedVector3Array(-1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 3, -1.5, -1.5, 3, -1.5, -1.5, 0, 1.5, -1.5, 3, 1.5, -1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, 1.5, 1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, -1.5, 1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, 1.5, -1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, -1.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_w13dd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o070x"]
resource_local_to_scene = true
albedo_texture = ExtResource("19_0xbp3")
metallic = 1.0
@ -174,7 +176,7 @@ _surfaces = [{
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_2ft6k"]
[sub_resource type="ArrayMesh" id="ArrayMesh_bmovs"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -183,7 +185,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_w13dd"),
"material": SubResource("StandardMaterial3D_o070x"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -193,7 +195,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_f0xh4")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fkhf3"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f8vhe"]
resource_local_to_scene = true
albedo_texture = ExtResource("19_0xbp3")
metallic = 1.0
@ -204,7 +206,7 @@ normal_texture = ExtResource("21_opjmq")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_7ctwk"]
[sub_resource type="ArrayMesh" id="ArrayMesh_fsxgt"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -213,7 +215,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_fkhf3"),
"material": SubResource("StandardMaterial3D_f8vhe"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -231,13 +233,22 @@ data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5,
[node name="Hallway1" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, -4.5)
mesh = ExtResource("1_ka7sa")
skeleton = NodePath("Hallway1")
skeleton = NodePath("")
[node name="Hallway1" parent="Hallway1" groups=["MetalMaterial"] instance=ExtResource("2_arxka")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_650i1")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway1" instance=ExtResource("3_osdhu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -252,26 +263,43 @@ gi_mode = 2
mesh = SubResource("ArrayMesh_w13dd")
surface_material_override/0 = SubResource("StandardMaterial3D_lhj8x")
[node name="GunkBody" parent="Hallway1/MessHallSign" instance=ExtResource("2_arxka")]
mask_dim = 32
source_gunk_material = ExtResource("11_iefrw")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway1/MessHallSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/MessHallSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway1/MessHallSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_2ft6k")
[node name="Gunkable" type="Node" parent="Hallway1/MessHallSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("11_iefrw")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="TarpCrate" parent="Hallway1" instance=ExtResource("12_vtfca")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0.8, -0.33)
[node name="Hallway2" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 7.5, 0, -12)
mesh = ExtResource("13_q6b8v")
skeleton = NodePath("Hallway1")
skeleton = NodePath("")
[node name="Hallway1" parent="Hallway2" groups=["MetalMaterial"] instance=ExtResource("2_arxka")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_650i1")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway2" instance=ExtResource("3_osdhu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -285,41 +313,65 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -4.5)
gi_mode = 2
mesh = SubResource("ArrayMesh_f0psm")
[node name="GunkBody" parent="Hallway2/CrewQuartersSign" instance=ExtResource("2_arxka")]
mask_dim = 32
source_gunk_material = ExtResource("11_iefrw")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway2/CrewQuartersSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/CrewQuartersSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/CrewQuartersSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_7ctwk")
[node name="Gunkable" type="Node" parent="Hallway2/CrewQuartersSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("11_iefrw")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="T-Junction1" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, -12)
mesh = ExtResource("16_0fxnd")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="T-Junction1" groups=["MetalMaterial"] instance=ExtResource("2_arxka")]
mask_dim = 192
source_gunk_material = ExtResource("17_wqkax")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("17_wqkax")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="CrateLong" parent="T-Junction1" instance=ExtResource("18_ew4hm")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.6, 0.25, 1)
mesh = SubResource("ArrayMesh_2ft6k")
mesh = SubResource("ArrayMesh_bmovs")
[node name="CrateLong2" parent="T-Junction1" instance=ExtResource("18_ew4hm")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.599998, 0.75, 1)
mesh = SubResource("ArrayMesh_7ctwk")
mesh = SubResource("ArrayMesh_fsxgt")
[node name="EndCap" type="MeshInstance3D" parent="."]
transform = Transform3D(2.98023e-08, 1, 0, 4.37114e-08, -1.3027e-15, -1, -1, 2.98023e-08, -4.37114e-08, -1.5, 1.5, -12)
mesh = ExtResource("23_7ox1u")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="EndCap" instance=ExtResource("2_arxka")]
mask_dim = 64
source_gunk_material = ExtResource("17_wqkax")
[node name="StaticBody3D" type="StaticBody3D" parent="EndCap"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="EndCap/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="EndCap/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_17ivy")
[node name="Gunkable" type="Node" parent="EndCap/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_osdhu")]
script = ExtResource("3_6qtqj")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("17_wqkax")
metadata/_custom_type_script = "uid://co0g2klfmor48"

View File

@ -1,9 +1,11 @@
[gd_scene load_steps=43 format=4 uid="uid://cnqvb6q8tyxmd"]
[gd_scene load_steps=45 format=4 uid="uid://cnqvb6q8tyxmd"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ediv7"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_02oi7"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="2_rvc24"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="3_8y1ya"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="3_rvc24"]
[ext_resource type="PackedScene" uid="uid://rykf34p8n8x6" path="res://src/props/overhead_light/burnout_light.tscn" id="4_8y1ya"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="4_yqi6h"]
[ext_resource type="Material" uid="uid://dt73a25l7h8if" path="res://levels/ghost_ship/guide_sign/crew_quarters_sign.material" id="5_yqi6h"]
[ext_resource type="Material" uid="uid://dutkfm4ek0ysh" path="res://assets/materials/gunk_bright.material" id="6_8pwhd"]
[ext_resource type="Material" uid="uid://lp1osos3aqdl" path="res://levels/ghost_ship/guide_sign/ops_sign.material" id="7_h1n2n"]
@ -215,13 +217,21 @@ data = PackedVector3Array(-0.7, 0, 0.14, -0.7, -0.28, 0, -0.7, 0, -0.14, -0.7, 0
[node name="Hallway" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 4.5, 0, 0)
mesh = ExtResource("1_ediv7")
skeleton = NodePath("Hallway1")
[node name="Hallway1" parent="Hallway" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_yqi6h")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway" instance=ExtResource("3_rvc24")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -235,23 +245,39 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 4.5)
gi_mode = 2
mesh = SubResource("ArrayMesh_v4tkv")
[node name="GunkBody" parent="Hallway/CrewQuartersSign" instance=ExtResource("2_02oi7")]
mask_dim = 32
source_gunk_material = ExtResource("6_8pwhd")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway/CrewQuartersSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway/CrewQuartersSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway/CrewQuartersSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_dxmep")
[node name="Gunkable" type="Node" parent="Hallway/CrewQuartersSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_8pwhd")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway2" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 12, 0, -7.5)
mesh = ExtResource("1_ediv7")
skeleton = NodePath("Hallway1")
[node name="Hallway1" parent="Hallway2" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_yqi6h")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway2" instance=ExtResource("3_rvc24")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -265,35 +291,58 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 4.5)
gi_mode = 2
mesh = SubResource("ArrayMesh_v0ki8")
[node name="GunkBody" parent="Hallway2/OpsSign" instance=ExtResource("2_02oi7")]
mask_dim = 32
source_gunk_material = ExtResource("6_8pwhd")
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway2/OpsSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/OpsSign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway2/OpsSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_0ij5m")
[node name="Gunkable" type="Node" parent="Hallway2/OpsSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_8pwhd")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="T-Junction1" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 12, 0, 0)
mesh = ExtResource("8_1goqq")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="T-Junction1" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 192
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway3" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 12, 0, 7.5)
mesh = ExtResource("1_ediv7")
skeleton = NodePath("Hallway1")
[node name="Hallway1" parent="Hallway3" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway3/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_yqi6h")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway3" instance=ExtResource("3_rvc24")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -305,25 +354,40 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31134e-07, 3, -1.5)
[node name="T-Junction2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, -2.13163e-14, 0, 1, 0, 2.13163e-14, 0, 1, 12, 0, 15)
mesh = ExtResource("11_s3mtr")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="T-Junction2" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 192
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway4" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 12, 0, 25.5)
mesh = ExtResource("1_ediv7")
skeleton = NodePath("Hallway1")
[node name="Hallway1" parent="Hallway4" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
[node name="StaticBody3D" type="StaticBody3D" parent="Hallway4"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hallway4/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="Gunkable" type="Node" parent="Hallway4/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("4_yqi6h")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="Hallway4" instance=ExtResource("3_rvc24")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -335,337 +399,534 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31134e-07, 3, -1.5)
[node name="T-Junction3" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 12, 0, 18)
mesh = ExtResource("11_s3mtr")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="T-Junction3" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 192
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="T-Junction3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction3/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="T-Junction3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Gunkable" type="Node" parent="T-Junction3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway" type="Node3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 12, 0, 33)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway"]
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Ceiling/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -1.67038e-22, 0, -1.67038e-22, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Wall/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -7.51669e-22, 0, -7.51669e-22, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway/Wall2/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -2.08797e-21, 0, -2.08798e-21, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway2" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 0, 18)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway2"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway2/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway2/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway2/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway2"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway2/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway2/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway2/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway2"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("15_l3gxc")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway2/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway2/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Wall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway2/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway2"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("15_l3gxc")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway2/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway2/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway2/Wall2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway2/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway3" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 18)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway3"]
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway3/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway3/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway3/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway3"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway3/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway3/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway3/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway3"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway3/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway3/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Wall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway3/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway3"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway3/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway3/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/Wall2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway3/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="MedbaySign" type="MeshInstance3D" parent="ShortHallway3"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, 0)
gi_mode = 2
mesh = SubResource("ArrayMesh_dspic")
[node name="GunkBody" parent="ShortHallway3/MedbaySign" instance=ExtResource("2_02oi7")]
mask_dim = 32
source_gunk_material = ExtResource("6_8pwhd")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway3/MedbaySign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/MedbaySign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway3/MedbaySign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_wqqoq")
[node name="Gunkable" type="Node" parent="ShortHallway3/MedbaySign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_8pwhd")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway4" type="Node3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -9, 0, 15)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway4"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway4/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway4/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway4/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway4"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway4/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway4/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway4/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway4"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("15_l3gxc")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway4/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway4/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Wall/StaticBody3D"]
transform = Transform3D(1, 0, -4.85524e-36, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway4/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway4"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("15_l3gxc")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway4/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway4/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway4/Wall2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway4/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway5" type="Node3D" parent="."]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -6, 0, 15)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway5"]
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway5/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway5/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway5/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway5"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway5/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway5/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway5/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway5"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway5/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway5/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Wall/StaticBody3D"]
transform = Transform3D(1, 0, -4.85524e-36, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway5/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway5"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway5/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway5/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway5/Wall2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway5/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="ShortHallway6" type="Node3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 15, 0, 15)
[node name="Floor" type="MeshInstance3D" parent="ShortHallway6"]
mesh = ExtResource("12_i8gqp")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway6/Floor" groups=["MetalMaterial"] instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_kp5n7")
[node name="Gunkable" type="Node" parent="ShortHallway6/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway6"]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
mesh = ExtResource("13_ieqou")
skeleton = NodePath("../..")
skeleton = NodePath("../../..")
[node name="GunkBody" parent="ShortHallway6/Ceiling" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u2hqf")
[node name="Gunkable" type="Node" parent="ShortHallway6/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall" type="MeshInstance3D" parent="ShortHallway6"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway6/Wall" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Wall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6nvhk")
[node name="Gunkable" type="Node" parent="ShortHallway6/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway6"]
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
mesh = ExtResource("14_x3ljk")
skeleton = NodePath("../..")
[node name="GunkBody" parent="ShortHallway6/Wall2" instance=ExtResource("2_02oi7")]
mask_dim = 64
source_gunk_material = ExtResource("9_57qp5")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/Wall2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ncghj")
[node name="Gunkable" type="Node" parent="ShortHallway6/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("9_57qp5")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="CargoBaySign" type="MeshInstance3D" parent="ShortHallway6"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, 0)
gi_mode = 2
mesh = SubResource("ArrayMesh_rigxx")
[node name="GunkBody" parent="ShortHallway6/CargoBaySign" instance=ExtResource("2_02oi7")]
mask_dim = 32
source_gunk_material = ExtResource("6_8pwhd")
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/CargoBaySign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/CargoBaySign/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/CargoBaySign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_np3w4")
[node name="Gunkable" type="Node" parent="ShortHallway6/CargoBaySign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_rvc24")]
script = ExtResource("3_8y1ya")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_8pwhd")
metadata/_custom_type_script = "uid://co0g2klfmor48"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,13 @@
[gd_scene load_steps=40 format=3 uid="uid://s1ab8rt2blyd"]
[gd_scene load_steps=42 format=3 uid="uid://s1ab8rt2blyd"]
[ext_resource type="ArrayMesh" uid="uid://c785n3j3aq4sf" path="res://assets/level/wall/wall_1.mesh" id="1_ind8m"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_s3h7q"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="2_vyxvc"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="3_1ls0l"]
[ext_resource type="Material" uid="uid://c1vy4bkwb1g5m" path="res://assets/materials/gunk_lowrez.material" id="3_6lrbi"]
[ext_resource type="ArrayMesh" uid="uid://dpr5cgq743f4s" path="res://assets/level/floor/floor_9x9.mesh" id="4_pmhe8"]
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="5_vyxvc"]
[ext_resource type="PackedScene" uid="uid://ca7b5gjl3ri0p" path="res://src/props/cafe_table/cafe_table.tscn" id="6_1ls0l"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="6_jshbi"]
[ext_resource type="PackedScene" uid="uid://c8pkhw0b47xdd" path="res://src/props/cupboard/cupboard.tscn" id="7_jshbi"]
[ext_resource type="PackedScene" uid="uid://dtus42gmb1kqq" path="res://src/props/vending_machine/vending_machine.tscn" id="8_g7nyg"]
[ext_resource type="Texture2D" uid="uid://d2xq0uvxh2ojk" path="res://assets/props/vending_machine/vending_machine_C.png" id="9_6xy1x"]
@ -114,225 +116,391 @@ size = Vector2(1, 0.5)
[node name="Wall" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-1, 8.74228e-08, -3.82137e-15, 0, -4.37114e-08, -1, -8.74228e-08, -1, 4.37114e-08, 3, 1.5, 9.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall" groups=["MetalMaterial"] instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall2" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, -1, 4.37114e-08, 0, -4.37114e-08, -1, 1, -4.37114e-08, 1.91069e-15, 4.5, 1.5, 8)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall2" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall2/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -8.35189e-23, 0, -8.35188e-23, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall4" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, -1, 4.37114e-08, 0, -4.37114e-08, -1, 1, -4.37114e-08, 1.91069e-15, 4.5, 1.5, 5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall4" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall4"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall4/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall4/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -8.35189e-23, 0, -8.35188e-23, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall4/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall8" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, 3, 1.5, 0.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall8" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall8"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall8/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall8/StaticBody3D"]
transform = Transform3D(1, 0, -1.00974e-28, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall8/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall9" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, 0, 1.5, 0.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall9" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall9"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall9/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall9/StaticBody3D"]
transform = Transform3D(1, 0, -1.00974e-28, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall9/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall10" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -3, 1.5, 0.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall10" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall10"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall10/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall10/StaticBody3D"]
transform = Transform3D(1, 0, -1.00974e-28, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall10/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall11" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -6, 1.5, 0.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall11" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall11"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall11/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall11/StaticBody3D"]
transform = Transform3D(1, 0, -1.00974e-28, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall11/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall13" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -12, 1.5, 0.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall13" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall13"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall13/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall13/StaticBody3D"]
transform = Transform3D(1, 0, -1.00974e-28, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall13/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall17" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91068e-15, -13.5, 1.5, 2)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall17" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall17"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall17/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall17/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -8.35185e-23, 0, -8.35188e-23, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall17/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall18" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91068e-15, -13.5, 1.5, 5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall18" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall18"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall18/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall18/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -8.35185e-23, 0, -8.35188e-23, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall18/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall19" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91068e-15, -13.5, 1.5, 8)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall19" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall19"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall19/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall19/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, -8.35185e-23, 0, -8.35188e-23, 1, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall19/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall20" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, -12, 1.5, 9.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall20" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall20"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall20/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall20/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall20/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall21" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, -9, 1.5, 9.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall21" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall21"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall21/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall21/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall21/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall22" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, -6, 1.5, 9.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall22" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall22"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall22/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall22/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall22/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Wall23" type="MeshInstance3D" parent="Walls"]
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, -3, 1.5, 9.5)
mesh = ExtResource("1_ind8m")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Walls/Wall23" instance=ExtResource("2_s3h7q")]
mask_dim = 64
source_gunk_material = ExtResource("3_6lrbi")
[node name="StaticBody3D" type="StaticBody3D" parent="Walls/Wall23"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall23/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall23/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Gunkable" type="Node" parent="Walls/Wall23/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("3_6lrbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Floors" type="Node3D" parent="."]
[node name="Floor" type="MeshInstance3D" parent="Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
mesh = ExtResource("4_pmhe8")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Floors/Floor" groups=["MetalMaterial"] instance=ExtResource("2_s3h7q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Floors/Floor"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floors/Floor/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floors/Floor/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Gunkable" type="Node" parent="Floors/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_jshbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Floor3" type="MeshInstance3D" parent="Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 5)
mesh = ExtResource("4_pmhe8")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Floors/Floor3" groups=["MetalMaterial"] instance=ExtResource("2_s3h7q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Floors/Floor3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floors/Floor3/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floors/Floor3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Gunkable" type="Node" parent="Floors/Floor3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_jshbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceilings" type="Node3D" parent="."]
[node name="Ceiling" type="MeshInstance3D" parent="Ceilings"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, 0, 3, 5)
mesh = ExtResource("5_vyxvc")
[node name="GunkBody" parent="Ceilings/Ceiling" instance=ExtResource("2_s3h7q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Ceilings/Ceiling"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ceilings/Ceiling/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ceilings/Ceiling/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Gunkable" type="Node" parent="Ceilings/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_jshbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Ceiling3" type="MeshInstance3D" parent="Ceilings"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, -9, 3, 5)
mesh = ExtResource("5_vyxvc")
[node name="GunkBody" parent="Ceilings/Ceiling3" instance=ExtResource("2_s3h7q")]
[node name="StaticBody3D" type="StaticBody3D" parent="Ceilings/Ceiling3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ceilings/Ceiling3/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ceilings/Ceiling3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Gunkable" type="Node" parent="Ceilings/Ceiling3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("2_vyxvc")]
script = ExtResource("3_1ls0l")
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = ExtResource("6_jshbi")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Props" type="Node3D" parent="."]
[node name="CafeTable" parent="Props" instance=ExtResource("6_1ls0l")]

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
extends Level
## Game mechanic testing level
@onready var gunk_hall: GunkBody = %GunkHallBody
@onready var gunk_hall_component: Gunkable = %Gunkable
@onready var bulkhead: Node3D = $Bulkhead
@onready var open_switch: Node3D = %OpenSwitch
@ -16,7 +16,7 @@ extends Level
func reset() -> void:
print("Resetting level!")
gunk_hall.mask_control.clear(Color.BLACK)
gunk_hall_component.mask_control.clear(Color.BLACK)
Callable(bulkhead, "close").call()
Callable(open_switch, "enable").call()
Callable(close_switch, "disable").call()

View File

@ -1,13 +1,14 @@
[gd_scene load_steps=31 format=4 uid="uid://b8rv6dg4tgaeb"]
[gd_scene load_steps=32 format=4 uid="uid://b8rv6dg4tgaeb"]
[ext_resource type="Script" uid="uid://bvua1l2hb3an6" path="res://levels/mechanic_test/mechanic_test.gd" id="1_iyuyb"]
[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="2_qjnj2"]
[ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="3_awnx0"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="4_cgmn0"]
[ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="5_aix42"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="6_6frcc"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="7_7cbja"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="8_awnx0"]
[ext_resource type="PackedScene" uid="uid://cubwniraol1qn" path="res://src/props/bulkhead/bulkhead.tscn" id="8_ujrcv"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="9_cgmn0"]
[ext_resource type="PackedScene" uid="uid://b5jubpjj3d277" path="res://levels/mechanic_test/signal_test.tscn" id="9_ix0jw"]
[ext_resource type="PackedScene" uid="uid://cfqirm2o3uo4k" path="res://levels/mechanic_test/prop_test.tscn" id="10_xrfi2"]
[ext_resource type="PackedScene" uid="uid://dbabcsp38wmid" path="res://levels/mechanic_test/item_test.tscn" id="11_8natv"]
@ -84,6 +85,9 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_0j1ke")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qjnj2"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rp2qp"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
@ -103,7 +107,7 @@ seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("7_7cbja")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_iyuyb"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_aix42"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("6_6frcc")
@ -128,9 +132,6 @@ shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qjnj2"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[node name="MechanicTest" type="Node3D"]
script = ExtResource("1_iyuyb")
id = "mechanic_test"
@ -235,16 +236,24 @@ text = "Trigger"
[node name="GunkHall" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, -31)
mesh = SubResource("ArrayMesh_x2vho")
skeleton = NodePath("GunkHallBody")
skeleton = NodePath("")
[node name="GunkHallBody" parent="GunkHall" instance=ExtResource("4_cgmn0")]
unique_name_in_owner = true
initial_mask = ExtResource("5_aix42")
source_gunk_material = SubResource("ShaderMaterial_iyuyb")
[node name="StaticBody3D" type="StaticBody3D" parent="GunkHall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkHall/GunkHallBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkHall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_qjnj2")
[node name="Gunkable" type="Node" parent="GunkHall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("8_awnx0")]
unique_name_in_owner = true
script = ExtResource("9_cgmn0")
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_aix42")
source_gunk_material = SubResource("ShaderMaterial_aix42")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Bulkhead" parent="." instance=ExtResource("8_ujrcv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0, -2)

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=13 format=4 uid="uid://cfqirm2o3uo4k"]
[gd_scene load_steps=14 format=4 uid="uid://cfqirm2o3uo4k"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="1_cr8wn"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="1_7477u"]
[ext_resource type="Texture2D" uid="uid://8cm835h4gxwe" path="res://assets/debug_mask.png" id="2_7477u"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_lrgpr"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="2_nfype"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_7477u"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"]
@ -39,6 +40,9 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_cgmn0")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(-1, 1, 0.1, -1, -0.8, 0.1, -1, 1, -0.1, -1, 1, -0.1, -1, -0.8, 0.1, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -0.1, -1, -0.8, 0.1, -1, -1, -2.3, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -2.3, -1, -0.8, -0.1, -1, -1, -2.3, -1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.3, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, 1, -2.1, -1, 1, -2.1, -1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -0.1, -1, -0.8, -0.1, 1, 1, -0.1, 1, 1, -0.1, -1, -0.8, -0.1, 1, -0.8, -0.1, 1, 1, -0.1, 1, -0.8, -0.1, 1, 1, 0.1, 1, 1, 0.1, 1, -0.8, -0.1, 1, -0.8, 0.1, 1, -0.8, -0.1, 1, -1, 0.1, 1, -0.8, 0.1, 1, -0.8, -2.1, 1, -1, 0.1, 1, -0.8, -0.1, 1, -0.8, -2.3, 1, -1, 0.1, 1, -0.8, -2.1, 1, -1, -2.3, 1, -1, 0.1, 1, -0.8, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.1, 1, 1, -2.3, 1, 1, -2.3, 1, -0.8, -2.1, 1, 1, -2.1, 1, 1, 0.1, 1, -0.8, 0.1, -1, 1, 0.1, -1, 1, 0.1, 1, -0.8, 0.1, -1, -0.8, 0.1, 1, -0.8, 0.1, 1, -1, 0.1, -1, -0.8, 0.1, -1, -0.8, 0.1, 1, -1, 0.1, -1, -1, 0.1, -1, -1, -2.3, -1, -1, 0.1, 1, -1, -2.3, 1, -1, -2.3, -1, -1, 0.1, 1, -1, 0.1, -1, 1, -0.1, 1, 1, -0.1, -1, 1, 0.1, -1, 1, 0.1, 1, 1, -0.1, 1, 1, 0.1, 1, -0.8, -0.1, -1, -0.8, -0.1, 1, -0.8, -2.1, 1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, -1, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.3, -1, -1, -2.3, 1, -1, -2.3, -1, -0.8, -2.3, 1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -2.3, 1, -0.8, -2.3, 1, 1, -2.3, 1, 1, -2.1, -1, 1, -2.1, 1, 1, -2.3, 1, 1, -2.3, -1, 1, -2.1, -1, 1, -2.3, 1, -0.8, -2.1, -1, -0.8, -2.1, 1, 1, -2.1, 1, 1, -2.1, -1, -0.8, -2.1, -1, 1, -2.1)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_x2vho"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
@ -58,7 +62,7 @@ seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_7477u")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrgpr"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_j1dki"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_lrgpr")
@ -83,20 +87,25 @@ shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(-1, 1, 0.1, -1, -0.8, 0.1, -1, 1, -0.1, -1, 1, -0.1, -1, -0.8, 0.1, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -0.1, -1, -0.8, 0.1, -1, -1, -2.3, -1, -0.8, -0.1, -1, -1, 0.1, -1, -0.8, -2.3, -1, -0.8, -0.1, -1, -1, -2.3, -1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.3, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, 1, -2.1, -1, 1, -2.1, -1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -0.1, -1, -0.8, -0.1, 1, 1, -0.1, 1, 1, -0.1, -1, -0.8, -0.1, 1, -0.8, -0.1, 1, 1, -0.1, 1, -0.8, -0.1, 1, 1, 0.1, 1, 1, 0.1, 1, -0.8, -0.1, 1, -0.8, 0.1, 1, -0.8, -0.1, 1, -1, 0.1, 1, -0.8, 0.1, 1, -0.8, -2.1, 1, -1, 0.1, 1, -0.8, -0.1, 1, -0.8, -2.3, 1, -1, 0.1, 1, -0.8, -2.1, 1, -1, -2.3, 1, -1, 0.1, 1, -0.8, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.1, 1, 1, -2.3, 1, 1, -2.3, 1, -0.8, -2.1, 1, 1, -2.1, 1, 1, 0.1, 1, -0.8, 0.1, -1, 1, 0.1, -1, 1, 0.1, 1, -0.8, 0.1, -1, -0.8, 0.1, 1, -0.8, 0.1, 1, -1, 0.1, -1, -0.8, 0.1, -1, -0.8, 0.1, 1, -1, 0.1, -1, -1, 0.1, -1, -1, -2.3, -1, -1, 0.1, 1, -1, -2.3, 1, -1, -2.3, -1, -1, 0.1, 1, -1, 0.1, -1, 1, -0.1, 1, 1, -0.1, -1, 1, 0.1, -1, 1, 0.1, 1, 1, -0.1, 1, 1, 0.1, 1, -0.8, -0.1, -1, -0.8, -0.1, 1, -0.8, -2.1, 1, -0.8, -2.1, -1, -0.8, -0.1, -1, -0.8, -2.1, -1, -0.8, -2.3, -1, -1, -2.3, 1, -0.8, -2.3, 1, -0.8, -2.3, -1, -1, -2.3, 1, -1, -2.3, -1, -0.8, -2.3, 1, -0.8, -2.3, -1, 1, -2.3, -1, 1, -2.3, 1, -0.8, -2.3, 1, 1, -2.3, 1, 1, -2.1, -1, 1, -2.1, 1, 1, -2.3, 1, 1, -2.3, -1, 1, -2.1, -1, 1, -2.3, 1, -0.8, -2.1, -1, -0.8, -2.1, 1, 1, -2.1, 1, 1, -2.1, -1, -0.8, -2.1, -1, 1, -2.1)
[node name="PropTest" type="Node3D"]
[node name="Parallel" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 1, 1.5)
mesh = SubResource("ArrayMesh_aix42")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="Parallel" instance=ExtResource("1_cr8wn")]
mask_dim = 128
initial_mask = ExtResource("2_7477u")
source_gunk_material = SubResource("ShaderMaterial_lrgpr")
[node name="StaticBody3D" type="StaticBody3D" parent="Parallel"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="Gunkable" type="Node" parent="Parallel/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("1_7477u")]
script = ExtResource("2_nfype")
mask_dim = 128
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("2_7477u")
source_gunk_material = SubResource("ShaderMaterial_j1dki")
metadata/_custom_type_script = "uid://co0g2klfmor48"

View File

@ -1,11 +1,12 @@
[gd_scene load_steps=28 format=3 uid="uid://b5jubpjj3d277"]
[gd_scene load_steps=29 format=3 uid="uid://b5jubpjj3d277"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="1_3u410"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_tfbib"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_e8utx"]
[ext_resource type="Texture2D" uid="uid://m2qxenym1otw" path="res://assets/level/wall/wall_2_C.png" id="4_r07l4"]
[ext_resource type="Texture2D" uid="uid://begn6qloo0m1q" path="res://assets/level/wall/wall_2_M.png" id="5_67o2j"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="5_r07l4"]
[ext_resource type="Texture2D" uid="uid://cpdrvdu3qt62t" path="res://assets/level/wall/wall_2_N.png" id="6_4yjoq"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="6_67o2j"]
[ext_resource type="Texture2D" uid="uid://ba5vvrx730go8" path="res://assets/level/wall/wall_2_R.png" id="7_c27im"]
[ext_resource type="PackedScene" uid="uid://dgqx1h4dtkwma" path="res://src/world/mechanics/trigger/gunk_trigger.tscn" id="8_gx82l"]
[ext_resource type="PackedScene" uid="uid://bttust5ohud8e" path="res://src/world/mechanics/relay/gunk_relay.tscn" id="9_d4a3d"]
@ -55,6 +56,9 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ix0jw")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 0, -1.5)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f342o"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
@ -74,7 +78,7 @@ seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_e8utx"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4yjoq"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
@ -86,6 +90,7 @@ shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
@ -98,9 +103,6 @@ shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
shader_parameter/overlay_emission_scale = 1.0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"]
data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 0, -1.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3u410"]
resource_local_to_scene = true
cull_mode = 2
@ -143,7 +145,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_tfbib")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r07l4"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c27im"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
@ -155,6 +157,7 @@ shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
@ -198,7 +201,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_r07l4")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_67o2j"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gx82l"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
@ -210,6 +213,7 @@ shader_parameter/time_pixellation = 30.0
shader_parameter/roughness = 0.15
shader_parameter/specular_contribution = 0.8
shader_parameter/emission_strength = 0.02
shader_parameter/normal_scale = 1.0
shader_parameter/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
@ -227,15 +231,23 @@ shader_parameter/overlay_emission_scale = 1.0
[node name="TriggerNetWall" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1.5, 0)
mesh = SubResource("ArrayMesh_xrfi2")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="TriggerNetWall" instance=ExtResource("1_3u410")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_e8utx")
[node name="StaticBody3D" type="StaticBody3D" parent="TriggerNetWall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="TriggerNetWall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="TriggerNetWall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="Gunkable" type="Node" parent="TriggerNetWall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("5_r07l4")]
script = ExtResource("6_67o2j")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_4yjoq")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Puzzle" type="Node3D" parent="TriggerNetWall"]
[node name="GunkTrigger" parent="TriggerNetWall/Puzzle" instance=ExtResource("8_gx82l")]
@ -262,15 +274,23 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0, -0.25)
[node name="PulseNetWall" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 3.5, 1.5, 0)
mesh = SubResource("ArrayMesh_e8utx")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="PulseNetWall" instance=ExtResource("1_3u410")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_r07l4")
[node name="StaticBody3D" type="StaticBody3D" parent="PulseNetWall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="PulseNetWall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="PulseNetWall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="Gunkable" type="Node" parent="PulseNetWall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("5_r07l4")]
script = ExtResource("6_67o2j")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_c27im")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Puzzle" type="Node3D" parent="PulseNetWall"]
[node name="GunkHeart" parent="PulseNetWall/Puzzle" instance=ExtResource("11_tfbib")]
@ -301,13 +321,21 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.37114e-08, -1)
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 7, 1.5, 0)
mesh = SubResource("ArrayMesh_67o2j")
[node name="GunkBody" parent="ListenerWall" instance=ExtResource("1_3u410")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_67o2j")
[node name="StaticBody3D" type="StaticBody3D" parent="ListenerWall"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="ListenerWall/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="ListenerWall/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="Gunkable" type="Node" parent="ListenerWall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("5_r07l4")]
script = ExtResource("6_67o2j")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
source_gunk_material = SubResource("ShaderMaterial_gx82l")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Puzzle" type="Node3D" parent="ListenerWall"]
[node name="Listener" parent="ListenerWall/Puzzle" instance=ExtResource("12_e8utx")]

View File

@ -1,13 +1,15 @@
[gd_scene load_steps=61 format=4 uid="uid://tvirbm0kgvp8"]
[gd_scene load_steps=63 format=4 uid="uid://tvirbm0kgvp8"]
[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_fgk6j"]
[ext_resource type="PackedScene" uid="uid://ehf5sg3ahvbf" path="res://src/world/grunk_beast/grunk_beast.tscn" id="2_1lom2"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="3_gyhlh"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="4_jj0u7"]
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunk_body/gunkable.tscn" id="4_hv7qb"]
[ext_resource type="PackedScene" uid="uid://cppd3scvxf3eg" path="res://src/props/crate_long/static_crate_long.tscn" id="5_18csx"]
[ext_resource type="Texture2D" uid="uid://clofvb76pv6g" path="res://assets/red.png" id="5_jj0u7"]
[ext_resource type="Script" uid="uid://co0g2klfmor48" path="res://src/world/gunk_body/gunkable.gd" id="5_wxmii"]
[ext_resource type="Texture2D" uid="uid://cd0w8eqpount3" path="res://assets/props/crate_long/crate_long_C.png" id="6_e2fuu"]
[ext_resource type="Texture2D" uid="uid://da5p04vbiy3xe" path="res://assets/props/crate_long/crate_long_M.png" id="7_hv7qb"]
[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_nsdlh"]
[ext_resource type="Texture2D" uid="uid://bsovubygl3go2" path="res://assets/props/crate_long/crate_long_N.png" id="8_wxmii"]
[ext_resource type="Texture2D" uid="uid://b1m1my5q2vlwi" path="res://assets/props/crate_long/crate_long_R.png" id="9_nsdlh"]
[ext_resource type="PackedScene" uid="uid://30o8ltnnxpxo" path="res://src/effects/floating_dust.tscn" id="10_br5h1"]
@ -58,7 +60,7 @@ data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0,
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u8j4k"]
data = PackedVector3Array(-1.5, 0, -6, -1.5, 0, 6, -1.5, 3, -6, -1.5, 3, -6, -1.5, 0, 6, -1.5, 3, 6, 1.5, 0, 6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, 6, 1.5, 0, -6, 1.5, 3, -6, -1.5, 0, 6, -1.5, 0, -6, 1.5, 0, 6, 1.5, 0, 6, -1.5, 0, -6, 1.5, 0, -6, 1.5, 3, 6, 1.5, 3, -6, -1.5, 3, 6, -1.5, 3, 6, 1.5, 3, -6, -1.5, 3, -6)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_18csx"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_br5h1"]
resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0
@ -84,7 +86,7 @@ _surfaces = [{
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_e2fuu"]
[sub_resource type="ArrayMesh" id="ArrayMesh_qluxd"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -93,7 +95,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_18csx"),
"material": SubResource("StandardMaterial3D_br5h1"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -103,7 +105,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_isly2")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hv7qb"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h6xp0"]
resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0
@ -114,7 +116,7 @@ normal_texture = ExtResource("8_wxmii")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_wxmii"]
[sub_resource type="ArrayMesh" id="ArrayMesh_irt7r"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -123,7 +125,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_hv7qb"),
"material": SubResource("StandardMaterial3D_h6xp0"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -133,7 +135,7 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_isly2")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nsdlh"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_olej6"]
resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0
@ -144,7 +146,7 @@ normal_texture = ExtResource("8_wxmii")
ao_enabled = true
texture_filter = 2
[sub_resource type="ArrayMesh" id="ArrayMesh_br5h1"]
[sub_resource type="ArrayMesh" id="ArrayMesh_tmnt4"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -153,7 +155,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_nsdlh"),
"material": SubResource("StandardMaterial3D_olej6"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -238,7 +240,7 @@ data = PackedVector3Array(-1, 0, 0.2, -1, -0.4, 0, -1, 0, -0.2, -1, 0, -0.2, -1,
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_o1heh"]
data = PackedVector3Array(-1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 3, -1.5, -1.5, 3, -1.5, -1.5, 0, 1.5, -1.5, 3, 1.5, -1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, 1.5, 1.5, 0, 1.5, -1.5, 0, -1.5, 1.5, 0, -1.5, 1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, 1.5, -1.5, 3, 1.5, 1.5, 3, -1.5, -1.5, 3, -1.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qluxd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x0tbd"]
resource_local_to_scene = true
albedo_texture = ExtResource("6_e2fuu")
metallic = 1.0
@ -264,7 +266,7 @@ _surfaces = [{
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_h6xp0"]
[sub_resource type="ArrayMesh" id="ArrayMesh_iwy8m"]
resource_local_to_scene = true
_surfaces = [{
"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5),
@ -273,7 +275,7 @@ _surfaces = [{
"index_count": 84,
"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")],
"material": SubResource("StandardMaterial3D_qluxd"),
"material": SubResource("StandardMaterial3D_x0tbd"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
@ -356,28 +358,37 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10.5)
[node name="Hallway1" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
mesh = ExtResource("3_gyhlh")
skeleton = NodePath("Hallway1")
skeleton = NodePath("")
[node name="Hallway1" parent="NavigationRegion3D/Corridor1/Hallway1" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
initial_mask = ExtResource("5_jj0u7")
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway1/Hallway1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u8j4k")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("7_nsdlh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5.9)
mesh = SubResource("ArrayMesh_e2fuu")
skeleton = NodePath("../Hallway1")
mesh = SubResource("ArrayMesh_qluxd")
skeleton = NodePath("")
[node name="CrateLong3" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3.9)
mesh = SubResource("ArrayMesh_wxmii")
skeleton = NodePath("../Hallway1")
mesh = SubResource("ArrayMesh_irt7r")
skeleton = NodePath("")
[node name="CrateLong2" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("5_18csx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5.9)
mesh = SubResource("ArrayMesh_br5h1")
skeleton = NodePath("../Hallway1")
mesh = SubResource("ArrayMesh_tmnt4")
skeleton = NodePath("")
[node name="FloatingDust" parent="NavigationRegion3D/Corridor1/Hallway1" instance=ExtResource("10_br5h1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
@ -395,38 +406,63 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -1.5)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 4.5)
mesh = SubResource("ArrayMesh_5p5u5")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/Hallway1/AirlockSign" instance=ExtResource("4_jj0u7")]
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway1/AirlockSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway1/AirlockSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_ejg8u")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway1/AirlockSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("14_olej6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway1/AirlockSign/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_ejg8u")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="T-Junction1" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, -7.5)
mesh = ExtResource("15_tmnt4")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/T-Junction1" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/T-Junction1"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/T-Junction1/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_o1heh")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/T-Junction1/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("16_x0tbd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/T-Junction1/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_o1heh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway2" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.5, 0, -7.5)
mesh = ExtResource("3_gyhlh")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/Hallway2" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
initial_mask = ExtResource("5_jj0u7")
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway2/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u8j4k")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("7_nsdlh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="GrunkNodule" parent="NavigationRegion3D/Corridor1/Hallway2" instance=ExtResource("17_iwy8m")]
transform = Transform3D(0.866025, 0.5, 0, -0.5, 0.866025, 0, 0, 0, 1, -1.35, 0, -1.15)
chitter = true
@ -468,14 +504,23 @@ skeleton = NodePath("")
[node name="Hallway3" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -19.5, 0, -7.5)
mesh = ExtResource("20_pfbho")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/Hallway3" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
initial_mask = ExtResource("5_jj0u7")
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway3"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway3/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway3/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u8j4k")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway3/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("7_nsdlh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="NavigationRegion3D/Corridor1/Hallway3" instance=ExtResource("10_br5h1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -486,21 +531,29 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -1.5)
[node name="CrateLong" parent="NavigationRegion3D/Corridor1/Hallway3" instance=ExtResource("5_18csx")]
transform = Transform3D(-4.37114e-08, -0.965926, 0.258819, 1.77636e-15, 0.258819, 0.965926, -1, 4.2222e-08, -1.13133e-08, 1.06072, 0.789149, 6.6)
mesh = SubResource("ArrayMesh_h6xp0")
mesh = SubResource("ArrayMesh_iwy8m")
skeleton = NodePath("../..")
[node name="T-Junction2" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -27, 0, -7.5)
mesh = ExtResource("21_e5vs1")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/T-Junction2" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/T-Junction2"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/T-Junction2/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_o1heh")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/T-Junction2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
mask_dim = 192
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("16_x0tbd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/T-Junction2/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_o1heh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="MessHallMeetSpookSpawner" type="Marker3D" parent="NavigationRegion3D/Corridor1/T-Junction2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
@ -512,27 +565,44 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.90735e-06, 0, 21)
[node name="EndCap" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(2.98023e-08, 1, 0, 4.37114e-08, -1.3027e-15, -1, -1, 2.98023e-08, -4.37114e-08, -28.5, 1.5, -7.5)
mesh = ExtResource("23_7rrnb")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/EndCap" instance=ExtResource("4_jj0u7")]
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/EndCap"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/EndCap/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_tx4qh")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/EndCap/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
mask_dim = 64
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("16_x0tbd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/EndCap/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_tx4qh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="Hallway4" type="MeshInstance3D" parent="NavigationRegion3D/Corridor1"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -27, 0, -15)
mesh = ExtResource("24_x0es6")
skeleton = NodePath("GunkBody")
skeleton = NodePath("")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/Hallway4" groups=["MetalMaterial"] instance=ExtResource("4_jj0u7")]
initial_mask = ExtResource("5_jj0u7")
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway4"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway4/GunkBody"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway4/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_u8j4k")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway4/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("7_nsdlh")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="FloatingDust" parent="NavigationRegion3D/Corridor1/Hallway4" instance=ExtResource("10_br5h1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
visibility_aabb = AABB(-1.5, -1.5, -6, 3, 3, 12)
@ -548,13 +618,21 @@ transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 3,
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 4.5)
mesh = SubResource("ArrayMesh_ahtx8")
[node name="GunkBody" parent="NavigationRegion3D/Corridor1/Hallway4/MessHallSign" instance=ExtResource("4_jj0u7")]
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D/Corridor1/Hallway4/MessHallSign"]
collision_layer = 5
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway4/MessHallSign/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_spe8j")
[node name="Gunkable" type="Node" parent="NavigationRegion3D/Corridor1/Hallway4/MessHallSign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") groups=["Persistent"] instance=ExtResource("4_hv7qb")]
script = ExtResource("5_wxmii")
mask_dim = 32
body = NodePath("..")
mesh_instance = NodePath("../..")
initial_mask = ExtResource("5_jj0u7")
source_gunk_material = ExtResource("14_olej6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/Corridor1/Hallway4/MessHallSign/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_spe8j")
metadata/_custom_type_script = "uid://co0g2klfmor48"
[node name="LurkPoint" type="Marker3D" parent="NavigationRegion3D/Corridor1" groups=["LurkPoint"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 4.5)

View File

@ -11,8 +11,8 @@ extends Level
func _clean_tree(node: Node) -> void:
if node is GunkBody:
(node as GunkBody).clear_all()
if node is Gunkable:
(node as Gunkable).clear_all()
else:
for child: Node in node.get_children():
_clean_tree(child)

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
@tool
class_name GunkBody extends StaticBody3D
## StaticBody3D with an associated "gunkable" mesh.
@ -12,12 +13,19 @@ const MASK_COLOR := Color.RED
const CLEAR_TOTAL_EPSILON := 1
const MASK_THRESHOLD := 0.5
const UPGRADE_SCENE: PackedScene = preload("res://src/world/gunk_body/gunkable.tscn")
@export var mask_dim := 256
@export var mesh_instance: MeshInstance3D
@export var initial_mask: Texture
@export var source_gunk_material: ShaderMaterial
@export var editor_upgrade: bool = false:
set(value):
if value:
upgrade()
var meshtool := MeshDataTool.new()
var _polyline_buffer: Array[Vector2] = []
@ -52,22 +60,52 @@ func _ready() -> void:
mesh_instance = parent
assert(mesh_instance, "GunkBody %s has no associated mesh!" % str(self))
mask_viewport.size = Vector2(mask_dim, mask_dim)
return
#mask_viewport.size = Vector2(mask_dim, mask_dim)
# Create a new instance of the gunk material
var mat_instance: ShaderMaterial = source_gunk_material.duplicate()
# Set material gunk mask to our mask viewport texture
mat_instance.set_shader_parameter("gunk_mask", mask_viewport.get_texture())
# Overlay mesh with gunk material
mesh_instance.material_overlay = mat_instance
_deferred_init.call_deferred()
#
## Create a new instance of the gunk material
#var mat_instance: ShaderMaterial = source_gunk_material.duplicate()
## Set material gunk mask to our mask viewport texture
#mat_instance.set_shader_parameter("gunk_mask", mask_viewport.get_texture())
## Overlay mesh with gunk material
#mesh_instance.material_overlay = mat_instance
#
#_deferred_init.call_deferred()
#
## Initialize meshtool
#meshtool.create_from_surface(mesh_instance.mesh as ArrayMesh, 0)
#
#_thread = Thread.new()
#_thread.start(_async_compute_clear_total)
# Initialize meshtool
meshtool.create_from_surface(mesh_instance.mesh as ArrayMesh, 0)
_thread = Thread.new()
_thread.start(_async_compute_clear_total)
func upgrade() -> void:
var static_body := StaticBody3D.new()
add_sibling(static_body)
static_body.owner = owner
static_body.name = "StaticBody3D"
if self.is_in_group("MetalMaterial"):
static_body.add_to_group("MetalMaterial")
if self.is_in_group("PlasticMaterial"):
static_body.add_to_group("PlasticMaterial")
static_body.collision_layer = collision_layer
static_body.collision_mask = collision_mask
static_body.transform = transform
for c: Node in get_children():
var cs := c as CollisionShape3D
if cs:
cs.reparent(static_body)
var gunkable: Gunkable = UPGRADE_SCENE.instantiate()
static_body.add_child(gunkable)
gunkable.owner = owner
gunkable.mask_dim = mask_dim
gunkable.body = static_body
gunkable.mesh_instance = mesh_instance
gunkable.initial_mask = initial_mask
gunkable.source_gunk_material = source_gunk_material
func _deferred_init() -> void:

View File

@ -47,12 +47,12 @@ func _ready() -> void:
# If no physics body was provided, use the parent.
if not body:
body = get_parent() as PhysicsBody3D
assert(body, "GunkBody %s has no associated physics body!" % str(self))
assert(body, "Gunkable %s has no associated physics body!" % str(self))
# If no mesh_instance was provided, use the parent.
if not mesh_instance:
mesh_instance = get_parent() as MeshInstance3D
assert(mesh_instance, "GunkBody %s has no associated mesh!" % str(self))
assert(mesh_instance, "Gunkable %s has no associated mesh!" % str(self))
mask_viewport.size = Vector2(mask_dim, mask_dim)

View File

@ -4,7 +4,7 @@
[ext_resource type="Resource" uid="uid://tgac5tnfx56r" path="res://src/world/world_manager.tres" id="2_5kmgb"]
[ext_resource type="PackedScene" uid="uid://byvjsvavbg5xe" path="res://src/ui/menus/pause_menu/pause_menu.tscn" id="2_6fy3g"]
[ext_resource type="Resource" uid="uid://0i72bf8ip1lx" path="res://src/world/spook_manager.tres" id="3_l0av5"]
[ext_resource type="PackedScene" uid="uid://dc4tts6342cuj" path="res://levels/prop_test/prop_test.tscn" id="4_5kmgb"]
[ext_resource type="PackedScene" uid="uid://bov4ok76woyc" path="res://levels/ghost_ship/ghost_ship.tscn" id="4_5kmgb"]
[ext_resource type="PackedScene" uid="uid://c0uitm5cg88h1" path="res://src/ui/menus/kill_screen/kill_screen.tscn" id="6_l0av5"]
[ext_resource type="PackedScene" uid="uid://brknr57xc2cp0" path="res://src/ui/elements/save_icon/save_icon.tscn" id="7_5kmgb"]