AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Call of Duty-like Breathing Healing (https://forums.alliedmods.net/showthread.php?t=333026)

little_froy 06-15-2021 04:24

[L4D2] Call of Duty-like Breathing Healing
 
NEEDS left4dhooks
https://forums.alliedmods.net/showthread.php?t=321696


Remove all health buffer in game, such as pills, adrenaline, revived.Replace them to real health.
When not got hurt for a while, your health can automatic regeneration, and you will heard the heartbeat.


【sm_cvar】
// health by adrenaline
// -
// Default: "25"
// Minimum: "1.000000"
breath_adrenaline_health "25"

// how long regeneration again ?
// -
// Default: "1.0"
// Minimum: "0.300000"
breath_heal_between "1.0"

// enable breathing healing ?
// -
// Default: "1"
breath_heal_enable "1"

// health regen by breathing once
// -
// Default: "2"
// Minimum: "1.000000"
breath_heal_point "2"

// lower the health, you can breathing healing
// -
// Default: "40.0"
// Minimum: "10.000000"
// Maximum: "80.000000"
breath_max_health "40.0"

// health by pills
// -
// Default: "50"
// Minimum: "1.000000"
breath_pills_health "50"

// health by revived
// -
// Default: "30"
// Minimum: "1.000000"
breath_revive_health "30"

// how long after you not got hurt, then start breathing healing
// -
// Default: "5.0"
// Minimum: "0.300000"
breath_wait_time "5.0"



1.0.1update: improve hookevent of player incap


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

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