Originally Posted by ThatGuy
What commands you adding? I Added ALOT for my server myself
Oh ya? Might be interested in checking that out.
So far, im still working on this health one, but this badhealth one will subtract 40-50%(or whatever value you specify) health from the entire team.
I added firebomb, and freezebomb as well for bad commands. Thats it so far. If you wouldnt mind sharing, id love to see what stuff you came up with. Im kinda new and still learning sm so... So far firebomb and freezebomb just use the cvars straight out of the funcommands.cfg, so like I still have to adjust radius, time, and team affected via that config. I wanna try and make those into the rtd plugin itself.
I was also screwing around and planning on fiddling with some of the other current skills. Like I thought beacon should just stay on until they die since its such a minor "bad" skill, instead of a time period. Possibly put a custom timer. I couldnt get that to work either though. I tried to set a 60 second timer for that so it doesnt utilize the cvar timelimit, but It wouldnt work.
This leads me to another question I have for bl4nk if you see this. How do you check their current health, instead of class health? I cant find what looks at their current health first before adding the % health.
SetEntityHealth(i, RoundToCeil(classHealth[GetEntProp(i, Prop_Send, "m_iClass")] * GetConVarFloat(c_Badhealth))); // subtract the health