Skip to content

Conversation

@wgetJane
Copy link
Contributor

Description

this pr solves a minor annoyance with medic where teammates would block you from being able to heal someone that's close to them

this issue is caused by how the medigun traces for player collision hulls for leniency instead of the more accurate player hitboxes

the solution in this pr is to simply trace a second time for player hitboxes and prioritise the result when applicable

before:

mediguntarget_before.mp4

after:

mediguntarget_after.mp4

@FlaminSarge
Copy link
Contributor

I don't know how viable this would be, but if currently healing a target, quickly retargeting (either letting go of and then quickly repressing +attack, or pressing +attack again if the 'medigun continues healing' setting is set) should potentially switch to the next valid target, away from the current target.

That's probably a separate feature PR, though.

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.

2 participants