Raised This Month: $51 Target: $400
 12% 

VSH VSH2 No Boss Regen


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 01-29-2020 , 03:43   VSH2 No Boss Regen
Reply With Quote #1

Hi all, this is something quick for those of you running VSH2.
VSH2 uses SDKHooks_GetMaxHealth to provide a max health for its bosses and lets the game handle boss damage/health, but this allows Medic bosses to regen over time, Medic teammates/minions to heal bosses, and friendly dispensers to heal bosses.This plugin works to prevent these instances.

There are 3 cvars
Code:
"sm_noregen_enable", "1.0", "Enable the VSH2 No-Regen plugin?"
"sm_noregen_medics", "0", "Should Medics on a Boss' team be able to heal a boss?"
"sm_noregen_dispensers", "0", "Should Dispensers on a Boss' team be able to heal a boss?"
Nergal doesn't like taking care of gamedata so I doubt this will be a part of the main VSH2 repo, so snag it here

Requires DHooks with Detours and SM 1.10+
Attached Files
File Type: zip vsh2_noregen.zip (8.4 KB, 98 views)
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired

Last edited by Scag; 01-29-2020 at 07:36. Reason: grammar
Scag is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode