[L4D2] Charger mid-charge buff
2 Attachment(s)
L4D2 Charge Protection
This plugin basically adds health to a charger during a charge, then removes it when the charge ends. This lets him have a higher chance of survival DURING the charge, but afterwards he's no better off. It will not remove the health if he has less than the health it was going to remove. Cvar: sm_charger_health: The amount of health to give/take away from a charger during a charge. (default 300) |
Re: [L4D2] Charge Assurance
Quote:
Also
|
Re: [L4D2] Charge Assurance
Quote:
Thanks for the feedback. I'll do that but... ... There can only be one charger at a time. It's funny though, because I thought "I don't think I should make it global...oh wait" |
Re: [L4D2] Charge Assurance
Alright, fixed.
|
Re: [L4D2] Charge Assurance
Very nice plugin, but can this support more then one charger at a time?
If not, can you make it support 10vs10 please? :) |
Re: [L4D2] Charge Assurance
Quote:
|
Re: [L4D2] Charge Assurance
I've seen that when you have bots in your team, they sometime spawn with the same characters, 2 hunters, or 2 chargers at same time, this only seems to happen with bots, and it's also incompatible with other sourcemod plugins that enable you to have multiple chargers at a time.
You can make a global variable for each player: new bool:done[MAXPLAYERS] = { false, ... }; public OnClientPutInServer(client) { done[client] = false; } |
Re: [L4D2] Charge Assurance
Quote:
|
Re: [L4D2] Charge Assurance
Done.
|
Re: [L4D2] Charge Assurance
Quote:
Tag mismatch & lose indentation warnings again. use false/true for bool variables, not 1/0. Please fix (approved for now). |
All times are GMT -4. The time now is 23:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.