View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-10-2004 , 16:14   Hook Grab v1.3.1 ( SpaceDude and EJL )
Reply With Quote #1

********************************************* *******************************
*
* Version 1.3.1 - Date: 10/16/2004
*
* Original by SpaceDude and Eric Lidman aka "Ludwig van" <[email protected]>
* Homepage: http://lidmanmusic.com/cs/plugins.html
*
* Upgraded to STEAM and ported to AMXx by: jtp10181 <[email protected]>
* Homepage: http://www.jtpage.net
*
********************************************* *******************************

The AMXModX equivalent of HookMod written by SpaceDude. Packaged with admin comamnds, and hooking limitations by Ludwig van. Ported to Steam and AMXx and also Currently being maintained by JTP10181.

Admin Commands:
amx_hook - toggles hook on and off. Also if cvar mentioned below is set to 1, it also activates/deactivates plugin "out_of_bounds.amx" if you are using it so that bounds limits are off when hook is on and vice versa

amx_hook_count - <# of hooks allowed per player round>


Client Command:

+hook - bind a key to +hook like this: bind <key> +hook, once you have done that look in the direction where you want to fire the hook and press the button.

say /hook - show window with info about use of hook

CVARs: Paste the following into your amxx.cfg to change defaults.
must uncomment cvar lines for them to take effect

Code:
// ******************  Hook Grab Settings  ******************

//0 to disable hooking, 1 to enable hooking
//sv_hook 1

//If you are running my "out_of_bounds" plugin you may want it disabled when
//you have the hook fully enabled. If you want this plugin to leave
//"out_of_bounds" alone, then set this cvar to 0.
//amx_hb_pl_kill 1

//Default is 0, to enforce a 15 second delay on hooking
//at round start so as to prevent spawn massacres set to 1.
//amx_hook_spawndelay 0

//Set to 1 to not allow vip to use hook. Set cvar to 0 to allow free vip roping
//amx_hook_no_vip 1

//This is number of times a player may use the hook each round. Default is 
//100. I would suggest setting to 2 or 3 per round to encourage strategic 
//usage of the hook rather than just having it be total craziness.
//amx_hook_round 100

//Switch to report number of hooks remaining in a round to a player if
//that number drops to 10 or less. By default its on 1, set to 0 to turn off this report.
//amx_rep_hcount 1

//Hook Style - changes the style of the hook used
//    0 - Classic hook style from orginal plugin
//    1 - SpaceDudes Reel Hook
//    2 - SpaceDudes AutoReel Hook
//    3 - Cheap Kids AutoReel
//amx_hook_style 0

//Move accelaration is only used in hook styles 1 and 2
//It is the rate at which you can move in the air while on the hook line
//amx_hook_moveacc 150

//Reel Speed is only used in hook styles 1 and 2
//It is the rate at which you can reel in the hook line
//amx_hook_reelspeed 400

//Cheap Reel Speed is only used in hook style 3
//It is the rate at which the hook line reels in
//amx_hook_creelspeed 800
Changelog:
v1.3.1 - JTP10181 - 10/16/04
  • Updated for AMXModX 0.20
v1.3 - JTP10181 - 07/10/04
  • Converted MOTD boxes to work with steam and possibly with WON still (untested)
  • Added new hook modes that are seen in two of the superheros from superhero mod
  • Made it so the hook cannot be used before the freezetime has ended
  • Fixed all authid variables to be 32 chars to STEAMIDs are handled properly
  • Ported functions to AMXX and replaced AMX tags with AMXX
  • Fixed logging to admin log for AMXx
  • Removed all voting code, use amx_customvotes instead
  • Rearranged a lot of code and removed some useless events

Below v1.3 was maintained by Eric Lidman / SpaceDude

Thanks to whoever wrote the autoreel and cheep reel code, it works great

********************************************* *****************************

******** Engine Module REQUIRED ********
******** Fun Module REQUIRED ********

For Voting: AMXx Custom Votes
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_spacedudehook.sma - 24740 views - 23.0 KB)
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181