Raised This Month: $12 Target: $400
 3% 

[ANY?] No FallDamage (V0.6.3, 03.10.2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Plugin ID:
2650
Plugin Version:
0.6.3
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    23 
    Plugin Description:
    Symply removes a player's FallDamage
    Old 11-10-2011 , 13:45   [ANY?] No FallDamage (V0.6.3, 03.10.2020)
    Reply With Quote #1

    Description
    I know there are at least 2 plugins that do the same.
    The first plugin is not maintained by its author since it's more a snippet from the forums than a script and it does not handle late-loads.
    The other one uses an extension that is not supported anymore.


    CVAR/Command list
    • sm_nofalldamage_enabled (Default: 1)
      • - Enable/disable FallDamage
    • sm_nofalldamage_teamfilter (Default: 0)
      • Team that should be protected from falldamage, 0 = any, 2 = RED, 3 = BLUE
    • sm_nofalldamage_clientfilter (Default: 0)
      • Clients that should be protected from falldamage, 0 = any, 1 = Only Admins
    • sm_nofalldamage_version
      • Plugin version (not changeable)
    Installation
    • Put "nofalldamage_sdkhooks.smx" in your "../addons/sourcemod/plugins" directory.
    • Add the above convars that you want to modify in your server.cfg, and edit to your purposes.
    • Refresh your plugin list or load the plugin.
    Requirements

    CHANGELOG



    Links
    Servers with this plugin


    Notes
    This plugin should work in any game that has SdkHooks support.
    Plugin will not compile on the forums due the dependence of SdkHooks
    Teamfiltercheck comes before the clientfiltercheck
    Clientfilter used the generic flag to determine admins and makes use of the command override sm_nofalldamage_immune, look here for information on how you can use this.
    Attached Files
    File Type: smx nofalldamage_sdkhooks.smx (4.1 KB, 511 views)
    File Type: sp Get Plugin or Get Source (nofalldamage_sdkhooks.sp - 378 views - 3.2 KB)
    __________________

    Last edited by Impact123; 10-02-2020 at 23:51.
    Impact123 is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-09-2012 , 17:04   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #2

    i kinda don't understand how this works, i get the getting of the filter, and stuff, but why does it check if the filter is on the map?
    Mitchell is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 03-09-2012 , 20:56   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #3

    Well, because some maps eliminate the falldamage by theirselfes, i had to check if they do so.
    Unfortunately the check is not 100% sure.

    Yours sincerely
    Impact
    __________________

    Last edited by Impact123; 03-09-2012 at 21:00.
    Impact123 is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 03-10-2012 , 13:28   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #4

    One thing I just quickly noted is that you checked IsClientConnected && IsClientInGame.

    For a client to be in game they must be connected, so you can cut the IsClientConnected out if you are checking for IsClientInGame.

    Have you checked that the hill in Dark Carnival map 1 (L4D2) doesn't trigger the fall damage event?
    The hill uses a trigger_multiple with OnStartTouch !activator IgnoreFallDamageWithoutReset 10. Not sure if stops the player_falldamage event.
    Mr. Zero is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 03-10-2012 , 14:43   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #5

    This was my first plugin, there are some things i would critique by another developer, but i do not plan to update it.
    As written, i only tested this with CS:S.

    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    bdmj
    Member
    Join Date: Jan 2010
    Old 04-21-2012 , 15:48   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #6

    Is there a way to make this plugin work for the admin only?
    __________________
    bdmj is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 04-22-2012 , 06:55   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #7

    Of course, but i think that would be really unfair to other players.

    Yours sincerely
    Impact
    __________________
    Impact123 is offline
    bdmj
    Member
    Join Date: Jan 2010
    Old 04-29-2012 , 11:42   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #8

    Well yeah...but can you please tell me how?
    __________________
    bdmj is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 04-29-2012 , 22:29   Re: [CS:S|L4D|L4D2] No FallDamage (V0.1.1, 10.11.2011)
    Reply With Quote #9

    Normally you would create an variable for every player and save if he is admin in it.
    In the Eventcalback then check if that variable is set to xyz, else do nothing.
    Another thing you can do is, check if he is admin every time an player falls, you can use this for it.
    I doubt this helps you, but this would be the way to go.

    Yours sincerely
    Impact
    __________________

    Last edited by Impact123; 04-29-2012 at 22:29.
    Impact123 is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 05-09-2012 , 21:12   Re: [ANY?] No FallDamage (V0.2, 10.05.2012)
    Reply With Quote #10

    Well, the mp_falldamage event didn't cut it.
    I've rewrote the whole plugin, it now uses SdkHooks and should work on any game that SdkHooks has support for.
    It now also recognises lateloads.

    Yours sincerely
    Impact
    __________________

    Last edited by Impact123; 05-09-2012 at 21:25.
    Impact123 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 06:48.


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