Re: Grabber:SM
Spectators can't use it right now, but if you search for all of the places where it says something like
if (!IsPlayerAlive(client)) return Plugin_Handled; and delete that, it should work for spectators. |
Re: Grabber:SM
Can this be used for tf2? If so, can you make a cvar that limits it to admins with the cheat flag? Thanks in advance - Zy
|
Re: Grabber:SM
I believe it would work in TF2, but I haven't tried it yet.
TF2 doesn't really have many physics props though, so you might have to spawn your own props using another plugin or using Stripper:Source. |
Re: Grabber:SM
works in a mod called Zombie Panic: Source.
although the seek range for picking up props is way too far and it moves too fast towards you. - on version 1 though, ill upgrade then tweak till it works anyway other than that sweet plugin :up: |
Re: Grabber:SM
I love you.
Otto :mrgreen: |
Re: Grabber:SM
any way to disable the stupid looping sound and just have no sound?
|
Re: Grabber:SM
It's off in "ground mode."
You could edit line 180 from if (GetConVarInt(cvGround)!=1) to if (false) and recompile it. |
Re: Grabber:SM
nice job.
|
Re: Grabber:SM
6 Attachment(s)
I have enhanced this plugin for use with TF2. The modifications allow you to pickup (& throw) the engineer's buildings (teleporter, dispenser & sentry gun). Apparently, you can also pick up cabinets.
I also added more sounds for when you throw something, when there is nothing to pickup and when attempting to pickup something that has been disallowed. I also added a native interface so this can be called from other plugins. The native interface can also be used give a "gravgun" to specific players. zgrabber.inc defines this interface for the other plugins. **Updated 05/23/2010** Fixed issues from TF2 updates Changed to use Global Forwards Fixes for Dead Ringer Various other fixes **Updated 10/15/2009** Changed ztf2grab to check the FL_ONGROUND entity flag to see if objects are on the ground (and skip ray-trace) Don't allow cloaked or disgused spys or bonked scouts use the grabber Included tf2_player.inc into ztf2grab (and remote) to allow compilation using SM's web compiler Changed several plugin to only use the NOTIFY, REPLICATED, and SPONLY convar flags on the version convar Fixed error in ztf2grab when grabbing buildings not built by a player Fixed Gravity Gun so Engineer's can actually used them when sc_allow_gravgun is 1 Changed Gravity Gun to no longer allow sentry surfing. Changed Gravity Gun to only allow repairing sentry for level 3 and above. Fixed Gravity Gun so Sentries can be 'surfed' again (more or less), when allowed Use EdictClass instead of NetClass to determine object/building type Cleaned up entity/edict checking **Updated 6/30/2009 -Incorporated retsam's dispenser enabled cvar (sm_grab_dispenser) -Incorporated dragonshadow's fix to prevent throwing objects by jumping. -Fixed spelling of sm_grab_theif convar to sm_grab_thief **Update 6/20/2009 -fixed incorrect natives **Updated 6/19/2009 -copied lines from zgrabber.inc so the SM web compiler will work. -stop objects sliding when ray tracing the ground is < 5 units away. -drop object to the (ray traced) ground when they stop. -Check for 0 client in commands to prevent errors -Merged alt shotgun update by dragonshadow (also changes convar names) -rotate the building to face where it's grabber is looking -Added rotate command -Added reload on wrench rotates grabbed building -Added alt-fire for wrench picks up/drops building -Renamed to ztf2grab **Updated 3/18/2009 Modified zgrabber to be more specific on what it grabs to reduce crashes. Updated error messages sent to the logs to only include client names that are still InGame Added gravity convars to zgrabber -sm_grabber_throwgravity = Gravity for thrown objects (default=1.0) -sm_grabber_dropgravity = Gravity for dropped objects (default=10.0) -sm_grabber_movetype = change the MOVETYPE of thrown objects (0=no 1=yes) **Updated 9/26/2008** Added new convars: sm_grabber_droponjump: to drop objects when jumping when set to 1 sm_grabber_props: Disable grabbing prop_ objects (cabinets and bomb carts) when set to 1 sm_grabber_throwsetdisabled Disables buildings when throw when 1 sm_grabber_grabsetdisabled Disables buildings when grabber when set to 1 sm_grabber_stopspeed Speed at which a building is considered stopped sm_grabber_droponsapped Droppes buildings when the are sapped when set to 1 sm_grabber_norepair Does not allow buildings to be repaired while they have been grabber when set to 1 sm_debug to display class name of objects Also changed the native interface |
Re: Grabber:SM
Quote:
Thanks for posting that naris. |
All times are GMT -4. The time now is 02:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.