Thread: Grabber:SM
View Single Post
Author Message
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 06-26-2008 , 12:20   Grabber:SM
Reply With Quote #1

Grabber:SM
a SourceMod version of Grabber
version 1.0.0.3

I've already added team restrictions since i know that would be the first request.

[IMG]http://img158.**************/img158/857/zgrabberpa6.th.jpg[/IMG]

How to Use

Users should bind a key to "+grab" and "+throw" to use.

For example, type this in console:
bind "mouse4" "+grab"
bind "mouse5" "+throw"

Convars
Quote:
sm_grabber_version
- version

sm_grabber_speed
- multiplier for how fast the object moves (default 10.0)

sm_grabber_distance
- how far away from the player the object stops (default 64.0)
(too small a value prevents the user from moving forward
when holding multiplayer props used in CSS)

sm_grabber_team_restrict
- 0=all teams can use, 2 or 3 to restrict that team (default 0)

sm_grabber_sound
- sound when item is held (use a looping sound)
(default "weapons/physcannon/hold_loop.wav")

sm_grabber_groundmode
- ground mode (soccer) 0=off 1=on (default 0)

sm_grabber_throwtime

- time to charge to full throw speed (default 2.0)

sm_grabber_throwspeed
- how fast to throw the object with +throw command (default 1000.0)

sm_grabber_maxdistance
- maximum distance from which a player can pickup an object (default 512.0)

sm_grabber_steal

- allow players to steal objects held by others, 0=no 1=yes (default 1)
Changelog:
1.0.0.3
- added "drop on jump" convar
1.0.0.2
- fixed bug that didn't reset object when player disconnected
- changed so +grab key press picks up and next key press drops (no longer required to hold key down) to work better with +throw command
- added throw/kick command with convars for max speed and time to charge
- added convar for max distance grabber will pick up items from
- added convar to allow/block stealing objects held by others
- added "ground" mode for soccer style play (object stays on ground and no sound is played)
1.0.0.1
- initial beta release

To Do:
- admin flag convar

Download

Naris TF2 changes (pickup sentry's, teleporters, dispensers, etc.):
TF2 edition

Attached Files
File Type: sp Get Plugin or Get Source (zgrabber.sp - 4094 views - 5.4 KB)
File Type: sp Get Plugin or Get Source (zgrabber_1-0-0-2.sp - 2634 views - 10.2 KB)
File Type: sp Get Plugin or Get Source (zgrabber_1.0.0.3.sp - 6145 views - 10.0 KB)
__________________
"Good grammar is essential, Robin."
- Batman

Last edited by L. Duke; 08-07-2008 at 18:44.
L. Duke is offline