AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY / ZR?] Breakable / Boss HUD (https://forums.alliedmods.net/showthread.php?t=302675)

AntiTeal 11-07-2017 02:09

[ANY / ZR?] Breakable / Boss HUD
 
1 Attachment(s)
[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


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.

Zeddy_god 11-09-2017 01:02

Re: [ANY / ZR?] Breakable / Boss HUD
 
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.

rustaveli 11-11-2017 03:38

Re: [ANY / ZR?] Breakable / Boss HUD
 
Quote:

Originally Posted by Zeddy_god (Post 2559336)
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!

bebe9b 12-18-2017 23:54

Re: [ANY / ZR?] Breakable / Boss HUD
 
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,

AntiTeal 12-27-2017 17:59

Re: [ANY / ZR?] Breakable / Boss HUD
 
Quote:

Originally Posted by bebe9b (Post 2566965)
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 12-30-2017 14:02

Re: [ANY / ZR?] Breakable / Boss HUD
 
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.

SpicyGamers 12-30-2017 18:32

Re: [ANY / ZR?] Breakable / Boss HUD
 
Suggestion:

Can u make every player join the server, have the "sm_bhud" enabled?

bebe9b 12-31-2017 12:51

Re: [ANY / ZR?] Breakable / Boss HUD
 
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,

gold_zloy 03-19-2018 10:39

Re: [ANY / ZR?] Breakable / Boss HUD
 
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?

ateszhun95 05-11-2019 06:05

Re: [ANY / ZR?] Breakable / Boss HUD
 
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?


All times are GMT -4. The time now is 21:09.

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