Raised This Month: $168 Target: $400
 42% 

[L4D2] Area of Denial (1.1) [10-May-2012]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2336
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Removes spitter acid and damage from players in restricted areas or slays them.
    Old 05-15-2011 , 12:09   [L4D2] Area of Denial (1.1) [10-May-2012]
    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 "2"

    // 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.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.

    Compiling:
    1. Put the SDKHooks include into your \addons\sourcemod\scripting\include\ folder.
    2. Put the plugins .sp file into your scripting folder and compile the plugin.


    Requirements:
    • This plugin requires the SDKHooks extension, which is now part of SourceMod 1.5+ and not required as a separate download.


    Installation:
    DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires SDKHooks!
    1. Download the .smx file and put into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: smx l4d2_area_of_denial.smx (5.1 KB, 354 views)
    File Type: sp Get Plugin or Get Source (l4d2_area_of_denial.sp - 240 views - 5.8 KB)
    __________________

    Last edited by Silvers; 06-12-2015 at 15:57. Reason: Text edit
    Silvers is offline
    ShanXin
    Member
    Join Date: May 2010
    Old 05-15-2011 , 21: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
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-15-2011 , 21: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 , 21: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 , 09: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
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-16-2011 , 09: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 , 11: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 12:32.
    Elektramode is offline
    ShanXin
    Member
    Join Date: May 2010
    Old 05-16-2011 , 20: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 , 12: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
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-18-2011 , 13: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 09:31.


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