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

[L4D1 AND L4D2] Healing Field (06/20/2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ernecio
Junior Member
Join Date: Sep 2019
Plugin ID:
7116
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When the Tank dies a field is generated in which the survivors receive health.
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 05-18-2020 , 01:08   [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #1

    [L4D1 AND L4D2] Healing Field

    Sorry, This Plugin has been discontinued

    Using the Prototype Grenades Plugin by Silvers, I wondered if the functionality of the medical grenade could be replicated, but in this case in a random model that is generated when the Tank dies. So I made that idea.

    Description
    This plugin creates a probability that by creating a random rotating entity when the tank dies in its exact position, or can also be created with the command of an admin, this entity will radiate healing waves in its vicinity (The Glow colors are only available in Left 4 Dead 2, for left 4 Dead 1 it will always be white).

    Default color settings (The glow color will be green)


    Settings in random colors


    Command
    !healing Create an entity which radiates healing for anyone in the vicinity.
    Admin level required ADMFLAG_BAN

    ConVars
    PHP Code:
    // Chance that when the Tank dies a healing field is generated. 0 = Plugin OFF
    // -
    // Default: "50"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_healing_field_chance "50"

    // Sets the colors of the healing field.
    // 1 = Random colors.
    // 2 = Default color.
    // Custom color, example: "0 255 255 255"
    // -
    // Default: "1"
    l4d_healing_field_colors "1"

    // Enables/Disables the glowing on entities. 1 = Glow ON. 0 = Glow OFF.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_healing_field_glow "1"

    // Sets the amount of health survivors receive per second.
    // -
    // Default: "6"
    // Minimum: "1.000000"
    // Maximum: "10.000000"
    l4d_healing_field_health "6"

    // Sets the duration time of the healing field (Seconds).
    // -
    // Default: "30.0"
    // Minimum: "5.000000"
    // Maximum: "60.000000"
    l4d_healing_field_life "30.0"

    // Sets the max range of the healing field.
    // -
    // Default: "200.0"
    // Minimum: "50.000000"
    // Maximum: "500.000000"
    l4d_healing_field_range "200.0" 
    Changelog

    HTML Code:
    Version 1.4 [05-18-2020]
    - Public version.
    
    Version 1.5 [06-12-2020]
    - New ConVars.
    - Now you can select between random, default and custom colors.
    - New ConVar to set how much health survivors will receive per second.
    
    Version 1.6 [06-20-2020]
    - Health restoration is now complete even if you have the black and white screen.
    - More added random models.
    Credits
    Silvers, for his code in Prototype Grenades.

    Install

    1 - Click "Get Plugin" and put the "l4d_healing_field.smx" file into your server or game \addons\sourcemod\plugins\ folder.
    2 - If you have an older version delete the file "l4d_healing_field.cfg" into your server or game left4dead\cfg\sourcemod folder (The file will be recreated with the new ConVars).

    In case you want to use a custom color

    Enter three values between 0 and 255 with a space between each number, and the fourth number must be 255 (Alpha), examples:
    l4d_healing_field_colors "0 255 255 255"
    l4d_healing_field_colors "0 255 0 255"
    l4d_healing_field_colors "128 255 0 255"

    (Web compiler configured for SM 1.10)
    __________________

    Last edited by Ernecio; 01-17-2023 at 16:09. Reason: Upgraded, And Description
    Ernecio is offline
    user2000
    Member
    Join Date: Nov 2015
    Location: Peru - Lima
    Old 05-18-2020 , 09:03   Re: [L4D1 AND L4D2] Healing Field
    Reply With Quote #2

    It works well . Thank you
    user2000 is offline
    Under Dog
    Junior Member
    Join Date: May 2017
    Old 05-23-2020 , 14:11   Re: [L4D1 AND L4D2] Healing Field
    Reply With Quote #3

    It's not working. Here is the error I get.

    L 05/23/2020 - 11:03:20: [SM] Failed to load plugin "l4d_healing_field.smx": Unable to load plugin (no debug string table).
    Under Dog is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-23-2020 , 15:57   Re: [L4D1 AND L4D2] Healing Field
    Reply With Quote #4

    Quote:
    Originally Posted by Under Dog View Post
    It's not working. Here is the error I get.

    L 05/23/2020 - 11:03:20: [SM] Failed to load plugin "l4d_healing_field.smx": Unable to load plugin (no debug string table).
    Means it was compiled with 1.10. Either compile yourself for your SM version or better just upgrade SM.

    Suggest author changes posts compiler to use 1.9 or something to support more servers when clicking "Get plugin" link.

    __________________
    Silvers is offline
    Under Dog
    Junior Member
    Join Date: May 2017
    Old 06-15-2020 , 00:22   Re: [L4D1 AND L4D2] Healing Field (06/12/2020)
    Reply With Quote #5

    It heals you and your team. no problem there. The issue is, If your black and white and you get health from the field, You stay black and white with the heartbeat sound. If your health is low enough and your character is saying things like, I'm going to die and Ya'll best be finding me a health kit and you get healed from the field, Your character keeps saying those phrases. it adds health but doesn't reset your characters condition.
    Under Dog is offline
    Winn
    Junior Member
    Join Date: Feb 2016
    Old 08-31-2020 , 16:14   Re: [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #6

    Great plugin!
    Winn is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 12-28-2020 , 03:22   Re: [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #7

    this is very cool
    ZBzibing is offline
    AsphyxiaJLSA
    Member
    Join Date: Oct 2021
    Location: Lima,Perú
    Old 10-27-2021 , 10:59   Re: [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #8

    Hello I hope you do not mind, but I took your work and edited it to remove the ad that appears when removing a tank, in my case it is a bit annoying, I hope you do not mind
    Attached Images
    File Type: jpeg SCREEN.jpeg (5.9 KB, 319 views)
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_healing_field.sp - 394 views - 23.6 KB)
    __________________
    →MY STEAM PROFILE←

    DISCORD: Asphyxia#9797

    Sorry for my bad English

    Last edited by AsphyxiaJLSA; 10-27-2021 at 11:02.
    AsphyxiaJLSA is offline
    azureblue
    Member
    Join Date: Oct 2021
    Location: Two Steps from Hell
    Old 12-17-2021 , 02:29   Re: [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #9

    Hello, Nice plugin!

    But may I ask you something?
    I want to know how to increase limit healing points per second?

    Quote:
    // Sets the amount of health survivors receive per second.
    // -
    // Default: "6"
    // Minimum: "1.000000"
    // Maximum: "10.000000" <------ I want to increase this limit up to 100
    l4d_healing_field_health "6"
    Sorry for my noob question. Already checking the source but i couldn't find a clue. I have no idea how to do it.
    Thank you !
    azureblue is offline
    Thefollors
    Member
    Join Date: Nov 2021
    Old 03-16-2022 , 01:00   Re: [L4D1 AND L4D2] Healing Field (06/20/2020)
    Reply With Quote #10

    Hello, I like your plugin, but how can I change the model? I just want the medkit to appear when the tank dies.
    Thefollors 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 17:49.


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