Ticket #42856

Added new DMFlags: "sv_shootthroughallies" and "sv_dontpushallies"

Open Date: 2021-09-12 23:40 Last Update: 2021-09-13 07:21

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Accepted
File:
2

Details

These are two new DMFlags that a lot people have been requesting for a long time. "sv_shootthroughallies" allows a player's attacks, either projectiles or hitscans, to safely pass through their teammates and "sv_dontpushallies" prevents a player's attacks from thrusting their teammates should they hit them, whether directly or indirectly. The latter also covers a player exploding a barrel next to their teammates.

This should help against potential trolling that ruins the game for others, whether one (un)intentionally steps in front of their teammate while they're firing rockets so they end up killing themselves, throwing teammates around with BFG9K tracers or BFG10K projectiles, etc.

Ticket History (3/6 Histories)

2021-09-12 23:40 Updated by: akmdm
  • New Ticket "Added new DMFlags: "sv_shootthroughallies" and "sv_dontpushallies"" created
2021-09-13 04:24 Updated by: torr_samaho
Comment

Thanks for the patch! The implementation itself looks good, but I think the function name PLAYER_CannotShootOrPushAlly is extremely misleading, as it suggests that it will return true if the player either cannot shoot or cannot push allies, but actually will only check exactly one of these conditions.

2021-09-13 05:08 Updated by: torr_samaho
Comment

Thanks for the updated patch! I added it.

2021-09-13 07:21 Updated by: akmdm
  • Status Update from Open to Closed
  • Resolution Update from None to Accepted

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login