generated from krampus/template-godot4
Basics of cargo bay loading dock
This commit is contained in:
parent
2b9910e7c0
commit
387121a9fb
BIN
asset_dev/level/elevator_shaft/elevator_shaft.blend
Normal file
BIN
asset_dev/level/elevator_shaft/elevator_shaft.blend
Normal file
Binary file not shown.
BIN
asset_dev/level/elevator_shaft/elevator_shaft.blend1
Normal file
BIN
asset_dev/level/elevator_shaft/elevator_shaft.blend1
Normal file
Binary file not shown.
@ -19,12 +19,12 @@ compress/mode=0
|
|||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=1
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=true
|
mipmaps/generate=true
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=1
|
||||||
roughness/src_normal=""
|
roughness/src_normal="res://assets/props/bulkhead/bulkhead_door_C.png"
|
||||||
process/fix_alpha_border=true
|
process/fix_alpha_border=true
|
||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/normal_map_invert_y=false
|
process/normal_map_invert_y=false
|
||||||
|
File diff suppressed because one or more lines are too long
55
levels/ghost_ship/level/cargo_bay/elevator/elevator.tscn
Normal file
55
levels/ghost_ship/level/cargo_bay/elevator/elevator.tscn
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
[gd_scene load_steps=9 format=3 uid="uid://b21fp0ko055os"]
|
||||||
|
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://cpspkxu1ntdv7" path="res://levels/ghost_ship/level/cargo_bay/elevator_shaft.obj" id="1_wg450"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bd52xpmm3oqw" path="res://assets/props/bulkhead/bulkhead_door_C.png" id="2_jgw86"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dk4sm780p6jfc" path="res://assets/props/bulkhead/bulkhead_door_N.png" id="3_egxej"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://rjuyd20y2ov1" path="res://assets/props/bulkhead/bulkhead_door_R.png" id="4_ho6u3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ctm84yms40858" path="res://src/props/railing/railing.tscn" id="5_sfkxm"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_54or8"]
|
||||||
|
albedo_texture = ExtResource("2_jgw86")
|
||||||
|
metallic = 1.0
|
||||||
|
metallic_texture = ExtResource("2_jgw86")
|
||||||
|
roughness_texture = ExtResource("4_ho6u3")
|
||||||
|
normal_enabled = true
|
||||||
|
normal_texture = ExtResource("3_egxej")
|
||||||
|
uv1_scale = Vector3(9, 6, 1)
|
||||||
|
texture_filter = 2
|
||||||
|
|
||||||
|
[sub_resource type="BoxMesh" id="BoxMesh_qo5rw"]
|
||||||
|
material = SubResource("StandardMaterial3D_54or8")
|
||||||
|
size = Vector3(6, 1, 6)
|
||||||
|
|
||||||
|
[sub_resource type="Curve3D" id="Curve3D_54or8"]
|
||||||
|
_data = {
|
||||||
|
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -16, -24, 0),
|
||||||
|
"tilts": PackedFloat32Array(0, 0)
|
||||||
|
}
|
||||||
|
point_count = 2
|
||||||
|
|
||||||
|
[node name="Elevator" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="Shaft" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.5, 0, -3)
|
||||||
|
mesh = ExtResource("1_wg450")
|
||||||
|
|
||||||
|
[node name="ElevatorPlatform" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="ElevatorPlatform"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, -0.5, 0)
|
||||||
|
mesh = SubResource("BoxMesh_qo5rw")
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="Railing" parent="ElevatorPlatform" instance=ExtResource("5_sfkxm")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.5, 0.5, 1.5)
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="Railing2" parent="ElevatorPlatform" instance=ExtResource("5_sfkxm")]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.5, 0.5, -1.5)
|
||||||
|
skeleton = NodePath("../..")
|
||||||
|
|
||||||
|
[node name="ElevatorPath" type="Path3D" parent="."]
|
||||||
|
curve = SubResource("Curve3D_54or8")
|
||||||
|
|
||||||
|
[node name="Railing" parent="." instance=ExtResource("5_sfkxm")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0.5, 3)
|
2
levels/ghost_ship/level/cargo_bay/elevator_shaft.mtl
Normal file
2
levels/ghost_ship/level/cargo_bay/elevator_shaft.mtl
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Blender 4.3.2 MTL File: 'elevator_shaft.blend'
|
||||||
|
# www.blender.org
|
50
levels/ghost_ship/level/cargo_bay/elevator_shaft.obj
Normal file
50
levels/ghost_ship/level/cargo_bay/elevator_shaft.obj
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Blender 4.3.2
|
||||||
|
# www.blender.org
|
||||||
|
mtllib elevator_shaft.mtl
|
||||||
|
o Geometry
|
||||||
|
v 0.000000 0.000000 0.000000
|
||||||
|
v -0.000000 3.000000 0.000000
|
||||||
|
v 0.000000 0.000000 -9.000000
|
||||||
|
v -0.000000 3.000000 -9.000000
|
||||||
|
v -6.000000 0.000000 0.000000
|
||||||
|
v -6.000000 0.000000 -9.000000
|
||||||
|
v -6.000000 3.000000 -9.000000
|
||||||
|
v 0.000000 -24.000000 -16.000000
|
||||||
|
v 0.000000 -24.000000 -25.000000
|
||||||
|
v -0.000000 -21.000000 -25.000000
|
||||||
|
v -6.000000 -24.000000 -16.000000
|
||||||
|
v -6.000000 -24.000000 -25.000000
|
||||||
|
v -6.000000 -21.000000 -25.000000
|
||||||
|
vn -1.0000 -0.0000 -0.0000
|
||||||
|
vn 1.0000 -0.0000 -0.0000
|
||||||
|
vn -0.0000 1.0000 -0.0000
|
||||||
|
vn -0.0000 -0.5547 0.8321
|
||||||
|
vn -0.0000 0.5547 -0.8321
|
||||||
|
vt 0.800947 0.894008
|
||||||
|
vt 0.756985 0.959950
|
||||||
|
vt 0.559157 0.828065
|
||||||
|
vt 0.603119 0.762122
|
||||||
|
vt 0.356689 0.762122
|
||||||
|
vt 0.356689 0.000118
|
||||||
|
vt 0.400651 0.066061
|
||||||
|
vt 0.400651 0.828065
|
||||||
|
vt 0.158625 0.762122
|
||||||
|
vt 0.158625 0.999882
|
||||||
|
vt 0.000118 0.999882
|
||||||
|
vt 0.000118 0.762122
|
||||||
|
vt 0.158861 0.894007
|
||||||
|
vt 0.158861 0.132004
|
||||||
|
vt 0.603119 0.000118
|
||||||
|
vt 0.800947 0.132004
|
||||||
|
vt 0.559157 0.066061
|
||||||
|
vt 0.000118 0.000118
|
||||||
|
vt 0.158625 0.000118
|
||||||
|
s 0
|
||||||
|
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||||
|
f 6/5/2 12/6/2 13/7/2 7/8/2
|
||||||
|
f 8/9/3 9/10/3 12/11/3 11/12/3
|
||||||
|
f 6/5/2 5/13/2 11/14/2 12/6/2
|
||||||
|
f 1/1/1 3/4/1 9/15/1 8/16/1
|
||||||
|
f 4/3/4 7/8/4 13/7/4 10/17/4
|
||||||
|
f 5/18/5 1/19/5 8/9/5 11/12/5
|
||||||
|
f 3/4/1 4/3/1 10/17/1 9/15/1
|
25
levels/ghost_ship/level/cargo_bay/elevator_shaft.obj.import
Normal file
25
levels/ghost_ship/level/cargo_bay/elevator_shaft.obj.import
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wavefront_obj"
|
||||||
|
importer_version=1
|
||||||
|
type="Mesh"
|
||||||
|
uid="uid://cpspkxu1ntdv7"
|
||||||
|
path="res://.godot/imported/elevator_shaft.obj-0a9730006b9c6be02074b42bd7e7d5da.mesh"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
files=["res://.godot/imported/elevator_shaft.obj-0a9730006b9c6be02074b42bd7e7d5da.mesh"]
|
||||||
|
|
||||||
|
source_file="res://levels/ghost_ship/level/cargo_bay/elevator_shaft.obj"
|
||||||
|
dest_files=["res://.godot/imported/elevator_shaft.obj-0a9730006b9c6be02074b42bd7e7d5da.mesh", "res://.godot/imported/elevator_shaft.obj-0a9730006b9c6be02074b42bd7e7d5da.mesh"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
generate_tangents=true
|
||||||
|
generate_lods=true
|
||||||
|
generate_shadow_mesh=true
|
||||||
|
generate_lightmap_uv2=false
|
||||||
|
generate_lightmap_uv2_texel_size=0.2
|
||||||
|
scale_mesh=Vector3(1, 1, 1)
|
||||||
|
offset_mesh=Vector3(0, 0, 0)
|
||||||
|
force_disable_mesh_compression=false
|
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=44 format=4 uid="uid://cnqvb6q8tyxmd"]
|
[gd_scene load_steps=45 format=4 uid="uid://cnqvb6q8tyxmd"]
|
||||||
|
|
||||||
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ediv7"]
|
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="1_ediv7"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_rvc24"]
|
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_rvc24"]
|
||||||
@ -18,6 +18,7 @@
|
|||||||
[ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="15_l3gxc"]
|
[ext_resource type="ArrayMesh" uid="uid://bx00qgk2dyjrw" path="res://assets/level/wall/wall_2.mesh" id="15_l3gxc"]
|
||||||
[ext_resource type="Material" uid="uid://dva6ivs2hap53" path="res://levels/ghost_ship/guide_sign/medbay_sign.material" id="16_rn74a"]
|
[ext_resource type="Material" uid="uid://dva6ivs2hap53" path="res://levels/ghost_ship/guide_sign/medbay_sign.material" id="16_rn74a"]
|
||||||
[ext_resource type="Material" uid="uid://bo81yn72cb0bq" path="res://levels/ghost_ship/guide_sign/cargo_bay_sign.material" id="17_13shf"]
|
[ext_resource type="Material" uid="uid://bo81yn72cb0bq" path="res://levels/ghost_ship/guide_sign/cargo_bay_sign.material" id="17_13shf"]
|
||||||
|
[ext_resource type="ArrayMesh" uid="uid://b17naqcl4ie21" path="res://assets/level/floor/floor_1.mesh" id="18_rvc24"]
|
||||||
|
|
||||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ruwlj"]
|
[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)
|
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)
|
||||||
@ -632,7 +633,7 @@ source_gunk_material = ExtResource("6_8pwhd")
|
|||||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 15, 0, 15)
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 15, 0, 15)
|
||||||
|
|
||||||
[node name="Floor" type="MeshInstance3D" parent="ShortHallway6"]
|
[node name="Floor" type="MeshInstance3D" parent="ShortHallway6"]
|
||||||
mesh = ExtResource("12_i8gqp")
|
mesh = ExtResource("18_rvc24")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Floor"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/Floor"]
|
||||||
collision_layer = 5
|
collision_layer = 5
|
||||||
@ -699,19 +700,90 @@ body = NodePath("..")
|
|||||||
mesh_instance = NodePath("../..")
|
mesh_instance = NodePath("../..")
|
||||||
source_gunk_material = ExtResource("9_57qp5")
|
source_gunk_material = ExtResource("9_57qp5")
|
||||||
|
|
||||||
[node name="CargoBaySign" type="MeshInstance3D" parent="ShortHallway6"]
|
[node name="ShortHallway7" type="Node3D" parent="."]
|
||||||
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 18, 0, 15)
|
||||||
|
|
||||||
|
[node name="Floor" type="MeshInstance3D" parent="ShortHallway7"]
|
||||||
|
mesh = ExtResource("12_i8gqp")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway7/Floor"]
|
||||||
|
collision_layer = 5
|
||||||
|
collision_mask = 0
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway7/Floor/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_kp5n7")
|
||||||
|
|
||||||
|
[node name="Gunkable" parent="ShortHallway7/Floor/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
||||||
|
mask_dim = 64
|
||||||
|
body = NodePath("..")
|
||||||
|
mesh_instance = NodePath("../..")
|
||||||
|
source_gunk_material = ExtResource("9_57qp5")
|
||||||
|
|
||||||
|
[node name="Ceiling" type="MeshInstance3D" parent="ShortHallway7"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 3, 0)
|
||||||
|
mesh = ExtResource("13_ieqou")
|
||||||
|
skeleton = NodePath("../../..")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway7/Ceiling"]
|
||||||
|
collision_layer = 5
|
||||||
|
collision_mask = 0
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway7/Ceiling/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_u2hqf")
|
||||||
|
|
||||||
|
[node name="Gunkable" parent="ShortHallway7/Ceiling/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
||||||
|
mask_dim = 64
|
||||||
|
body = NodePath("..")
|
||||||
|
mesh_instance = NodePath("../..")
|
||||||
|
source_gunk_material = ExtResource("9_57qp5")
|
||||||
|
|
||||||
|
[node name="Wall" type="MeshInstance3D" parent="ShortHallway7"]
|
||||||
|
transform = Transform3D(-1, -8.74228e-08, 3.82137e-15, 0, -4.37114e-08, -1, 8.74228e-08, -1, 4.37114e-08, 0, 1.5, 1.5)
|
||||||
|
mesh = ExtResource("14_x3ljk")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway7/Wall"]
|
||||||
|
collision_layer = 5
|
||||||
|
collision_mask = 0
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway7/Wall/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_6nvhk")
|
||||||
|
|
||||||
|
[node name="Gunkable" parent="ShortHallway7/Wall/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
||||||
|
mask_dim = 64
|
||||||
|
body = NodePath("..")
|
||||||
|
mesh_instance = NodePath("../..")
|
||||||
|
source_gunk_material = ExtResource("9_57qp5")
|
||||||
|
|
||||||
|
[node name="Wall2" type="MeshInstance3D" parent="ShortHallway7"]
|
||||||
|
transform = Transform3D(1, 1.74846e-07, -7.64274e-15, 0, -4.37114e-08, -1, -1.74846e-07, 1, -4.37114e-08, 0, 1.5, -1.5)
|
||||||
|
mesh = ExtResource("14_x3ljk")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway7/Wall2"]
|
||||||
|
collision_layer = 5
|
||||||
|
collision_mask = 0
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway7/Wall2/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_ncghj")
|
||||||
|
|
||||||
|
[node name="Gunkable" parent="ShortHallway7/Wall2/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
||||||
|
mask_dim = 64
|
||||||
|
body = NodePath("..")
|
||||||
|
mesh_instance = NodePath("../..")
|
||||||
|
source_gunk_material = ExtResource("9_57qp5")
|
||||||
|
|
||||||
|
[node name="CargoBaySign" type="MeshInstance3D" parent="ShortHallway7"]
|
||||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, 0)
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 3, 0)
|
||||||
gi_mode = 2
|
gi_mode = 2
|
||||||
mesh = SubResource("ArrayMesh_rigxx")
|
mesh = SubResource("ArrayMesh_rigxx")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway6/CargoBaySign"]
|
[node name="StaticBody3D" type="StaticBody3D" parent="ShortHallway7/CargoBaySign"]
|
||||||
collision_layer = 5
|
collision_layer = 5
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway6/CargoBaySign/StaticBody3D"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ShortHallway7/CargoBaySign/StaticBody3D"]
|
||||||
shape = SubResource("ConcavePolygonShape3D_np3w4")
|
shape = SubResource("ConcavePolygonShape3D_np3w4")
|
||||||
|
|
||||||
[node name="Gunkable" parent="ShortHallway6/CargoBaySign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
[node name="Gunkable" parent="ShortHallway7/CargoBaySign/StaticBody3D" node_paths=PackedStringArray("body", "mesh_instance") instance=ExtResource("2_rvc24")]
|
||||||
mask_dim = 32
|
mask_dim = 32
|
||||||
body = NodePath("..")
|
body = NodePath("..")
|
||||||
mesh_instance = NodePath("../..")
|
mesh_instance = NodePath("../..")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user