Raised This Month: $248 Target: $400
 62% 

Entity Parent similar Entmod (v1.1.5)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Plugin ID:
773
Plugin Version:
1.1.5
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin let you pair/parent/attach a entity with yourself.
    Old 02-14-2009 , 18:06   Entity Parent similar Entmod (v1.1.5)
    Reply With Quote #1

    Hi folks,

    since I love the command ent_fire somename setparent to move entitys around, I decided to make a plugin that simplifies it to attach a entity to yourself.

    Commands:
    - sm_parent [target] [x] [y] [z] - look at the entity you like to attach or omit the target to deattach only the entity you look at. By using the xyz coordinates you can specify the position of the entity relative to yourself, means you are pos 0x 0y 0z and if you use sm_parent @me 100 0 0 then the entity gets teleported infront of you and then attached to you.
    - sm_clearparent <target> - deattach all entitys from you

    Todo:
    - Menu to deattach a single entity form you.
    - A more accurate function for the xyz coordinates when using sm_parent.

    Known Bugs:
    - The Positions when using sm_parent with xyz coordinates isn't always accurate.
    - NPCs and Players won't stay in position if you move too fast or jump/duck.
    - All entitys kinda lag if you move.
    - Entitys won't move up if you look up. (but NPCs and Players do )
    - Collision between entitys is disabled as long they are attached to the player (well not really a bug, but looks stupid sometimes).

    Pictures:
    Pic1
    Pic2
    Pic3

    Changelog:
    v1.1.5
    + sm_parent [target] [x] [y] [z] - the entity first gets teleportet at the coordinates xyz (your position is 0x 0y 0z) and then attached to you.
    * performance fix
    * ep_version changed to entityparent_version
    * Physik entitys won't return anymore after sm_clearparent to the place where they got attached (they just stay in midair until you move it a littlebit).
    v1.0.0
    release

    Thank you...
    Berni
    Manni
    SWAT_88 and the guys who helped him withSM Parachute


    I tested it only with hl2dm let me know if it really works for any mod.

    Help me to improove this plugin I love it.
    Attached Files
    File Type: sp Get Plugin or Get Source (entityparent.sp - 1154 views - 8.7 KB)

    Last edited by Chanz; 03-07-2009 at 23:39.
    Chanz is offline
    TESLA-X4
    Senior Member
    Join Date: Dec 2008
    Location: $Recycle.Bin
    Old 02-19-2009 , 05:24   Re: Entity Parent similar Entmod
    Reply With Quote #2

    Lol now that's pretty cool

    I've ever tried parenting a player to another (the ent_fire !picker way), and it was madness - both of them tried to move and it lagged my server like crazy lol Not sure if it'll be the same for this plugin though...
    TESLA-X4 is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 02-19-2009 , 19:25   Re: Entity Parent similar Entmod
    Reply With Quote #3

    Quote:
    Originally Posted by TESLA-X4 View Post
    Lol now that's pretty cool

    I've ever tried parenting a player to another (the ent_fire !picker way), and it was madness - both of them tried to move and it lagged my server like crazy lol Not sure if it'll be the same for this plugin though...
    thank you - it doesn't lag but the 'child' player may disappear by falling trough the floor so be sure when you /clearparent the 'parent' player that the 'child' player is somewhere above the map.

    but I need some time to improve this plugin - I don't have much time after work. ^^
    Chanz is offline
    sfPlayer
    Senior Member
    Join Date: Dec 2007
    Location: Germany
    Old 03-04-2009 , 18:03   Re: Entity Parent similar Entmod
    Reply With Quote #4

    please use a longer version cvar like entityparent_version and make sure it matches the one in this topic's header.
    sfPlayer is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 03-07-2009 , 23:40   Re: Entity Parent similar Entmod (v1.1.5)
    Reply With Quote #5

    UPDATE

    v1.1.5
    + sm_parent [target] [x] [y] [z] - the entity first gets teleportet at the coordinates xyz (your position is 0x 0y 0z) and then attached to you.
    * performance fix
    * ep_version changed to entityparent_version
    * Physik entitys won't return anymore after sm_clearparent to the place where they got attached (they just stay in midair until you move it a littlebit).
    Chanz is offline
    captaindeterprimary
    AlliedModders Donor
    Join Date: Sep 2012
    Old 06-17-2013 , 15:18   Re: Entity Parent similar Entmod (v1.1.5)
    Reply With Quote #6

    Wait so this could be used to attach a sentry/dispenser/teleporter to one's self?
    __________________
    Last edited by ; Today at 08:20 AM. Reason: Get rid of s
    captaindeterprimary is offline
    Margen67
    Member
    Join Date: Oct 2011
    Old 07-07-2013 , 18:21   Re: Entity Parent similar Entmod (v1.1.5)
    Reply With Quote #7

    Plugin failed to compile
    Margen67 is offline
    captaindeterprimary
    AlliedModders Donor
    Join Date: Sep 2012
    Old 07-07-2013 , 20:21   Re: Entity Parent similar Entmod (v1.1.5)
    Reply With Quote #8

    Quote:
    Originally Posted by Margen67 View Post
    Plugin failed to compile
    You need to compile it manually with sdkhooks.
    __________________
    Last edited by ; Today at 08:20 AM. Reason: Get rid of s
    captaindeterprimary 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 05:43.


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