Found this superhero package maintained by
landfall / ibiruai:
https://github.com/ibiruai/cstrike-s...master/cstrike
It had a really cool cooldown implementation, that I expanded to included every hero with a relevant cooldown on my server. Putting it back out there for anyone else who might benefit from it. Enjoy!
I changed the handling inside the shnvault to make the most of the 64 character display limit for the HUD message. It dynamically responds to heroes presses and changes into a cooldown area now. It's pretty slick!
Check out the Cooldown Display, live on the server in my sig below:
https://github.com/heliumdream/db-cs1.6-superheroes
Supported Heroes:
Code:
sh_GokuKT.sma
sh_SuperVegeta.sma
sh_bishop.sma
sh_blink.sma
sh_bomberman.sma
sh_danimothx.sma
sh_dazzler.sma
sh_electro.sma
sh_exodus.sma
sh_forge.sma
sh_frieza.sma
sh_hulk.sma
sh_ken.sma
sh_longshot.sma
sh_naruto_scj_pub.sma
sh_neoreloaded.sma
sh_phasing.sma
sh_quicksilver.sma
sh_sandman.sma
sh_secretary.sma
sh_shadow.sma
sh_ssjgohan.sma
sh_storm.sma
sh_subzero.sma
sh_yoda.sma
sh_yuna.sma
*Notes:
my shnvault is additionally modded to support
SH Show Damage Anubis, and my custom version of
Protoman // ibiruai's shnvault also has additional modifications, and has #defines that clearly outline the mods - his code is certainly cleaner.
they were both authored to support specific gameplay and features we wanted in our respective servers. they arent quite the same, so examine them closely to figure out what they even offer and if you want to bother implementing anything for yourself.
This was super bouillabaisse, I barely got around to making this update, so there's no good changelog, documentation, or the like. A couple comments might be here and there making sense of things. Good luck!
__________________