[TF2] Don't Heal Me Plugin
Please make and share a plugin that allows any player to type a command: !nomedic
When the command is entered Medic Bots are NOT able to able to target or heal the player with their medigun. Players are able to reverse this action with the command: !medic Why I want the plugin: I do a lot of development work on a live server. The sound and actions of the Medic Bot medigun annoy me while I'm testing things. They seem to fixate on me as a Human player and refuse to heal anyone else. In response to this I normally just change the class of all Medic Bots to something else. However, this has the negative effect of denying other Human players with Medic bots. I'm hoping you'll be able to write and share a plugin that will prevent Medics from even targeting me with their healing medigun. That way there is no overhealing that impacts my testing, and no healing sound to annoy my ears. |
Re: [TF2] Don't Heal Me Plugin
...I have "fiddle about" little. If I'm lucky I post some kind example, soon.
|
Re: [TF2] Don't Heal Me Plugin
Thanks Bacardi!
I made this plugin which works most of the time but it has two issues: 1. I'd prefer to find an solution that doesn't involve attributes. 2. Its buggy. The player will sometimes still get healed by a Medic. If you have a better solution please share. PHP Code:
|
Re: [TF2] Don't Heal Me Plugin
2 Attachment(s)
I have test this far, with (Windows only)
Code:
CTFPlayer *CTFBotMedicHeal::SelectPatient( CTFBot *me, CTFPlayer *current )I have to look at least one more thing also Code:
CFindMostInjuredNeighbor( CTFBot *me, float maxRange, bool isInCombat )I go sleep |
Re: [TF2] Don't Heal Me Plugin
I'm marking this thread as 'solved' after receiving help from Bacardi, nosoop, and Pelipoika. Thanks!
Final version: PHP Code:
|
| All times are GMT -4. The time now is 21:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.