Raised This Month: $32 Target: $400
 8% 

[Any] Knock Back


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Master53
Veteran Member
Join Date: Dec 2009
Plugin ID:
2724
Plugin Version:
1.00.01
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    allows players to have knock back
    Old 12-23-2011 , 07:57   [Any] Knock Back
    Reply With Quote #1

    This plugin allows any weapon of any game to have a knockback effect. The more damage a player does the more knockback there will be.

    Convar change will take an instant effect.

    Requires SDK Hooks 2.0 or later

    All work has been released by and from http://unitservers.com/

    Attached Files
    File Type: smx KnockBack.smx (4.1 KB, 614 views)
    File Type: sp Get Plugin or Get Source (KnockBack.sp - 1008 views - 3.7 KB)
    __________________
    Master(d)




    Last edited by Master53; 12-23-2011 at 10:49.
    Master53 is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 12-23-2011 , 10:11   Re: [Any] Knock Back
    Reply With Quote #2

    Didn't you forgot something?

    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    Master53
    Veteran Member
    Join Date: Dec 2009
    Old 12-23-2011 , 10:28   Re: [Any] Knock Back
    Reply With Quote #3

    oh shit yeah the actual plugin
    __________________
    Master(d)




    Last edited by Master53; 12-23-2011 at 10:28.
    Master53 is offline
    Master53
    Veteran Member
    Join Date: Dec 2009
    Old 12-23-2011 , 10:40   Re: [Any] Knock Back
    Reply With Quote #4

    Thanks for the heads up, this was in a previous game type i had created and forgot to remove some features, thanks anyway.

    updated and uploaded
    __________________
    Master(d)




    Last edited by Master53; 12-23-2011 at 10:50.
    Master53 is offline
    sodafr
    Member
    Join Date: Apr 2007
    Location: Paris, France
    Old 07-10-2012 , 08:41   Re: [Any] Knock Back
    Reply With Quote #5

    Hello,
    just got the source file and compiled it without trouble.
    smx is now into the plugin folder, I restart the server and... plugin seems to be loaded fine but .. is diabled by default. Impossible to start it.
    sodafr is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 07-28-2012 , 16:23   Re: [Any] Knock Back
    Reply With Quote #6

    Same here, it's forced disabled when i type "sm plugins list"
    __________________
    Chaosxk is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 07-28-2012 , 16:35   Re: [Any] Knock Back
    Reply With Quote #7

    ...That is a lot of comments. There's really no need to comment everything you do, especially if it's clearly marked on the next line.
    PHP Code:
    //Return:
    return Plugin_Continue
    Also, you might be checking for SDKHooks incorrectly, causing the plugin to automatically fail on startup. I'm pretty sure you can just #include <sdkhooks>, and if the server isn't running SDKHooks, the plugin will automatically fail, and log that it's missing the extension.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 07-28-2012 , 16:38   Re: [Any] Knock Back
    Reply With Quote #8

    Quote:
    Originally Posted by MasterOfTheXP View Post
    ...That is a lot of comments. There's really no need to comment everything you do, especially if it's clearly marked on the next line.
    PHP Code:
    //Return:
    return Plugin_Continue
    Also, you might be checking for SDKHooks incorrectly, causing the plugin to automatically fail on startup. I'm pretty sure you can just #include <sdkhooks>, and if the server isn't running SDKHooks, the plugin will automatically fail, and log that it's missing the extension.
    That is true. Too many comments aren't a bad thing.
    The author (apparently) has the idea in mind that:
    1. AskPluginLoad(2) calls after OnPluginStart(), which is wrong.
    2. And SDKHook's library name is "sdkhooks.ext"

    minimoney1 is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-28-2012 , 16:38   Re: [Any] Knock Back
    Reply With Quote #9

    I came with the same idea long time ago (and programmed one for the nades only), but Javalia's https://forums.alliedmods.net/showthread.php?p=1317079 already does this for every weapons.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 07-28-2012 at 17:28.
    RedSword 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 19:30.


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