Raised This Month: $51 Target: $400
 12% 

FF2 [SUBPLUGIN] Player Climb Ability for Bosses (UPDATE! v1.3, 6-6-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nanochip
Senior Member
Join Date: Jan 2014
Old 05-07-2015 , 19:57   [SUBPLUGIN] Player Climb Ability for Bosses (UPDATE! v1.3, 6-6-15)
Reply With Quote #1

[FF2] Player (Boss) Climb Ability

Description:
I turned my Player Climb plugin into a subplugin ability for FF2. Now HHH can climb again!
Climb by hitting a wall with your melee. This is literally just a rip of code from VSH's HHH boss.

Config:
Code:
"abilityX" // replace "X" with a number (silly you!)
{
    "name"              "playerclimb"
    "arg1"              "1.0" // Time in seconds before the boss can melee/climb the wall again.
    "arg2"              "0" // How many times the boss can melee climb before having to touch the ground again (0 = disabled)
    "arg3"              "0.0" // Time in seconds before the player may climb the wall again, this cooldown starts when the player touches the ground after climbing.
    "plugin_name"       "playerclimb_ff2"
}
Installation:
  1. Download the attached "playerclimb_ff2.zip"
  2. Extract the zip to your tf folder.
  3. Go to your boss config and insert the config options listed above
  4. Restart your server/map.

Credits:
Since I ripped some code from VSH, these beautiful people deserve credit:
Attached Files
File Type: zip playerclimb_ff2.zip (12.3 KB, 421 views)
__________________

Last edited by Nanochip; 06-06-2015 at 20:15.
Nanochip is offline
Research
SourceMod Donor
Join Date: Nov 2011
Old 05-07-2015 , 20:00   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #2

Nice job. Thanks!
Research is offline
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 05-08-2015 , 00:49   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #3

wow
Maximilian_ is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 05-08-2015 , 11:24   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #4

It was more copy-pasta than me actually coding it, so more credit goes to those listed in the OP.
__________________
Nanochip is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 05-08-2015 , 20:08   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #5

aaaaaaaaaaaaa didn't do anything for me.
RavensBro is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 05-08-2015 , 21:29   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #6

I can help you troubleshoot the issue, although you're going to have to give more information.
__________________
Nanochip is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 05-08-2015 , 23:38   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #7

well for one you dont really say how it works. so i installed the sub plugin made a change for my spiderman boss. i walk up to a wall and nothing i tryed to jump and up still nothing so i guess the main ? is how the hell does it work. lol
RavensBro is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 05-09-2015 , 00:13   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #8

I linked my Player Climb plugin in the description that says what it does and how it works.
Quote:
Originally Posted by Nanochip View Post
Climb walls with melee by attacking the heck out of a frisky wall! ;)
__________________
Nanochip is offline
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 05-09-2015 , 01:47   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #9

Code:
public Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result)
{
	if (!GetConVarBool(cvarEnable) || !IsValidClient(client) || !FF2_IsFF2Enabled()) return Plugin_Continue;

	new boss = FF2_GetBossIndex(client);
	if (boss>=0 && FF2_HasAbility(boss, this_plugin_name, "playerclimb") && IsValidEntity(weapon))
	{
		if (weapon == GetPlayerWeaponSlot(client, TFWeaponSlot_Melee))
		{
			SickleClimbWalls(client, weapon);
		}
	}
	return Plugin_Continue;
}
Try this.

I would also recommend adding an arg to specify how many times you can wallclimb until you need to touch the ground to climb again.
__________________

Last edited by 93SHADoW; 05-09-2015 at 01:49.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 05-09-2015 , 02:25   Re: [SUBPLUGIN] Player Climb Ability for Bosses :D
Reply With Quote #10

you could also cache ff2_hasability once to a bool
__________________
Chdata 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 19:56.


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