Added cvars sm_playerclimb_maxclimbs, sm_playerclimb_cooldown, and sm_playerclimb_nextclimb. See the CVARS list on the original post for a definition of these new cvars.
Delete your cfg/sourcemod/PlayerClimb.cfg to generate these new cvars in the cfg!
Is there a way to remove the damage being applied by the weapon, and make it flat damage? When using bleed weaponry such as the Tribleman's Shiv, the bleed is also applied every climb attempt.
Description:
Climb walls with melee by attacking the heck out of a frisky wall! ;)
I ripped SickleClimbWalls from VSH and added a couple cvars.
Decided to release this to the public since a lot of people want it for their FF2 server (and I use it for my prophunt server).
Edit your climbing preferences in the sm_settings menu or sm_playerclimb command.
Video Demonstration:
CVARS: Listed in your cfg/sourcemod/PlayerClimb.cfg Note that the default settings for these cvars remedy the VSH bushwacka climb for sniper only.
sm_playerclimb_version - Plugin version, no touchy!
sm_playerclimb_damageamount [#] - (Default: 15.0) How much damage should the player take while climbing?
sm_playerclimb_team [0/1/2] - (Default: 0) Restrict climbing to X team only. 0 = No restriction, 1 = BLU, 2 = RED.
sm_playerclimb_boss [0/1] - (Default: 0) [VSH/FF2 ONLY] Should the boss be able to climb walls? 1 = Yes, 0 = No.
sm_playerclimb_class "scout,sniper,spy,heavy,soldier,demo,medic,py ro,engineer" - (Default: "sniper") Which classes should be allowed to climb walls? Use "all" for all classes, otherwise specify the class name separated by a comma.
sm_playerclimb_maxclimbs [#] - (Default: 0) The maximum amount of times the player can melee the wall (climb) while being in the air before they have to touch the ground again. 0 = Disabled, 1 = 1 Climb... 23 = 23 Climbs.
sm_playerclimb_cooldown [#.#] - (Default: 0.0) Time in seconds before the player may climb the wall again, this cooldown starts when the player touches the ground after climbing.
sm_playerclimb_nextclimb [#.#] - (Default: 1.56) Time in seconds in between melee climbs.
Override:
Put this in your addons/sourcemod/configs/admin_overrides.cfg if you wish to limit player climbing to a specific flag.
sm_playerclimb_override - By default, everyone has access to climbing.
Installation:
Click "Get Plugin" attached at the bottom of this post.
Drag and drop the playerclimb.smx to your addons/sourcemod/plugins/ folder.
Restart the server/map.
To-Do List:
I am always welcome to suggestions!
None
Changelog:
Spoiler
v1.5, 6-6-2015
Change the climbing noise to an ambient sound, that way other players around the climber can hear the climbing noise.
v1.4, 5-29-2015
Added cvars sm_playerclimb_maxclimbs, sm_playerclimb_cooldown, and sm_playerclimb_nextclimb. See the CVARS list on the original post for a definition of these new cvars.
Delete your PlayerClimb.cfg to generate these new cvars in the cfg!
v1.3.1, 5-7-2015
Fixed a bug that crashed the server. Oopsie ;-;
v1.3, 5-7-2015
Added per-class client preferences.
Added command sm_playerclimb
Cleaned up LOTS of ugly code.
v1.2, 4-4-2015
Added clientprefs to the plugin. Players can type !settings and disable/enable climbing.
Added a override for people wanting to restrict climbing to a flag. The override is sm_playerclimb_override and everyone has access to it by default.
Can you add a convar for a weapons whitelist? Need it for Freak Fortress. In order for HHH to have access to climb, i had to give it to all demomen on both teams. Would it be possible for you to make it a weapon restriction on some classes? Headless headtaker for example. Or even restrict it down to certain hales?
Can you add a convar for a weapons whitelist? Need it for Freak Fortress. In order for HHH to have access to climb, i had to give it to all demomen on both teams. Would it be possible for you to make it a weapon restriction on some classes? Headless headtaker for example. Or even restrict it down to certain hales?