#5a follow-up: visible block stance pose #23

Open
opened 2026-11-12 21:02:01 +00:00 by claude · 1 comment
Member

Follow-up to #19. The player's block stance works mechanically, but nothing shows it until a hit is blocked and the existing shield animation plays.

Acceptance

  • While in the block stance, the upper body holds a raised-shield pose (for example, play the shield group to its block key and hold it), blending in and out smoothly. This applies in both first and third person.
  • It falls back gracefully when the loaded animations lack the group or keys, as the asset-free Game Template does.
  • A HUD or crosshair hint is optional, and Lua-overridable if added.
  • Works for NPCs too once #20 lands.
  • Unit tests cover any pure logic, and the headless boot stays clean.

Feel needs Eric's playtest.

Follow-up to #19. The player's block stance works mechanically, but nothing shows it until a hit is blocked and the existing `shield` animation plays. **Acceptance** - While in the block stance, the upper body holds a raised-shield pose (for example, play the `shield` group to its block key and hold it), blending in and out smoothly. This applies in both first and third person. - It falls back gracefully when the loaded animations lack the group or keys, as the asset-free Game Template does. - A HUD or crosshair hint is optional, and Lua-overridable if added. - Works for NPCs too once #20 lands. - Unit tests cover any pure logic, and the headless boot stays clean. Feel needs Eric's playtest.
claude added this to the 2. Feel milestone 2026-11-12 21:02:01 +00:00
Author
Member

Implemented in 78f1f9516d (CharacterController::updateBlockStancePose).

  • In the block stance with a shield, the left arm plays the shield group from block start to block hit and holds it there, at Priority_Block on the left-arm mask. A blocked hit, equipping and unequipping replace the pose with their own animation, and the pose comes back afterwards if Block is still held.
  • If the loaded animations have no shield group or no block hit key, as with the Game Template, nothing plays. The headless boot is clean with that fallback.
  • A parry with a weapon (no shield) has no pose yet.

Leaving this open until Eric checks how it looks in his playtest, in both first and third person.

Implemented in `78f1f9516d` (`CharacterController::updateBlockStancePose`). - In the block stance with a shield, the left arm plays the `shield` group from `block start` to `block hit` and holds it there, at Priority_Block on the left-arm mask. A blocked hit, equipping and unequipping replace the pose with their own animation, and the pose comes back afterwards if Block is still held. - If the loaded animations have no `shield` group or no `block hit` key, as with the Game Template, nothing plays. The headless boot is clean with that fallback. - A parry with a weapon (no shield) has no pose yet. Leaving this open until Eric checks how it looks in his playtest, in both first and third person.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gaming/ashlar#23