Skip to content

Fix damageable trigger brush weapon hits#37

Merged
agustin-lowpoly merged 2 commits into
mainfrom
damageable-trigger-brush-weapon-hits
Jun 27, 2026
Merged

Fix damageable trigger brush weapon hits#37
agustin-lowpoly merged 2 commits into
mainfrom
damageable-trigger-brush-weapon-hits

Conversation

@agustin-lowpoly

Copy link
Copy Markdown
Contributor

Summary

  • include health-bearing trigger brush models in singleplayer weapon target traces
  • let projectile traces hit the same damageable trigger brushes as hitscan/melee/beam traces
  • add focused coverage for E1M1-style trigger_multiple shoot targets and projectile damage

Validation

  • node --test test/gameplay/weaponDamageableBrushTargets.test.mjs test/runtime/damageableBrushFlow.test.mjs
  • node --test test/prepare/sceneVariants.test.mjs test/runtime/entities.test.mjs test/runtime/moversZeroTravelButton.test.mjs test/runtime/gameplayInputFlow.test.mjs test/runtime/damageableBrushFlow.test.mjs test/gameplay/playerWaterMove.test.mjs test/gameplay/weaponDamageableBrushTargets.test.mjs test/multiplayer/presence.test.mjs
  • pnpm test
  • pnpm build
  • pnpm test:browser -- --family projectile --timeout-ms 90000
  • browser probes confirmed E1M1 entity 138 responds to shotgun and nailgun projectile hits

@agustin-lowpoly agustin-lowpoly merged commit cce772e into main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant