Grapple Hook Plus v1.4
Description:
When the grappling hook was introduced into TF2 I thought that it would be a new and interesting tool for bosses to use.
Unfortunately it seems that bosses with grappling hooks are very difficult to balance due to how easily it can be abused.
This subplugin was designed to help boss creators reduce the effectiveness of grappling hooks.
Configuration:
hook_ability
This spawns a grappling hook that the boss can use temporarily.
HTML Code:
"abilityX"
{
"name" "hook_ability"
"arg1" "0" //the key used to activate the ability
//0 = attack2
//1 = attack3
//2 = reload
"arg2" "5.0" //the time in seconds it takes for the ability to recharge
"arg3" "2.0" //how long in seconds until the grapple hook is removed thus ending the ability
"arg4" "1" //changes how the grappling hook behaves (add the numbers together for the desired effect)
//1 = ability stays active until the boss stops being pulled
//2 = constantly use +attack1 while ability is active
//4 = cooldown begins when the ability fully ends
//8 = lock the user to the grappling hook until the ability ends
"arg5" "280 ; 26 ; 547 ; 0.0 ; 199 ; 0.0 ; 712 ; 1 ; 138 ; 0.0" //attributes that the grapple hook is given
//text to display on the hud
"arg10" "1" //if set to 1 the cooldown time will be displayed as a percentage instead of seconds
"arg11" "0.77" //the vertical position of the hud message 0.0 = the top of the screen
"arg12" "Grapple Hook %.0f%%" // cooldown message
"arg13" "Grapple Hook Ready Press ATTACK2!" // ready to use message
"plugin_name" "ff2_grapplehookplus"
}
hook_style
This changes how grappling hooks behave when hitting an enemy.
HTML Code:
"abilityX"
{
"name" "hook_style"
"arg1" "1" //if set to 1 it makes the boss unhook from the player when switching from their grappling hook
"arg2" "1" //sets what destroys the hook on contact (add numbers for desired effect)
//1 = destroyed when hitting an enemy player
//2 = destroyed when hitting an enemy building
"arg3" "15.0" //if the hook gets destroyed on enemy players, this is how much damage they will take from the hook hitting them
"arg4" "15.0" //if the hook gets destroyed on enemy buildings, this is how much damage they will take from the hook hitting them
"arg5" "1" //if arg3 is doing several times more damage than expect set this to 1 (if you're running the default version of ff2 you should leave this as 1)
"arg6" "1.0" //prevents the boss from firing their weapons for X seconds after using a grappling hook
"arg7" "1.0" //automatically makes the boss unhook from a caught player if they've been attatched for more than X seconds
"plugin_name" "ff2_grapplehookplus"
}
Known Bugs:
Quote:
- There's a graphical glitch where the grapple's cord hangs around when constantly shooting a player or building at close range with the hook.
- Holding down attack1 or attack2 while grappled onto a player when hook_ability runs out may result in the boss being able to hold nothing in their hand for a brief moment.
|
Version Stuff:
Quote:
1.4:- Keeps a copy of configuration arguments instead of retrieving them every instance they're needed.
- Config setups for both hook_ability and hookstyle has changed
- When hook_ability ends the boss now switches back to the last Primary, Secondary or Melee weapon they switched to before the ability ended.
- "hookstyle" is now called "hook_style" for my OCD's sake.
- The attack delay penalty (hook_style's arg6) is no longer applied when hook_ability ends, it now only applies when firing grappling hooks and when you finally unhook the grappling hook.
1.0.3 (AKA 1.3):- arg2 for hook_ability now also works as the initial cooldown of the ability.
- If a boss has hook_ability they will now automatically be unhooked if they're currently grappled to something but don't have a grappling hook.
1.0.2 (AKA 1.2):- Changed how hookstyle is configured.
- Fixed so the attack delay applies when hook_ability ends (again).
- Fixed some smaller bugs.
- Fixed arg6 for hook_ability not working as intended when set to 0.
- Fixed an issue where you'd be forced to switch to melee if hook_ability ended even when the grappling hook wasn't out.
- Fixed a case where grappling hooks lingered when being forced to switch weapons.
1.0.1 (AKA 1.1):- Fixed so the attack delay applies when hook_ability ends.
1.0.0 (AKA 1.0):- The first public version.
|