rage_abstractspy disguse can now be kept until boss attacks if duration is set to 0 or left blank
REQUIRES EPIC SCOUT'S SUBPLUGIN TO USE ABILITY MANAGEMENT SYSTEM!
REQUIRES ff2_ams.inc TO COMPILE!
REQUIRES THIS ON BOSS CFG TO USE ABILTIY MANAGEMENT SYSTEM:
Code:
"abilityX"
{
"name" "ability_management_system"
"arg1" "0" // activation key. 0=E, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
"arg2" "1" // selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
"arg3" "3" // reverse selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default) [note: hidden feature, keeping this standard going]
"arg4" "0xc00000" // HUD color (unavailable)
"arg5" "%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is currently unavailable." // HUD text format (unavailable)
"arg6" "0xffffff" // HUD color (available)
"arg7" "%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is available. (press E)" // HUD text format (available)
"arg8" "0.68" // HUD Y
"arg9" "RAGE Meter: %.0f%%\nHP: %d / %d" // HUD replacement text
"arg10" "0.80" // HUD replacement Y
"plugin_name" "ff2_sarysapub3"
}
CFG configs:
charge_salmon:
Code:
"ability?"
{
"name" "charge_salmon"
"arg0" "1" // Ability Slot. Do not change!
"arg1" "1" // (No. of Seconds to Charge to 100%)
"arg2" "30" // (No. of Seconds of Charge Cooldown)
"arg3" "1" // Sound (0 = No sound when hale summon. 1 = Play sound when hale summon.)
"arg4" "5" // (No. of max players to be summoned per Charge.)
"arg5" "3.0" // Duration (No. of Seconds of Uber Protection for players that were just summoned.)
"arg6" "1" // 0 - Slays minions when their summoner is killed, 1 - Minions are not slayed when their summoner are killed and instead are given a fighting chance to win
"arg7" "ff2_otokiru.phrases" // Translations file to load, leave blank to use default
"plugin_name" "ff2_otokiru"
}
rage_gentlemen:
Code:
"abilityX"
{
"name" "rage_gentlemen"
"arg1" "6.0" // Duration
"arg2" "800.0" // Range (leave blank to use default)
"arg3" "You are now Gentmen's Henchman"
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_gentlemen" // name
"arg1004" "Ahem, Mentlegen?" // description
"arg1005" "0" // rage cost
"arg1006" "0" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_nurse_bowrage:
Code:
"abilityX"
{
"name" "rage_nurse_bowrage"
"arg1" "1" // Mode (0 = On player death, no effect. 1 = On player death, Turn to gold effect.)
"arg2" "1" // Sound (0 = No sound when hale rage. 1 = Play sound when hale rage.)
"arg3" "9" // Ammo (No. of ammo to be given per rage. Will reset to this amount on every rage.)
"arg4" "1" // 0 - Don't show to boss, 1 - Show to boss
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_nurse_bowrage" // name
"arg1004" "Equip Crusader's Crossbow" // description
"arg1005" "0" // rage cost
"arg1006" "1" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_pyrogas:
Code:
"abilityX"
{
"name" "rage_pyrogas"
"arg1" "1" // Sound (0 = No sound when hale rage. 1 = Play sound when hale rage.)
"arg2" "2" // Ammo (No. of ammo to be given per rage. Will reset to this amount on every rage.)
"arg3" "1" // 0 - Don't show to boss, 1 - Show to boss
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_pyrogas" // name
"arg1004" "Equip Detonator" // description
"arg1005" "0" // rage cost
"arg1006" "2" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_pedo:
Code:
"ability7"
{
"name" "rage_pedo"
"arg1" "1" // RageType (0 = Rage does not effect Ubered players. 1 = Rage even effect Ubered players.)
"arg2" "1" // Sound (0 = No sound when hale rage. 1 = Play sound when hale rage.)
"arg3" "800.0" // Range (leave blank to use default)
"arg4" "1" // 0 - Don't show to boss, 1 - Show to boss
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_pedo" // name
"arg1004" "Everyone near you taunts!" // description
"arg1005" "0" // rage cost
"arg1006" "3" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_abstractspy:
Code:
"abilityX"
{
"name" "rage_abstractspy"
"arg1" "18.0" // Duration (No. of seconds the hale will disguise as the opponent team.)
// AMS or Normal RAGE?
"arg2" "1" // 0 - Normal RAGE, 1 - Activate via AMS
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_abstractspy" // name
"arg1004" "Get randomly disguised" // description
"arg1005" "0" // rage cost
"arg1006" "4" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_scout:
Code:
"abilityX"
{
"name" "rage_scout"
"arg1" "1" // Mode (0 = On player death, no effect. 1 = On player death, Turn to ash effect.)
"arg2" "1" // Sound (0 = No sound when hale rage. 1 = Play sound when hale rage.)
"arg3" "30" // Ammo (No. of ammo to be given per rage. Will reset to this amount on every rage.)
"arg4" "" // Attribute overrides
"arg5" "1" // 0 - Don't show to boss, 1 - Show to boss
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_scout" // name
"arg1004" "Get a sandman with X balls" // description
"arg1005" "0" // rage cost
"arg1006" "5" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
rage_giftwrap:
Code:
"abilityX"
{
"name" "rage_giftwrap"
"arg1" "1" // Mode (0 = On player death, no effect. 1 = On player death, Turn to ash effect.)
"arg2" "1" // Sound (0 = No sound when hale rage. 1 = Play sound when hale rage.)
"arg3" "30" // Ammo (No. of ammo to be given per rage. Will reset to this amount on every rage.)
"arg4" "" // Attribute overrides
"arg5" "1" // 0 - Don't show to boss, 1 - Show to boss
// args reserved for the ability management system
"arg1001" "0.0" // delay before first use
"arg1002" "10.0" // cooldown
"arg1003" "rage_giftwrap" // name
"arg1004" "Get a wrap assassin with X balls" // description
"arg1005" "0" // rage cost
"arg1006" "6" // index for ability in the AMS menu
"plugin_name" "ff2_otokiru"
}
Added an arg for charge_salmon to determine if a summoner's death slays their minions or gives them a chance to win
PHP Code:
"ability?" { "name" "charge_salmon" "arg0" "1" // Ability Slot. Do not change! "arg1" "1" // (No. of Seconds to Charge to 100%) "arg2" "30" // (No. of Seconds of Charge Cooldown) "arg3" "1" // Sound (0 = No sound when hale summon. 1 = Play sound when hale summon.) "arg4" "5" // (No. of max players to be summoned per Charge.) "arg5" "3.0" // Duration (No. of Seconds of Uber Protection for players that were just summoned.) "arg6" "1" // 0 - Slays minions when their summoner is killed, 1 - Minions are not slayed when their summoner are killed and instead are given a fighting chance to win "plugin_name" "ff2_otokiru" }
"ability?"
{
"name" "charge_salmon"
"arg0" "1" // Ability Slot. Do not change!
"arg1" "1" // (No. of Seconds to Charge to 100%)
"arg2" "30" // (No. of Seconds of Charge Cooldown)
"arg3" "1" // Sound (0 = No sound when hale summon. 1 = Play sound when hale summon.)
"arg4" "5" // (No. of max players to be summoned per Charge.)
"arg5" "3.0" // Duration (No. of Seconds of Uber Protection for players that were just summoned.)
"arg6" "1" // 0 - Slays minions when their summoner is killed, 1 - Minions are not slayed when their summoner are killed and instead are given a fighting chance to win
"arg7" "ff2_otokiru.phrases" // Translations file to load, leave blank to use default
"plugin_name" "ff2_otokiru"
}
arg7 allows a different translations file to be loaded.
L 08/29/2016 - 18:54:23: Info (map "vsh_oilrig_v18") (file "errors_20160829.log")
L 08/29/2016 - 18:54:23: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/29/2016 - 18:54:23: [SM] Native "ShowSyncHudText" reported: Language phrase "salmon_status" not found
L 08/29/2016 - 18:54:23: [SM] Displaying call stack trace for plugin "freaks\ff2_otokiru.ff2":
L 08/29/2016 - 18:54:23: [SM] [0] Line 771, L:\scripting\ff2_otokiru.sp::Charge_Salmon()
L 08/29/2016 - 18:54:23: [SM] [1] Line 585, L:\scripting\ff2_otokiru.sp::FF2_OnAbility2()
L 08/29/2016 - 18:54:23: [SM] [2] Line 58, L:\scripting\include\freak_fortress_2_subplugin.inc::FF2_OnAbility()
L 08/29/2016 - 19:21:15: Error log file session closed.