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

[L4D & L4D2] PipeBomb Damage Modifier (1.10) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6901
Plugin Version:
1.10
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Modifies PipeBomb damage
    Old 01-14-2020 , 13:38   [L4D & L4D2] PipeBomb Damage Modifier (1.10) [21-Apr-2024]
    Reply With Quote #1

    About:
    • Modifies PipeBomb damage against the Tank, Special Infected, Survivors and PipeBomb owner.


    Thanks:

    Cvars:

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

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

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

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_pipebomb_damage_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_damage_modes_tog "0"

    // Damage multiplier against PipeBomb owner.
    l4d_pipebomb_damage_self "1.0"

    // Damage multiplier against Special Infected.
    l4d_pipebomb_damage_special "1.0"

    // Damage multiplier against Survivors.
    l4d_pipebomb_damage_survivor "1.0"

    // Damage multiplier against the Tank
    l4d_pipebomb_damage_tank "1.0"

    // PipeBomb Damage Modifier plugin version.
    l4d_pipebomb_damage_version 


    Changes:
    Code:
    1.10 (21-Apr-2024)
        - Fixed random error spam. Thanks to "CrazMan" for reporting.
    
    1.9 (13-Jan-2024)
        - Plugin now supports simultaneous explosions from PipeBombs and breakable props (propane tank, oxygen tank etc) to correctly detect PipeBombs.
    
    1.8 (19-Jun-2023)
        - Compatibility update for the "Detonation Force" plugin by "OIRV" to scale the additional damage created. Thanks to "Fsky" for reporting.
    
    1.7 (23-Apr-2022)
        - Compatibility update for the "Damage Explodes Grenades" plugin. Thanks to "Shao" for reporting.
    
    1.6 (14-Jul-2021)
        - Compatibility update for the "Bots Ignore PipeBombs and Shoot" plugin.
    
    1.5 (15-May-2020)
        - Fixed 1.3 changes breaking the plugin from working.
        - Optimized the plugin even more.
        - Replaced "point_hurt" entity with "SDKHooks_TakeDamage" function.
    
    1.4 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Various changes to tidy up code.
    
    1.3 (05-Apr-2020)
        - Fixed affecting "weapon_oxygentank" which creates a "pipe_bomb_projectile" on explosion.
        - Thanks to "MasterMind420" for the fix method.
    
    1.2 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.1 (14-Jan-2020)
        - Added cvar "l4d_pipebomb_damage_tank" to modify damage against the Tank.
    
    1.0 (14-Jan-2020)
        - Initial release.


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

    Updating from 1.1 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: sp Get Plugin or Get Source (l4d_pipebomb_damage.sp - 10 views - 13.6 KB)
    __________________

    Last edited by Silvers; 04-21-2024 at 10:43.
    Silvers is offline
    strikeraot
    Senior Member
    Join Date: Dec 2018
    Location: Viet Nam
    Old 01-14-2020 , 23:48   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
    Reply With Quote #2

    You're as awesome as ever
    strikeraot is offline
    mathilde
    Member
    Join Date: Jan 2020
    Location: samedi et dimanche
    Old 01-15-2020 , 07:34   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
    Reply With Quote #3

    hmm.. is it similar to damagemod?
    mathilde is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-15-2020 , 11:02   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
    Reply With Quote #4

    Quote:
    Originally Posted by mathilde View Post
    hmm.. is it similar to damagemod?
    See the request post. Apparently changing the pipebomb damage in that plugin also modifies gas tank explosion damage. This only does the pipebomb.
    __________________
    Silvers is offline
    wei
    New Member
    Join Date: Jun 2020
    Old 06-22-2020 , 13:15   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.5) [15-May-2020]
    Reply With Quote #5

    Hello, would you like to ask if you can make a damage plug-in for minigun, similar to this?
    wei is offline
    Shao
    Senior Member
    Join Date: Jan 2015
    Old 04-21-2022 , 08:15   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.6) [14-Jul-2021]
    Reply With Quote #6

    Would it possible to expand on this plugin for more explosion types? Things like Propane Tanks or environmental stuff. Considering there is nothing as such right now available and this plugin here really does a nice job already for Pipe Bombs.

    At best all the engine got is Grenade Launcher modifiers. To add a small bug report, it seems like Tank specific damage doesn't work.

    Also wanted to make notice that the explode grenade plugin isn't affected by this one either, shooting pipe bombs behaves as normal explosions.

    Last edited by Shao; 04-21-2022 at 08:18.
    Shao is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-21-2022 , 09:51   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.6) [14-Jul-2021]
    Reply With Quote #7

    Quote:
    Originally Posted by Shao View Post
    Would it possible to expand on this plugin for more explosion types? Things like Propane Tanks or environmental stuff. Considering there is nothing as such right now available and this plugin here really does a nice job already for Pipe Bombs.

    At best all the engine got is Grenade Launcher modifiers. To add a small bug report, it seems like Tank specific damage doesn't work.

    Also wanted to make notice that the explode grenade plugin isn't affected by this one either, shooting pipe bombs behaves as normal explosions.
    Looks like Tank should work, I remember when testing killing a tank with 1 PipeBomb. Try setting to a high value and seeing if that works. I'll try when I have time.

    Regarding Explode Grenades, this is because it's creating a "prop_physics", maybe I can change the classname to "pipe_bomb" when detonating to trigger this plugin. Will have to test in future.

    Please report back if these things work and I'll modify where required.

    As for expanding the plugin I thought there was one already for physics damage.
    __________________

    Last edited by Silvers; 04-21-2022 at 09:57.
    Silvers is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-23-2022 , 08:56   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.7) [23-Apr-2022]
    Reply With Quote #8

    Code:
    1.7 (23-Apr-2022)
        - Compatibility update for the "Damage Explodes Grenades" plugin. Thanks to "Shao" for reporting.
    - If using both plugins, get the latest version of the other plugin here: https://forums.alliedmods.net/showthread.php?t=334500
    __________________
    Silvers is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-19-2023 , 01:05   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.8) [19-Jun-2023]
    Reply With Quote #9

    Code:
    1.8 (19-Jun-2023)
        - Compatibility update for the "Detonation Force" plugin by "OIRV" to scale the additional damage created. Thanks to "Fsky" for reporting.
    __________________
    Silvers is offline
    CrazMan
    Member
    Join Date: Jun 2022
    Old 04-21-2024 , 09:48   Re: [L4D & L4D2] PipeBomb Damage Modifier (1.9) [13-Jan-2024]
    Reply With Quote #10

    Hello. Recently my plugin gave me an error in the logs.

    Code:
    L 04/21/2024 - 16:40:20: SourceMod error session started
    L 04/21/2024 - 16:40:20: Info (map "l4d_hospital01_apartment") (file "/game/left4dead/addons/sourcemod/logs/errors_20240421.log")
    L 04/21/2024 - 16:40:20: [SM] Exception reported: Not enough space on the stack
    L 04/21/2024 - 16:40:20: [SM] Blaming: l4d_pipebomb_damage.smx
    L 04/21/2024 - 16:40:20: [SM] Call stack trace:
    L 04/21/2024 - 16:40:20: [SM]   [0] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [1] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [2] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [4] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [5] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [6] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [8] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [9] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [10] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [12] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [13] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [14] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [16] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [17] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [18] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [20] SDKHooks_TakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [21] Line 412, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::HurtEntity
    L 04/21/2024 - 16:40:20: [SM]   [22] Line 388, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_pipebomb_damage.sp::OnTakeDamage
    L 04/21/2024 - 16:40:20: [SM]   [24] SDKHooks_TakeDamage
    CrazMan 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 08:04.


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