This file was automatically imported from the old garrysmod.org site. You can see other imported files on the reuploads page.

grapplehook.zip

  • Reuploaded by:
  • Uploaded: 1 year ago
  • Updated: 1 year ago
  • Type: Re-upload
  • Downloads: 31 (0 last 7 days)
  • Views: 89 (2 last 7 days)
  • Size: 5.04 KB
  • Tags: re-upload
What it is: A SWEP that creates a rope between the targeted object and the player using the weapon. In essence it binds the player to the target with a winch. Primary fire connects the user to the target and secondary fire releases from the rope and leaves the previous rope hanging where it was connected from and to any more past that are removed.
Use:
Primary Fire: Attach Rope
Secondary Fire: Release Rope
Crouch: Shorten Rope Length
Jump: Increase Rope Length
Forward Key: Swing Forward
Changes from last version:
*Death Bug
This SWEP isn't done and will be updated in the future
Future Plans:
*Bug fixes
Known Bugs:
*Buggy looking in multiplayer, but functional
I know there's already a grappling hook out there, but I had already started this and I decided to see it through. I've been working on this for about 3 days now and it's not entirely done, but it is workable. I'm making this weapon for the purpose of teaching myself Lua. It's the only thing I've made so far and I hope it won't be the last.http://forums.facepunchstudios.com/showthread.php?t=244235

This download looks like an unpacked addon. You can either convert the files to an addon or merge the folders in the zip with the folders in your Garry's Mod folder.

Convert to Addon (Recommended)

You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • grapplehook <-- Make this folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Or, Merge Folders (Not recommended)

This option makes it difficult to remove the content should you no longer want it. Merge any folders from the zip with the equivalent folders in your Garry's Mod folder.

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • lua/
    • entities/
      • grapple_hook/
        • cl_init.lua
        • init.lua
        • shared.lua
      • player_constraint/
        • cl_init.lua
        • init.lua
        • shared.lua
    • weapons/
      • kinkoodgrapplehook/
        • shared.lua

BBCode:

HTML:

Social: