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

[L4D2] Vomitjar Shove (1.9) [01-Nov-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
3035
Plugin Version:
1.9
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Biles infected when shoved by players holding vomitjars.
    Old 06-21-2012 , 14:07   [L4D2] Vomitjar Shove (1.9) [01-Nov-2022]
    Reply With Quote #1

    Related Plugins:
    About:
    • Biles infected when shoved by players holding vomitjars.
    • The vomitjar will be removed after smashing on infected (optional cvar to set how many hits till the vomitjar breaks)


    Thanks:
    • JoBarfCreepy - For the "Molotov Shove" original idea and request.
    • alexip121093 - For the "Vomitjar Shove" idea and request.
    • Don't Fear The Reaper - For the "Pipebomb Shove" idea and request.
    • AtomicStyker - For Bile the World - Used SDK code and gamedata file to bile players.
    • Herbie - Request for punch cvar to allow multiple/unlimited hits and testing this.
    • Crasher_3637 - For error reporting.
    • Tonblader - Request for breaking sound.


    Cvars:

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

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d2_vomitjar_shove_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d2_vomitjar_shove_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d2_vomitjar_shove_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d2_vomitjar_shove_modes_tog "0"

    // Which infected to affect: 1=Common, 2=Witch, 4=Smoker, 8=Boomer, 16=Hunter, 32=Spitter, 64=Jockey, 128=Charger, 256=Tank, 511=All.
    l4d2_vomitjar_shove_infected "511"

    // Which key combination to use when shoving: 1=Shove key. 2=Reload + Shove keys.
    l4d2_vomitjar_shove_keys "1"

    // 0=Unlimited. How many times can a player hit zombies with the vomitjar before it breaks.
    l4d2_vomitjar_shove_punch "5"

    // 0=Only the player holding the vomitjar. Distance to splash nearby survivors when the vomitjar breaks.
    l4d2_vomitjar_shove_radius "50"

    // Chance out of 100 to splash self and nearby players when the vomitjar breaks.
    l4d2_vomitjar_shove_splash "10"

    // Vomitjar Shove plugin version.
    l4d2_vomitjar_shove_version 

    Changes:
    Code:
    1.9 (01-Nov-2022)
        - Added cvar "l4d2_vomitjar_shove_keys" to optionally require holding "R" before shoving. Requested by "Iciaria".
    
    1.8a (14-Nov-2021)
        - Updated GameData signatures to avoid breaking when detoured by the "Left4DHooks" plugin.
    
    1.8 (10-May-2020)
        - Added better error log message when gamedata file is missing.
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Various changes to tidy up code.
        - Various optimizations and fixes.
    
    1.7 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.6 (05-Dec-2019)
        - Added breaking sound effect - Requested by "Tonblader".
    
    1.5 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.4 (24-Mar-2018)
        - Added a couple checks to prevent errors being logged - Thanks to "Crasher_3637" for reporting.
        - Fixed self-vomit effect disappearing after ~5 seconds.
        - Updated gamedata txt file.
    
    1.3 (14-May-2017)
        - Added cvar "l4d2_vomitjar_shove_radius" - Distance to splash nearby survivors when the vomitjar breaks.
        - Added cvar "l4d2_vomitjar_shove_splash" - Chance out of 100 to splash self and nearby players when the vomitjar breaks.
    
    1.2 (07-Aug-2013)
        - Fixed the cvar "l4d2_vomitjar_shove_punch" to work correctly.
    
    1.1 (21-Jul-2013)
        - Added cvar "l4d2_vomitjar_shove_punch" to control how many hits a vomitjar can make before breaking.
    
    1.0 (21-Jun-2012)
        - Initial release.

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download "l4d2_vomitjar_shove.txt" and put the file into your servers \addons\sourcemod\gamedata\ folder.


    Updating from 1.9 or older:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: txt l4d2_vomitjar_shove.txt (1.5 KB, 654 views)
    File Type: sp Get Plugin or Get Source (l4d2_vomitjar_shove.sp - 563 views - 15.7 KB)
    __________________

    Last edited by Silvers; 11-01-2022 at 13:11.
    Silvers is offline
    adrianman
    Senior Member
    Join Date: Sep 2010
    Old 06-22-2012 , 18:45   Re: [L4D2] Vomitjar Shove (1.0) [21-Jun-2012]
    Reply With Quote #2

    can you make a range of visibility group hit instead of just one target please?
    __________________
    The best thing in life's for free
    adrianman is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-06-2013 , 09:34   Re: [L4D2] Vomitjar Shove (1.0) [21-Jun-2012]
    Reply With Quote #3

    Updated gamedata signature file to work with L4D2 SteamPipe update, re-download and replace your gamedata file with the new one.

    Thanks to AtomicStryker (I guess) for updating the new addresses (from here)

    edit: 1.1 (21-Jul-2013)
    - Added cvar "l4d2_vomitjar_shove_punch" to control how hits a vomitjar can make before breaking.
    edit: 1.2 (07-Aug-2013)
    - Fixed the cvar "l4d2_vomitjar_shove_punch" to work correctly.
    __________________

    Last edited by Silvers; 08-07-2013 at 00:36.
    Silvers is offline
    Sectus
    Junior Member
    Join Date: May 2016
    Old 05-26-2016 , 02:25   Re: [L4D2] Vomitjar Shove (1.2) [07-Aug-2013]
    Reply With Quote #4

    Hi. This plugin still work? Thanks.
    Sectus is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 03-24-2018 , 12:15   Re: [L4D2] Vomitjar Shove (1.4) [24-Mar-2018]
    Reply With Quote #5

    Code:
    1.4 (24-Mar-2018)
        - Added a couple checks to prevent errors being logged - Thanks to "Crasher_3637" for reporting.
        - Fixed self-vomit effect disappearing after ~5 seconds.
        - Updated gamedata txt file.
    
    1.3 (14-May-2017)
        - Added cvar "l4d2_vomitjar_shove_radius" - Distance to splash nearby survivors when the vomitjar breaks.
        - Added cvar "l4d2_vomitjar_shove_splash" - Chance out of 100 to splash self and nearby players when the vomitjar breaks.
    Still working, updated and fixed.

    1.4 requires the new .txt gamedata file. Also the _splash cvar math was inverted, so now it should be working as intended.
    __________________
    Silvers is offline
    Tonblader
    Senior Member
    Join Date: Jul 2011
    Location: Peru
    Old 12-02-2019 , 20:48   Re: [L4D2] Vomitjar Shove (1.5) [05-May-2018]
    Reply With Quote #6

    Could you add that vomit, when pushed a number of times, is destroyed automatically (if is possible a notification appears)?
    Also against what kind of things, do you push, for example, common infected, special infected, survivors, objects, doors, etc.
    When destroyed, the plugin have the option (cvar) to vomit the ground, or disappear from your hands.
    when destroyed or disappear, it must emit the characteristic sound (broken bottle).
    Tonblader is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 12-05-2019 , 08:43   Re: [L4D2] Vomitjar Shove (1.5) [05-May-2018]
    Reply With Quote #7

    Quote:
    Originally Posted by Tonblader View Post
    Could you add that vomit, when pushed a number of times, is destroyed automatically (if is possible a notification appears)?
    Also against what kind of things, do you push, for example, common infected, special infected, survivors, objects, doors, etc.
    When destroyed, the plugin have the option (cvar) to vomit the ground, or disappear from your hands.
    when destroyed or disappear, it must emit the characteristic sound (broken bottle).
    Please fully read the cvars again. Already exists to destroy after X times and to target Y players. Doors really? Come on.. Vomit on ground what? No sorry.

    Added breaking sound. Thanks.
    __________________
    Silvers is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 02-01-2022 , 15:12   Re: [L4D2] Vomitjar Shove (1.8a) [14-Nov-2021]
    Reply With Quote #8

    not glow or effects on realism common infected?
    __________________
    NoroHime is offline
    faka
    New Member
    Join Date: Sep 2023
    Location: Colombia
    Old 09-09-2023 , 15:07   Re: [L4D2] Vomitjar Shove (1.9) [01-Nov-2022]
    Reply With Quote #9

    Shoving Tanks with the Vomitjar causes extreme lag lmao
    faka 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:41.


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