Raised This Month: $ Target: $400
 0% 

[L4D2] Simple Tank Health Regen v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
liquidplasma
Junior Member
Join Date: May 2023
Plugin ID:
8688
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Configurable tank health regen
Old 04-28-2024 , 19:56   [L4D2] Simple Tank Health Regen v1.0
Reply With Quote #1

Simple plugin to regen tank health with configurable delay and option to regen only player tanks.

Cvars:
Quote:
// Wether to regen a burning tank or not | 0 - disabled / 1 - enabled
// -
// Default: "1"
l4d2_tank_regen_burning "1"

// Time in seconds for a healing tick of 'tank MAX HP / l4d2_tank_regen_quotient'
// -
// Default: "0.4"
l4d2_tank_regen_delay "0.4"

// Wether or not tank bots should regen their hp | 0 - disabled / 1 - enabled
// -
// Default: "0"
l4d2_tank_regen_heal_bots "0"

// Multiplier to heal over tank MAX HP
// -
// Default: "1.0"
l4d2_tank_regen_overheal_multiplier "1.0"

// Amount that the MAX HP of the tank will be divided by
// -
// Default: "320.0"
l4d2_tank_regen_quotient "320.0"
Changelog:
Code:
1.1 - Added convar that disables regen if tank is on fire
-
1.0 - First Release
Required: Left 4 DHooks Direct

Clicking 'Get Plugin' won't work, download the .smx and put it into sourcemod\plugins or download source and compile it yourself.
Attached Files
File Type: smx tankHPRegen.smx (6.8 KB, 1 views)
File Type: sp Get Plugin or Get Source (tankHPRegen.sp - 2 views - 4.5 KB)

Last edited by liquidplasma; Today at 00:29.
liquidplasma is offline
liquidplasma
Junior Member
Join Date: May 2023
Old Today , 00:28   Re: [L4D2] Simple Tank Health Regen v1.0
Reply With Quote #2

Version 1.1
- Added convar that disables regen if tank is on fire
liquidplasma 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 21:17.


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