Skip to content

Comments

[TF2] improve medigun heal target selection to prioritize teammate directly under crosshair when teammates are close together#1773

Open
wgetJane wants to merge 2 commits intoValveSoftware:masterfrom
wgetJane:medigun-trace-fix
Open

[TF2] improve medigun heal target selection to prioritize teammate directly under crosshair when teammates are close together#1773
wgetJane wants to merge 2 commits intoValveSoftware:masterfrom
wgetJane:medigun-trace-fix

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.

@Primary-Ad2848
Copy link

as a medic Main, It would remove lots of infuriating moment from the game for me and would make it a overall better experience. Hoping they will merge this.

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.

3 participants