Embiggened the cargo elevator

This commit is contained in:
Rob Kelly 2025-08-16 12:12:25 -06:00
parent 717fca7285
commit 5c0bb110fd
6 changed files with 678 additions and 444 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
[ext_resource type="PackedScene" uid="uid://bbmi28batmn0p" path="res://levels/ghost_ship/level/cargo_bay/elevator/elevator_control.tscn" id="8_g20so"] [ext_resource type="PackedScene" uid="uid://bbmi28batmn0p" path="res://levels/ghost_ship/level/cargo_bay/elevator/elevator_control.tscn" id="8_g20so"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_extwr"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_extwr"]
data = PackedVector3Array(0, 3, 0, 0, -0.0001, 0, 0, 3, -9.0002, 0, 3, -9.0002, 0, -0.0001, 0, 0, -0.0001, -9.0002, 0, -0.0001, -9.0002, 0, -0.0001, -11.0002, 0, 3, -9.0002, 0, -0.0001, 0, 0, -24.0003, -25, 0, -0.0001, -9.0002, 0, -0.0001, -9.0002, 0, -24.0003, -25, 0, -0.0001, -11.0002, 0, -24.0003, -16.0002, 0, -24.0003, -25, 0, -0.0001, 0, 0, -0.0001, -11.0002, 0, -24.0003, -25, 0, -15.0001, -21.0002, 0, -15.0001, -21.0002, 0, -24.0003, -25, 0, -21.0002, -25, 0, -15.0001, -25, 0, -15.0001, -21.0002, 0, -21.0002, -25, 0, -24.0003, -16.0002, 0, -0.0001, 0, -6, -24.0003, -16.0002, -6, -24.0003, -16.0002, 0, -0.0001, 0, -6, -15.0001, -10, -6, -15.0001, -10, 0, -0.0001, 0, -6, -0.0001, 0, 0, -24.0003, -16.0002, -6, -24.0003, -16.0002, 0, -25.2, -16.0002, 0, -25.2, -16.0002, -6, -24.0003, -16.0002, -6, -25.2, -16.0002, -6, -0.0001, 0, -6, -0.0001, -9.0002, -6, -15.0001, -10, -6, -15.0001, -10, -6, -0.0001, -9.0002, -6, -15.0001, -16.0002, -6, -15.0001, -16.0002, -6, -24.0003, -16.0002, -6, -15.0001, -10, -6, -15.0001, -16.0002, -6, -0.0001, -9.0002, -6, -15.0001, -21.0002, -6, -15.0001, -21.0002, -6, -0.0001, -9.0002, -6, -0.0001, -11.0002, -6, -0.0001, -9.0002, -6, 3, -9.0002, -6, -0.0001, -11.0002, 0, -25.2, -22.0001, 0, -25.2, -16.0002, -6, -25.2, -22.0001, -6, -25.2, -22.0001, 0, -25.2, -16.0002, -6, -25.2, -16.0002, -6, -24.0003, -25, 0, -24.0003, -25, -6, -25.2, -22.0001, -6, -25.2, -22.0001, 0, -24.0003, -25, 0, -25.2, -22.0001, -6, -24.0003, -16.0002, -6, -24.0003, -25, -6, -25.2, -16.0002, -6, -25.2, -16.0002, -6, -24.0003, -25, -6, -25.2, -22.0001, 0, -24.0003, -25, 0, -24.0003, -16.0002, 0, -25.2, -22.0001, 0, -25.2, -22.0001, 0, -24.0003, -16.0002, 0, -25.2, -16.0002, -6, -15.0001, -21.0002, -6, -0.0001, -11.0002, 0, -15.0001, -21.0002, 0, -15.0001, -21.0002, -6, -0.0001, -11.0002, 0, -0.0001, -11.0002, 0, -0.0001, -11.0002, -6, -0.0001, -11.0002, 0, 3, -9.0002, 0, 3, -9.0002, -6, -0.0001, -11.0002, -6, 3, -9.0002) data = PackedVector3Array(0, 3, 0, 0, -0.0001, 0, 0, 3, -18, 0, 3, -18, 0, -0.0001, 0, 0, -0.0001, -18, 0, -0.0001, -18, 0, -0.0001, -20, 0, 3, -18, 0, -0.0001, 0, 0, -24.0003, -34, 0, -0.0001, -18, 0, -0.0001, -18, 0, -24.0003, -34, 0, -0.0001, -20, 0, -24.0003, -16, 0, -24.0003, -34, 0, -0.0001, 0, 0, -0.0001, -20, 0, -24.0003, -34, 0, -15.0001, -30, 0, -15.0001, -30, 0, -24.0003, -34, 0, -21.0002, -34, 0, -15.0001, -34, 0, -15.0001, -30, 0, -21.0002, -34, 0, -24.0003, -16, 0, -0.0001, 0, -12, -24.0003, -16, -12, -24.0003, -16, 0, -0.0001, 0, -12, -15.0001, -10, -12, -15.0001, -10, 0, -0.0001, 0, -12, -0.0001, 0, 0, -24.0003, -16, -12, -24.0003, -16, 0, -25.2, -16, 0, -25.2, -16, -12, -24.0003, -16, -12, -25.2, -16, -12, -0.0001, 0, -12, -0.0001, -18, -12, -15.0001, -10, -12, -15.0001, -10, -12, -0.0001, -18, -12, -15.0001, -16, -12, -15.0001, -16, -12, -24.0003, -16, -12, -15.0001, -10, -12, -15.0001, -16, -12, -0.0001, -18, -12, -15.0001, -30, -12, -15.0001, -30, -12, -0.0001, -18, -12, -0.0001, -20, -12, -0.0001, -18, -12, 3, -18, -12, -0.0001, -20, 0, -25.2, -31.0003, 0, -25.2, -16, -12, -25.2, -31.0003, -12, -25.2, -31.0003, 0, -25.2, -16, -12, -25.2, -16, -12, -24.0003, -34, 0, -24.0003, -34, -12, -25.2, -31.0003, -12, -25.2, -31.0003, 0, -24.0003, -34, 0, -25.2, -31.0003, -12, -24.0003, -16, -12, -24.0003, -34, -12, -25.2, -16, -12, -25.2, -16, -12, -24.0003, -34, -12, -25.2, -31.0003, 0, -24.0003, -34, 0, -24.0003, -16, 0, -25.2, -31.0003, 0, -25.2, -31.0003, 0, -24.0003, -16, 0, -25.2, -16, 0, -15.0001, -31.0003, 0, -15.0001, -30, 0, -15.0001, -34, -12, -15.0001, -30, -12, -0.0001, -20, 0, -15.0001, -30, 0, -15.0001, -30, -12, -0.0001, -20, 0, -0.0001, -20, 0, -0.0001, -20, -12, -0.0001, -20, 0, 3, -18, 0, 3, -18, -12, -0.0001, -20, -12, 3, -18, 0, -15.0001, -30, 0, -15.0001, -31.0003, -12, -15.0001, -30, -12, -15.0001, -30, 0, -15.0001, -31.0003, -12, -15.0001, -31.0003)
[sub_resource type="Curve3D" id="Curve3D_54or8"] [sub_resource type="Curve3D" id="Curve3D_54or8"]
_data = { _data = {
@ -31,19 +31,19 @@ texture_filter = 2
[sub_resource type="BoxMesh" id="BoxMesh_qo5rw"] [sub_resource type="BoxMesh" id="BoxMesh_qo5rw"]
material = SubResource("StandardMaterial3D_54or8") material = SubResource("StandardMaterial3D_54or8")
size = Vector3(6, 1, 6) size = Vector3(12, 1, 12)
[sub_resource type="BoxShape3D" id="BoxShape3D_wg450"] [sub_resource type="BoxShape3D" id="BoxShape3D_wg450"]
size = Vector3(6, 1, 6) size = Vector3(12, 1, 12)
[sub_resource type="BoxShape3D" id="BoxShape3D_egxej"] [sub_resource type="BoxShape3D" id="BoxShape3D_egxej"]
size = Vector3(6, 0.2, 6) size = Vector3(12, 0.2, 12)
[node name="CargoLift" type="Node3D" groups=["Persistent"]] [node name="CargoLift" type="Node3D" groups=["Persistent"]]
script = ExtResource("1_extwr") script = ExtResource("1_extwr")
[node name="Shaft" type="MeshInstance3D" parent="."] [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) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 7.5, 0, -6)
mesh = ExtResource("2_1wrn3") mesh = ExtResource("2_1wrn3")
[node name="StaticBody3D" type="StaticBody3D" parent="Shaft"] [node name="StaticBody3D" type="StaticBody3D" parent="Shaft"]
@ -92,17 +92,27 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
shape = SubResource("BoxShape3D_egxej") shape = SubResource("BoxShape3D_egxej")
[node name="Railing" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")] [node name="Railing" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.5, 0.5, 1.5) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0.5, 4.5)
gi_mode = 0 gi_mode = 0
skeleton = NodePath("../../../..") skeleton = NodePath("../../../..")
[node name="Railing2" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")] [node name="Railing2" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.5, 0.5, -1.5) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0.5, 1.5)
gi_mode = 0
skeleton = NodePath("../../../..")
[node name="Railing3" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0.5, -1.5)
gi_mode = 0
skeleton = NodePath("../../../..")
[node name="Railing4" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform" instance=ExtResource("7_esw7b")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -4.5, 0.5, -4.5)
gi_mode = 0 gi_mode = 0
skeleton = NodePath("../../../..") skeleton = NodePath("../../../..")
[node name="ControlConsole" type="Node3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform"] [node name="ControlConsole" type="Node3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, -1.4) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 0.5, -0.5)
[node name="ConsoleBase" type="CSGCombiner3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole"] [node name="ConsoleBase" type="CSGCombiner3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole"]
gi_mode = 0 gi_mode = 0
@ -111,10 +121,10 @@ collision_layer = 5
collision_mask = 0 collision_mask = 0
[node name="BaseBox" type="CSGBox3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ConsoleBase"] [node name="BaseBox" type="CSGBox3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ConsoleBase"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.55) transform = Transform3D(0.999991, 1.10134e-12, -4.2826e-18, -1.10134e-12, 0.999991, 0, -4.87891e-19, 2.5411e-20, 1, 0, 0, -2.5)
gi_mode = 0 gi_mode = 0
use_collision = true use_collision = true
size = Vector3(1, 1, 2.1) size = Vector3(1, 1, 6)
[node name="ControlPanel" type="CSGBox3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ConsoleBase"] [node name="ControlPanel" type="CSGBox3D" parent="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ConsoleBase"]
transform = Transform3D(0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0, 1, -0.6, 0.6, 0) transform = Transform3D(0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0, 1, -0.6, 0.6, 0)
@ -131,7 +141,10 @@ size = Vector3(0.4, 0.2, 0.02)
transform = Transform3D(0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0, 1, -0.225, 0.285, 0) transform = Transform3D(0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0, 1, -0.225, 0.285, 0)
[node name="Railing" parent="." instance=ExtResource("7_esw7b")] [node name="Railing" parent="." instance=ExtResource("7_esw7b")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0.5, 3) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0.5, 6)
[node name="Railing2" parent="." instance=ExtResource("7_esw7b")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 0.5, 6)
[connection signal="at_limit" from="." to="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ElevatorControl" method="on_set_mid"] [connection signal="at_limit" from="." to="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/ControlConsole/ElevatorControl" method="on_set_mid"]
[connection signal="body_exited" from="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/MeshInstance3D/RumbleZone" to="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/MeshInstance3D/RumbleZone" method="_on_body_exited"] [connection signal="body_exited" from="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/MeshInstance3D/RumbleZone" to="ElevatorPath/ElevatorPathFollow/ElevatorPlatform/MeshInstance3D/RumbleZone" method="_on_body_exited"]

View File

@ -4,29 +4,29 @@ mtllib elevator_shaft.mtl
o Geometry o Geometry
v 0.000000 0.000000 0.000000 v 0.000000 0.000000 0.000000
v -0.000000 3.000000 0.000000 v -0.000000 3.000000 0.000000
v 0.000000 0.000000 -9.000000 v 0.000000 0.000000 -18.000000
v -0.000000 3.000000 -9.000000 v -0.000000 3.000000 -18.000000
v -6.000000 0.000000 0.000000 v -12.000000 0.000000 0.000000
v -6.000000 0.000000 -9.000000 v -12.000000 0.000000 -18.000000
v -6.000000 3.000000 -9.000000 v -12.000000 3.000000 -18.000000
v 0.000000 -24.000000 -16.000000 v 0.000000 -24.000000 -16.000000
v -0.000000 -21.000000 -25.000000 v -0.000000 -21.000000 -34.000000
v -6.000000 -24.000000 -16.000000 v -12.000000 -24.000000 -16.000000
v -6.000000 -15.000000 -16.000000 v -12.000000 -15.000000 -16.000000
v 0.000000 -24.000000 -25.000000 v 0.000000 -24.000000 -34.000000
v -6.000000 -15.000000 -21.000000 v -12.000000 -15.000000 -30.000000
v -6.000000 -15.000000 -10.000000 v -12.000000 -15.000000 -10.000000
v -0.000000 -15.000000 -21.000000 v -0.000000 -15.000000 -30.000000
v -6.000000 -24.000000 -25.000000 v -12.000000 -24.000000 -34.000000
v 0.000000 -25.200001 -22.000000 v 0.000000 -25.200001 -31.000000
v 0.000000 -25.200001 -16.000000 v 0.000000 -25.200001 -16.000000
v -6.000000 -25.200001 -22.000000 v -12.000000 -25.200001 -31.000000
v -6.000000 -25.200001 -16.000000 v -12.000000 -25.200001 -16.000000
v -0.000000 -15.000000 -25.000000 v -0.000000 -15.000000 -34.000000
v -0.000000 0.000000 -11.000000 v -0.000000 0.000000 -20.000000
v -6.000000 0.000000 -11.000000 v -12.000000 0.000000 -20.000000
v -6.000000 -15.000000 -22.000000 v -12.000000 -15.000000 -31.000000
v -0.000000 -15.000000 -22.000000 v -0.000000 -15.000000 -31.000000
vn -1.0000 -0.0000 -0.0000 vn -1.0000 -0.0000 -0.0000
vn -0.0000 0.5547 -0.8321 vn -0.0000 0.5547 -0.8321
vn -0.0000 -0.0000 -1.0000 vn -0.0000 -0.0000 -1.0000
@ -35,49 +35,50 @@ vn -0.0000 1.0000 -0.0000
vn -0.0000 0.9285 0.3714 vn -0.0000 0.9285 0.3714
vn -0.0000 -0.5547 0.8321 vn -0.0000 -0.5547 0.8321
vn -0.0000 -1.0000 -0.0000 vn -0.0000 -1.0000 -0.0000
vt 0.000193 0.065669 vt 0.000198 0.045970
vt 0.043844 0.000193 vt 0.030712 0.000198
vt 0.240271 0.131145 vt 0.305341 0.183284
vt 0.196620 0.196620 vt 0.274827 0.229056
vt 0.568422 0.756802 vt 0.672306 0.529113
vt 0.568422 0.000193 vt 0.672306 0.000198
vt 0.725806 0.000193 vt 0.892348 0.000198
vt 0.725806 0.283921 vt 0.892348 0.198541
vt 0.725806 0.756802 vt 0.892348 0.529113
vt 0.240271 0.225721 vt 0.305341 0.249398
vt 0.726192 0.813096 vt 0.723071 0.657177
vt 0.726192 0.655712 vt 0.723071 0.877219
vt 0.757669 0.655712 vt 0.701067 0.877219
vt 0.757669 0.813096 vt 0.701067 0.657177
vt 0.524385 0.625850 vt 0.641395 0.351113
vt 0.327958 0.756802 vt 0.366766 0.534199
vt 0.327958 0.283921 vt 0.366766 0.203627
vt 0.458909 0.196620 vt 0.458309 0.142598
vt 0.568036 0.123869 vt 0.671910 0.000198
vt 0.568036 0.596750 vt 0.671910 0.330770
vt 0.196620 0.953229 vt 0.274827 0.757971
vt 0.000193 0.822278 vt 0.000198 0.574885
vt 0.240271 0.698601 vt 0.305341 0.579970
vt 0.240271 0.887753 vt 0.305341 0.712199
vt 0.915053 0.655712 vt 0.426014 0.877219
vt 0.915053 0.813096 vt 0.426014 0.657177
vt 0.999807 0.655712 vt 0.366766 0.877219
vt 0.999807 0.813096 vt 0.366766 0.657177
vt 0.780616 0.900773 vt 0.673222 0.534595
vt 0.768925 0.871547 vt 0.681394 0.555025
vt 0.780616 0.568036 vt 0.673222 0.999802
vt 0.768925 0.597261 vt 0.681394 0.979371
vt 0.327958 0.000193 vt 0.366766 0.005284
vt 0.283921 0.727701 vt 0.320599 0.590142
vt 0.327572 0.756802 vt 0.366370 0.620656
vt 0.568036 0.691326 vt 0.671910 0.396884
vt 0.883576 0.094769 vt 0.723467 0.883504
vt 0.883576 0.567650 vt 0.723467 0.552932
vt 0.726192 0.567650 vt 0.943509 0.552932
vt 0.726192 0.094769 vt 0.943509 0.883504
vt 0.726192 0.000193 vt 0.943509 0.949618
vt 0.883576 0.000193 vt 0.723467 0.949618
vt 0.000000 0.000000 vt 0.943509 0.534595
vt 0.723467 0.534595
s 0 s 0
f 1/1/1 2/2/1 4/3/1 3/4/1 f 1/1/1 2/2/1 4/3/1 3/4/1
f 1/5/2 8/6/2 10/7/2 14/8/2 5/9/2 f 1/5/2 8/6/2 10/7/2 14/8/2 5/9/2
@ -93,4 +94,4 @@ f 10/33/4 11/18/4 14/17/4
f 15/23/1 25/34/1 21/35/1 9/24/1 f 15/23/1 25/34/1 21/35/1 9/24/1
f 7/36/4 6/15/4 23/20/4 f 7/36/4 6/15/4 23/20/4
f 23/37/7 13/38/7 15/39/7 22/40/7 4/41/7 7/42/7 f 23/37/7 13/38/7 15/39/7 22/40/7 4/41/7 7/42/7
f 25/34/8 15/23/8 13/38/8 24/43/8 f 25/43/8 15/39/8 13/38/8 24/44/8

View File

@ -99,7 +99,7 @@ normal_texture = ExtResource("16_jbppi")
uv1_scale = Vector3(3, 2, 1) uv1_scale = Vector3(3, 2, 1)
texture_filter = 4 texture_filter = 4
[sub_resource type="ArrayMesh" id="ArrayMesh_f0xh4"] [sub_resource type="ArrayMesh" id="ArrayMesh_nxaus"]
_surfaces = [{ _surfaces = [{
"aabb": AABB(-4.5, 0, -3, 9, 1e-05, 6), "aabb": AABB(-4.5, 0, -3, 9, 1e-05, 6),
"format": 34896613377, "format": 34896613377,
@ -128,7 +128,7 @@ _surfaces = [{
"vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127) "vertex_data": PackedByteArray(255, 255, 0, 0, 255, 255, 255, 191, 0, 0, 0, 0, 255, 255, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127, 255, 255, 255, 127)
}] }]
blend_shape_mode = 0 blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_f0xh4") shadow_mesh = SubResource("ArrayMesh_nxaus")
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u2hqf"] [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_u2hqf"]
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) 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)