Files
ashlar/docker
claudeandClaude Opus 5.5 2c5f6e4e7d
Ashlar checks / tooling (push) Successful in 5s
Add hit reactions for real time combat
With [Game] real time combat and the new [Game] hit reactions setting on
(default), melee hits cause short reactions:

- A connecting hit queues a flinch of 0.2 to 0.7 s, growing with damage
  up to a quarter of max health and halved at zero attack strength. It
  starts when the hit's stagger is applied, so Lua's ignoreStagger and
  god mode prevent it.
- A blocked hit or parry makes the blocker recoil for 0.1 to 0.25 s, and
  a blocked blow at 0.75 strength or more staggers the attacker for 0.25
  to 0.6 s.
- During any reaction, an attack wind-up is interrupted and no new attack
  starts. Hit animations still play where the content has them; the
  timer works without them, as on the Game Template.

The rules are in mwmechanics/hitreaction.cpp. The shield block and parry
resolution moves into resolveMeleeBlock, shared by NPCs and creatures.
The combat scenario now counts reactions. Also moves a stray line of the
ai active blocking docs back under that setting.

Closes #22

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:50:14 -05:00
..
2026-10-10 15:05:23 +01:00
2021-12-17 12:26:38 +01:00
2021-12-17 12:26:38 +01:00

Build OpenMW using Docker

Build Docker image

Replace LINUX_VERSION with the Linux distribution you wish to use.

docker build -f Dockerfile.LINUX_VERSION -t openmw.LINUX_VERSION .

Build OpenMW using Docker

Labeling systems like SELinux require that proper labels are placed on volume content mounted into a container. Without a label, the security system might prevent the processes running inside the container from using the content. The Z option tells Docker to label the content with a private unshared label.

docker run -v /path/to/openmw:/openmw:Z -e NPROC=2 -it openmw.LINUX_VERSION