Raised This Month: $ Target: $400
 0% 

[L4D2] Area of Denial (1.6) [28-Apr-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2336
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    27 
    Plugin Description:
    Removes spitter acid and damage from players in restricted areas or slays them.
    Old 05-15-2011 , 13:09   [L4D2] Area of Denial (1.6) [28-Apr-2021]
    Reply With Quote #1

    About:

    When a player is out of bounds, the AI Director creates Spitter acid under the players feet. This plugin detects when the acid is created and can remove it. The game also makes the player damage themself by 10HP of DMG_GENERIC. This plugin can prevent that damage or slay the player.



    Thanks:
    • ZombieAssassinator - For the request/idea and help testing.


    CVars:

    Saved to l4d2_area_of_denial.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Off, 1=Remove spit and prevent damage to player, 2=Slay player.
    l4d2_area_of_denial_enable "1"

    // Show in chat when someone is slayed. 0=Off, 1=To all. 2=To victim.
    l4d2_area_of_denial_print "1"

    // Area of Denial plugin version.
    l4d2_area_of_denial_version 

    Changes:
    Code:
    1.6 (28-Apr-2021)
        - Fixed the plugin crashing servers on some map transitions. Thanks to "Xanaguy" for reporting.
    
    1.5 (09-Oct-2020)
        - Changed "OnClientPostAdminCheck" to "OnClientPutInServer" - to fix any issues if Steam service is down.
    
    1.4 (16-Jun-2020)
        - Fixed not loading cvars on plugin start. Thanks to "Electr000999" for reporting.
        - Changed "l4d2_area_of_denial_enable" default value to be "1" instead.
    
    1.3 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Fixed plugin not compiling when debug enabled. ("cannot find method or property Handle.WriteLine").
        - Plugin now responds faster instead of 0.1 second delay.
    
    1.2 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.1 (10-May-2012)
        - Limited the plugin to all survival modes only.
        - Fixed a rare bug which could crash the server.
        - Debug logging turned off. Set DEBUG 1 in source to turn on.
    
    1.0 (15-May-2011)
        - Initial release.

    Installation:
    • Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_area_of_denial.sp - 826 views - 7.9 KB)
    __________________

    Last edited by Silvers; 04-28-2021 at 06:45.
    Silvers is offline
    ShanXin
    Member
    Join Date: May 2010
    Old 05-15-2011 , 22:34   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #2

    SWEEEEEEEEEEEEEEEEEET
    NO MORE ANNOYING SPIT IN SURVIVAL MODE
    ShanXin is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-15-2011 , 22:51   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #3

    Does the spit only appear in survival? I was thinking so maybe I should limit it to survival only.
    __________________
    Silvers is offline
    ShanXin
    Member
    Join Date: May 2010
    Old 05-15-2011 , 22:55   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #4

    Quote:
    Originally Posted by Silvers View Post
    Does the spit only appear in survival? I was thinking so maybe I should limit it to survival only.
    Yeah, whenever I would use some exploit spots in coop, it would just be fine, but then in survival, spit would just appear nonstop
    ShanXin is offline
    IxAvnoMonvAxI
    Junior Member
    Join Date: Jan 2011
    Old 05-16-2011 , 10:12   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #5

    What is the criteria for triggering plug-in? Applies to all infected patients seems to be special, we want to be a direct attack
    Whether or more specific conditions that do not know.
    IxAvnoMonvAxI is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-16-2011 , 10:22   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #6

    I dont really understand what you're asking. If you're out of the map in survival, spitter acid will spawn under your feet. This plugin can prevent that and damage to caused by it or slay the player.
    __________________
    Silvers is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 05-16-2011 , 12:31   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #7

    Finally, I remember I posted a thread on a plugin to remove spitter puddles as I run a barricade server, and in a lot of the maps if you build to high, they spawn... Thank you!

    Last edited by Elektramode; 05-16-2011 at 13:32.
    Elektramode is offline
    ShanXin
    Member
    Join Date: May 2010
    Old 05-16-2011 , 21:03   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #8

    Quote:
    Originally Posted by Silvers View Post
    I dont really understand what you're asking. If you're out of the map in survival, spitter acid will spawn under your feet. This plugin can prevent that and damage to caused by it or slay the player.
    lol, I notice how it's always ur forums that get questions that don't make sense in english
    ShanXin is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 05-18-2011 , 13:56   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #9

    Mmm, gave this a try on my server, the insta slay works, but the feature to not make it do damage at all does not fully work. When the spitter puddles form, the spit ball does 5 damage, however the puddle will not form (which is good). But its just that annoying spit ball which does damage.
    Elektramode is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-18-2011 , 14:27   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
    Reply With Quote #10

    It does 5 damage also? Please let me know which map you were testing on.
    __________________
    Silvers 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 12:52.


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