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

[ANY / ZR?] Breakable / Boss HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AntiTeal
Junior Member
Join Date: Sep 2015
Plugin ID:
5902
Plugin Version:
2.4
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Displays the health / value of any func_breakable or math_counter that you activate.
    Old 11-07-2017 , 02:09   [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #1

    [ANY / ZR?] Breakable / Boss HUD

    Description
    Displays the health / value of any func_breakable or math_counter that you activate. Plugin is meant for the ZE gamemode, as it displays the current HP of any boss or breakable that you are shooting, but it can be used in other gamemodes as well.

    Server ConVars
    • sm_bhud_version - Breakable / Boss HUD Version (2.0)
    • sm_bhud_position - The X and Y position for the hud. (Default: "-1.0 0.09")
    • sm_bhud_color - RGB color value for the hud. (Default: "255 0 0")
    • sm_bhud_symbols - Determines whether >> and << are wrapped around the text (Default: "1")
    • sm_bhud_updatetime - Determines how long in seconds to keep updating the HP on the hud for (Default: "3")
    • sm_bhud_displaytype - Display type of HUD. (0 = game_text, 1 = center text) (Default: "0")
    • sm_bhud_adminonly - Determines whether BHUD is public or admin only. (0 = public, 1 = admins) (Default: "0")
    If updating to a new version, delete your config to get new cvars.

    Commands
    • sm_bhud - Toggles the Boss / Breakable HUD.
    • sm_currenthp (ADMFLAG_GENERIC) - Shows the current hud entity's full targetname, index, and health.
    • sm_subtracthp <health> (ADMFLAG_GENERIC) - Subtracts health / value from the current entity.
    • sm_addhp <health> (ADMFLAG_GENERIC) - Adds health / value from the current entity.

    Bugs
    • None so far.

    Screenshots
    Spoiler


    Changelog
    • 2.0 - Plugin Release
    • 2.3 - Fixed formatting bug, added two new cvars: sm_bhud_displaytype & sm_bhud_adminonly. In addition, fixed hp values where shooting increases the math_counter value (like ze_shroomforest), and also added support for maps using func_physbox_multiplayer (like ze_santassination).
    • 2.4 - Fixed a bug in 2.3 that made some hp counters count the wrong way.

    If you find any bugs, feel free to give feedback so I can fix the plugin.
    Attached Files
    File Type: sp Get Plugin or Get Source (bhud2.sp - 2664 views - 13.5 KB)

    Last edited by AntiTeal; 12-30-2017 at 14:03. Reason: Update to 2.4
    AntiTeal is offline
    Zeddy_god
    Senior Member
    Join Date: May 2015
    Location: Mumbai, India
    Old 11-09-2017 , 01:02   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #2

    Hey antiteal, another great release!

    Is it possible to make !bhud automatically on for all players? They can toggle it off with !bhud.

    Since most players on my ZE are newbies, they don't know they have to toggle !bhud on. Would be great if you could set it as on by default.
    __________________
    Zeddy_god is offline
    rustaveli
    Member
    Join Date: Mar 2011
    Old 11-11-2017 , 03:38   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #3

    Quote:
    Originally Posted by Zeddy_god View Post
    Hey antiteal, another great release!

    Is it possible to make !bhud automatically on for all players? They can toggle it off with !bhud.

    Since most players on my ZE are newbies, they don't know they have to toggle !bhud on. Would be great if you could set it as on by default.
    I totally agree with you!
    rustaveli is offline
    bebe9b
    Veteran Member
    Join Date: May 2009
    Location: Romania
    Old 12-18-2017 , 23:54   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #4

    Hi,
    Pls fix eror plugin:
    L 12/24/2017 - 23:24:25: [SM] Exception reported: String formatted incorrectly - parameter 4 (total 3)
    L 12/24/2017 - 23:24:25: [SM] Blaming: bhud2.smx
    L 12/24/2017 - 23:24:25: [SM] Call stack trace:
    L 12/24/2017 - 23:24:25: [SM] [0] ShowSyncHudText
    L 12/24/2017 - 23:24:25: [SM] [1] Line 146, /home/forums/content/files/2/6/3/6/5/6/166440.attach::SendHudMsg
    L 12/24/2017 - 23:24:25: [SM] [2] Line 198, /home/forums/content/files/2/6/3/6/5/6/166440.attach::OnDamageCounter

    Thx,
    __________________
    respecta si vei fi respectat

    Last edited by bebe9b; 12-25-2017 at 06:19.
    bebe9b is offline
    AntiTeal
    Junior Member
    Join Date: Sep 2015
    Old 12-27-2017 , 17:59   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #5

    Quote:
    Originally Posted by bebe9b View Post
    Hi,
    Pls fix eror plugin:
    L 12/24/2017 - 23:24:25: [SM] Exception reported: String formatted incorrectly - parameter 4 (total 3)
    L 12/24/2017 - 23:24:25: [SM] Blaming: bhud2.smx
    L 12/24/2017 - 23:24:25: [SM] Call stack trace:
    L 12/24/2017 - 23:24:25: [SM] [0] ShowSyncHudText
    L 12/24/2017 - 23:24:25: [SM] [1] Line 146, /home/forums/content/files/2/6/3/6/5/6/166440.attach::SendHudMsg
    L 12/24/2017 - 23:24:25: [SM] [2] Line 198, /home/forums/content/files/2/6/3/6/5/6/166440.attach::OnDamageCounter

    Thx,
    Thanks for reporting the bug, it SHOULD be fixed in version 2.3.

    In addition, added support for func_physbox_multiplayer bosses like on ze_santassination, and added support for maps where shooting bosses increases a counter value like ze_shroomforest or ze_lotr_isengard. Also added some new cvars.

    Please test and report any bugs you find!

    Thanks.
    AntiTeal is offline
    AntiTeal
    Junior Member
    Join Date: Sep 2015
    Old 12-30-2017 , 14:02   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #6

    Version 2.4 fixes a bug that made some counters count the wrong way. Now all maps "should" work correctly, including the counters on maps like ze_shroomforest.
    Also added command sm_addhp <health> (ADMFLAG_GENERIC), for adding health to counters and breakables.

    Please test and msg me if you find any new bugs or find maps where this plugin does not work.
    AntiTeal is offline
    SpicyGamers
    Member
    Join Date: Feb 2017
    Location: Bragança
    Old 12-30-2017 , 18:32   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #7

    Suggestion:

    Can u make every player join the server, have the "sm_bhud" enabled?
    __________________
    Check My Community www.SpicyGamers.com
    SpicyGamers is offline
    bebe9b
    Veteran Member
    Join Date: May 2009
    Location: Romania
    Old 12-31-2017 , 12:51   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #8

    Hey,
    I made a video to see what's going on , meassage health appears and disappears.
    Plugin test on the map ze_shroomforest_p6.
    Link video : http://www.2unlimited.ro/health.html >> please increase screen size.

    Thx,
    __________________
    respecta si vei fi respectat
    bebe9b is offline
    gold_zloy
    New Member
    Join Date: Mar 2018
    Old 03-19-2018 , 10:39   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #9

    I have this plug-in, the server has a delay at the end and at the beginning of the round, as if crashing the server for a few seconds, how can I solve this problem?
    gold_zloy is offline
    ateszhun95
    Senior Member
    Join Date: Apr 2014
    Location: Hungary
    Old 05-11-2019 , 06:05   Re: [ANY / ZR?] Breakable / Boss HUD
    Reply With Quote #10

    The plugin dont works right for me. If we have a boss on ze maps, its not display the boss' hp right:
    Video: https://youtu.be/psz2Lard8LE

    I saw on ze servers the boss hp works like:

    Kraken: 5000/10000 HP > 3645/10000 HP

    Can somebody help me?
    __________________
    ateszhun95 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 00:44.


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