What Do:
This is a boss ability plugin that provides a customizable alternative to the Plague power up from Mannpower. While the title says rage it also has a passive version.
Configurations:
plague_rage:
Grants the boss a Plague effect on rage for a configurable duration. Works with AMS.
HTML Code:
"abilityX"
{
"name" "plague_rage"
"arg1" "63" //ability flags add together for desired effects
//1 - plague spreads on contact
//2 - plague spreads on melee attackers
//4 - plague spreads on melee attacks against victims
//8 - infected players can spread to others by contact
//16 - infected players can spread to medigun healers
//32 - infected players can spread to others by healing them with mediguns
"arg3" "6" //if the boss currently has one of these stuns it cannot spread the plague(add together for desired effect)
//1 - slowdown stuns
//2 - thirdperson stun
//4 - completely immobilizing third person stun
//8 - ghost spook stuns
"arg4" "15.0" //how long the boss has the plague for on rage
"arg5" "5" //infection cure method flags(add together for desired effect)
//1 = health kits
//2 = feigning deaths
//4 = ubercharge invulnerability
"arg6" "2.0" //rate at which mediguns can cure the infection (1.0 = -1.0 infection duration per second of healing)
//with arg6, this obviously won't work very will if arg1 has flag 32
//damage functions
"arg10" "20.0" //how long the plague lasts for
"arg11" "0.8" //duration multiplier when an infected player spread the plague to another player (this applies to bother the players)
"arg12" "3.0" //how much damage the plague inflicts every 0.5 seconds
"arg13" "1" //set this to 1 if arg12's configured damage is doing too much (leave as 1 if you're on the default version of ff2)
"arg14" "0.5" //infected healing multiplier from crossbow arrows
"arg15" "108 ; 1.0 ; 69 ; 0.75 ; 239 ; 0.5 ; 489 ; 0.9" //attributes to apply to infected players (Attribute ; Value ; Attribute ; Value) (be careful with this)
"arg16" "24 ; 32" //addconds to apply to infected players (TFCond ; TFCond)
//sound
"arg30" "items/powerup_pickup_plague_infected.wav" //sound that plays upon infecting a player
//graphical
"arg40" "powerup_icon_plague" //particle effect to have above the boss when this rage is active
"arg41" "1" //add _red or _blue to the particle's name if the boss is on the respective team (not all particles have a _red and _blue name variant)
"arg42" "100.0" //vertical offset of the particle from the boss (scales with boss's size)
"arg43" "effects/bleed_overlay" //overlay to apply to the boss during the rage
"arg44" "powerup_plague_carrier" //particle effect to give to infected players
"arg45" "0" //add _red or _blue to the particle's name if the player is on the respective team (not all particles have a _red and _blue name variant)
"arg46" "10.0" //vertical offset of the particle from the player (scales with player's size)
"arg47" "effects/bleed_overlay" //overlay to apply to infected players
//hud
"arg50" "You have the plague, spread it by touching enemies!" //hint message send to the boss when they gain the effects of this ability
"arg51" "You've been infected, find a health kit to cure it!" //hint message sent to a player that just got infected
"arg59" "mannpower_plague" //hud icon for plague kills
//args reserved for AMS
//"arg1001" "0.0" // delay before first use
//"arg1002" "25.0" // cooldown
//"arg1003" "Plague" // name
//"arg1004" "Infect your enemies on contact!" // description
//"arg1005" "25" // rage cost
//"arg1006" "0" // index for ability in the AMS menu
"plugin_name" "ff2_plague"
}
plague_passive:
Grants the boss a Plague effect all the time, isn't active when plague_rage is active.
You can set which lives this effect is active on.
HTML Code:
"abilityX"
{
"name" "plague_passive"
//plague_rage has higher priority than this when it comes to the boss infecting a player
"arg1" "7" //ability flags add together for desired effects
//1 - plague spreads on contact
//2 - plague spreads on melee attackers
//4 - plague spreads on melee attacks against victims
//8 - infected players can spread to others by contact
//16 - infected players can spread to medigun healers
//32 - infected players can spread to others by healing them with mediguns
"arg3" "6" //if the boss currently has one of these stuns it cannot spread the plague(add together for desired effect)
//1 - slowdown stuns
//2 - thirdperson stun
//4 - completely immobilizing third person stun
//8 - ghost spook stuns
"arg4" "1 ; 3" //if the boss' current amount of lives are equal to any of these values then the passive plague is active (set the first value to 0 or less if you want to have it on all the time)
"arg5" "5" //infection cure method flags(add together for desired effect)
//1 = health kits
//2 = feigning deaths
//4 = ubercharge invulnerability
"arg6" "2.0" //rate at which mediguns can cure the infection (1.0 = -1.0 infection duration per second of healing)
//with arg6, this obviously won't work very will if arg1 has flag 32
//damage functions
"arg10" "10.0" //how long the plague lasts for
"arg11" "0.8" //duration multiplier when an infected player spread the plague to another player
"arg12" "3.0" //how much damage the plague inflicts every 0.5 seconds
"arg13" "1" //set this to 1 if arg12's configured damage is doing too much (leave as 1 if you're on the default version of ff2)
"arg14" "0.5" //infected healing multiplier from crossbow arrows
"arg15" "108 ; 1.0 ; 69 ; 0.75 ; 239 ; 0.5 ; 489 ; 0.9" //attributes to apply to infected players (Attribute ; Value ; Attribute ; Value) (be careful with this)
"arg16" "" //addconds to apply to infected players (TFCond ; TFCond)
//sound
"arg30" "items/powerup_pickup_plague_infected.wav" //sound that plays upon infecting a player
//graphical
"arg40" "powerup_icon_plague" //particle effect to have above the boss when this plague is active
"arg41" "1" //add _red or _blue to the particle's name if the boss is on the respective team (not all particles have a _red and _blue name variant)
"arg42" "100.0" //vertical offset of the particle from the boss (scales with boss' size)
"arg44" "powerup_plague_carrier" //particle effect to give to infected players
"arg45" "0" //add _red or _blue to the particle's name if the player is on the respective team (not all particles have a _red and _blue name variant)
"arg46" "10.0" //vertical offset of the particle from the player (scales with player's size)
"arg47" "effects/bleed_overlay" //overlay to apply to infected players
//hud
"arg50" "You have the plague, spread it by touching enemies!" //hint message sent to the boss when they gain the effects of this ability
"arg51" "You've been infected, find a health kit to cure it!" //hint message sent to a player that just got infected
"arg59" "mannpower_plague" //hud icon for plague kills
"plugin_name" "ff2_plague"
}
Bugs:
Version Stuff:
Credits & Thanks:
Quote:
The Great Weegee:
Ideas, suggestions and testing.
|