diff --git a/assets/level/floor/floor_9x9.mesh b/assets/level/floor/floor_9x9.mesh index 8cb93a4..058cfc0 100644 Binary files a/assets/level/floor/floor_9x9.mesh and b/assets/level/floor/floor_9x9.mesh differ diff --git a/assets/materials/gunk.material b/assets/materials/gunk.material index ece7f15..572f29a 100644 Binary files a/assets/materials/gunk.material and b/assets/materials/gunk.material differ diff --git a/levels/ghost_ship/environment_3.tres b/levels/ghost_ship/environment_3.tres index 06139e1..93ff9d9 100644 --- a/levels/ghost_ship/environment_3.tres +++ b/levels/ghost_ship/environment_3.tres @@ -26,6 +26,8 @@ tonemap_mode = 4 tonemap_white = 8.0 ssao_enabled = true ssao_intensity = 2.5 +ssil_enabled = true +ssil_radius = 0.4 sdfgi_enabled = true sdfgi_use_occlusion = true glow_enabled = true diff --git a/levels/ghost_ship/ghost_ship_level.tscn b/levels/ghost_ship/ghost_ship_level.tscn index d417f22..09c399b 100644 --- a/levels/ghost_ship/ghost_ship_level.tscn +++ b/levels/ghost_ship/ghost_ship_level.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=278 format=4 uid="uid://crydi5cjgfwe5"] +[gd_scene load_steps=297 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://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="2_2egij"] @@ -244,6 +244,10 @@ shader_parameter/jitter_time_scale = 0.1 shader_parameter/vertex_inflation = 0.0 shader_parameter/inflation_pixellation = 10.0 +[sub_resource type="CapsuleMesh" id="CapsuleMesh_lfacn"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_lfacn"] + [sub_resource type="Curve" id="Curve_w3xaq"] _limits = [0.0, 0.4, 0.0, 1.0] _data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.3, 0.4), 0.0, 0.0, 0, 0, Vector2(0.7, 0.4), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] @@ -501,6 +505,51 @@ 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_nmnkj"] +resource_local_to_scene = true +albedo_texture = ExtResource("27_lfacn") +metallic = 1.0 +metallic_texture = ExtResource("28_f0xh4") +roughness_texture = ExtResource("30_u2hqf") +normal_enabled = true +normal_texture = ExtResource("29_nmnkj") +ao_enabled = true +texture_filter = 2 + +[sub_resource type="ArrayMesh" id="ArrayMesh_u2hqf"] +_surfaces = [{ +"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), +"format": 34896613377, +"index_count": 84, +"index_data": PackedByteArray("CgAGAAIAAgAEAAoABAAGAAoACwAEAAIADAAGAAQABAAIAAwACwAIAAQADAAIAAYAAgABAAsAAQAIAAsADQABAAIAAgAGAA0ABwABAA0ADQAGAAcACQABAAcACQAIAAEABwAGAA4ACQAHAAUABQAHAA4ABQAIAAkABgAIAA8AAwAIAAUADgAGAAAAAAAGAA8ADgAAAAUADwAIAAAABQAAAAMAAAAIAAMA"), +"lods": [0.108952, PackedByteArray("AgAGAAcABAAGAAIAAgABAAQABwABAAIABAAIAAYAAQAIAAQACQABAAcACQAIAAEACQAHAAUABQAIAAkABwAGAAAABwAAAAUABgAIAAAAAwAIAAUAAAAIAAMABQAAAAMA"), 0.261829, PackedByteArray("AAABAAIAAgABAAQAAQAAAAUABAADAAIAAQADAAQAAgADAAAABQADAAEABQAAAAMA"), 0.524037, PackedByteArray("AAABAAIAAgABAAMAAQAAAAMAAgADAAAA")], +"name": "Cube", +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 16, +"vertex_data": PackedByteArray("AAAyM///AADc3f//AAAAAP//zMz//wAAAAAyMwAAAAD//zIzAAAAAAAAzMwAAAAA3N0AAP//AAAhIv////8AACEiAAAAAAAAISL//wAAAAD//zIz//8AAP//zMwAAAAA3N0AAAAAAADc3f////8AAAAAzMz//wAAISIAAP//AAA=") +}] +blend_shape_mode = 0 + +[sub_resource type="ArrayMesh" id="ArrayMesh_ncghj"] +resource_local_to_scene = true +_surfaces = [{ +"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), +"attribute_data": PackedByteArray("/7//P/9v/7//X/8//7//vwAA/78AAP8//6f/v/9H/7//p/+//7//v/+f//f/v////6cAAP/H/wf/n/83/7//P/+X/7//l/8//zf/P/8P/7//x//H/5//x/+/AAD/n/8H/6f/P//H/zf/X/+//0f/P/9v/z//p/8//6f////H//f/D/8//5f/v/+X/z//p/+//6f/P/83/7//R/+//0f/P/9v/z//b/+//1//P/9f/7//N/+//w//v/83/z//D/8/"), +"format": 34896613399, +"index_count": 84, +"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), +"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], +"material": SubResource("StandardMaterial3D_nmnkj"), +"name": "Cube", +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 48, +"vertex_data": PackedByteArray("AAAyM///VNXc3f//AAD/////zMz//1TVAAAyMwAAVNUAADIzAAD8xQAAMjP///zFAADMzAAAVNX//zIzAABU1QAAzMwAAP//AAAyMwAA///c3f//AAD/////MjMAAP/////MzP///7/c3QAA///svyEi/////0TBAAAyM///Fr8hIv//AAD//yEi////////3N0AAP///MUhIgAAAAD8xSEiAAAAAP//ISL//wAA/////zIz////v9zd//////+/AADMzP//DMEhIgAA//+cvP//zMwAAFTV//8yM///VNXc3f///////wAAzMz//1TV///MzAAA///c3QAAAAD//yEiAAD///zFISL//wAAqukhIv////+q6QAAzMwAAKrpAADMzP//qunc3QAAAAD8xf//MjMAAPzF//8yM////MXc3f////+q6dzd//8AAKrp///MzP//qun//8zMAACq6dzdAAAAAP+/ISIAAAAA/7/c3QAA////vyEiAAD///+/VFWqqv9//7+qKqoqVFWqqv45/pz+Of6cVFWqqqoqqir/P/+//z//v/7A/0C2QLbA/3//f/9//3//f/9//3//f/9//7//f/+//xwBRv45/pwOQA3A/z//v/9//3//f/9//3//f/9//3+qKqoqqiqqKv9//79UVaqq0sDSQKlCqML+Of6cCWoEtQlqBLUJagS1CWoEtf8cAUb/HAFG/xwBRgQ19hUENfYVBDX2FQQ19hUAAP9/AAD/fwAA/38AAP9/") +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_u2hqf") + [sub_resource type="ShaderMaterial" id="ShaderMaterial_gim1e"] resource_local_to_scene = true render_priority = 0 @@ -1764,6 +1813,36 @@ size = Vector3(3, 0.2, 1.4) [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_f0xh4"] data = PackedVector3Array(-1.5, 0.1, 0.7, 1.5, 0.1, 0.7, -1.5, -0.1, 0.7, 1.5, 0.1, 0.7, 1.5, -0.1, 0.7, -1.5, -0.1, 0.7, 1.5, 0.1, -0.7, -1.5, 0.1, -0.7, 1.5, -0.1, -0.7, -1.5, 0.1, -0.7, -1.5, -0.1, -0.7, 1.5, -0.1, -0.7, 1.5, 0.1, 0.7, 1.5, 0.1, -0.7, 1.5, -0.1, 0.7, 1.5, 0.1, -0.7, 1.5, -0.1, -0.7, 1.5, -0.1, 0.7, -1.5, 0.1, -0.7, -1.5, 0.1, 0.7, -1.5, -0.1, -0.7, -1.5, 0.1, 0.7, -1.5, -0.1, 0.7, -1.5, -0.1, -0.7, 1.5, 0.1, 0.7, -1.5, 0.1, 0.7, 1.5, 0.1, -0.7, -1.5, 0.1, 0.7, -1.5, 0.1, -0.7, 1.5, 0.1, -0.7, -1.5, -0.1, 0.7, 1.5, -0.1, 0.7, -1.5, -0.1, -0.7, 1.5, -0.1, 0.7, 1.5, -0.1, -0.7, -1.5, -0.1, -0.7) +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6nvhk"] +resource_local_to_scene = true +albedo_texture = ExtResource("27_lfacn") +metallic = 1.0 +metallic_texture = ExtResource("28_f0xh4") +roughness_texture = ExtResource("30_u2hqf") +normal_enabled = true +normal_texture = ExtResource("29_nmnkj") +ao_enabled = true +texture_filter = 2 + +[sub_resource type="ArrayMesh" id="ArrayMesh_1h5r5"] +resource_local_to_scene = true +_surfaces = [{ +"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), +"attribute_data": PackedByteArray("/7//P/9v/7//X/8//7//vwAA/78AAP8//6f/v/9H/7//p/+//7//v/+f//f/v////6cAAP/H/wf/n/83/7//P/+X/7//l/8//zf/P/8P/7//x//H/5//x/+/AAD/n/8H/6f/P//H/zf/X/+//0f/P/9v/z//p/8//6f////H//f/D/8//5f/v/+X/z//p/+//6f/P/83/7//R/+//0f/P/9v/z//b/+//1//P/9f/7//N/+//w//v/83/z//D/8/"), +"format": 34896613399, +"index_count": 84, +"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), +"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], +"material": SubResource("StandardMaterial3D_6nvhk"), +"name": "Cube", +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 48, +"vertex_data": PackedByteArray("AAAyM///VNXc3f//AAD/////zMz//1TVAAAyMwAAVNUAADIzAAD8xQAAMjP///zFAADMzAAAVNX//zIzAABU1QAAzMwAAP//AAAyMwAA///c3f//AAD/////MjMAAP/////MzP///7/c3QAA///svyEi/////0TBAAAyM///Fr8hIv//AAD//yEi////////3N0AAP///MUhIgAAAAD8xSEiAAAAAP//ISL//wAA/////zIz////v9zd//////+/AADMzP//DMEhIgAA//+cvP//zMwAAFTV//8yM///VNXc3f///////wAAzMz//1TV///MzAAA///c3QAAAAD//yEiAAD///zFISL//wAAqukhIv////+q6QAAzMwAAKrpAADMzP//qunc3QAAAAD8xf//MjMAAPzF//8yM////MXc3f////+q6dzd//8AAKrp///MzP//qun//8zMAACq6dzdAAAAAP+/ISIAAAAA/7/c3QAA////vyEiAAD///+/VFWqqv9//7+qKqoqVFWqqv45/pz+Of6cVFWqqqoqqir/P/+//z//v/7A/0C2QLbA/3//f/9//3//f/9//3//f/9//7//f/+//xwBRv45/pwOQA3A/z//v/9//3//f/9//3//f/9//3+qKqoqqiqqKv9//79UVaqq0sDSQKlCqML+Of6cCWoEtQlqBLUJagS1CWoEtf8cAUb/HAFG/xwBRgQ19hUENfYVBDX2FQQ19hUAAP9/AAD/fwAA/38AAP9/") +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_u2hqf") + [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_48a1a"] emission_shape = 3 emission_box_extents = Vector3(4.5, 1.5, 3) @@ -3724,6 +3803,71 @@ shader_parameter/jitter_time_scale = 0.1 shader_parameter/vertex_inflation = 0.0 shader_parameter/inflation_pixellation = 10.0 +[sub_resource type="CylinderMesh" id="CylinderMesh_f0xh4"] +top_radius = 1.0 +bottom_radius = 1.0 +height = 0.2 +radial_segments = 7 +rings = 0 + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_54end"] +data = PackedVector3Array(0, 0.1, 1, 0.7818, 0.1, 0.6235, 0, -0.1, 1, 0.7818, 0.1, 0.6235, 0.7818, -0.1, 0.6235, 0, -0.1, 1, 0.7818, 0.1, 0.6235, 0.9749, 0.1, -0.2225, 0.7818, -0.1, 0.6235, 0.9749, 0.1, -0.2225, 0.9749, -0.1, -0.2225, 0.7818, -0.1, 0.6235, 0.9749, 0.1, -0.2225, 0.4339, 0.1, -0.901, 0.9749, -0.1, -0.2225, 0.4339, 0.1, -0.901, 0.4339, -0.1, -0.901, 0.9749, -0.1, -0.2225, 0.4339, 0.1, -0.901, -0.4339, 0.1, -0.901, 0.4339, -0.1, -0.901, -0.4339, 0.1, -0.901, -0.4339, -0.1, -0.901, 0.4339, -0.1, -0.901, -0.4339, 0.1, -0.901, -0.9749, 0.1, -0.2225, -0.4339, -0.1, -0.901, -0.9749, 0.1, -0.2225, -0.9749, -0.1, -0.2225, -0.4339, -0.1, -0.901, -0.9749, 0.1, -0.2225, -0.7818, 0.1, 0.6235, -0.9749, -0.1, -0.2225, -0.7818, 0.1, 0.6235, -0.7818, -0.1, 0.6235, -0.9749, -0.1, -0.2225, -0.7818, 0.1, 0.6235, 0, 0.1, 1, -0.7818, -0.1, 0.6235, 0, 0.1, 1, 0, -0.1, 1, -0.7818, -0.1, 0.6235, 0, 0.1, 0, 0.7818, 0.1, 0.6235, 0, 0.1, 1, 0, 0.1, 0, 0.9749, 0.1, -0.2225, 0.7818, 0.1, 0.6235, 0, 0.1, 0, 0.4339, 0.1, -0.901, 0.9749, 0.1, -0.2225, 0, 0.1, 0, -0.4339, 0.1, -0.901, 0.4339, 0.1, -0.901, 0, 0.1, 0, -0.9749, 0.1, -0.2225, -0.4339, 0.1, -0.901, 0, 0.1, 0, -0.7818, 0.1, 0.6235, -0.9749, 0.1, -0.2225, 0, 0.1, 0, 0, 0.1, 1, -0.7818, 0.1, 0.6235, 0, -0.1, 0, 0, -0.1, 1, 0.7818, -0.1, 0.6235, 0, -0.1, 0, 0.7818, -0.1, 0.6235, 0.9749, -0.1, -0.2225, 0, -0.1, 0, 0.9749, -0.1, -0.2225, 0.4339, -0.1, -0.901, 0, -0.1, 0, 0.4339, -0.1, -0.901, -0.4339, -0.1, -0.901, 0, -0.1, 0, -0.4339, -0.1, -0.901, -0.9749, -0.1, -0.2225, 0, -0.1, 0, -0.9749, -0.1, -0.2225, -0.7818, -0.1, 0.6235, 0, -0.1, 0, -0.7818, -0.1, 0.6235, 0, -0.1, 1) + +[sub_resource type="BoxMesh" id="BoxMesh_ncghj"] +size = Vector3(3, 0.8, 1) + +[sub_resource type="BoxMesh" id="BoxMesh_1h5r5"] +size = Vector3(2, 0.8, 1) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_8r2kq"] +data = PackedVector3Array(-1.5, 0.4, 0.5, 1.5, 0.4, 0.5, -1.5, -0.4, 0.5, 1.5, 0.4, 0.5, 1.5, -0.4, 0.5, -1.5, -0.4, 0.5, 1.5, 0.4, -0.5, -1.5, 0.4, -0.5, 1.5, -0.4, -0.5, -1.5, 0.4, -0.5, -1.5, -0.4, -0.5, 1.5, -0.4, -0.5, 1.5, 0.4, 0.5, 1.5, 0.4, -0.5, 1.5, -0.4, 0.5, 1.5, 0.4, -0.5, 1.5, -0.4, -0.5, 1.5, -0.4, 0.5, -1.5, 0.4, -0.5, -1.5, 0.4, 0.5, -1.5, -0.4, -0.5, -1.5, 0.4, 0.5, -1.5, -0.4, 0.5, -1.5, -0.4, -0.5, 1.5, 0.4, 0.5, -1.5, 0.4, 0.5, 1.5, 0.4, -0.5, -1.5, 0.4, 0.5, -1.5, 0.4, -0.5, 1.5, 0.4, -0.5, -1.5, -0.4, 0.5, 1.5, -0.4, 0.5, -1.5, -0.4, -0.5, 1.5, -0.4, 0.5, 1.5, -0.4, -0.5, -1.5, -0.4, -0.5) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_2qkxu"] +data = PackedVector3Array(-1, 0.4, 0.5, 1, 0.4, 0.5, -1, -0.4, 0.5, 1, 0.4, 0.5, 1, -0.4, 0.5, -1, -0.4, 0.5, 1, 0.4, -0.5, -1, 0.4, -0.5, 1, -0.4, -0.5, -1, 0.4, -0.5, -1, -0.4, -0.5, 1, -0.4, -0.5, 1, 0.4, 0.5, 1, 0.4, -0.5, 1, -0.4, 0.5, 1, 0.4, -0.5, 1, -0.4, -0.5, 1, -0.4, 0.5, -1, 0.4, -0.5, -1, 0.4, 0.5, -1, -0.4, -0.5, -1, 0.4, 0.5, -1, -0.4, 0.5, -1, -0.4, -0.5, 1, 0.4, 0.5, -1, 0.4, 0.5, 1, 0.4, -0.5, -1, 0.4, 0.5, -1, 0.4, -0.5, 1, 0.4, -0.5, -1, -0.4, 0.5, 1, -0.4, 0.5, -1, -0.4, -0.5, 1, -0.4, 0.5, 1, -0.4, -0.5, -1, -0.4, -0.5) + +[sub_resource type="BoxMesh" id="BoxMesh_ii88q"] +size = Vector3(0.7, 1.2, 1) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_wvfch"] +data = PackedVector3Array(-0.35, 0.6, 0.5, 0.35, 0.6, 0.5, -0.35, -0.6, 0.5, 0.35, 0.6, 0.5, 0.35, -0.6, 0.5, -0.35, -0.6, 0.5, 0.35, 0.6, -0.5, -0.35, 0.6, -0.5, 0.35, -0.6, -0.5, -0.35, 0.6, -0.5, -0.35, -0.6, -0.5, 0.35, -0.6, -0.5, 0.35, 0.6, 0.5, 0.35, 0.6, -0.5, 0.35, -0.6, 0.5, 0.35, 0.6, -0.5, 0.35, -0.6, -0.5, 0.35, -0.6, 0.5, -0.35, 0.6, -0.5, -0.35, 0.6, 0.5, -0.35, -0.6, -0.5, -0.35, 0.6, 0.5, -0.35, -0.6, 0.5, -0.35, -0.6, -0.5, 0.35, 0.6, 0.5, -0.35, 0.6, 0.5, 0.35, 0.6, -0.5, -0.35, 0.6, 0.5, -0.35, 0.6, -0.5, 0.35, 0.6, -0.5, -0.35, -0.6, 0.5, 0.35, -0.6, 0.5, -0.35, -0.6, -0.5, 0.35, -0.6, 0.5, 0.35, -0.6, -0.5, -0.35, -0.6, -0.5) + +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_1h5r5"] +data = PackedVector3Array(0.35, 0.25, 0.5, 0.35, -0.25, 0.5, -0.35, -0.25, 0.5, 0.35, 0.25, -0.5, -0.35, -0.25, -0.5, 0.35, -0.25, -0.5, 0.35, 0.25, 0.5, 0.35, 0.25, -0.5, 0.35, -0.25, 0.5, 0.35, 0.25, -0.5, 0.35, -0.25, -0.5, 0.35, -0.25, 0.5, 0.35, 0.25, -0.5, 0.35, 0.25, 0.5, -0.35, -0.25, -0.5, 0.35, 0.25, 0.5, -0.35, -0.25, 0.5, -0.35, -0.25, -0.5, -0.35, -0.25, 0.5, 0.35, -0.25, 0.5, -0.35, -0.25, -0.5, 0.35, -0.25, 0.5, 0.35, -0.25, -0.5, -0.35, -0.25, -0.5) + +[sub_resource type="PrismMesh" id="PrismMesh_8r2kq"] +left_to_right = 1.0 +size = Vector3(0.7, 0.5, 1) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1h5r5"] +resource_local_to_scene = true +albedo_texture = ExtResource("27_lfacn") +metallic = 1.0 +metallic_texture = ExtResource("28_f0xh4") +roughness_texture = ExtResource("30_u2hqf") +normal_enabled = true +normal_texture = ExtResource("29_nmnkj") +ao_enabled = true +texture_filter = 2 + +[sub_resource type="ArrayMesh" id="ArrayMesh_2qkxu"] +resource_local_to_scene = true +_surfaces = [{ +"aabb": AABB(-0.375, -0.25, -0.75, 0.75, 0.5, 1.5), +"attribute_data": PackedByteArray("/7//P/9v/7//X/8//7//vwAA/78AAP8//6f/v/9H/7//p/+//7//v/+f//f/v////6cAAP/H/wf/n/83/7//P/+X/7//l/8//zf/P/8P/7//x//H/5//x/+/AAD/n/8H/6f/P//H/zf/X/+//0f/P/9v/z//p/8//6f////H//f/D/8//5f/v/+X/z//p/+//6f/P/83/7//R/+//0f/P/9v/z//b/+//1//P/9f/7//N/+//w//v/83/z//D/8/"), +"format": 34896613399, +"index_count": 84, +"index_data": PackedByteArray("FgANAAwADAANABcAFwANAA4ADgANABgAGAANAA8ADwANABkAGgAHAAIAAgAHABsAEAABABEAEQABABwAHQAAAAYABgAAAAMACQAUAAgACAAUABUAFQAUAAoACgAUAB4AHgAUAAsACwAUAB8AIAATAAUABQATAAQAIQAiACMAIwAiACQAJQASACYAJgASACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"), +"lods": [0.108952, PackedByteArray("DAANAA4ADgANAA8AEAABABEAEAARAAYAEQAAAAYABgAAAAMAEQABAAIAAgABAAcABwASAAIABwATABIAEgATAAUABQATAAQACQAUAAgACAAUABUAFQAUAAoACgAUAAsA"), 0.261829, PackedByteArray("AAABAAIAAQAAAAYABgAAAAMAAgABAAcABwAEAAIAAgAEAAUACAAJAAoACgAJAAsA"), 0.524037, PackedByteArray("AAABAAIAAQAAAAMAAgABAAQAAgAEAAUA")], +"material": SubResource("StandardMaterial3D_1h5r5"), +"name": "Cube", +"primitive": 3, +"uv_scale": Vector4(0, 0, 0, 0), +"vertex_count": 48, +"vertex_data": PackedByteArray("AAAyM///VNXc3f//AAD/////zMz//1TVAAAyMwAAVNUAADIzAAD8xQAAMjP///zFAADMzAAAVNX//zIzAABU1QAAzMwAAP//AAAyMwAA///c3f//AAD/////MjMAAP/////MzP///7/c3QAA///svyEi/////0TBAAAyM///Fr8hIv//AAD//yEi////////3N0AAP///MUhIgAAAAD8xSEiAAAAAP//ISL//wAA/////zIz////v9zd//////+/AADMzP//DMEhIgAA//+cvP//zMwAAFTV//8yM///VNXc3f///////wAAzMz//1TV///MzAAA///c3QAAAAD//yEiAAD///zFISL//wAAqukhIv////+q6QAAzMwAAKrpAADMzP//qunc3QAAAAD8xf//MjMAAPzF//8yM////MXc3f////+q6dzd//8AAKrp///MzP//qun//8zMAACq6dzdAAAAAP+/ISIAAAAA/7/c3QAA////vyEiAAD///+/VFWqqv9//7+qKqoqVFWqqv45/pz+Of6cVFWqqqoqqir/P/+//z//v/7A/0C2QLbA/3//f/9//3//f/9//3//f/9//7//f/+//xwBRv45/pwOQA3A/z//v/9//3//f/9//3//f/9//3+qKqoqqiqqKv9//79UVaqq0sDSQKlCqML+Of6cCWoEtQlqBLUJagS1CWoEtf8cAUb/HAFG/xwBRgQ19hUENfYVBDX2FQQ19hUAAP9/AAD/fwAA/38AAP9/") +}] +blend_shape_mode = 0 +shadow_mesh = SubResource("ArrayMesh_u2hqf") + [sub_resource type="ShaderMaterial" id="ShaderMaterial_45wwf"] resource_local_to_scene = true render_priority = 0 @@ -4215,100 +4359,146 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.75) [node name="Airlock" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12) -[node name="Floor" type="MeshInstance3D" parent="Airlock"] -mesh = ExtResource("6_6giaa") +[node name="Bounds" type="Node3D" parent="Airlock"] -[node name="GunkBody" parent="Airlock/Floor" instance=ExtResource("2_2egij")] +[node name="Floor" type="MeshInstance3D" parent="Airlock/Bounds"] +mesh = ExtResource("6_6giaa") +skeleton = NodePath("../..") + +[node name="GunkBody" parent="Airlock/Bounds/Floor" instance=ExtResource("2_2egij")] initial_mask = ExtResource("3_35kna") source_gunk_material = SubResource("ShaderMaterial_sqa4l") -[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Floor/GunkBody"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Bounds/Floor/GunkBody"] shape = SubResource("ConcavePolygonShape3D_yvipw") -[node name="Ceiling" type="MeshInstance3D" parent="Airlock"] +[node name="Ceiling" type="MeshInstance3D" parent="Airlock/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("7_otfxe") +skeleton = NodePath("../..") -[node name="GunkBody" parent="Airlock/Ceiling" instance=ExtResource("2_2egij")] +[node name="GunkBody" parent="Airlock/Bounds/Ceiling" instance=ExtResource("2_2egij")] initial_mask = ExtResource("3_35kna") source_gunk_material = SubResource("ShaderMaterial_17ivy") -[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Ceiling/GunkBody"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Bounds/Ceiling/GunkBody"] shape = SubResource("ConcavePolygonShape3D_d1yty") -[node name="SimpleWalls" type="StaticBody3D" parent="Airlock"] +[node name="SimpleWalls" type="StaticBody3D" parent="Airlock/Bounds"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) -[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/SimpleWalls"] +[node name="MeshInstance3D" type="MeshInstance3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0, 0) mesh = SubResource("QuadMesh_7y0xw") -[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/SimpleWalls"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0, 0) shape = SubResource("ConcavePolygonShape3D_2egij") -[node name="MeshInstance3D2" type="MeshInstance3D" parent="Airlock/SimpleWalls"] +[node name="MeshInstance3D2" type="MeshInstance3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 4.5, 0, 0) mesh = SubResource("QuadMesh_7y0xw") -[node name="CollisionShape3D2" type="CollisionShape3D" parent="Airlock/SimpleWalls"] +[node name="CollisionShape3D2" type="CollisionShape3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 4.5, 0, 0) shape = SubResource("ConcavePolygonShape3D_ajjdt") -[node name="MeshInstance3D3" type="MeshInstance3D" parent="Airlock/SimpleWalls"] +[node name="MeshInstance3D3" type="MeshInstance3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.75, 0, 4.5) mesh = SubResource("QuadMesh_kcek3") -[node name="CollisionShape3D3" type="CollisionShape3D" parent="Airlock/SimpleWalls"] +[node name="CollisionShape3D3" type="CollisionShape3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.75, 0, 4.5) shape = SubResource("ConcavePolygonShape3D_gim1e") -[node name="MeshInstance3D4" type="MeshInstance3D" parent="Airlock/SimpleWalls"] +[node name="MeshInstance3D4" type="MeshInstance3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -2.75, 0, 4.5) mesh = SubResource("QuadMesh_kcek3") -[node name="CollisionShape3D4" type="CollisionShape3D" parent="Airlock/SimpleWalls"] +[node name="CollisionShape3D4" type="CollisionShape3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -2.75, 0, 4.5) shape = SubResource("ConcavePolygonShape3D_6giaa") -[node name="MeshInstance3D7" type="MeshInstance3D" parent="Airlock/SimpleWalls"] +[node name="MeshInstance3D7" type="MeshInstance3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1.25, 4.5) mesh = SubResource("QuadMesh_1njh5") -[node name="CollisionShape3D5" type="CollisionShape3D" parent="Airlock/SimpleWalls"] +[node name="CollisionShape3D5" type="CollisionShape3D" parent="Airlock/Bounds/SimpleWalls"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1.25, 4.5) shape = SubResource("ConcavePolygonShape3D_smvh1") -[node name="FarWall" type="Node3D" parent="Airlock"] +[node name="FarWall" type="Node3D" parent="Airlock/Bounds"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4.5) -[node name="LeftWall" type="MeshInstance3D" parent="Airlock/FarWall"] +[node name="LeftWall" type="MeshInstance3D" parent="Airlock/Bounds/FarWall"] 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")] +[node name="GunkBody" parent="Airlock/Bounds/FarWall/LeftWall" instance=ExtResource("2_2egij")] mask_dim = 64 source_gunk_material = SubResource("ShaderMaterial_2pd8h") -[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/LeftWall/GunkBody"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Bounds/FarWall/LeftWall/GunkBody"] shape = SubResource("ConcavePolygonShape3D_p11ap") -[node name="RightWall" type="MeshInstance3D" parent="Airlock/FarWall"] +[node name="RightWall" type="MeshInstance3D" parent="Airlock/Bounds/FarWall"] 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")] +[node name="GunkBody" parent="Airlock/Bounds/FarWall/RightWall" instance=ExtResource("2_2egij")] mask_dim = 64 source_gunk_material = SubResource("ShaderMaterial_ji5cn") -[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/FarWall/RightWall/GunkBody"] +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Bounds/FarWall/RightWall/GunkBody"] shape = SubResource("ConcavePolygonShape3D_p11ap") -[node name="SwitchA1" parent="Airlock/FarWall" instance=ExtResource("17_0idgf")] +[node name="SwitchA1" parent="Airlock/Bounds/FarWall" instance=ExtResource("17_0idgf")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 1.5, 0.1) +[node name="Props" type="Node3D" parent="Airlock"] + +[node name="EVASuit" type="MeshInstance3D" parent="Airlock/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.9, 1, -1.5) +mesh = SubResource("CapsuleMesh_lfacn") + +[node name="StaticBody3D" type="StaticBody3D" parent="Airlock/Props/EVASuit"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Props/EVASuit/StaticBody3D"] +shape = SubResource("CapsuleShape3D_lfacn") + +[node name="EVASuit2" type="MeshInstance3D" parent="Airlock/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.9, 1, 1.5) +mesh = SubResource("CapsuleMesh_lfacn") + +[node name="StaticBody3D" type="StaticBody3D" parent="Airlock/Props/EVASuit2"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Props/EVASuit2/StaticBody3D"] +shape = SubResource("CapsuleShape3D_lfacn") + +[node name="EVASuit3" type="MeshInstance3D" parent="Airlock/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9, 1, 1.5) +mesh = SubResource("CapsuleMesh_lfacn") + +[node name="StaticBody3D" type="StaticBody3D" parent="Airlock/Props/EVASuit3"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Props/EVASuit3/StaticBody3D"] +shape = SubResource("CapsuleShape3D_lfacn") + +[node name="EVASuit4" type="MeshInstance3D" parent="Airlock/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9, 1, -1.5) +mesh = SubResource("CapsuleMesh_lfacn") + +[node name="StaticBody3D" type="StaticBody3D" parent="Airlock/Props/EVASuit4"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Airlock/Props/EVASuit4/StaticBody3D"] +shape = SubResource("CapsuleShape3D_lfacn") + [node name="GrunkNodule" parent="Airlock" instance=ExtResource("19_ji5cn")] transform = Transform3D(1, 0, 0, 0, 0.866026, -0.5, 0, 0.5, 0.866026, -2.05, 0.15, -4.5) value = 4000.0 @@ -4444,6 +4634,11 @@ process_material = SubResource("ParticleProcessMaterial_6giaa") [node name="OverheadLight" parent="Corridor1/Hallway3" instance=ExtResource("39_kp5n7")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -1.5) +[node name="CrateLong" parent="Corridor1/Hallway3" instance=ExtResource("26_otfxe")] +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_ncghj") +skeleton = NodePath("../..") + [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) mesh = ExtResource("28_ji5cn") @@ -5171,6 +5366,10 @@ collision_layer = 5 [node name="CollisionShape3D" type="CollisionShape3D" parent="CrewQuarters/Room1/Props/Bed/StaticBody3D"] shape = SubResource("ConcavePolygonShape3D_f0xh4") +[node name="CrateLong" parent="CrewQuarters/Room1/Props" instance=ExtResource("26_otfxe")] +transform = Transform3D(0.0871557, 0, -0.996195, 0, 1, 0, 0.996195, 0, 0.0871557, -5.7, 0.25, 0.900002) +mesh = SubResource("ArrayMesh_1h5r5") + [node name="FloatingDust" parent="CrewQuarters/Room1" instance=ExtResource("25_6giaa")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1.5, -1.5) visibility_aabb = AABB(-4.5, -1.5, -3, 9, 3, 6) @@ -6263,6 +6462,197 @@ source_gunk_material = SubResource("ShaderMaterial_mcbih") [node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Bounds/Wall17/GunkBody"] shape = SubResource("ConcavePolygonShape3D_p11ap") +[node name="Props" type="Node3D" parent="Medbay"] + +[node name="OperatingTable" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(-1, 0, -1.74846e-07, 0, 1, 0, 8.74228e-08, 0, -2, 0, 1, -0.299999) +mesh = SubResource("CylinderMesh_f0xh4") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/OperatingTable"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/OperatingTable/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_54end") + +[node name="Desk" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.4, -9.3) +mesh = SubResource("BoxMesh_ncghj") + +[node name="Desk2" type="MeshInstance3D" parent="Medbay/Props/Desk"] +transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -1.85509, 0, -0.564014) +mesh = SubResource("BoxMesh_1h5r5") +skeleton = NodePath("../..") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Desk"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Desk/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_8r2kq") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="Medbay/Props/Desk/StaticBody3D"] +transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -1.85509, 0, -0.564014) +shape = SubResource("ConcavePolygonShape3D_2qkxu") + +[node name="Cart" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(-0.24869, 0, 0.968583, 0, 1, 0, -0.968583, 0, -0.24869, -1.8, 0.6, 0) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cart"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cart/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="Cart2" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(0.00523592, -0.866025, 0.499973, -0.999945, -4.2222e-08, 0.0104718, -0.00906879, -0.5, -0.865978, -3.3, 0.355217, -0.599998) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cart2"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cart2/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="Cart3" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.3, 0.6, 3.9) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cart3"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cart3/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="Cart4" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4, 0.6, 3.9) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cart4"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cart4/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="Cart5" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(0.965926, 0, -0.258819, 0, 1, 0, 0.258819, 0, 0.965926, -1.2, 0.6, 3.9) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cart5"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cart5/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="MonitorCart" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(0.866025, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025, 1.2, 0.6, -3.3) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/MonitorCart"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/MonitorCart/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="Medbay/Props/MonitorCart/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +shape = SubResource("ConcavePolygonShape3D_1h5r5") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Medbay/Props/MonitorCart"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +mesh = SubResource("PrismMesh_8r2kq") + +[node name="MonitorCart2" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, -2.98023e-08, 0, 1, 0, 2.98023e-08, 0, 1, 3.9, 0.6, -8.1) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/MonitorCart2"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/MonitorCart2/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="Medbay/Props/MonitorCart2/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +shape = SubResource("ConcavePolygonShape3D_1h5r5") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Medbay/Props/MonitorCart2"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +mesh = SubResource("PrismMesh_8r2kq") + +[node name="MonitorCart3" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, -2.98023e-08, 0, 1, 0, 2.98023e-08, 0, 1, 3.9, 0.6, -6.9) +mesh = SubResource("BoxMesh_ii88q") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/MonitorCart3"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/MonitorCart3/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_wvfch") + +[node name="CollisionShape3D2" type="CollisionShape3D" parent="Medbay/Props/MonitorCart3/StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +shape = SubResource("ConcavePolygonShape3D_1h5r5") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="Medbay/Props/MonitorCart3"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) +mesh = SubResource("PrismMesh_8r2kq") + +[node name="Counter" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1.5, 0.5, -13) +mesh = SubResource("BoxMesh_35kna") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Counter"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Counter/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_okeuk") + +[node name="Cupboard" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.5, 2.5, -13) +mesh = SubResource("BoxMesh_okeuk") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cupboard"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cupboard/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_d8p6j") + +[node name="Counter2" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, -7.5) +mesh = SubResource("BoxMesh_35kna") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Counter2"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Counter2/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_okeuk") + +[node name="Cupboard2" type="MeshInstance3D" parent="Medbay/Props"] +transform = Transform3D(1, 0, 0, 0, 0.965926, -0.258819, 0, 0.258819, 0.965926, -4, 2.02276, -8.6) +mesh = SubResource("BoxMesh_okeuk") + +[node name="StaticBody3D" type="StaticBody3D" parent="Medbay/Props/Cupboard2"] +collision_layer = 5 + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Medbay/Props/Cupboard2/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_d8p6j") + +[node name="CrateLong" parent="Medbay/Props" instance=ExtResource("26_otfxe")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9, 0.25, 0.299999) +mesh = SubResource("ArrayMesh_2qkxu") + +[node name="CrateLong4" parent="Medbay/Props" instance=ExtResource("26_otfxe")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.25, -3.6) +mesh = SubResource("ArrayMesh_2qkxu") + +[node name="CrateLong2" parent="Medbay/Props" instance=ExtResource("26_otfxe")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9, 0.75, 0.299999) +mesh = SubResource("ArrayMesh_2qkxu") + +[node name="CrateLong3" parent="Medbay/Props" instance=ExtResource("26_otfxe")] +transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 3.9, 0.75, -1.04972) +mesh = SubResource("ArrayMesh_2qkxu") + [node name="FloatingDust" parent="Medbay" instance=ExtResource("25_6giaa")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 1.5, -4.5) amount = 64 @@ -6278,8 +6668,24 @@ transform = Transform3D(1, 0, -1.74846e-07, 0, 1, 0, 1.74846e-07, 0, 1, -9, 1.5, [node name="OverheadLight" parent="Medbay" instance=ExtResource("39_kp5n7")] transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, -9) -[node name="BurnoutLight" parent="Medbay" instance=ExtResource("29_lfacn")] -transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, 0) +[node name="ExamLight" type="CSGCombiner3D" parent="Medbay"] +use_collision = true +collision_layer = 5 + +[node name="CSGCylinder3D" type="CSGCylinder3D" parent="Medbay/ExamLight"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.7, 0) +use_collision = true +radius = 2.5 +height = 0.6 +sides = 16 + +[node name="CSGCylinder3D2" type="CSGCylinder3D" parent="Medbay/ExamLight"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 0) +operation = 2 +use_collision = true +radius = 2.2 +height = 0.6 +sides = 16 [node name="BulkheadX" parent="." instance=ExtResource("35_f0xh4")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -22.5, 0, -51) @@ -6555,10 +6961,10 @@ transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, [node name="CargoBay" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, -12, -60) -[connection signal="activated" from="Airlock/FarWall/SwitchA1" to="Airlock/FarWall/SwitchA1" method="disable"] -[connection signal="activated" from="Airlock/FarWall/SwitchA1" to="BulkheadA" method="open"] -[connection signal="activated" from="Airlock/FarWall/SwitchA1" to="Corridor1/Hallway1/SwitchA2" method="disable"] -[connection signal="activated" from="Corridor1/Hallway1/SwitchA2" to="Airlock/FarWall/SwitchA1" method="disable"] +[connection signal="activated" from="Airlock/Bounds/FarWall/SwitchA1" to="Airlock/Bounds/FarWall/SwitchA1" method="disable"] +[connection signal="activated" from="Airlock/Bounds/FarWall/SwitchA1" to="BulkheadA" method="open"] +[connection signal="activated" from="Airlock/Bounds/FarWall/SwitchA1" to="Corridor1/Hallway1/SwitchA2" method="disable"] +[connection signal="activated" from="Corridor1/Hallway1/SwitchA2" to="Airlock/Bounds/FarWall/SwitchA1" method="disable"] [connection signal="activated" from="Corridor1/Hallway1/SwitchA2" to="BulkheadA" method="open"] [connection signal="activated" from="Corridor1/Hallway1/SwitchA2" to="Corridor1/Hallway1/SwitchA2" method="disable"] [connection signal="activated" from="Corridor1/Hallway4/SwitchB1" to="Corridor1/Hallway4/SwitchB1" method="disable"] diff --git a/levels/sandbox/sandbox.tscn b/levels/sandbox/sandbox.tscn index 8fdbdcc..d97fc51 100644 --- a/levels/sandbox/sandbox.tscn +++ b/levels/sandbox/sandbox.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=47 format=4 uid="uid://16ds4fvv72xk"] +[gd_scene load_steps=48 format=4 uid="uid://16ds4fvv72xk"] [ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="1_a67lu"] [ext_resource type="Environment" uid="uid://bkvij3ljl5ox3" path="res://levels/ghost_ship/environment_3.tres" id="1_fk1xc"] @@ -8,6 +8,7 @@ [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="6_l64ek"] [ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="7_fk1xc"] [ext_resource type="Material" uid="uid://byyjoruj8mwe0" path="res://levels/sandbox/debug_gunk_mat.tres" id="7_sh2xs"] +[ext_resource type="Material" uid="uid://cqjr3cbxtfg2j" path="res://assets/materials/gunk.material" id="7_tpfln"] [ext_resource type="ArrayMesh" uid="uid://5jt7xxr05lw3" path="res://assets/level/hallway/hallway_2.mesh" id="8_hrvvi"] [ext_resource type="ArrayMesh" uid="uid://o6k7ebet848p" path="res://assets/level/hallway/hallway_3.mesh" id="9_2roq2"] [ext_resource type="PackedScene" uid="uid://b6eg8t04rkh0c" path="res://src/props/wall_switch/wall_switch.tscn" id="9_p27ol"] @@ -424,6 +425,7 @@ shape = SubResource("ConcavePolygonShape3D_hvf6a") [node name="Cube" type="MeshInstance3D" parent="Geometry"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 4, 0) +material_overlay = ExtResource("7_tpfln") mesh = SubResource("ArrayMesh_2va2y") skeleton = NodePath("GunkBody") diff --git a/src/player/player.tscn b/src/player/player.tscn index d422e60..9e4c2f0 100644 --- a/src/player/player.tscn +++ b/src/player/player.tscn @@ -47,10 +47,11 @@ collision_mask = 2 [node name="OmniLight3D" type="OmniLight3D" parent="CameraPivot/Camera3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.1) light_energy = 0.05 +light_indirect_energy = 4.0 light_specular = 0.01 light_cull_mask = 4294967293 omni_range = 60.0 -omni_attenuation = 0.6 +omni_attenuation = 0.2 [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0) diff --git a/src/props/overhead_light/overhead_light.tscn b/src/props/overhead_light/overhead_light.tscn index bf7fccf..5e53e11 100644 --- a/src/props/overhead_light/overhead_light.tscn +++ b/src/props/overhead_light/overhead_light.tscn @@ -9,6 +9,7 @@ [ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="6_3gl0p"] [ext_resource type="Shader" uid="uid://ckxc0ngd37rtk" path="res://src/shaders/gunk.gdshader" id="7_210ch"] [ext_resource type="FastNoiseLite" uid="uid://cnlvdtx68giv6" path="res://assets/materials/gunk_noise.tres" id="8_ljcul"] +[ext_resource type="Texture2D" uid="uid://cm1jrvx7ftx4c" path="res://assets/black.png" id="9_ljcul"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ljcul"] albedo_texture = ExtResource("1_whqf3") @@ -118,10 +119,7 @@ _data = { &"flicker": SubResource("Animation_whqf3") } -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_210ch"] -load_path = "res://.godot/imported/debug_mask.png-fd2bc783338ed9439fe81a4eef9d86da.s3tc.ctex" - -[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_ljcul"] +[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_2roq2"] width = 256 height = 256 depth = 32 @@ -129,7 +127,7 @@ seamless = true seamless_blend_skirt = 0.5 noise = ExtResource("8_ljcul") -[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_cmugl"] +[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_fk1xc"] width = 256 height = 256 depth = 32 @@ -143,18 +141,18 @@ render_priority = 0 shader = ExtResource("7_210ch") 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/emission_color = Color(0.66, 0.943333, 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/emission_strength = 0.04 +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_210ch") -shader_parameter/gunk_noise = SubResource("NoiseTexture3D_ljcul") -shader_parameter/gunk_normal_map = SubResource("NoiseTexture3D_cmugl") +shader_parameter/gunk_mask = ExtResource("9_ljcul") +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 @@ -172,9 +170,9 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, -0. visible = false light_color = Color(1, 0.9825, 0.95, 1) light_energy = 2.0 -light_indirect_energy = 0.0 light_specular = 1.0 -spot_range = 10.0 +spot_range = 16.0 +spot_attenuation = 0.5 spot_angle = 80.0 spot_angle_attenuation = 1.55871 diff --git a/src/shaders/gunk.gdshader b/src/shaders/gunk.gdshader index b978daf..513667c 100644 --- a/src/shaders/gunk.gdshader +++ b/src/shaders/gunk.gdshader @@ -56,7 +56,7 @@ void fragment() { // swirl vec3 uvt = vec3(local_uv.x, local_uv.y, local_time); uvt.x += sin(uvt.y * 1.54 * PI + uvt.z) * cos(uvt.y * 1.31 * PI + uvt.z) * 0.2; - uvt.y += cos(uvt.x * 1.74 * PI + uvt.z) * -sin(uvt.y * 1.64 * PI + uvt.z) * 0.3; + uvt.y += cos(uvt.x * 1.74 * PI + uvt.z) * -sin(uvt.y * 1.64 * PI + uvt.z) * 0.2; float value = texture(gunk_noise, uvt).r;