GunkBody uses parent as meshinstance by default, rather than vice-versa

This commit is contained in:
Rob Kelly 2025-03-18 13:25:34 -06:00
parent 0d24bf32a0
commit 54d634c7c0
15 changed files with 686 additions and 616 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -56,8 +56,9 @@ omni_range = 10.0
[node name="OmniLight3D9" type="OmniLight3D" parent="GhostShipLevel"] [node name="OmniLight3D9" type="OmniLight3D" parent="GhostShipLevel"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -32, 3.1, -52.6) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -32, 3.1, -52.6)
light_energy = 4.0 light_energy = 8.0
omni_range = 10.0 light_indirect_energy = 4.0
omni_range = 20.0
[node name="PostProcessing" parent="." instance=ExtResource("3_o7mxe")] [node name="PostProcessing" parent="." instance=ExtResource("3_o7mxe")]

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=90 format=4 uid="uid://crydi5cjgfwe5"] [gd_scene load_steps=91 format=4 uid="uid://crydi5cjgfwe5"]
[ext_resource type="PackedScene" uid="uid://oowut88kr2ox" path="res://levels/ghost_ship/player_ship/player_ship.tscn" id="1_2pyr1"] [ext_resource type="PackedScene" uid="uid://oowut88kr2ox" path="res://levels/ghost_ship/player_ship/player_ship.tscn" id="1_2pyr1"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_2egij"] [ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_2egij"]
@ -295,6 +295,9 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[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_62grt"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_62grt"]
resource_local_to_scene = true resource_local_to_scene = true
albedo_texture = ExtResource("27_lfacn") albedo_texture = ExtResource("27_lfacn")
@ -400,9 +403,6 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_oy2vn") shadow_mesh = SubResource("ArrayMesh_oy2vn")
[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="ParticleProcessMaterial" id="ParticleProcessMaterial_6giaa"] [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_6giaa"]
emission_shape = 3 emission_shape = 3
emission_box_extents = Vector3(1.5, 1.5, 6) emission_box_extents = Vector3(1.5, 1.5, 6)
@ -605,6 +605,29 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_smvh1"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("5_1njh5")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(2, 2)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_hrvvi")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_2roq2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_fk1xc")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_f0xh4"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_f0xh4"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
@ -628,7 +651,7 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_u2hqf"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_48a1a"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("5_1njh5") shader = ExtResource("5_1njh5")
@ -651,7 +674,7 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_8r2kq"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_kp5n7"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("5_1njh5") shader = ExtResource("5_1njh5")
@ -674,7 +697,7 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wvfch"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_nmnkj"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("5_1njh5") shader = ExtResource("5_1njh5")
@ -705,27 +728,25 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.75)
[node name="Airlock" type="Node3D" parent="."] [node name="Airlock" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12)
[node name="Floor" parent="Airlock" instance=ExtResource("2_2egij")] [node name="Floor" type="MeshInstance3D" parent="Airlock"]
mesh = ExtResource("6_6giaa")
[node name="GunkBody" parent="Airlock/Floor" instance=ExtResource("2_2egij")]
initial_mask = ExtResource("3_35kna") initial_mask = ExtResource("3_35kna")
source_gunk_material = SubResource("ShaderMaterial_sqa4l") source_gunk_material = SubResource("ShaderMaterial_sqa4l")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/Floor"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Floor/GunkBody"]
mesh = ExtResource("6_6giaa")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Floor"]
shape = SubResource("ConcavePolygonShape3D_yvipw") shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Ceiling" parent="Airlock" instance=ExtResource("2_2egij")] [node name="Ceiling" type="MeshInstance3D" parent="Airlock"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, 0, 3, 0) 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("7_otfxe")
[node name="GunkBody" parent="Airlock/Ceiling" instance=ExtResource("2_2egij")]
initial_mask = ExtResource("3_35kna") initial_mask = ExtResource("3_35kna")
source_gunk_material = SubResource("ShaderMaterial_17ivy") source_gunk_material = SubResource("ShaderMaterial_17ivy")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/Ceiling"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Ceiling/GunkBody"]
mesh = ExtResource("7_otfxe")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Ceiling"]
shape = SubResource("ConcavePolygonShape3D_d1yty") shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="SimpleWalls" type="StaticBody3D" parent="Airlock"] [node name="SimpleWalls" type="StaticBody3D" parent="Airlock"]
@ -774,26 +795,28 @@ shape = SubResource("ConcavePolygonShape3D_smvh1")
[node name="FarWall" type="Node3D" parent="Airlock"] [node name="FarWall" type="Node3D" parent="Airlock"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.5)
[node name="LeftWall" parent="Airlock/FarWall" instance=ExtResource("2_2egij")] [node name="LeftWall" type="MeshInstance3D" parent="Airlock/FarWall"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -3, 1.5, 0) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -3, 1.5, 0)
mesh = ExtResource("16_sqa4l")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Airlock/FarWall/LeftWall" instance=ExtResource("2_2egij")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_2pd8h") source_gunk_material = SubResource("ShaderMaterial_2pd8h")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/FarWall/LeftWall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/LeftWall/GunkBody"]
mesh = ExtResource("16_sqa4l")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/LeftWall"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="RightWall" parent="Airlock/FarWall" instance=ExtResource("2_2egij")] [node name="RightWall" type="MeshInstance3D" parent="Airlock/FarWall"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 3, 1.5, 0) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 3, 1.5, 0)
mesh = ExtResource("16_sqa4l")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Airlock/FarWall/RightWall" instance=ExtResource("2_2egij")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_ji5cn") source_gunk_material = SubResource("ShaderMaterial_ji5cn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/FarWall/RightWall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/RightWall/GunkBody"]
mesh = ExtResource("16_sqa4l")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/RightWall"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="WallSwitch" parent="Airlock/FarWall" instance=ExtResource("17_0idgf")] [node name="WallSwitch" parent="Airlock/FarWall" instance=ExtResource("17_0idgf")]
@ -818,53 +841,59 @@ process_material = SubResource("ParticleProcessMaterial_otfxe")
[node name="Corridor1" type="Node3D" parent="."] [node name="Corridor1" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -22.5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -22.5)
[node name="Hallway1" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="Hallway1" type="MeshInstance3D" parent="Corridor1"]
mesh = ExtResource("25_smvh1")
skeleton = NodePath("Hallway1")
[node name="Hallway1" parent="Corridor1/Hallway1" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_35kna") source_gunk_material = SubResource("ShaderMaterial_35kna")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway1/Hallway1"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="CrateLong" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")] [node name="CrateLong" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.25, -5)
mesh = SubResource("ArrayMesh_54end") mesh = SubResource("ArrayMesh_54end")
skeleton = NodePath("../Hallway1")
[node name="CrateLong3" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")] [node name="CrateLong3" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")]
transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3) transform = Transform3D(0.258819, -0.965926, 0, 0.965926, 0.258819, 0, 0, 0, 1, 1.2, 0.426927, -3)
mesh = SubResource("ArrayMesh_8r2kq") mesh = SubResource("ArrayMesh_8r2kq")
skeleton = NodePath("../Hallway1")
[node name="CrateLong2" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")] [node name="CrateLong2" parent="Corridor1/Hallway1" instance=ExtResource("26_otfxe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.75, -5)
mesh = SubResource("ArrayMesh_ii88q") mesh = SubResource("ArrayMesh_ii88q")
skeleton = NodePath("../Hallway1")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/Hallway1"]
mesh = ExtResource("25_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway1"]
shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="FloatingDust" parent="Corridor1/Hallway1" instance=ExtResource("25_6giaa")] [node name="FloatingDust" parent="Corridor1/Hallway1" instance=ExtResource("25_6giaa")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
process_material = SubResource("ParticleProcessMaterial_6giaa") process_material = SubResource("ParticleProcessMaterial_6giaa")
[node name="T-Junction1" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="T-Junction1" type="MeshInstance3D" parent="Corridor1"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, -7.5) transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, -7.5)
mesh = ExtResource("27_17ivy")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/T-Junction1" instance=ExtResource("2_2egij")]
mask_dim = 192 mask_dim = 192
source_gunk_material = SubResource("ShaderMaterial_4a0u4") source_gunk_material = SubResource("ShaderMaterial_4a0u4")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/T-Junction1"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/T-Junction1/GunkBody"]
mesh = ExtResource("27_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/T-Junction1"]
shape = SubResource("ConcavePolygonShape3D_if0c2") shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="Bulkhead1" parent="Corridor1" instance=ExtResource("35_f0xh4")] [node name="Bulkhead1" parent="Corridor1" instance=ExtResource("35_f0xh4")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.5, 0, -7.5) transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.5, 0, -7.5)
[node name="Hallway2" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="Hallway2" type="MeshInstance3D" parent="Corridor1"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.5, 0, -7.5) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -7.5, 0, -7.5)
mesh = ExtResource("28_17ivy")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/Hallway2" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_okeuk") source_gunk_material = SubResource("ShaderMaterial_okeuk")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/Hallway2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway2/GunkBody"]
mesh = ExtResource("28_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway2"]
shape = SubResource("ConcavePolygonShape3D_ruwlj") shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="GrunkNodule" parent="Corridor1/Hallway2" instance=ExtResource("19_ji5cn")] [node name="GrunkNodule" parent="Corridor1/Hallway2" instance=ExtResource("19_ji5cn")]
@ -893,50 +922,54 @@ value = 800.0
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
process_material = SubResource("ParticleProcessMaterial_6giaa") process_material = SubResource("ParticleProcessMaterial_6giaa")
[node name="Hallway3" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="Hallway3" type="MeshInstance3D" parent="Corridor1"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -19.5, 0, -7.5) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -19.5, 0, -7.5)
mesh = ExtResource("25_smvh1")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/Hallway3" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_d8p6j") source_gunk_material = SubResource("ShaderMaterial_d8p6j")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/Hallway3"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway3/GunkBody"]
mesh = ExtResource("25_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway3"]
shape = SubResource("ConcavePolygonShape3D_ruwlj") shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="FloatingDust" parent="Corridor1/Hallway3" instance=ExtResource("25_6giaa")] [node name="FloatingDust" parent="Corridor1/Hallway3" instance=ExtResource("25_6giaa")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
process_material = SubResource("ParticleProcessMaterial_6giaa") process_material = SubResource("ParticleProcessMaterial_6giaa")
[node name="T-Junction2" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="T-Junction2" type="MeshInstance3D" parent="Corridor1"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -27, 0, -7.5) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -27, 0, -7.5)
mesh = ExtResource("28_ji5cn")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/T-Junction2" instance=ExtResource("2_2egij")]
mask_dim = 192 mask_dim = 192
source_gunk_material = SubResource("ShaderMaterial_gim1e") source_gunk_material = SubResource("ShaderMaterial_gim1e")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/T-Junction2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/T-Junction2/GunkBody"]
mesh = ExtResource("28_ji5cn")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/T-Junction2"]
shape = SubResource("ConcavePolygonShape3D_if0c2") shape = SubResource("ConcavePolygonShape3D_if0c2")
[node name="EndCap" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="EndCap" type="MeshInstance3D" parent="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) 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("30_ji5cn")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/EndCap" instance=ExtResource("2_2egij")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_6giaa") source_gunk_material = SubResource("ShaderMaterial_6giaa")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/EndCap"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/EndCap/GunkBody"]
mesh = ExtResource("30_ji5cn")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/EndCap"]
shape = SubResource("ConcavePolygonShape3D_17ivy") shape = SubResource("ConcavePolygonShape3D_17ivy")
[node name="Hallway4" parent="Corridor1" instance=ExtResource("2_2egij")] [node name="Hallway4" type="MeshInstance3D" parent="Corridor1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -27, 0, -15) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -27, 0, -15)
mesh = ExtResource("31_ji5cn")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="Corridor1/Hallway4" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_otfxe") source_gunk_material = SubResource("ShaderMaterial_otfxe")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Corridor1/Hallway4"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway4/GunkBody"]
mesh = ExtResource("31_ji5cn")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Corridor1/Hallway4"]
shape = SubResource("ConcavePolygonShape3D_ruwlj") shape = SubResource("ConcavePolygonShape3D_ruwlj")
[node name="FloatingDust" parent="Corridor1/Hallway4" instance=ExtResource("25_6giaa")] [node name="FloatingDust" parent="Corridor1/Hallway4" instance=ExtResource("25_6giaa")]
@ -948,300 +981,369 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -27, 0, -53)
[node name="Walls" type="Node3D" parent="MessHall"] [node name="Walls" type="Node3D" parent="MessHall"]
[node name="Wall" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall" type="MeshInstance3D" parent="MessHall/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) 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("29_35kna")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="MessHall/Walls/Wall" instance=ExtResource("2_2egij")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn") source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall/GunkBody"]
mesh = ExtResource("29_35kna")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall2" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall2" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall2"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall2"] [node name="GunkBody" parent="MessHall/Walls/Wall2" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall2/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall3" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall3" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall3"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall3"] [node name="GunkBody" parent="MessHall/Walls/Wall3" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall3/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall4" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall4" type="MeshInstance3D" parent="MessHall/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, 2) 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, 2)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall4"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall4"] [node name="GunkBody" parent="MessHall/Walls/Wall4" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall4/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall5" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall5" type="MeshInstance3D" parent="MessHall/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, -1) 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, -1)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall5"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall5"] [node name="GunkBody" parent="MessHall/Walls/Wall5" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall5/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall6" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall6" type="MeshInstance3D" parent="MessHall/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, -4) 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, -4)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall6"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall6"] [node name="GunkBody" parent="MessHall/Walls/Wall6" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall6/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall7" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall7" type="MeshInstance3D" parent="MessHall/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, -7) 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, -7)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall7"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall7"] [node name="GunkBody" parent="MessHall/Walls/Wall7" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall7/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall8" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall8" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 3, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, 3, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall8"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall8"] [node name="GunkBody" parent="MessHall/Walls/Wall8" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall8/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall9" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall9" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, 0, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall9"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall9"] [node name="GunkBody" parent="MessHall/Walls/Wall9" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall9/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall10" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall10" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -3, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -3, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall10"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall10"] [node name="GunkBody" parent="MessHall/Walls/Wall10" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall10/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall11" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall11" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -6, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -6, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall11"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall11"] [node name="GunkBody" parent="MessHall/Walls/Wall11" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall11/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall12" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall12" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -9, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -9, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall12"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall12"] [node name="GunkBody" parent="MessHall/Walls/Wall12" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall12/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall13" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall13" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, -12, 1.5, -8.5) transform = Transform3D(1, -1.06581e-14, 4.02341e-21, 0, -4.37114e-08, -1, 1.06581e-14, 1, -4.37114e-08, -12, 1.5, -8.5)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall13"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall13"] [node name="GunkBody" parent="MessHall/Walls/Wall13" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall13/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall14" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall14" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, -7) 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, -7)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall14"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall14"] [node name="GunkBody" parent="MessHall/Walls/Wall14" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall14/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall15" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall15" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, -4) 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, -4)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall15"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall15"] [node name="GunkBody" parent="MessHall/Walls/Wall15" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall15/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall16" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall16" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, -1) 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, -1)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall16"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall16"] [node name="GunkBody" parent="MessHall/Walls/Wall16" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall16/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall17" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall17" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, 2) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall17"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall17"] [node name="GunkBody" parent="MessHall/Walls/Wall17" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall17/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall18" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall18" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, 5) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall18"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall18"] [node name="GunkBody" parent="MessHall/Walls/Wall18" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall18/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall19" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall19" type="MeshInstance3D" parent="MessHall/Walls"]
transform = Transform3D(-4.37114e-08, 1, -4.37114e-08, 0, -4.37114e-08, -1, -1, -4.37114e-08, 1.91069e-15, -13.5, 1.5, 8) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall19"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall19"] [node name="GunkBody" parent="MessHall/Walls/Wall19" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall19/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall20" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall20" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall20"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall20"] [node name="GunkBody" parent="MessHall/Walls/Wall20" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall20/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall21" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall21" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall21"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall21"] [node name="GunkBody" parent="MessHall/Walls/Wall21" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall21/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall22" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall22" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall22"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall22"] [node name="GunkBody" parent="MessHall/Walls/Wall22" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall22/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Wall23" parent="MessHall/Walls" instance=ExtResource("2_2egij")] [node name="Wall23" type="MeshInstance3D" parent="MessHall/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) 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)
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_lfacn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Walls/Wall23"]
mesh = ExtResource("29_35kna") mesh = ExtResource("29_35kna")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall23"] [node name="GunkBody" parent="MessHall/Walls/Wall23" instance=ExtResource("2_2egij")]
mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_smvh1")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Walls/Wall23/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_p11ap") shape = SubResource("ConcavePolygonShape3D_p11ap")
[node name="Floors" type="Node3D" parent="MessHall"] [node name="Floors" type="Node3D" parent="MessHall"]
[node name="Floor" parent="MessHall/Floors" instance=ExtResource("2_2egij")] [node name="Floor" type="MeshInstance3D" parent="MessHall/Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
mesh = ExtResource("6_6giaa")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="MessHall/Floors/Floor" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_f0xh4") source_gunk_material = SubResource("ShaderMaterial_f0xh4")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Floors/Floor"] [node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor/GunkBody"]
mesh = ExtResource("6_6giaa")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor"]
shape = SubResource("ConcavePolygonShape3D_yvipw") shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Floor2" parent="MessHall/Floors" instance=ExtResource("2_2egij")] [node name="Floor2" type="MeshInstance3D" parent="MessHall/Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 5)
source_gunk_material = SubResource("ShaderMaterial_u2hqf")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Floors/Floor2"]
mesh = ExtResource("6_6giaa")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor2"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Floor3" parent="MessHall/Floors" instance=ExtResource("2_2egij")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, -4)
source_gunk_material = SubResource("ShaderMaterial_8r2kq")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Floors/Floor3"]
mesh = ExtResource("6_6giaa")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor3"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Floor4" parent="MessHall/Floors" instance=ExtResource("2_2egij")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
source_gunk_material = SubResource("ShaderMaterial_wvfch")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MessHall/Floors/Floor4"]
mesh = ExtResource("6_6giaa") mesh = ExtResource("6_6giaa")
skeleton = NodePath("GunkBody")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor4"] [node name="GunkBody" parent="MessHall/Floors/Floor2" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_48a1a")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor2/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_yvipw") shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Floor3" type="MeshInstance3D" parent="MessHall/Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, 5)
mesh = ExtResource("6_6giaa")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="MessHall/Floors/Floor3" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_kp5n7")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor3/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Floor4" type="MeshInstance3D" parent="MessHall/Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0, -4)
mesh = ExtResource("6_6giaa")
skeleton = NodePath("GunkBody")
[node name="GunkBody" parent="MessHall/Floors/Floor4" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_nmnkj")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Floors/Floor4/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_yvipw")
[node name="Ceilings" type="Node3D" parent="MessHall"]
[node name="Ceiling" type="MeshInstance3D" parent="MessHall/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("7_otfxe")
[node name="GunkBody" parent="MessHall/Ceilings/Ceiling" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Ceilings/Ceiling/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Ceiling2" type="MeshInstance3D" parent="MessHall/Ceilings"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, 0, 3, -4)
mesh = ExtResource("7_otfxe")
[node name="GunkBody" parent="MessHall/Ceilings/Ceiling2" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Ceilings/Ceiling2/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Ceiling3" type="MeshInstance3D" parent="MessHall/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("7_otfxe")
[node name="GunkBody" parent="MessHall/Ceilings/Ceiling3" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Ceilings/Ceiling3/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[node name="Ceiling4" type="MeshInstance3D" parent="MessHall/Ceilings"]
transform = Transform3D(-1, -7.64274e-15, 8.74228e-08, 0, -1, -8.74228e-08, 8.74228e-08, -8.74228e-08, 1, -9, 3, -4)
mesh = ExtResource("7_otfxe")
[node name="GunkBody" parent="MessHall/Ceilings/Ceiling4" instance=ExtResource("2_2egij")]
source_gunk_material = SubResource("ShaderMaterial_17ivy")
[node name="CollisionShape3D" type="CollisionShape3D" parent="MessHall/Ceilings/Ceiling4/GunkBody"]
shape = SubResource("ConcavePolygonShape3D_d1yty")
[connection signal="activated" from="Airlock/FarWall/WallSwitch" to="Airlock/FarWall/WallSwitch" method="disable"] [connection signal="activated" from="Airlock/FarWall/WallSwitch" to="Airlock/FarWall/WallSwitch" method="disable"]
[connection signal="activated" from="Airlock/FarWall/WallSwitch" to="Airlock/FarWall/Bulkhead" method="open"] [connection signal="activated" from="Airlock/FarWall/WallSwitch" to="Airlock/FarWall/Bulkhead" method="open"]

View File

@ -1,7 +1,7 @@
extends Node3D extends Node3D
## Game mechanic testing level ## Game mechanic testing level
@onready var gunk_hall: GunkBody = %GunkHall @onready var gunk_hall: GunkBody = %GunkHallBody
@onready var bulkhead: Node3D = $Bulkhead @onready var bulkhead: Node3D = $Bulkhead
@onready var open_switch: Node3D = %OpenSwitch @onready var open_switch: Node3D = %OpenSwitch

View File

@ -31,48 +31,6 @@ size = Vector3(0.5, 2, 0.5)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bg05n"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bg05n"]
data = PackedVector3Array(-0.25, 1, 0.25, 0.25, 1, 0.25, -0.25, -1, 0.25, 0.25, 1, 0.25, 0.25, -1, 0.25, -0.25, -1, 0.25, 0.25, 1, -0.25, -0.25, 1, -0.25, 0.25, -1, -0.25, -0.25, 1, -0.25, -0.25, -1, -0.25, 0.25, -1, -0.25, 0.25, 1, 0.25, 0.25, 1, -0.25, 0.25, -1, 0.25, 0.25, 1, -0.25, 0.25, -1, -0.25, 0.25, -1, 0.25, -0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, -1, -0.25, -0.25, 1, 0.25, -0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, 1, 0.25, -0.25, 1, 0.25, 0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, 1, -0.25, 0.25, 1, -0.25, -0.25, -1, 0.25, 0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, -1, 0.25, 0.25, -1, -0.25, -0.25, -1, -0.25) data = PackedVector3Array(-0.25, 1, 0.25, 0.25, 1, 0.25, -0.25, -1, 0.25, 0.25, 1, 0.25, 0.25, -1, 0.25, -0.25, -1, 0.25, 0.25, 1, -0.25, -0.25, 1, -0.25, 0.25, -1, -0.25, -0.25, 1, -0.25, -0.25, -1, -0.25, 0.25, -1, -0.25, 0.25, 1, 0.25, 0.25, 1, -0.25, 0.25, -1, 0.25, 0.25, 1, -0.25, 0.25, -1, -0.25, 0.25, -1, 0.25, -0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, -1, -0.25, -0.25, 1, 0.25, -0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, 1, 0.25, -0.25, 1, 0.25, 0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, 1, -0.25, 0.25, 1, -0.25, -0.25, -1, 0.25, 0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, -1, 0.25, 0.25, -1, -0.25, -0.25, -1, -0.25)
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rp2qp"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_if0c2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("6_x2vho")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_2pd8h"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("6_x2vho")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_iyuyb"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("5_0j1ke")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_rp2qp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_if0c2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_2pd8h")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_2h3rs"] [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_2h3rs"]
load_path = "res://.godot/imported/hallway_2_C.png-368e035781dbfc292f80210e8377e1f9.ctex" load_path = "res://.godot/imported/hallway_2_C.png-368e035781dbfc292f80210e8377e1f9.ctex"
@ -125,6 +83,48 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_0j1ke") shadow_mesh = SubResource("ArrayMesh_0j1ke")
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rp2qp"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_if0c2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("6_x2vho")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_2pd8h"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("6_x2vho")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_iyuyb"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("5_0j1ke")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_rp2qp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_if0c2")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_2pd8h")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_qjnj2"] [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) 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)
@ -227,16 +227,17 @@ enabled = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0.3) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0.3)
text = "Trigger" text = "Trigger"
[node name="GunkHall" parent="." instance=ExtResource("4_2uiim")] [node name="GunkHall" type="MeshInstance3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, -31) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, -31)
mesh = SubResource("ArrayMesh_x2vho")
skeleton = NodePath("GunkHallBody")
[node name="GunkHallBody" parent="GunkHall" instance=ExtResource("4_2uiim")]
unique_name_in_owner = true
initial_mask = ExtResource("5_x2vho") initial_mask = ExtResource("5_x2vho")
source_gunk_material = SubResource("ShaderMaterial_iyuyb") source_gunk_material = SubResource("ShaderMaterial_iyuyb")
[node name="MeshInstance3D" type="MeshInstance3D" parent="GunkHall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="GunkHall/GunkHallBody"]
mesh = SubResource("ArrayMesh_x2vho")
[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkHall"]
shape = SubResource("ConcavePolygonShape3D_qjnj2") shape = SubResource("ConcavePolygonShape3D_qjnj2")
[node name="Bulkhead" parent="." instance=ExtResource("8_f342o")] [node name="Bulkhead" parent="." instance=ExtResource("8_f342o")]
@ -293,9 +294,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 0, 4.5)
[connection signal="activated" from="NoduleSpawner/WallSwitch" to="." method="spawn_nodule"] [connection signal="activated" from="NoduleSpawner/WallSwitch" to="." method="spawn_nodule"]
[connection signal="activated" from="AlarmSpawner/WallSwitch" to="." method="spawn_alarm"] [connection signal="activated" from="AlarmSpawner/WallSwitch" to="." method="spawn_alarm"]
[connection signal="activated" from="AlarmTrigger/AlarmTriggerSwitch" to="." method="trigger_spawned_alarm"] [connection signal="activated" from="AlarmTrigger/AlarmTriggerSwitch" to="." method="trigger_spawned_alarm"]
[connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead" method="open"]
[connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead/Podium/OpenSwitch" method="disable"] [connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead/Podium/OpenSwitch" method="disable"]
[connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead/Podium2/CloseSwitch" method="enable"] [connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead/Podium2/CloseSwitch" method="enable"]
[connection signal="activated" from="Bulkhead/Podium/OpenSwitch" to="Bulkhead" method="open"] [connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead" method="close"]
[connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead/Podium/OpenSwitch" method="enable"] [connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead/Podium/OpenSwitch" method="enable"]
[connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead/Podium2/CloseSwitch" method="disable"] [connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead/Podium2/CloseSwitch" method="disable"]
[connection signal="activated" from="Bulkhead/Podium2/CloseSwitch" to="Bulkhead" method="close"]

View File

@ -4,6 +4,40 @@
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_lrgpr"] [ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="2_lrgpr"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_7477u"] [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="3_7477u"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"]
albedo_color = Color(1, 0.403922, 1, 1)
[sub_resource type="ArrayMesh" id="ArrayMesh_cgmn0"]
_surfaces = [{
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
"format": 34896613377,
"index_count": 108,
"index_data": PackedByteArray("AAABAAIAAgADAAAAAAADAAQAAgAFAAMAAgABAAUAAwAGAAQAAwAFAAYABAAHAAAAAAAHAAEABAAGAAcABwAIAAEABgAIAAcACQAFAAEAAQAIAAkACgAIAAYABgAFAAoACwAJAAgACwAIAAwADAAIAAoADQAJAAsADQAFAAkADAANAAsADgAFAA0ADgANAAwACgAFAA8ADwAFAA4ACgAPABAADgAMABEADAAKABIAEgAKABAAEQAMABIAEAAPABMADwAOABMAEAATABIAEwAOABEAEgATABEA"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 20,
"vertex_data": PackedByteArray("AAD/////AAAAAJkZ//8AAAAA//+p6gAA/////6nqAAD///////8AAAAAmRmp6gAA//+ZGanqAAD//5kZ//8AAP//AAD//wAAAAAAAP//AAD//5kZVRUAAP//AAAAAAAA//+ZGQAAAAAAAAAAAAAAAAAAmRkAAAAAAACZGVUVAAD/////VRUAAAAA//8AAAAA/////wAAAAAAAP//VRUAAA==")
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_aix42"]
_surfaces = [{
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
"attribute_data": PackedByteArray("S0tKSw6PSktLS9JSDo/SUpWWSkuVlqWlDo+lpQ6PHZ5LSx2eS0ulpQAA//8AADu8S0v//0tLO7xLS3f4Do93+EtL//8Oj///lZb//w6PLK0Oj6WllZalpUtLpaVLSyyt4eGHB+HhS0uVlocHlZZLS+Hh0lKVltJSlZb//5WWpaXh4f//4eGlpZWWAADh4QAAlZaHB+HhhwdLSzu8AAA7vEtL8HAAAPBwlZZZWpWW0lLh4Vla4eHSUpWWHZ7h4R2e4eGlpZWWpaXh4R2elZYdnktL8HAAAPBwS0stLQAALS0="),
"format": 34896613399,
"index_count": 108,
"index_data": PackedByteArray("AAABAAIAAgABAAMABAADAAEABQADAAQABgADAAUABwADAAYABwAGAAgACAAGAAkACgALAAwADAALAA0ADgAPABAAEAAPABEADwASABEAEwASAA8AFAASABMAFQASABQAFAATABYAFgATABcAGAAZABoAGgAZABsAGQAcABsAGwAcAB0AHgAfACAAIAAfACEAIgAjACQAJAAjACUAJgAnACgAKAAnACkAKgArACwALAArAC0AKgAsAC4ALgAsAC8AMAAxADIAMgAxADMANAA1ADYANgA1ADcA"),
"material": SubResource("StandardMaterial3D_awnx0"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 56,
"vertex_data": PackedByteArray("AAD/////VNUAAJkZ//9U1QAA//+p6lTVAACZGanqVNUAAAAA//9U1QAAAAAAAFTVAACZGQAAVNUAAJkZVRVU1QAA//9VFVTVAAD//wAAVNUAAP//qer//wAAmRmp6v///////6nq/////5kZqer///////+p6lTV//+ZGanqVNX///////9U1f//mRn//1TV//8AAP//VNX//5kZVRVT1f//mRkAAFTV//8AAAAAVNX/////AABU1f////9VFVTV////////AID//5kZ//8AgAAA/////wCAAACZGf//AID//wAA//8AgAAAAAD//wCAAAAAAAAA/78AAAAA////v///AAAAAP+///8AAP///78AAP//qer/v/////+p6v+/AAD//////7//////////v///mRmp6v+/AACZGanq/7///5kZVRX/vwAAmRlVFf+/AACZGQAA//8AAAAAAAD/////mRkAAP////8AAAAA//8AAP//AAD///////8AAP///////1UV/78AAP//VRX/v/////8AAP+/AAD//wAA/7///5kZVRUAgAAAmRlVFQCA/////1UVAIAAAP//VRUAgFRVqqpUVaqqVFWqqlRVqapUVamqVFWpqlRVqqpUVaqqVFWqqlRVqqr///9/////f////3////9/qqpUVamqVFWqqlRVqqpUVamqVFWpqlNVqapUVaqqVFWqqlRVqqpUVf9/////f////3////9/////f////3///wAA/38AAP9/AAD/fwAA/3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3//f////3////9/////f///")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_cgmn0")
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_x2vho"] [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_x2vho"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex" load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
@ -46,52 +80,19 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_awnx0"]
albedo_color = Color(1, 0.403922, 1, 1)
[sub_resource type="ArrayMesh" id="ArrayMesh_cgmn0"]
_surfaces = [{
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
"format": 34896613377,
"index_count": 108,
"index_data": PackedByteArray("AAABAAIAAgADAAAAAAADAAQAAgAFAAMAAgABAAUAAwAGAAQAAwAFAAYABAAHAAAAAAAHAAEABAAGAAcABwAIAAEABgAIAAcACQAFAAEAAQAIAAkACgAIAAYABgAFAAoACwAJAAgACwAIAAwADAAIAAoADQAJAAsADQAFAAkADAANAAsADgAFAA0ADgANAAwACgAFAA8ADwAFAA4ACgAPABAADgAMABEADAAKABIAEgAKABAAEQAMABIAEAAPABMADwAOABMAEAATABIAEwAOABEAEgATABEA"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 20,
"vertex_data": PackedByteArray("AAD/////AAAAAJkZ//8AAAAA//+p6gAA/////6nqAAD///////8AAAAAmRmp6gAA//+ZGanqAAD//5kZ//8AAP//AAD//wAAAAAAAP//AAD//5kZVRUAAP//AAAAAAAA//+ZGQAAAAAAAAAAAAAAAAAAmRkAAAAAAACZGVUVAAD/////VRUAAAAA//8AAAAA/////wAAAAAAAP//VRUAAA==")
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_aix42"]
_surfaces = [{
"aabb": AABB(-1, -1, -2.3, 2, 2, 2.4),
"attribute_data": PackedByteArray("S0tKSw6PSktLS9JSDo/SUpWWSkuVlqWlDo+lpQ6PHZ5LSx2eS0ulpQAA//8AADu8S0v//0tLO7xLS3f4Do93+EtL//8Oj///lZb//w6PLK0Oj6WllZalpUtLpaVLSyyt4eGHB+HhS0uVlocHlZZLS+Hh0lKVltJSlZb//5WWpaXh4f//4eGlpZWWAADh4QAAlZaHB+HhhwdLSzu8AAA7vEtL8HAAAPBwlZZZWpWW0lLh4Vla4eHSUpWWHZ7h4R2e4eGlpZWWpaXh4R2elZYdnktL8HAAAPBwS0stLQAALS0="),
"format": 34896613399,
"index_count": 108,
"index_data": PackedByteArray("AAABAAIAAgABAAMABAADAAEABQADAAQABgADAAUABwADAAYABwAGAAgACAAGAAkACgALAAwADAALAA0ADgAPABAAEAAPABEADwASABEAEwASAA8AFAASABMAFQASABQAFAATABYAFgATABcAGAAZABoAGgAZABsAGQAcABsAGwAcAB0AHgAfACAAIAAfACEAIgAjACQAJAAjACUAJgAnACgAKAAnACkAKgArACwALAArAC0AKgAsAC4ALgAsAC8AMAAxADIAMgAxADMANAA1ADYANgA1ADcA"),
"material": SubResource("StandardMaterial3D_awnx0"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 56,
"vertex_data": PackedByteArray("AAD/////VNUAAJkZ//9U1QAA//+p6lTVAACZGanqVNUAAAAA//9U1QAAAAAAAFTVAACZGQAAVNUAAJkZVRVU1QAA//9VFVTVAAD//wAAVNUAAP//qer//wAAmRmp6v///////6nq/////5kZqer///////+p6lTV//+ZGanqVNX///////9U1f//mRn//1TV//8AAP//VNX//5kZVRVT1f//mRkAAFTV//8AAAAAVNX/////AABU1f////9VFVTV////////AID//5kZ//8AgAAA/////wCAAACZGf//AID//wAA//8AgAAAAAD//wCAAAAAAAAA/78AAAAA////v///AAAAAP+///8AAP///78AAP//qer/v/////+p6v+/AAD//////7//////////v///mRmp6v+/AACZGanq/7///5kZVRX/vwAAmRlVFf+/AACZGQAA//8AAAAAAAD/////mRkAAP////8AAAAA//8AAP//AAD///////8AAP///////1UV/78AAP//VRX/v/////8AAP+/AAD//wAA/7///5kZVRUAgAAAmRlVFQCA/////1UVAIAAAP//VRUAgFRVqqpUVaqqVFWqqlRVqapUVamqVFWpqlRVqqpUVaqqVFWqqlRVqqr///9/////f////3////9/qqpUVamqVFWqqlRVqqpUVamqVFWpqlNVqapUVaqqVFWqqlRVqqpUVf9/////f////3////9/////f////3///wAA/38AAP9/AAD/fwAA/3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3//f////3////9/////f///")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_cgmn0")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"] [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) 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="PropTest" type="Node3D"]
[node name="Parallel" parent="." instance=ExtResource("1_cr8wn")] [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) 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")
[node name="GunkBody" parent="Parallel" instance=ExtResource("1_cr8wn")]
mask_dim = 128 mask_dim = 128
source_gunk_material = SubResource("ShaderMaterial_qjnj2") source_gunk_material = SubResource("ShaderMaterial_qjnj2")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Parallel"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel/GunkBody"]
mesh = SubResource("ArrayMesh_aix42")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Parallel"]
shape = SubResource("ConcavePolygonShape3D_x2vho") shape = SubResource("ConcavePolygonShape3D_x2vho")

View File

@ -12,48 +12,6 @@
[ext_resource type="PackedScene" uid="uid://dgeg3kkogm71m" path="res://src/world/mechanics/alarm/gunk_alarm.tscn" id="10_l8xa5"] [ext_resource type="PackedScene" uid="uid://dgeg3kkogm71m" path="res://src/world/mechanics/alarm/gunk_alarm.tscn" id="10_l8xa5"]
[ext_resource type="PackedScene" uid="uid://d0j20q65wnqsr" path="res://src/world/mechanics/heart/gunk_heart.tscn" id="11_tfbib"] [ext_resource type="PackedScene" uid="uid://d0j20q65wnqsr" path="res://src/world/mechanics/heart/gunk_heart.tscn" id="11_tfbib"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f342o"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_iyuyb"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_qjnj2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_awnx0"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_f342o")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_qjnj2")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cgmn0"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cgmn0"]
resource_local_to_scene = true resource_local_to_scene = true
cull_mode = 2 cull_mode = 2
@ -96,10 +54,26 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ix0jw") shadow_mesh = SubResource("ArrayMesh_ix0jw")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_x2vho"] [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_f342o"]
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) load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tfbib"] [sub_resource type="NoiseTexture3D" id="NoiseTexture3D_iyuyb"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_qjnj2"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("3_e8utx")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_awnx0"]
resource_local_to_scene = true resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("2_tfbib") shader = ExtResource("2_tfbib")
@ -122,6 +96,9 @@ shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0 shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0 shader_parameter/inflation_pixellation = 10.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"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3u410"]
resource_local_to_scene = true resource_local_to_scene = true
cull_mode = 2 cull_mode = 2
@ -164,84 +141,113 @@ _surfaces = [{
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_tfbib") shadow_mesh = SubResource("ArrayMesh_tfbib")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tfbib"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("2_tfbib")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(4, 4)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_f342o")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_iyuyb")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_qjnj2")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[node name="SignalTest" type="Node3D"] [node name="SignalTest" type="Node3D"]
[node name="TriggerNetWall" parent="." instance=ExtResource("1_3u410")] [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) 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")
[node name="GunkBody" parent="TriggerNetWall" instance=ExtResource("1_3u410")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_awnx0") source_gunk_material = SubResource("ShaderMaterial_awnx0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TriggerNetWall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="TriggerNetWall/GunkBody"]
mesh = SubResource("ArrayMesh_xrfi2")
[node name="CollisionShape3D" type="CollisionShape3D" parent="TriggerNetWall"]
shape = SubResource("ConcavePolygonShape3D_x2vho") shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="GunkTrigger" parent="TriggerNetWall" instance=ExtResource("8_gx82l")] [node name="Puzzle" type="Node3D" parent="TriggerNetWall"]
[node name="GunkTrigger" parent="TriggerNetWall/Puzzle" instance=ExtResource("8_gx82l")]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, -1, 0, 0) transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, -1, 0, 0)
[node name="GunkRelay" parent="TriggerNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay" parent="TriggerNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.45, -2.62268e-08, -0.6) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.45, -2.62268e-08, -0.6)
[node name="GunkRelay2" parent="TriggerNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay2" parent="TriggerNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.15, -1.09278e-08, -0.25) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.15, -1.09278e-08, -0.25)
[node name="GunkRelay3" parent="TriggerNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay3" parent="TriggerNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.2, -1.96701e-08, -0.45) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.2, -1.96701e-08, -0.45)
[node name="GunkRelay4" parent="TriggerNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay4" parent="TriggerNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.2, 2.18557e-09, 0.05) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.2, 2.18558e-09, 0.05)
[node name="GunkAlarm" parent="TriggerNetWall" instance=ExtResource("10_l8xa5")] [node name="GunkAlarm" parent="TriggerNetWall/Puzzle" instance=ExtResource("10_l8xa5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, -1.09278e-08, -0.25) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, -1.09278e-08, -0.25)
[node name="PulseNetWall" parent="." instance=ExtResource("1_3u410")] [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) 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")
[node name="GunkBody" parent="PulseNetWall" instance=ExtResource("1_3u410")]
mask_dim = 64 mask_dim = 64
source_gunk_material = SubResource("ShaderMaterial_tfbib") source_gunk_material = SubResource("ShaderMaterial_tfbib")
[node name="MeshInstance3D" type="MeshInstance3D" parent="PulseNetWall"] [node name="CollisionShape3D" type="CollisionShape3D" parent="PulseNetWall/GunkBody"]
mesh = SubResource("ArrayMesh_e8utx")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PulseNetWall"]
shape = SubResource("ConcavePolygonShape3D_x2vho") shape = SubResource("ConcavePolygonShape3D_x2vho")
[node name="GunkHeart" parent="PulseNetWall" instance=ExtResource("11_tfbib")] [node name="Puzzle" type="Node3D" parent="PulseNetWall"]
[node name="GunkHeart" parent="PulseNetWall/Puzzle" instance=ExtResource("11_tfbib")]
transform = Transform3D(0.4, 0, 0, 0, 0.282843, -0.282843, 0, 0.282843, 0.282843, 0, 4.37114e-08, 1) transform = Transform3D(0.4, 0, 0, 0, 0.282843, -0.282843, 0, 0.282843, 0.282843, 0, 4.37114e-08, 1)
[node name="GunkRelay" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.18557e-08, 0.5) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.18557e-08, 0.5)
[node name="GunkRelay2" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay2" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 8.74228e-09, 0.2) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 8.74228e-09, 0.2)
[node name="GunkRelay3" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay3" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, 8.74228e-09, 0.2) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, 8.74228e-09, 0.2)
[node name="GunkRelay4" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay4" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.37114e-09, -0.1) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.37114e-09, -0.1)
[node name="GunkRelay5" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay5" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, -1.96701e-08, -0.45) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, -1.96701e-08, -0.45)
[node name="GunkRelay6" parent="PulseNetWall" instance=ExtResource("9_d4a3d")] [node name="GunkRelay6" parent="PulseNetWall/Puzzle" instance=ExtResource("9_d4a3d")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, -1.96701e-08, -0.45) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, -1.96701e-08, -0.45)
[node name="GunkAlarm" parent="PulseNetWall" instance=ExtResource("10_l8xa5")] [node name="GunkAlarm" parent="PulseNetWall/Puzzle" instance=ExtResource("10_l8xa5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.37114e-08, -1) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4.37114e-08, -1)
[connection signal="destroyed" from="TriggerNetWall/GunkTrigger" to="TriggerNetWall/GunkRelay" method="trigger"] [connection signal="destroyed" from="TriggerNetWall/Puzzle/GunkTrigger" to="TriggerNetWall/Puzzle/GunkRelay" method="trigger"]
[connection signal="triggered" from="TriggerNetWall/GunkRelay" to="TriggerNetWall/GunkRelay2" method="trigger"] [connection signal="triggered" from="TriggerNetWall/Puzzle/GunkRelay" to="TriggerNetWall/Puzzle/GunkRelay2" method="trigger"]
[connection signal="triggered" from="TriggerNetWall/GunkRelay2" to="TriggerNetWall/GunkRelay3" method="trigger"] [connection signal="triggered" from="TriggerNetWall/Puzzle/GunkRelay2" to="TriggerNetWall/Puzzle/GunkRelay3" method="trigger"]
[connection signal="triggered" from="TriggerNetWall/GunkRelay2" to="TriggerNetWall/GunkRelay4" method="trigger"] [connection signal="triggered" from="TriggerNetWall/Puzzle/GunkRelay2" to="TriggerNetWall/Puzzle/GunkRelay4" method="trigger"]
[connection signal="triggered" from="TriggerNetWall/GunkRelay3" to="TriggerNetWall/GunkAlarm" method="trigger"] [connection signal="triggered" from="TriggerNetWall/Puzzle/GunkRelay3" to="TriggerNetWall/Puzzle/GunkAlarm" method="trigger"]
[connection signal="triggered" from="TriggerNetWall/GunkRelay4" to="TriggerNetWall/GunkAlarm" method="trigger"] [connection signal="triggered" from="TriggerNetWall/Puzzle/GunkRelay4" to="TriggerNetWall/Puzzle/GunkAlarm" method="trigger"]
[connection signal="pulsed" from="PulseNetWall/GunkHeart" to="PulseNetWall/GunkRelay" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkHeart" to="PulseNetWall/Puzzle/GunkRelay" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay" to="PulseNetWall/GunkRelay2" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay" to="PulseNetWall/Puzzle/GunkRelay2" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay" to="PulseNetWall/GunkRelay3" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay" to="PulseNetWall/Puzzle/GunkRelay3" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay2" to="PulseNetWall/GunkRelay4" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay2" to="PulseNetWall/Puzzle/GunkRelay4" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay3" to="PulseNetWall/GunkRelay4" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay3" to="PulseNetWall/Puzzle/GunkRelay4" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay4" to="PulseNetWall/GunkRelay5" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay4" to="PulseNetWall/Puzzle/GunkRelay5" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay4" to="PulseNetWall/GunkRelay6" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay4" to="PulseNetWall/Puzzle/GunkRelay6" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay5" to="PulseNetWall/GunkAlarm" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay5" to="PulseNetWall/Puzzle/GunkAlarm" method="pulse"]
[connection signal="pulsed" from="PulseNetWall/GunkRelay6" to="PulseNetWall/GunkAlarm" method="pulse"] [connection signal="pulsed" from="PulseNetWall/Puzzle/GunkRelay6" to="PulseNetWall/Puzzle/GunkAlarm" method="pulse"]

View File

@ -1,50 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=7 format=3 uid="uid://byyjoruj8mwe0"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://byyjoruj8mwe0"]
[ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="1_psvij"]
[ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="2_jaip2"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ow0bp"]
load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex"
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_d70or"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("2_jaip2")
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_0ksu8"]
width = 256
height = 256
depth = 32
seamless = true
seamless_blend_skirt = 0.5
noise = ExtResource("2_jaip2")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4xnwj"]
resource_local_to_scene = true
render_priority = 0
shader = ExtResource("1_psvij")
shader_parameter/color_1 = Color(0, 0.03, 0.1, 1)
shader_parameter/color_2 = Color(0, 0.1, 0.3, 1)
shader_parameter/emission_color = Color(0.25, 0.88, 1, 1)
shader_parameter/pixellation = 128.0
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/uv_scale = Vector2(8, 8)
shader_parameter/time_scale = 0.2
shader_parameter/edge_bleed = 0.25
shader_parameter/gunk_mask = SubResource("CompressedTexture2D_ow0bp")
shader_parameter/gunk_noise = SubResource("NoiseTexture3D_d70or")
shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_0ksu8")
shader_parameter/jitter_magnitude = 0.0
shader_parameter/jitter_time_scale = 0.1
shader_parameter/vertex_inflation = 0.0
shader_parameter/inflation_pixellation = 10.0
[resource] [resource]
next_pass = SubResource("ShaderMaterial_4xnwj")
albedo_color = Color(1, 0.403922, 1, 1) albedo_color = Color(1, 0.403922, 1, 1)

File diff suppressed because one or more lines are too long

View File

@ -101,9 +101,8 @@ data = PackedVector3Array(0.375, -0.15, 0.75, 0.275, -0.25, 0.75, 0.375, 0.15, 0
[node name="CrateLong" type="MeshInstance3D"] [node name="CrateLong" type="MeshInstance3D"]
mesh = SubResource("ArrayMesh_c6a2t") mesh = SubResource("ArrayMesh_c6a2t")
[node name="GunkBody" parent="." node_paths=PackedStringArray("mesh_instance") instance=ExtResource("5_d06p6")] [node name="GunkBody" parent="." instance=ExtResource("5_d06p6")]
mask_dim = 32 mask_dim = 32
mesh_instance = NodePath("..")
source_gunk_material = SubResource("ShaderMaterial_sawbt") source_gunk_material = SubResource("ShaderMaterial_sawbt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkBody"] [node name="CollisionShape3D" type="CollisionShape3D" parent="GunkBody"]

View File

@ -43,11 +43,11 @@ var _exit_thread := false
func _ready() -> void: func _ready() -> void:
# If no mesh_instance was provided, use the first direct child. # If no mesh_instance was provided, use the parent.
if not mesh_instance: if not mesh_instance:
for c: Node in get_children(): var parent := get_parent() as MeshInstance3D
if c is MeshInstance3D: if parent:
mesh_instance = c as MeshInstance3D mesh_instance = parent
assert(mesh_instance, "GunkBody %s has no associated mesh!" % str(self)) assert(mesh_instance, "GunkBody %s has no associated mesh!" % str(self))
mask_viewport.size = Vector2(mask_dim, mask_dim) mask_viewport.size = Vector2(mask_dim, mask_dim)