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

[TF2] No Self Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SilentLikeSilence
Senior Member
Join Date: Jul 2009
Plugin ID:
1276
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    There is no damage on rocketjump and stickyjump
    Unapprover:
    Reason for Unapproving:
    Plugin does not fully work as described, also has some code that does nothing. Author unresponsive.
    Old 11-13-2009 , 09:54   [TF2] No Self Damage
    Reply With Quote #1

    Description
    There is no damage on rocketjump and stickyjump. on/off (per client)


    Istallation
    Put the .smx file into your sourcemod's plugin folder!


    Usage
    Use sm_noselfdamage (console) or !noselfdamge (chat)!

    When a player joins it's disabled as default, it can be enabled by sm_noselfdamage or !noselfdamage.

    (it can be disabled by typing cvar or chattrigger again)
    Attached Files
    File Type: sp Get Plugin or Get Source (noselfdamage.sp - 827 views - 1.3 KB)

    Last edited by SilentLikeSilence; 11-14-2009 at 04:44.
    SilentLikeSilence is offline
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 11-13-2009 , 23:45   Re: [TF2] No Self Damage
    Reply With Quote #2

    PHP Code:
        else if(NoDamage[client] == false)
        {
            
    //Do Nothing
        

    Unnecessary. It also looks like the way you coded it will still kill you if you use more than 4 sticky bombs/have low health.
    noodleboy347 is offline
    BrutalGoerge
    AlliedModders Donor
    Join Date: Jul 2007
    Old 11-14-2009 , 03:07   Re: [TF2] No Self Damage
    Reply With Quote #3

    good plugin, but maybe make a hacks version that uses dukehacks, or that new extension, sourcehooks i think. just so people can have a air-tight option. if the self-damage is lethal (damages below 0), re-adding hp wont bring people back to life
    this way people who dont want to install an extension and people who want to prevent all self-damage suicides have an option

    thanks for the sub still.
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 11-14-2009 , 04:13   Re: [TF2] No Self Damage
    Reply With Quote #4

    Quote:
    Originally Posted by noodleboy347 View Post
    It also looks like the way you coded it will still kill you if you use more than 4 sticky bombs/have low health.
    That's true. 8 stickies (under 100 hp), 4 stickies (under 50 hp), 1 sticky (under 25 hp) will kil you.

    Last edited by SilentLikeSilence; 11-14-2009 at 04:39.
    SilentLikeSilence is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 12-11-2009 , 11:09   Re: [TF2] No Self Damage
    Reply With Quote #5

    @SilentLikeSilence

    Do you plan on updating this to be able to block all self damage? If not, could you please update your first post to note the limitation of the plugin?
    psychonic 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 17:19.


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