Raised This Month: $4 Target: $400
 1% 

[L4D & L4D2] Pipebomb Shove (1.10) [10-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
3036
Plugin Version:
1.10
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    35 
    Plugin Description:
    Attaches an activated pipebomb to infected when shoved by players holding pipebombs.
    Old 06-21-2012 , 21:05   [L4D & L4D2] Pipebomb Shove (1.10) [10-May-2020]
    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"

    // Pipebomb Shove plugin version.
    l4d_pipebomb_shove_version 


    Changes:
    Code:
    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_pipebomb_shove.sp - 548 views - 17.4 KB)
    File Type: txt l4d_pipebomb_shove.txt (1.9 KB, 2181 views)
    __________________

    Last edited by Silvers; 05-10-2020 at 08:02.
    Silvers is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-21-2012 , 23:33   Re: [L4D & L4D2] Pipebomb Shove (1.0) [21-Jun-2012]
    Reply With Quote #2

    Quote:
    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.
    This makes the game funny
    Humiliate the special infected players in versus mode lol
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-22-2012 , 06:05   Re: [L4D & L4D2] Pipebomb Shove (1.0) [21-Jun-2012]
    Reply With Quote #3

    I love this plugin! No bugs found so far I killed a tank multiple times in VS mode by sticking a pipebomb on him (Yes,I used damage mod for instant-kill pipebomb)
    SyluxLockjaw100 is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 06-22-2012 , 10:03   Re: [L4D & L4D2] Pipebomb Shove (1.0) [21-Jun-2012]
    Reply With Quote #4

    Quote:
    Originally Posted by SyluxLockjaw100 View Post
    I love this plugin! No bugs found so far I killed a tank multiple times in VS mode by sticking a pipebomb on him (Yes,I used damage mod for instant-kill pipebomb)
    Nice idea!
    Can you share your config for the pipe in damage mod?
    Zbeer is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-22-2012 , 11:47   Re: [L4D & L4D2] Pipebomb Shove (1.0) [21-Jun-2012]
    Reply With Quote #5

    Quote:
    Originally Posted by Zbeer View Post
    Nice idea!
    Can you share your config for the pipe in damage mod?
    Code:
    "L4D2 Damage Mods"
    {
        "50cal"
        {
            "weapon_class"            "prop_minigun"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "16.5"
        }
        
        "Minigun"
        {
            "weapon_class"            "prop_minigun_l4d1"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "3.0"
        }
        
        "AWP Sniper"
        {
            "weapon_class"            "weapon_sniper_awp"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "4.0"
        }
        
        "Steyr Scout"
        {
            "weapon_class"            "weapon_sniper_scout"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "2.5"
        }
        
        "G3 Sniper,whatever it is"
        {
            "weapon_class"            "weapon_sniper_military"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "1.5"
        }
    
        "Hunting Rifle"
        {
            "weapon_class"            "weapon_hunting_rifle"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "1.5"
        }    
        
        "Katana"
        {
            "weapon_class"            "katana"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "3.0"
        }
        
        "M60E4"
        {
            "weapon_class"            "weapon_rifle_m60"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "1.5"
        }
        
        "Flame"
        {
            "weapon_class"            "entityflame"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "5.0"
        }
    
        "Pipebomb"
        {
            "weapon_class"            "pipe_bomb_projectile"
            "modifier_friendly"        "1.0"
            "modifier_enemy"        "500.0"
        }        
    }
    It's kinda off topic,I know
    SyluxLockjaw100 is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 06-22-2012 , 14:51   Re: [L4D & L4D2] Pipebomb Shove (1.0) [21-Jun-2012]
    Reply With Quote #6

    Wow! 500!
    Thanks a lot!
    Zbeer is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-22-2012 , 18:01   Re: [L4D & L4D2] Pipebomb Shove (1.1) [22-Jun-2012]
    Reply With Quote #7

    Plugin updated, you can set the damage and distance the pipebomb explosion causes.

    Setting the damage/distance cvar to 0 will not modify the value. The games default values are the current ones listed, 25/400 respectively.
    __________________
    Silvers is offline
    Zbeer
    SourceMod Donor
    Join Date: Aug 2010
    Old 06-23-2012 , 01:30   Re: [L4D & L4D2] Pipebomb Shove (1.2) [23-Jun-2012]
    Reply With Quote #8

    In the new version (1.1), I could not use pipe on tanks.
    Reverted to previous version 1.0 and everything is fine!


    1.2 works perfect!

    Last edited by Zbeer; 06-23-2012 at 11:28.
    Zbeer is offline
    gajo0650
    Member
    Join Date: Apr 2012
    Old 07-03-2012 , 05:33   Re: [L4D & L4D2] Pipebomb Shove (1.3) [30-Jun-2012]
    Reply With Quote #9

    v1.3 l4d2 error log.

    Quote:
    L 07/03/2012 - 15:02:58: Info (map "c2m2_fairgrounds") (file "errors_20120703.log")
    L 07/03/2012 - 15:02:58: [SM] Native "GetEdictClassname" reported: Invalid edict (447 - 447)
    L 07/03/2012 - 15:02:58: [SM] Displaying call stack trace for plugin "l4d_pipebomb_shove.smx":
    L 07/03/2012 - 15:02:58: [SM] [0] Line 327, /home/groups/alliedmodders/forums/files/8/5/7/7/8/105745.attach::CheckWeapon()
    L 07/03/2012 - 15:02:58: [SM] [1] Line 276, /home/groups/alliedmodders/forums/files/8/5/7/7/8/105745.attach::Event_EntityShoved()
    Quote:
    L 07/03/2012 - 16:59:45: Info (map "c7m1_docks") (file "errors_20120703.log")
    L 07/03/2012 - 16:59:45: [SM] Native "GetEdictClassname" reported: Invalid edict (36 - 36)
    L 07/03/2012 - 16:59:45: [SM] Displaying call stack trace for plugin "l4d_pipebomb_shove.smx":
    L 07/03/2012 - 16:59:45: [SM] [0] Line 327, /home/groups/alliedmodders/forums/files/8/5/7/7/8/105745.attach::CheckWeapon()
    L 07/03/2012 - 16:59:45: [SM] [1] Line 276, /home/groups/alliedmodders/forums/files/8/5/7/7/8/105745.attach::Event_EntityShoved()
    Please check and fix it.

    Last edited by gajo0650; 07-03-2012 at 05:34.
    gajo0650 is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 07-03-2012 , 09:03   Re: [L4D & L4D2] Pipebomb Shove (1.4) [03-Jul-2012]
    Reply With Quote #10

    gajo0650: Thanks, this should be fixed now.
    __________________
    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 14:05.


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