AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Survivors Vampire - v1.0 | 19/09/2022 (https://forums.alliedmods.net/showthread.php?t=339589)

alasfourom 09-19-2022 08:18

[L4D2] Survivors Vampire - v1.0 | 19/09/2022
 
1 Attachment(s)
About:
  • Survivors gain lifesteal ability after killing multiple specail infected
  • There are three levels: level 1, level 2, level max.
  • When killing the required amount of special infected, you can activate your ability.
  • You can adjust the amount of kills for each level
  • When reaching you desired level, typing sm_vampire will activate your ability
  • When ability is activated, you have a countdown, after it reaches 0, you lose your ability


Commands:
  • sm_vampire > to activate your ability


Cvars:
PHP Code:

// This file was auto-generated by SourceMod (v1.11.0.6911)
// ConVars for plugin "l4d2_vampire.smx"


// Enable l4d2 vampire plugin [1 = Enable, 0 = Disable]
// -
// Default: "1"
l4d2_vampire_plugin_enables "1"

// How many special infected you need to kill to reach level one
// -
// Default: "5"
l4d2_vampire_levelone_kills "5"

// How long vampire level one can last when activated
// -
// Default: "60"
l4d2_vampire_levelone_timer "60"

// How much health you get after killing a special infected when level one is activated
// -
// Default: "3"
l4d2_vampire_levelone_lifesteal "3"

// How many special infected you need to kill to reach level two
// -
// Default: "10"
l4d2_vampire_leveltwo_kills "10"

// How long vampire level two can last when activated
// -
// Default: "120"
l4d2_vampire_leveltwo_timer "120"

// How much health you get after killing a special infected when level two is activated
// -
// Default: "5"
l4d2_vampire_leveltwo_lifesteal "5"

// How many special infected you need to kill to reach level max
// -
// Default: "15"
l4d2_vampire_levelmax_kills "15"

// How long vampire level max can last when activated
// -
// Default: "180"
l4d2_vampire_levelmax_timer "180"

// How much health you get after killing a special infected when level max is activated
// -
// Default: "10"
l4d2_vampire_levelmax_lifesteal "10" 

Requirements:
  • None


Installation:
  • Put the "L4D_Survivors_Vampire.smx" file in your "\addons\sourcemod\plugins" folder.


Updates:
Code:

  • 19-09-2022 > Version 1.0: Initial release




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

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