AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] PipeBomb Damage Modifier (1.10) [21-Apr-2024] (https://forums.alliedmods.net/showthread.php?t=320901)

Silvers 01-14-2020 13:38

[L4D & L4D2] PipeBomb Damage Modifier (1.10) [21-Apr-2024]
 
11 Attachment(s)
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.

strikeraot 01-14-2020 23:48

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
 
You're as awesome as ever

mathilde 01-15-2020 07:34

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
 
hmm.. is it similar to damagemod?

Silvers 01-15-2020 11:02

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.1) [14-Jan-2020]
 
Quote:

Originally Posted by mathilde (Post 2680354)
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.

wei 06-22-2020 13:15

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.5) [15-May-2020]
 
Hello, would you like to ask if you can make a damage plug-in for minigun, similar to this?

Shao 04-21-2022 08:15

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.6) [14-Jul-2021]
 
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.

Silvers 04-21-2022 09:51

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.6) [14-Jul-2021]
 
Quote:

Originally Posted by Shao (Post 2777446)
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.

Silvers 04-23-2022 08:56

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.7) [23-Apr-2022]
 
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 06-19-2023 01:05

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.8) [19-Jun-2023]
 
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.


CrazMan 04-21-2024 09:48

Re: [L4D & L4D2] PipeBomb Damage Modifier (1.9) [13-Jan-2024]
 
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



All times are GMT -4. The time now is 19:32.

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