WallClimb 1.0
Description
With this plugin you can climb on walls. What else can I say?
Download
Use "WallClimb_v1.0.sma" for counter strike and "WallClimb_v1.0_nocstrike.sma" for other mods
ChangeLog
v1.0f
- Switched to pcvars
- Fixed small plugin registration problem
- Plugin is now using only fakemeta instead of both engine and fakemeta, thanks to GHW_Chronic
- Fixed major flaw on _nocstrike version
v0.1-0.7
- Internal builds
Known bugs
- Climbing is not actually climbing but it has the same effect
- Player can climb on roof also
note: Setting amx_climb_method to 0 will disable roofclimbing but the side-effect is that it also disables steering.
- (In use mode) You have to jump once or you can't climb
Todo
- Climb-timelimit to stop players climbing forever
- amx_givewallclimb or something similar (suggested by Zizor. in alpha)
- advanced user access control (levels) (suggested by Zizor. Not done)
- New climbing code (from other plugin, not released, not implemented)
- Better wall detecting (from other plugin, not released, not implemented)
- Optimize old code (partially done in alpha)
- Create a new climbing video (guess...)
- Get some time to do all this (pending)
Credits
Thanks to cheap_suit for his mazing climbing code
GHW_Chronic for pointing out my small bug and for converting the plugin to use only fakemeta
Videos
http://www.youtube.com/watch?v=T3BxdaixAaw
Compiling
As usual but you need this:
http://forums.alliedmods.net/showthread.php?t=28284
Tags
Wallclimb , wall climb , climb on walls , wallwalk , walljump , climbing
(easier to find with forum search)
Cvars and commands
Code:
Say
- "/climbon" "/climboff" -- Enables/disables [B]players[B] wallclimb (does not override amx_climb)
- "/Buyclimb" -- If buymode is activated use this to buy it
Console
- climbon climboff -- Read from above
- buyclimb -- Read from above
- amx_climb (1) -- Enable(1) or disable(0) the plugin
- amx_climb_mode (0)
- "0" Hold jump and up/down button to climb
- "1" Hold use key and up/down and press jump
- "2" Both modes
- amx_climb_team (2) -- (for cstrike only) Select the team which can use climbing
- "0" Terrorists
- "1" Counter-Terrorists
- "2" Everyone
- amx_climb_method (1)
- "0" Old climbing code (not supported, not recommended to use)
- I only left it there because in that mode steering doesn't work and also you can't climb on roof
- "1" New method (suggested)
- amx_climb_speed (240) -- How fastly use climbs (suggestion: Don't change)
- amx_climb_buy (0) -- Control buying (cstrike only)
- "0" Disable buying
- "1" Enable buying
- "2" Enable buying but remove after death
- amx_climb_cost (5000) -- How much it costs to buy it
Edit: I had some time to code the plugin. It's still alpha. In this case it means it's not so thoroughly tested.
Small unofficial changelog:
- added cvar amx_climb_default to control if users climbing is enabled by deafult.
- Added admin control to disable/enable users climbing - amx_climb_set (@ct, @t @all, nick) on/off. For example amx_climb_set @all off
- Please note that users can still do /climbon /climboff to control this same behaviour. Will be fixed in future releases.
- Optimized code (hopefully)
- Both cstrike and non-cstrike build are now in same file. For non-cstrike version open the file and remove line #define use_cstrike
That's all if I remember correctly, and please, come bug me if you find out that something doesn't work or works weirdly because I'm damn busy or lazy these days.