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

[L4D & L4D2] Pipebomb Shove (1.16) [24-Nov-2023]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
3036
Plugin Version:
1.16
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    42 
    Plugin Description:
    Attaches an activated pipebomb to infected when shoved by players holding pipebombs.
    Old 06-21-2012 , 20:05   [L4D & L4D2] Pipebomb Shove (1.16) [24-Nov-2023]
    Reply With Quote #1



    Related Plugins:

    About:
    • Attaches a pipebomb to common/special infected mouths.
    • Because Hunters, Chargers and Jockeys have no mouth attachments, they will hold the pipe in their hands.


    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.
    • disawar1 - Providing the latest (27th Dec 2013) gamedata signature.
    • bazrael - For for the reload key idea and testing.
    • Sunyata - For the fuse time idea and testing.
    • Crasher_3637 - For error reporting.


    Cvars:

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

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

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

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

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

    // 0=Default. Other values sets the explosion damage.
    l4d_pipebomb_shove_damage "25"

    // 0=Default. Other value sets the explosion damage range.
    l4d_pipebomb_shove_distance "400"

    // 1=Common, 2=Witch, 4=Smoker, 8=Boomer, 16=Hunter, 32=Spitter, 64=Jockey, 128=Charger, 256=Tank, 511=All.
    l4d_pipebomb_shove_infected "511"

    // L4D1: 0=Prevent player speed up when Pipebomb is attached, 1=Allow speed up.
    l4d_pipebomb_shove_speed "0"

    // 0=Shove key, 1=Trigger with reload key, 2=Only trigger with reload key, 3=Trigger with reload key and shove.
    l4d_pipebomb_reload "0"

    // Fuse duration before detonation. Game default is 6 seconds.
    l4d_pipebomb_time "6"

    // Pipebomb Shove plugin version.
    l4d_pipebomb_shove_version 


    Changes:
    Code:
    1.16 (24-Nov-2023)
        - L4D1: Fixed movement speed bug after staggering when the stagger timer didn't reset (due to some plugins such as "Stagger Gravity").
    
    1.15 (25-Jan-2023)
        - Fixed the "l4d_pipebomb_shove_speed" cvar causing errors in L4D2. Thanks to "Ja-Forces" for reporting.
    
    1.14 (25-Jan-2023)
        - L4D1: Added cvar "l4d_pipebomb_shove_speed" to control if player speed is affected by the Pipebomb being attached.
        - Fixed "MarkNativeAsOptional" being in the incorrect place. Thanks to "HarryPotter" for reporting.
    
    1.13 (24-Jan-2023)
        - L4D1: Fixed Special Infected increased movement speed when the Pipebomb is attached. Compatible with the "Lagged Movement - Plugin Conflict Resolver" plugin.
        - Thanks to "Ja-Forces" for reporting and testing.
    
    1.12 (01-Nov-2022)
        - Changed cvar "l4d_pipebomb_reload" to optionally require holding "R" when shoving. Requested by "Iciaria".
    
    1.11 (14-Nov-2021)
        - Changes to fix warnings when compiling on SourceMod 1.11.
        - Updated GameData signatures to avoid breaking when detoured by the "Left4DHooks" plugin.
    
    1.10 (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.9 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.8 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
        - Changed cvar "l4d_pipebomb_shove_modes_tog" now supports L4D1.
    
    1.7.1 (24-Mar-2018)
        - Added a couple checks to prevent errors being logged - Thanks to "Crasher_3637" for reporting.
    
    1.7 (02-Dec-2017)
        - Added cvar "l4d_pipebomb_reload" to make the "Reload" key attach the pipebomb. Thanks to "bazrael" for the idea and testing.
        - Added cvar "l4d_pipebomb_time" to set the fuse duration before detonation. Thanks to "Sunyata" for the idea and testing.
    
    1.6 (14-Nov-2015)
        - Gamedata signatures file updated. No other changes.
    
    1.6 (21-Jun-2015)
        - Fixed "GetEntPropEnt" error - Thanks to "Danny_l4d" for reporting.
    
    1.5 (06-Jul-2013)
        - Gamedata signatures file updated. No other changes.
    
    1.5 (07-Oct-2012)
        - Fixed tank attachment and tank related cvars in L4D1 - Thanks to "disawar1" for fixing.
        - Changed the Witch attachment point from her mouth to her eye!
    
    1.4 (03-Jul-2012)
        - Fixed errors by adding some checks - Thanks to "gajo0650" for reporting.
    
    1.3 (30-Jun-2012)
        - Fixed the plugin not working in L4D1.
        - Fixed sticking the pipebomb into common infected which have just died.
    
    1.2 (23-Jun-2012)
        - Fixed the last update breaking the plugin.
    
    1.1 (22-Jun-2012)
        - Added cvars "l4d_pipebomb_shove_damage" and "l4d_pipebomb_shove_distance".
    
    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 "l4d_pipebomb_shove.txt" and put the file into your servers \addons\sourcemod\gamedata\ folder.


    Updating from 1.13 or older:
    • New cvars have been added or changed: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_pipebomb_shove.sp - 321 views - 23.5 KB)
    File Type: txt l4d_pipebomb_shove.txt (1.9 KB, 1171 views)
    __________________

    Last edited by Silvers; 11-24-2023 at 17:41.
    Silvers is offline
     


    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 19:39.


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