Raised This Month: $12 Target: $400
 3% 

Entity Grabber / 'Gravity Gun' (15 Sep 2007) [Important News: July 2008]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 10-15-2006 , 16:44   Entity Grabber / 'Gravity Gun' (15 Sep 2007) [Important News: July 2008]
Reply With Quote #1

This plugin is an attempt to create an entity manipulation tool for source mods. The plugin allows a select list of users (specified in a cvar) to move physics props, entities, and players around. This plugin is unique in the fact that it allows you to throw objects at other objects, and allows you to damage players by throwing them towards the ground. The newest version now supports damaging players by throwing props at them. This somewhat mimics the gravity gun / physcannon in hl2.

Important News ( July 4, 2008 ): A user access bug was discovered that could allow players to gain unauthorized access to grabber commands. This problem only occurs if a default user level is not set. Workaround details can be found at http://harrisonpham.com/sourcemods/grabber/ .

Current Version (grabber_version cvar): 1.2.2 beta - Sep 15, 2007 (Beta + New Features) - Make sure you update grabber_config.txt

Installation
- Download the zip file from the download link below and extract to your mod directory (cstrike for css).
- Add the line "addons/grabber/bin/grabber_mm" (without quotes) in your metaplugins.ini
- Modify the grabber_config.txt file located in addons/grabber/ to configure your settings. Users, spawnable models, and other options are located in this file. All older configuration cvars have been removed since most settings require a map reload anyways.

Commands (grab_help)
+grab / -grab - Used when bound to a single key to grab when held down.
grab_toggle - Toggles grabbing.
grab_forward / grab_reverse - Moves grab target forward / reverse.
grab_shoot - Accelerates the grabbed object like a projectile.

New Commands (Beta)
+physcannon - Bind to key to allow physcannon 'like' usage
grab_freeze / grab_unfreeze - Freezes an objects (disables physics motion).
grab_spawn <item name / id> - Spawns an item from the models list (either by list index or shortcut)
grab_spawnlist <search name / id> - Lists spawnable items matching search criteria
grab_delete - Deletes object you currently have grabbed
grab_teleport - (Beta) Teleports you to the location you are pointing at. You may get stuck in walls...
grab_testspawn <item name / id> <classname> - Test spawning items with different classnames. Mostly for debug.

CVARS
grabber_version - Version cvar. (There seems to be a linux bug when querying this cvar, so don't try querying it and don't set it).

Changelog
Code:
09/15/07
     1.2.2 Beta - Fixed huge crash bug related to player ownership tracking.
                      Added grab distance and per player entity spawn limits.
                      Added a bunch of new admin access levels.
                      ** Make sure you update your grabber_config.txt since there are a bunch of new options.
05/11/07
     1.2.0 beta - Added a bunch of new commands.  Fixed crash bugs related to bad entities.  This version has been tested for a few months and 'seems' stable.
                      You may now throw objects at players and damage them (you get the damage and kill).
                      There is a linux bug with the grabber_version cvar, so don't mess with that cvar on linux.  I am investigating this problem.
11/18/06
     1.1.1 - Added grabber_mode cvar to select mode of operation (0 = grab all, 1 = players only, 2 = physics objects only).
               Added an 'all players' flag that allows all players to use the plugin.  To do this, set grabber_users "*" .  That is, put a * anywhere in the grabber_users cvar.
               Switched from clientcommands to console commands.  This removes the annoying 'unknown command' errors from the player console.
               Optimized the plugin by removing extraneous hooks.
10/16/06 
     1.00 - Linux binary fixed (linked binary to mathlib_i486.a in sdk).
10/15/06
     1.00 - Initial windows binary release posted.
Known Bugs
Code:
- Linux CVAR crash bug.  Don't touch the grabber_* cvars for now.
- Does not work with DOD:S yet.  I am still working on it.
Credits
- L Duke for his entity spawning code and help.

This plugin currently only works on CS Source. I am currently working on DOD:S compatibility.

Download Link: http://harrisonpham.com/sourcemods/grabber/index.php (Version 1.2.2 beta Posted)

Demo Video: http://video.google.com/videoplay?do...80626105&hl=en

Thanks to: c0ldfyr3, L. Duke, Knagg0, and everyone else who helped me on these forums.

Hippo
__________________

Last edited by el hippo; 07-12-2008 at 16:36. Reason: plugin update
el hippo is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 10-15-2006 , 17:04   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #2

Very nice.. I spy EntMod: Source
sslice is offline
aceofspades
Member
Join Date: Aug 2005
Old 10-15-2006 , 18:41   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #3

Fuck me sideways that is the coolest thing i have ever seen for css. Awesome job!
aceofspades is offline
OoS-LJ
Senior Member
Join Date: Mar 2006
Location: California
Old 10-15-2006 , 20:15   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #4

I will try this in DODS for you, I post back to let you know if it works or not. Looks sick as hell.
__________________
No KnoW Server
Web site : Visit Noknow.net!
DOD:S Server : noknow.nuclearfallout.net:27015

OoS-LJ is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 10-15-2006 , 20:56   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #5

Nice job Hippo!
L. Duke is offline
DaNN`
Member
Join Date: Jun 2006
Location: Newcastle
Old 10-15-2006 , 21:23   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #6

Jedi powers ;o
Nice job.

~Dan
__________________
DaNN` is offline
Send a message via MSN to DaNN` Send a message via Yahoo to DaNN`
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 10-15-2006 , 22:35   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #7

I was playing with this some more. It's pretty helpful when I'm testing the code to spawn physics props. I sent you a PM about adding the ability to spawn props. Here's a quick vid I did spawning a new physics prop and using grabber:
YouTube video
L. Duke is offline
-=CsFF=- Eagle
SourceMod Donor
Join Date: May 2005
Old 10-16-2006 , 06:33   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #8

Well, i miss the linux version
-=CsFF=- Eagle is offline
PureSpider
Senior Member
Join Date: Aug 2006
Old 10-16-2006 , 10:23   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #9

Quote:
Originally Posted by -=CsFF=- Eagle View Post
Well, i miss the linux version
me too =/
PureSpider is offline
el hippo
Member
Join Date: Jan 2006
Location: Texas
Old 10-16-2006 , 18:05   Re: Entity Grabber / 'Gravity Gun'
Reply With Quote #10

I have just posted the linux binary for v1.00. I have not tested it since my linux box doesn't support sse which is apparently required for srcds.

The link is located in the original post.

Hippo

Last edited by el hippo; 10-16-2006 at 18:39.
el hippo is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:16.


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