Refs #19 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.3 KiB
2.3 KiB
Ashlar devlog
Newest entries first. The ashlar-build scheduled task and interactive
sessions both append here.
2026-11-12 (afternoon run)
- #19 player active blocking,
9be251af0a. With real time combat on, the player holds the new Block action (engine action 51, Luainput.ACTION.Blockandself.controls.block; defaults are middle mouse and D-pad down) to raise a block stance. It needs a shield and a drawn weapon. In the stance, no attacks start, movement drops to[Game] block stance speed(0.5), and melee hits inside the block arc are always blocked. Fatigue cost falls with Block skill, to half at 100. Without the stance the player doesn't block. NPCs and creatures keep the roll until #20. The rules are inmwmechanics/activeblock.cpp. - Decision: the stance is stored as a transient
CreatureStats::mBlockHeld(not saved), so #20 can set it for NPCs through the same Lua control. Lua doesn't suppress Use itself; the engine refuses to start attacks in the stance, so behavior with the setting off is unchanged. - Tests: build OK, components-tests 1636 passed, openmw-tests 564 passed
(6 new). The headless boot is clean, and
input_v3.xmlgets the new defaults. A blocked hit wasn't exercised end to end, because the Game Template has no shield or hostile melee actor. That needs test content or Eric's playtest, as does feel. - Opened #23 for a visible raised-shield pose while in the stance.
- If upstream adds an action 51, renumber
A_Blockwhen rebasing. - Next: #20 NPC and creature blocking. Consider writing small CC0 test content (a shield and a hostile melee NPC) so blocks can be verified headlessly.
2026-11-12
- #3 performance baseline: added
docker/ashlar-bench.shandscripts/ashlar_bench_summary.py. The GPU run uses SDL's offscreen driver with NVIDIA EGL, so it is headless. Baseline on the RTX 5060 Ti at 1080p: about 624 mean FPS and 283 1% low over three 60-second runs, within 2%. The method and numbers are indocs/ashlar/BENCHMARK.md. - Build and both unit test suites pass (558 tests).
- #4 CI is still blocked on the shared runner (DevOps/software-infrastructure#58).
- Split #5 into #19 player active blocking, #20 NPC and creature blocking, #21 stamina-driven attacks and #22 hit reactions.
- Next: #19.