AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   HGR:Source (Hook + Grab + Rope) [V1.0.3d] [Video!] (https://forums.alliedmods.net/showthread.php?t=57807)

sumguy14 07-11-2007 20:21

HGR:Source (Hook + Grab + Rope) [V1.0.3d] [Video!]
 
13 Attachment(s)
HGR:Source (Hook + Grab + Rope) Version 1.0.3d
  • Requirements:
    • SourceMod (rev 1070+)
_________________________________________
  • cfg/sourcemod/plugin.hgrsource.cfg:
    • Code:

      // ***********
      //  General
      // ***********

      // This will enable announcements that the plugin is loaded
      // -
      // Default: "1"
      hgrsource_announce "1"

      // ***********
      //    Hook
      // ***********

      // This will enable the hook feature of this plugin
      // -
      // Default: "1"
      hgrsource_hook_enable "1"

      // If 1, only admins can use hook
      // -
      // Default: "1"
      hgrsource_hook_adminonly "1"

      // The speed of the player using hook
      // -
      // Default: "5.0"
      hgrsource_hook_speed "5.0"

      // The color of the hook, 0 = White, 1 = Team color, 2= custom
      // -
      // Default: "2"
      hgrsource_hook_color "2"

      // The red component of the beam (Only if you are using a custom color)
      // -
      // Default: "255"
      hgrsource_hook_red "255"

      // The green component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_hook_green "0"

      // The blue component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_hook_blue "0"

      // ***********
      //    Grab
      // ***********

      // This will enable the grab feature of this plugin
      // -
      // Default: "1"
      hgrsource_grab_enable "1"

      // If 1, only admins can use grab
      // -
      // Default: "1"
      hgrsource_grab_adminonly "1"

      // The speed of the grabbers target
      // -
      // Default: "5.0"
      hgrsource_grab_speed "5.0"

      // The color of the grab beam, 0 = White, 1 = Team color, 2= custom
      // -
      // Default: "2"
      hgrsource_grab_color "2"

      // The red component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_grab_red "0"

      // The green component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_grab_green "0"

      // The blue component of the beam (Only if you are using a custom color)
      // -
      // Default: "255"
      hgrsource_grab_blue "255"

      // ***********
      //    Rope
      // ***********

      // This will enable the rope feature of this plugin
      // -
      // Default: "1"
      hgrsource_rope_enable "1"

      // If 1, only admins can use rope
      // -
      // Default: "1"
      hgrsource_rope_adminonly "1"

      // The speed of the player using rope
      // -
      // Default: "5.0"
      hgrsource_rope_speed "5.0"

      // The color of the rope, 0 = White, 1 = Team color, 2= custom
      // -
      // Default: "2"
      hgrsource_rope_color "2"

      // The red component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_rope_red "0"

      // The green component of the beam (Only if you are using a custom color)
      // -
      // Default: "255"
      hgrsource_rope_green "255"

      // The blue component of the beam (Only if you are using a custom color)
      // -
      // Default: "0"
      hgrsource_rope_blue "0"

_________________________________________
_________________________________________
  • Commands:
    • +hook: Shoot a hook and glide towards where it lands
    • -hook: Drop from a hook
    • +grab: Search for a target, when a target is in your crosshairs you will be grabbing them
    • -grab: Drop your target
    • +rope: Swing on a rope
    • -rope: Let go of the rope
    • Admin Client Commands
      • ghrsource_givehook: Give a non-admin permission to use hooks (Only makes a difference if admin-only is 1)
      • ghrsource_takehook: Take a non-admin's permission to use hooks (Only makes a difference if admin-only is 1)
      • ghrsource_givegrab: Give a non-admin permission to use grab (Only makes a difference if admin-only is 1)
      • ghrsource_takegrab: Take a non-admin's permission to use grab (Only makes a difference if admin-only is 1)
      • ghrsource_giverope: Give a non-admin permission to use rope (Only makes a difference if admin-only is 1)
      • ghrsource_takerope: Take a non-admin's permission to use rope (Only makes a difference if admin-only is 1)
_________________________________________
  • Credits:
    • pRED: Fixed TraceRay problem, thanks, I woulda died before I figured it out
    • GHW_Chronic: Created the 1.6 version, got the concept/idea from his plugin, used some of his math too
_________________________________________
  • Todo:
    • Ability to bring grabbed players closer to you (or further) and to be able to climb the rope, or slide down
_________________________________________
  • Installation:
    • Extract HGRSource.zip to your server's root directory
    • Configure cfg/sourcemod/plugin.hgrsource.cfg
_________________________________________
  • Changelog:
    • 7/11/07
      • Released
    • 7/14/07
      • Changed plugin name to GHR:Source
      • Added a grab feature
      • Added a rope feature
      • Added ghrsource_hook/grab/rope_enable cvar (0 = disabled 1 = enabled)
      • Added ghrsource_hook/grab/rope_adminonly cvar (1 = Admin only + clients admins grant access to, 0 = All players)
      • Added ghrsource_hook/grab/rope_give command that will grant non-admins access to one of the actions (Only has an effect if adminonly is 1)
      • Added ghrsource_hook/grab/rope_take command that will take non-admins access away to one of the actions (Only has an effect if adminonly is 1)
      • Commands are now +/-hook +/-grab +/-rope
      • Bunch of other cvars, check cfg/sourcemod/plugin.hgrsource.cfg
    • 7/15/07
      • Replaced some instances of 'PrintToChat' with 'ReplyToCommand'
      • Console can now use hgrsource_* commands
      • Changed grab search/find messages to be centertext
      • Included the plugin.hgrsource.txt with dl post, whoops
      • Beam colors can be anything
      • Put release in zip files
    • 7/16/07
      • Fixed a minor typo
      • Recoded grab, it is a lot better in my opinion, it uses velocity instead of teleportation, so you can throw people now
      • Hopefully fixed the linux crashing bug, considering it was grab, and I recoded it.
    • 7/17/07
      • Grab now picks up props, and hopefully the changes fix linux crash
      • It mysteriously stopped crashing my server, so maybe just MAYBE it's fixed *crosses fingers*
    • 7/17/07
      • Fixed permission problem
    • 7/18/07
      • Sound is now emitted from where the hook lands/entity grabbed/end of rope, instead of only to player
      • Added cvar to disable any announcements that the mod is loaded
      • Cleaned some things up, hook beam is now a little lower so it doesn't jerk up and down on your screen
    • 7/19/07
      • Is now compatible with all mods (Be sure to update plugin.hgrsource.txt!)
      • Hook is better, more solid beam, and it shoots quicker
    • 7/24/07
      • Fixed cross-mod compatibility (just redownload plugin.hgrsource.txt again to fix)

Rebell 07-12-2007 10:28

Re: HookMod
 
Please add a screenshot ^^

cya

sumguy14 07-12-2007 12:45

Re: HookMod
 
Added video :)

