Raised This Month: $ Target: $400
 0% 

Grabber:SM


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
439
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-26-2008 , 12:30   Re: Grabber:SM
    Reply With Quote #1

    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!
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 06-26-2008 , 12:45   Re: Grabber:SM
    Reply With Quote #2

    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
    ottobohn is offline
    L. Duke
    Veteran Member
    Join Date: Apr 2005
    Location: Walla Walla
    Old 06-26-2008 , 12:47   Re: Grabber:SM
    Reply With Quote #3

    Quote:
    Originally Posted by ottobohn View Post
    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
    That's a good point about other players using the same item. I may need to add some code. Right now I think that the player with the highest entity index will be the one to have control if both people lock on.

    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.
    __________________
    "Good grammar is essential, Robin."
    - Batman

    Last edited by L. Duke; 06-26-2008 at 12:51.
    L. Duke is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 06-26-2008 , 13:44   Re: Grabber:SM
    Reply With Quote #4

    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
    ottobohn is offline
    Ravager01
    Member
    Join Date: Jul 2006
    Old 06-26-2008 , 15:21   Re: Grabber:SM
    Reply With Quote #5

    How about making this admin flag (ex: z (root)) only through an extra cvar?
    Ravager01 is offline
    Reply



    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 18:41.


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