Author
|
|
Junior Member
|
Plugin ID:
|
7216
|
Plugin Version:
|
4.0
|
Plugin Category:
|
Gameplay
|
Plugin Game:
|
Team Fortress 2
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
A very simple plugin that changes each class max health, or everyones max health.
|
|
|
07-23-2020
, 19:43
[TF2] Set Class Max Health (v4.0 24/07/2020)
|
#1
|
- Name
setclassmaxhealth.smx
- Description.
A very simple plugin that changes each class own max health, or everyones max health using tf2attrib "max health additive bonus".
- Features.
Modes (see cvar sm_mhmode):
0: Adds to all classes max health's an additive extra taken from the cvar "sm_mhincrement"
1: each class will get a specific additive maxhealth value depending on their own cvar.
------------------------------------
Specific class max health using cvars for each class (see cvars)
Incremental Percentage health for everyone.
------------------------------------
Team restrictions, you can restrict this maxhealth to a specific team, or to everyone (see sm_mhteam cvar).
- Cvars.
cvar name, default value, description.
"sm_mhenabled", "1", "Enables / Disables the plugin (sm plugins reload is needed)."
"sm_mhteam", "1", "0: apply to all teams, 1: Only RED Team, 2: Only BLUE Team"
"sm_mhmode", "0", "Sets plugins mode, 0: sm_mhincrement = +% of the default max health for each class, 1: Custom health value for each class from each owns class cvar"
"sm_mhincrement", "100", "Additive health added to everyone."
"sm_mhsoldier", "200", "Health to increaseSoldiers max health"
"sm_mhpyro", "200", "Health to increase Pyros max health"
"sm_mhspy", "200", "Health to increaseSpys max health"
"sm_mhdemoman", "200", "Health to increaseDemomans max health"
"sm_mhsniper", "200", "Health to increaseSniers max health"
"sm_mhengineer", "200", "Health to increaseEngineers max health"
"sm_mhheavy", "200", "Health to increaseHeavys max health"
"sm_mhscout", "200", "Health to increaseScouts max health"
"sm_mhmedic", "200", "Health to increaseMedics max health"
- Changelog.
Fixed overheals bug - 03/08/2020.
First release - 24/07/2020.
- Bugs.
- Dependencies.
This plugin uses tf2attributes
https://github.com/FlaminSarge/tf2attributes/releases
- How to install.
Download the plugin and drop it into your plugins folder, on launch, a config file should be generated located at cfg/sourcemod/setclassmaxhealth.cfg.
- Repository.
This plugin is also available on my repository here.
This is my first plugin that i did with a bit of help thanks to Drixevel, hope everyone likes it, if you have any question dont heistate to ask!
Best regards, Frenzoid .
Last edited by MrFrenzoid; 08-03-2020 at 08:52.
|
|
|
|