Blade v1.1
Description
Silver Knife & Bullets - Burn Vampires with your KNIFE or Deal Extra Burning Damage with your MAC10 or USP
http://www.marveldatabase.com/wiki/index.php/Blade
shconfig.cfg CVARS
Code:
//Blade
blade_level 5
blade_speed 350 //How fast he runs with knife, usp, or mac10 (Default 350)
blade_knifeburns 8 //Amount of burns from a knife attack, set to -1 for continuous burn (Default 8)
blade_knifeburndmg 5 //Amount of damage per burn from knife burn (Default 5)
blade_gunburns 5 //Amount of burns from a usp/mac10 attack (Default 5)
blade_gunburndmg 3 //Amount of damage per burn from gun burn (Default 3)
**Requires Modified Dracula**
Included in Required Files zip below (sh_dracula v1.18m)
**AMX Mod X 1.75 & up ONLY**
**Requires Fakemeta Module (if model is used)**
Editable Defines in top of code
Note: If you change anything from default settings you must edit and recompile the plugin.
Code:
// Unlimited ammo
// 0 = no reload, 1 = drop weapon, 3 = disable unlimited ammo [Default 3]
#define AMMO_MODE 3
// 0 = don't use custom MAC10 model, 1 = use custom MAC10 model [Default 0]
#define USE_MODEL 0
// 0 = don't give free weapons, 1 = give free mac10 and usp(if T) [Default 0]
#define GIVE_WEAPONS 0
If another hero is a vampire and you want Blade's burn damage to work on it. Add the following code to the bottom, but change HasDracula[id] to match the hero's variable. Then recompile the hero.
Code:
//----------------------------------------------------------------------------------------------
// CreateMultiForward check for another hero to see if user has the hero
public sh_is_vampire(id)
{
if ( HasDracula[id] )
return 4
return 3
}
//----------------------------------------------------------------------------------------------