Skip to content

Conversation

WofWca
Copy link

@WofWca WofWca commented Sep 13, 2025

Closes #794.

Note that now when shooting at two players
standing behind each other,
the second target will take less damage,
because the dead body of the first player will absorb the pellets
until it gets gibbed (that is, up to 4 pellets,
see GIB_HEALTH and DEFAULT_SHOTGUN_DAMAGE).

The purpose of the removed line is not entirely clear.
Maybe it's just leftover code,
because the height of a dead body is handled in PM_CheckDuck.

Before merging, please verify that this doesn't have
unintented side effects, I am not quite sure.
See the linked issue for details.

@WofWca
Copy link
Author

WofWca commented Sep 14, 2025

I've played ~20 ~50 rounds with bots with this patch, and the shotgun is just sooo much better. Otherwise I didn't notice any issues.

quake-fixed-shotgun-gib-2.mp4
quake-fixed-shotgun-gib-3.mp4
quake-fixed-shotgun-gib-4.mp4

Behind an off by default cvar, at least for now.

Closes ioquake#794.
@WofWca WofWca force-pushed the fix-shotgun-gib-dont-change-maxs branch from c818196 to 581e4a2 Compare September 18, 2025 12:29
@WofWca
Copy link
Author

WofWca commented Sep 18, 2025

OK, I put this fix behind an off-by-default var, so that it's easier to merge.

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.

Shotgun doesn't gib (except when aiming at the feet)
1 participant