@@ -967,3 +967,34 @@ high-priority issues, and A3, A7, A12 and A13 deferred.
|
||||
**Pace:** v0.6 was due on the night of 11-12. A1, A4, A8, A9, A10 and A11 are done. Still open: A2, A5 and A6 (high), plus deferred A3, A7, A12 and A13. That's still more than a day behind, with about two and a half days to Monday 08:00. v0.9 and R1 to R5 haven't started.
|
||||
|
||||
**Next run:** A2 (player figure and animation, in code), then A5 and A6. If the run after that is still in v0.6, start R1 (the Linux export) in parallel, because a playable package matters most for Monday.
|
||||
|
||||
## 2026-11-13 (evening): A2 done
|
||||
|
||||
**Start of run:** the lock was free and acquired fresh. The pull was a no-op and the tree was clean. The Agents category had nothing addressed to this task, and nothing was posted.
|
||||
|
||||
**Done:**
|
||||
- **A2 (#42), closed: the player figure and its animation.**
|
||||
- `tools/models/figure.py` builds an original islander in headless Blender: oilskin coat with toggles and a turned-up collar, sou'wester with a long back brim, square beard, sea boots, a rolled bedding bundle on the back, and a canvas wing-sail with an ochre band. Twelve rigid parts, each an OBJ with its origin at its joint, plus `figure.json` (`make figure`, about 3 s; `make art` rebuilds the figure and the items).
|
||||
- `FigureRig` hangs the parts on pivots and paints them from `Palette`, the coat in the player's own oilskin. `FigurePoses` holds every animation as hand-written key poses: idle, walk, run, crouch, creep, air, skydive, glide, swim and aboard; long, short and carried holds; reload and use layers; fire (long and short), boathook swing, keg throw, building, and a flinch.
|
||||
- One `AnimationTree` (manual mode) plays them: a Transition for movement with speed blend spaces, filtered Blend2 layers for holds, reload and use, and OneShots for actions and flinches. The chest follows a third of the pitch and the held item all of it.
|
||||
- Clients animate from replicated state only. Speed comes from movement when velocity isn't replicated. The reloading and using FLAG_ bits now reach mirrored players. Actions come from FX:
|
||||
- Every boathook swing is now a `swing` sim event, sent as a SHOT with no item. This also means swings that miss are heard (`swing_boathook`), which they weren't before.
|
||||
- New FX kind PLACE for pieces placed. **The protocol version is now 4.**
|
||||
- The old stand-in figure and its crouch squash are gone.
|
||||
|
||||
**Tests:**
|
||||
- New: `test_figure_rig` (15): parts and colours, standing size and feet, crouch height, states from flags, the air delay, speed from positions, legs moving only when moving, every state posing differently, sail and hands, FX actions, no actions while swimming, flinch and the reload layer, holds by item, and the held item pointing along the look through a run cycle.
|
||||
- Updated: `test_harvest` (+1, every swing reports itself), `test_net_fx` (+1, swings and PLACE round trip), `test_item_models` and `test_match_view` for the rig's API.
|
||||
- `make check` passes: parse (223 scripts), 604 tests, self-check and smoke.
|
||||
- `make client-check` passes over UDP with protocol 4: lobby to drop, 3,507 frames played, no bad packets, 0 corrections.
|
||||
- `client_glide` and `client_landed` re-rendered with the new figure through a real network client and looked at: the islander hangs from the wing-sail with both hands up, and stands with the bedroll on his back after landing.
|
||||
- Captures `figure_states`, `figure_actions` and `figure_close` (`make figure-captures`), all opened and looked at. Fixed before committing: the first framing put the camera inside a building, the long-gun hold had the left hand up by the face (now on the fore-end), and the canvas bedroll read as a white ball (now tanned sail).
|
||||
|
||||
**Decisions and what I learned:**
|
||||
- Debian's Blender can't write glTF, so the figure is jointed, not skinned. That suits the carved folk-art look, and FigurePoses keeps the animations as reviewable text.
|
||||
- Godot's AnimationTree runs fine headless in manual mode (`advance()`), so the animation is unit-tested.
|
||||
- `AnimationNodeBlendSpace1D.add_blend_point` warns without a name in 4.7; pass one.
|
||||
- Blender's OBJ export writes the same geometry each run but not always the normals in the same order, so regenerating can show a diff in three part files without a real change.
|
||||
- The wing-sail is still the launch fiction in the code; #72 (sky barge or packet ship) is Eric's call and only changes the sail and barge models.
|
||||
|
||||
**Known gaps:** no foot planting or IK, so feet can slide a little at odd speeds and the left hand only roughly meets a long gun's fore-end. Nobody has seen it move in real time on real hardware (R6); software captures show poses, not motion quality.
|
||||
|
||||
Reference in New Issue
Block a user