Grabber:SM
3 Attachment(s)
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:
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 |
Re: Grabber:SM
Good job!
On the one I did for EventScripts last summer, I attached the prop to the player with SetParentAttachmentMaintainOffset.But I like the timer/teleport idea better. It stays in front of the player whereas the attachment method may look good from the players point of view, but to other players it looks like a chest of drawers or whatever is following them! |
Re: Grabber:SM
Think we can use this for a soccer mod? Can another play knock it out of your grip and can u throw it when released?
otto |
Re: Grabber:SM
Quote:
I also probably need to add a "maximum distance from player" convar so you can't pick up stuff from miles away. A "throw" command would be nice also. For a soccer mod, you'd probably want to change the position calculation to use the player's absolute origin instead of the eyeangles and implement a very short maximum distance to grab from. |
Re: Grabber:SM
The whole soccer would be terribly greatful if you made a plugin like this. Ever play soccer jams for 1.6? This would get us one step closer to that. Right now, folks use their knife to kick the ball into a goal with no passing or limited control. Your plugin would allow folks to pass a ball, kick it.
otto |
Re: Grabber:SM
How about making this admin flag (ex: z (root)) only through an extra cvar?
|
Re: Grabber:SM
Awesome, works like a charm.
|
Re: Grabber:SM
Works good. To bad there is nothing to use this on in my icerworld server = (
-BC |
Re: Grabber:SM
version 1.0.0.2 uploaded with fixes and new features:
Quote:
|
Re: Grabber:SM
If it isn't already usable by spectators, can that be made possible?
|
All times are GMT -4. The time now is 17:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.