Raised This Month: $38 Target: $400
 9% 

[L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2.1 (08-Jun-2021)]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Plugin ID:
7548
Plugin Version:
1.2.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Smart reverse of burn damage from explodables (gascans, fireworks, etc.).
    Old 03-08-2021 , 17:34   [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2.1 (08-Jun-2021)]
    Reply With Quote #1

    .
    ReverseBurn and ExplosionAnnouncer (l4d_ReverseBurn_and_ExplosionAnnouncer) by Mystik Spiral

    Smart reverse of burn damage from explodables (gascans, fireworks, etc.) if the victim is burned instantly and continuously.
    It was created to help mitigate the damage by griefers attempting to kill/incap their teammates by burning them.

    Reverses the following explodable burn types:
    Gas can, barricade gas can, fuel barrel, gas pump, and fireworks crate.

    Announces the following explosion types:
    Gas can, barricade gas can, fuel barrel, gas pump, fireworks crate, propane tank, and oxygen tank.


    Features:
    • Burn damage is reversed only if victim(s) are burned instantly (within 0.75 second of ignition) and continuously (takes burn damage more than once per second).
    • If player runs into fire more than 0.75 seconds after ignition, burn damage is treated normally.
    • When burn damage is reversed, during each burn cycle (approximately 6x per second):
      • Attacker takes 70% damage for each instantly/continuously burned victim
      • Standing burn victims lose 1PermHP which is converted to 2TempHP as incentive to move out of the fire quickly.
      • Before ignition, any players already incapped or with only 1TotalHP do not take any burn damage.
    • Bots do not take burn damage but do move out of the fire as quickly as possible.
    • Griefers cannot kill or incap a victim by burning them (victims still take some damage as stated above).
    • In all other scenarios, burn damage behaves normally.
    • Option to reverse burn/blast damage if attacker is an admin. [RBaTA_admin, default: 0/false]
    • Option to reverse blast/explosion damage. [RBaTA_blast, default: 1/true]
      • If both RBaEA and RBaTA plugins are loaded, RBaEA takes precedence to avoid both plugins reversing blast/explosion damage.
    • Option to ban attacker (griefer) that disconnects during reverse burn. [RBaTA_banburndisconnect, default: 1/true]
    • Option to set ban duration in minutes. [RBaTA_banduration, default: 2880 (2 days)]


    Common Scenarios:
    • Griefer attempts to kill the whole team by burning them.
      Usual end result: Griefer takes 210% damage (70% per victim x 3 victims) plus possible additional self-damage and everyone else takes relatively minor damage.
    • Player starts fire (which does not burn anyone within 0.75 seconds) and griefer runs into it.
      Usual end result: Griefer takes normal damage and player that started the fire takes no damage.

    Suggestion:

    To minimize griefer impact, use the ReverseBurn and ExplosionAnnouncer plugin along with...

    ReverseBurn and ThrowableAnnouncer (l4d_ReverseBurn_and_ThrowableAnnouncer)
    • Smart reverse of burn damage from throwables, like molotovs.
    • Option to reverse blast damage, like pipe bombs.
    Reverse Friendly-Fire (l4d_reverse_ff)
    • Reverse friendly-fire weapon damage. Attacker takes damage, victim does not.
    When these three plugins are combined, griefers will usually get frustrated and leave since they cannot damage anyone other than themselves.
    Although griefers will take significant damage, other players may not notice any difference in game play (except laughing at stupid griefer fails).


    Credits:

    This plugin began life as Explosion Announcer by Marttt. The original plugin kept track of explodable entities, when they were exploded, and announced who did it. I hooked on to that announcement to track whether that explodable (gascan, fireworks, etc.) instantly burned any other players, and if so, to ensure the attacker took the vast majority of the damage. If no other players are instantly burned, then burn damage is treated normally.


    Want to contribute code enhancements?
    Create a pull request using this GitHub repository:
    https://github.com/Mystik-Spiral/l4d...osionAnnouncer

    Plugin discussion: https://forums.alliedmods.net/showthread.php?t=331164


    Most recent update:
    Code:
    08-Jun-2021 v1.2.1
    - Reduce burn damage to victims by 75%.

    Update history for older versions:
    Spoiler


    The phrases file was updated in version 1.2, is REQUIRED, and must be copied to the "addons\sourcemod\translations" directory.
    .
    Attached Files
    File Type: txt l4d_ReverseBurn_and_ExplosionAnnouncer.phrases.txt (7.9 KB, 32 views)
    File Type: sp Get Plugin or Get Source (l4d_ReverseBurn_and_ExplosionAnnouncer.sp - 10 views - 51.4 KB)
    __________________

    Last edited by Mystik Spiral; 06-10-2021 at 21:54.
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-08-2021 , 19:05   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.0 (08-Mar-2021)]
    Reply With Quote #2

    If you want to see how this plugin works, connect to the server linked in my signature. Feel free to burn bots all you want (they will not take damage anyway), but please do not burn human players.
    __________________

    Last edited by Mystik Spiral; 03-08-2021 at 22:33.
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 03-16-2021 , 23:50   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #3

    New version 1.1 released, see original post for download.

    16-Mar-2021 v1.1
    - When burn damage is reversed, victims now take half the damage of previous version.
    __________________
    Mystik Spiral is offline
    KasperH
    Senior Member
    Join Date: Apr 2016
    Location: Hungary
    Old 03-19-2021 , 10:53   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.1 (16-Mar-2021)]
    Reply With Quote #4

    Added Hungarian.
    Attached Files
    File Type: txt l4d_ReverseBurn_and_ExplosionAnnouncer.phrases.txt (7.6 KB, 12 views)
    __________________

    "I've Got You In My Sights!"
    KasperH is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 04-25-2021 , 14:35   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2 (25-Apr-2021)]
    Reply With Quote #5

    New version 1.2 released, see original post for download.

    25-Apr-2021 v1.2
    - Option to reverse burn damage if attacker is an admin. [RBaEA_admin, default: 0/false]
    - Option to reverse blast (explosion) damage (propane/oxygen tank, fuel barrel, gas pump). [RBaEA_blast, default: 1/true]
    - Option to ban attacker (griefer) that disconnects during reverse burn. [RBaEA_banburndisconnect, default: 1/true]
    - Option to set ban duration in minutes. [RBaEA_banduration, default: 2880 minutes (2 days)]

    If RBaEA_admin is set to 0/false, if an admin burns another player with an explodable (gascan, fireworks, etc.), the damage will not be reversed (neither the attacker or victim will take any burn damage).

    If RBaEA_blast is set to 1/true, when an attacker explodes a entity like a propane tank or oxygen tank too close to a player, the attacker will take all of the damage and the victim will take no damage.

    If RBaEA_banburndisconnect is set to 1/true, if a player causes another player to be instantly burned then leaves immediately (during the reverse burn), the griefer will be banned. The length of the ban is determined by RBaEA_banduration, specified in minutes.
    __________________
    Mystik Spiral is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 04-26-2021 , 07:43   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2 (25-Apr-2021)]
    Reply With Quote #6

    Got this error today

    L 04/25/2021 - 226:40: SourceMod error session started
    L 04/25/2021 - 226:40: Info (map "l4d2_city17_02") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20210425.log")
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    L 04/25/2021 - 226:40: [SM] Call stack trace:
    L 04/25/2021 - 226:40: [SM] [0] VFormat
    L 04/25/2021 - 226:40: [SM] [1] Line 999, /home/forums/content/files/3/0/4/6/6/5/188949.attach::CPrintToChat
    L 04/25/2021 - 226:40: [SM] [2] Line 1144, /home/forums/content/files/3/0/4/6/6/5/188949.attach::OnTakeDamage_Player
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    L 04/25/2021 - 226:40: [SM] Call stack trace:
    L 04/25/2021 - 226:40: [SM] [0] VFormat
    L 04/25/2021 - 226:40: [SM] [1] Line 999, /home/forums/content/files/3/0/4/6/6/5/188949.attach::CPrintToChat
    L 04/25/2021 - 226:40: [SM] [2] Line 1144, /home/forums/content/files/3/0/4/6/6/5/188949.attach::OnTakeDamage_Player
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    Krufftys Killers is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 04-26-2021 , 09:51   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2 (25-Apr-2021)]
    Reply With Quote #7

    Quote:
    Originally Posted by Krufftys Killers View Post
    Got this error today

    L 04/25/2021 - 226:40: SourceMod error session started
    L 04/25/2021 - 226:40: Info (map "l4d2_city17_02") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20210425.log")
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    L 04/25/2021 - 226:40: [SM] Call stack trace:
    L 04/25/2021 - 226:40: [SM] [0] VFormat
    L 04/25/2021 - 226:40: [SM] [1] Line 999, /home/forums/content/files/3/0/4/6/6/5/188949.attach::CPrintToChat
    L 04/25/2021 - 226:40: [SM] [2] Line 1144, /home/forums/content/files/3/0/4/6/6/5/188949.attach::OnTakeDamage_Player
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    L 04/25/2021 - 226:40: [SM] Call stack trace:
    L 04/25/2021 - 226:40: [SM] [0] VFormat
    L 04/25/2021 - 226:40: [SM] [1] Line 999, /home/forums/content/files/3/0/4/6/6/5/188949.attach::CPrintToChat
    L 04/25/2021 - 226:40: [SM] [2] Line 1144, /home/forums/content/files/3/0/4/6/6/5/188949.attach::OnTakeDamage_Player
    L 04/25/2021 - 226:40: [SM] Exception reported: Language phrase "ReverseBlast" not found (arg 5)
    L 04/25/2021 - 226:40: [SM] Blaming: l4d_ReverseBurn_and_ExplosionAnnouncer.smx
    The "ReverseBlast" message is new for this release. Please make sure you also downloaded the new phrases file and copied it to the translations folder.
    __________________
    Mystik Spiral is offline
    Mystik Spiral
    Senior Member
    Join Date: Oct 2020
    Location: Orlando, FL
    Old 06-08-2021 , 21:52   Re: [L4D & L4D2] ReverseBurn and ExplosionAnnouncer [v1.2.1 (08-Jun-2021)]
    Reply With Quote #8

    New version 1.2.1 released, see original post for download.

    08-Jun-2021 v1.2.1
    - Reduce burn damage to victims by 75%.
    __________________
    Mystik Spiral 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 03:55.


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