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

weapon_multigrav.zip

  • Reuploaded by:
  • Uploaded: 1 year ago
  • Updated: 1 year ago
  • Type: Re-upload
  • Downloads: 5 (0 last 7 days)
  • Views: 23 (0 last 7 days)
  • Size: 2.28 KB
  • Tags: re-upload
Extract the .rar to:
Your_steam_directory\SteamApps\Your_steam_username \garrysmod\garrysmod\lua\weapons
So basically this is a Gravity gun that affects all the props in front of you. Right click to punt props Left click to suck them towards you. I based it on the Cell Factor PhysX demos.
Yes I am aware that this SWEP has no effects, if anyone feels the need to rectify this go right ahead, it would be much appreciated.
WARNING! PVP Damage must be on(So you can kill other players.) or you will break Gmod.
Whoops nearly forgot Credits.
Thanks to Andy Vincent for the code to get the entities in front of the player.
Thanks to SteveUK for help getting the kills sorted out and making the vid.
Thanks to WaLLy3K and DogGunn for beta testing.
Thanks also to anyone else from #luahelp that I may have missed.

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • weapon_multigrav <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

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

  • weapon_multigrav/
    • cl_init.lua
    • init.lua
    • shared.lua

BBCode:

HTML:

Social: