Skip to content

[TF2] Implement "mod_medic_buff_range" attribute #1302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SanyaSho
Copy link
Contributor

Description

This is a copy of "mod_soldier_buff_range" attribute but for Medic which is might be useful for mapmakers and custom servers.

Default:

amputator-default.mp4

Modified (attribute value is set to 0.4):

amputator-04.mp4

This attribute allows user to modify The Amputator's healing radius.
@FlaminSarge
Copy link
Contributor

Will this also apply to the set_weapon_mode 1 fists taunt handling? e.g. https://gist.github.com/sigsegv-mvm/f72e3047c58dc2674493#file-set_weapon_mode-txt-L67

Separately, any thoughts on an attribute that scales the range at which a Medigun can heal targets?

@SanyaSho
Copy link
Contributor Author

SanyaSho commented May 22, 2025

Will this also apply to the set_weapon_mode 1 fists taunt handling?

No, the radial buff fists are using it's own code, which is also using hardcoded range values. But this attribute also will be applied to players with TF_COND_RADIUSHEAL_ON_DAMAGE condition.

Separately, any thoughts on an attribute that scales the range at which a Medigun can heal targets?

Should be easy to implement, the code is looking in the weapon info table for "range" which we can modify using the custom attribute.

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