itehjosh 07-12-2007 19:49

Re: HookMod
 
Beautiful, beautiful just as I imagined!

sumguy14 07-12-2007 21:33

Re: HookMod
 
I am currently working on turning this into: GHR:Source

It will include options to disable stuff you don't want, and to allow only admins to use these features.

Rebell 07-13-2007 02:03

Re: HookMod
 
Lol, nice but you should use a rope instread a laser.

cya

sumguy14 07-13-2007 12:53

Re: HookMod
 
Quote:

Originally Posted by Rebell (Post 502758)
Lol, nice but you should use a rope instread a laser.

cya

If you could tell me how to use a rope I would :)

sumguy14 07-14-2007 18:09

Re: HGR:Source (Hook + Grab + Rope) [V1.0.0] [Video!]
 
Conversion

Converted from hookmod to HGR: Source.

Includes the old hook with grab and rope. If you don't want to use these features you can disable them in the config

-Changed plugin name to GHR:Source
-Added a grab feature
-Added a rope feature
-Added ghrsource_hook/grab/rope_enable cvar (0 = disabled 1 = enabled)
-Added ghrsource_hook/grab/rope_adminonly cvar (1 = Admin only + clients admins grant access to, 0 = All players)
-Added ghrsource_hook/grab/rope_give command that will grant non-admins access to one of the actions (Only has an effect if adminonly is 1)
-Added ghrsource_hook/grab/rope_take command that will take non-admins access away to one of the actions (Only has an effect if adminonly is 1)
-Commands are now +/-hook +/-grab +/-rope
-Bunch of other cvars, check cfg/sourcemod/plugin.hgrsource.cfg

sumguy14 07-15-2007 16:30

Re: HGR:Source (Hook + Grab + Rope) [V1.0.1] [Video!]
 
Update

-Replaced some instances of 'PrintToChat' with 'ReplyToCommand'
-Console can now use hgrsource_* commands
-Changed grab search/find messages to be centertext
-Included the plugin.hgrsource.txt with dl post, whoops
-Beam colors can be anything
-Put release in zip files

murpher 07-16-2007 01:54

Re: HGR:Source (Hook + Grab + Rope) [V1.0.1] [Video!]
 
This would be cool if grab didn't crash linux servers.
Good job though :'(


All times are GMT -4. The time now is 14:08.

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