Raised This Month: $32 Target: $400
 8% 

FF2 [SUBPLUGIN] Grapple Hook Plus v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kking117
Junior Member
Join Date: Jan 2017
Location: Australia
Old 12-31-2017 , 12:44   [SUBPLUGIN] Grapple Hook Plus v1.4
Reply With Quote #1

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.
Attached Files
File Type: sp Get Plugin or Get Source (ff2_grapplehookplus.sp - 373 views - 25.7 KB)
File Type: smx ff2_grapplehookplus.smx (18.2 KB, 405 views)

Last edited by kking117; 08-13-2019 at 14:00. Reason: Update Notes Edit
kking117 is offline
Reverse sniper
Junior Member
Join Date: May 2017
Location: TFOC HQ
Old 01-01-2018 , 08:11   Re: [SUBPLUGIN] Grapple Hook Plus
Reply With Quote #2

OMG
Reverse sniper is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 01-02-2018 , 20:42   Re: [SUBPLUGIN] Grapple Hook Plus
Reply With Quote #3

and compiled plugin dude you only put the sp need the plugin compiled

PLS PUT THE PLUGIN
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568

Last edited by JuegosPablo; 01-02-2018 at 20:43.
JuegosPablo is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 01-03-2018 , 04:33   Re: [SUBPLUGIN] Grapple Hook Plus
Reply With Quote #4

Quote:
Originally Posted by JuegosPablo View Post
and compiled plugin dude you only put the sp need the plugin compiled

PLS PUT THE PLUGIN
You can compile by yourself, use Sourcemod for Windows or use Spider, in .sp file look at #include and get .inc files for compiling

Last edited by Maximilian_; 01-03-2018 at 04:38.
Maximilian_ is offline
AnubisTF2
Senior Member
Join Date: Oct 2015
Old 01-03-2018 , 19:34   Re: [SUBPLUGIN] Grapple Hook Plus
Reply With Quote #5

finally.. thank you!
AnubisTF2 is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 01-03-2018 , 21:52   Re: [SUBPLUGIN] Grapple Hook Plus
Reply With Quote #6

Quote:
Originally Posted by Maximilian_ View Post
You can compile by yourself, use Sourcemod for Windows or use Spider, in .sp file look at #include and get .inc files for compiling
im stupid compiling plugins thats why i cant but i found a way how get .smx on this page
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568
JuegosPablo is offline
kking117
Junior Member
Join Date: Jan 2017
Location: Australia
Old 08-11-2019 , 08:36   Re: [SUBPLUGIN] Grapple Hook Plus v1.4
Reply With Quote #7

Updated to 1.4, most of the changes made were small things that bothered me in how the code was set out. The noticeable changes are switching you back to the last Primary, Secondary or Melee weapon you held out before hook_ability ends (instead of prioritizing to Primary, Melee and then Secondary weapons). The other change is the attack penalty that hook_style gives no longer applies when hook_ability ends, it now only applies when you shoot or unhook a grappling hook.
kking117 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:16.


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