Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(verse): hand rails on the shuttle ramp show where its edges end (#982)

Ruben Lütke62e9a30b8b7b
diff --git a/art/verse/LEVELS.md b/art/verse/LEVELS.md
index d324b885dd..7239cc9388 100644
--- a/art/verse/LEVELS.md
+++ b/art/verse/LEVELS.md
@@ -71,7 +71,7 @@ A long main corridor (the hexagonal-profile corridor) with rooms off both sides.
| Area | Rect | Contents |
|---|---|---|
| Hangar wall | 0–100, 0–3 | Full-height hangar wall: huge closed blast doors with a pressure frame, gantry rails, deck lights. |
-| Flight deck | 3–97, 3–46 | Vast floor of large plates with painted landing markings; a recessed launch well in the floor (30 × 12 m) covered by a faint blue containment field over darkness (never stars); the shuttle (≈ 20 m, original armed design, swept wings out) on a pad (`SOCKET_spawn_arrival` at its ramp), its cabin walkable up the ramp (room `shuttle`: ramp corridor, troop bay, cockpit); cargo containers and pallets in ordered rows; fuel lines; tow drone. |
+| Flight deck | 3–97, 3–46 | Vast floor of large plates with painted landing markings; a recessed launch well in the floor (30 × 12 m) covered by a faint blue containment field over darkness (never stars); the shuttle (≈ 20 m, original armed design, swept wings out) on a pad (`SOCKET_spawn_arrival` at its ramp), its cabin walkable up the railed ramp (room `shuttle`: ramp corridor, troop bay, cockpit); cargo containers and pallets in ordered rows; fuel lines; tow drone. |
| Control booth | 3–25, 47–60 | Raised booth behind a window wall (cut at 1.1 m) with consoles facing −z toward the flight deck (an exception: seen from behind). |
| Arrivals desk | 40–60, 47–60 | Counter and terminal (station kind `create_agent`): new agents come off the shuttle and report here. |
| Turbolift lobby | 64–76, 48–60 | Lift, spawn. |
diff --git a/art/verse/kit/props/industrial/shuttle.py b/art/verse/kit/props/industrial/shuttle.py
index 0673ac3194..7991085633 100644
--- a/art/verse/kit/props/industrial/shuttle.py
+++ b/art/verse/kit/props/industrial/shuttle.py
@@ -309,6 +309,10 @@ def build_shuttle() -> None:
ramp = K.MeshBuilder()
_ramp(ramp)
ramp.build("SM_Hangar_Shuttle_ramp", bevel_width=0.01, nav="walk") # crew walk up it
+ rails = K.MeshBuilder()
+ _ramp_rails(rails)
+ # The ramp's open sides already end the walkable floor; the rails only show it.
+ rails.build("SM_Hangar_Shuttle_ramp_rails", bevel_width=0.004, nav="none")
intake = K.MeshBuilder() # fuel intake on the starboard sponson (hoses end here)
intake.box((3.05, -5.9, 1.55), (3.1, -5.1, 2.05), m("dark_steel"))
intake.tube((3.1, -5.5, 1.8), (3.28, -5.5, 1.8), 0.11, m("gunmetal"), 14)
@@ -725,6 +729,41 @@ def _ramp(mb):
)
+def _ramp_rails(mb):
+ """Hand rails down both sides of the ramp: you can see you cannot step off it.
+
+ Vertical gunmetal posts stand on the side skirts; a top rail at hand
+ height and a knee rail run parallel to the ramp, and a small amber lamp
+ marks each post head.
+ """
+ hy, hz = RAMP_HINGE
+ ang = math.asin(hz / RAMP_LENGTH)
+ hw = RAMP_WIDTH / 2
+ skirt = 0.12 # top of the side skirts above the ramp plate
+ top, knee = 0.95, 0.5 # rail heights above the ramp surface
+
+ def on_ramp(t, x, lift):
+ """World point `t` metres down the ramp from the hinge, `lift` metres above it."""
+ return (x, hy - t * math.cos(ang), hz - t * math.sin(ang) + lift)
+
+ stations = (0.2, 1.55, 2.9, 4.2)
+ metal = m("gunmetal")
+ for sx in (-1, 1):
+ x = sx * (hw - 0.035)
+ for t in stations:
+ base = on_ramp(t, x, skirt)
+ head = on_ramp(t, x, top + 0.03)
+ mb.box((x - 0.03, base[1] - 0.03, base[2]), (x + 0.03, base[1] + 0.03, head[2]), metal)
+ mb.box(
+ (x - 0.022, head[1] - 0.022, head[2]),
+ (x + 0.022, head[1] + 0.022, head[2] + 0.025),
+ m("lamp_amber"),
+ )
+ a, b = stations[0], stations[-1]
+ mb.tube(on_ramp(a - 0.12, x, top), on_ramp(b + 0.08, x, top), 0.026, metal, 14)
+ mb.tube(on_ramp(a, x, knee), on_ramp(b, x, knee), 0.014, metal, 10)
+
+
def _cockpit(mb, secs):
"""Canopy panes on the nose's upper facets with mullions between them."""
glass = "M_Glass_Viewport" # see-through: the hangar lights the cockpit, the crew look out
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/manifest.json b/dodaios/ui/web/frontend/public/verse/decks/hangar/manifest.json
index b20f1c39a1..a3930466a5 100644
--- a/dodaios/ui/web/frontend/public/verse/decks/hangar/manifest.json
+++ b/dodaios/ui/web/frontend/public/verse/decks/hangar/manifest.json
@@ -2329,16 +2329,16 @@
"blender_s": 2708.8,
"package_s": 359.94,
"plate_bytes": 3987709,
- "bytes": 24547749
+ "bytes": 24634319
},
"realtime": {
"version": 1,
"quality": "final",
"scene": {
"url": "realtime/scene.glb",
- "vertices": 1143314,
- "triangles": 1137598,
- "chunks": 261
+ "vertices": 1145894,
+ "triangles": 1140206,
+ "chunks": 256
},
"lightmaps": {
"encoding": "rgbm2",
@@ -3324,13 +3324,13 @@
"collide": true
}
},
- "bytes": 20076712,
+ "bytes": 20163254,
"stats": {
- "objects": 296,
- "triangles": 1137598,
- "vertices": 1143314,
- "chunks": 261,
- "area_m2": 80823.6,
+ "objects": 297,
+ "triangles": 1140206,
+ "vertices": 1145894,
+ "chunks": 256,
+ "area_m2": 80827.3,
"hidden_objects": 9,
"hidden_area_m2": 6906.1,
"far_split": 13,
@@ -3343,15 +3343,14 @@
],
"samples": 512,
"blender": "5.0.1",
- "realise_s": 4.52,
- "visibility_s": 89.92,
- "unwrap_s": 8.81,
- "join_s": 0.72,
- "bake_s": 1297.59,
- "probes_s": 54.16,
- "geometry_s": 17.44,
- "blender_s": 1483.4,
- "package_s": 352.72
+ "realise_s": 4.44,
+ "visibility_s": 54.86,
+ "unwrap_s": 5.22,
+ "join_s": 0.52,
+ "bake_s": 1816.56,
+ "probes_s": 119.88,
+ "geometry_s": 7.74,
+ "package_s": 162.88
}
}
}
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_0.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_0.webp
index 2024835d76..486784a6a8 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_0.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_0.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_1.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_1.webp
index 190e6cd503..321bc8ae25 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_1.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_1.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_2.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_2.webp
index a5809bffc6..181b6144d1 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_2.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_2.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_3.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_3.webp
index 6e228bec07..9a9309e214 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_3.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/lm_3.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_armoury.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_armoury.webp
index 44771b68af..8d025e8bf9 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_armoury.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_armoury.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_arrivals.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_arrivals.webp
index f0c2d102f5..74d7c8a68f 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_arrivals.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_arrivals.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_booth.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_booth.webp
index 538a6d7276..cd7a542100 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_booth.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_booth.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_crew_bay.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_crew_bay.webp
index 8188a68942..4e1604c180 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_crew_bay.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_crew_bay.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_flight_deck.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_flight_deck.webp
index 3e4fc585e2..90fac51e28 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_flight_deck.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_flight_deck.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_lift_lobby.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_lift_lobby.webp
index 51765d6229..7627e7d67a 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_lift_lobby.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_lift_lobby.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_shuttle.webp b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_shuttle.webp
index 65ef953a00..7caf8df035 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_shuttle.webp and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/probe_shuttle.webp differ
diff --git a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/scene.glb b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/scene.glb
index 5ab4ce56bb..c5310c7365 100644
Binary files a/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/scene.glb and b/dodaios/ui/web/frontend/public/verse/decks/hangar/realtime/scene.glb differ