-
Legendary
[V9.0] [INTERNATIONAL] [RNN] MOD MonsterCirclePlugin
Supported TurboHUD version: 9.0
It is a mod of the well-known plugin MonsterCirclePlugin of coreyblack (CB).The original can be found here:
https://www.ownedcore.com/forums/dia...cleplugin.html ([INTERNATIONAL] [CB] MonsterCirclePlugin)
Changes: Draw different circles to indicate that the elites have certain abilities. Disable EliteMonsterAffixPlugin automatically if DisableEMAffix = true (default setting)
Circles for Waller, Mortar and Teleport are disabled by default
Download: MonsterCirclePlugin_Mod.cs [C#] MonsterCirclePlugin_Mod - Pastebin.com
Installation: Place MonsterCirclePlugin_Mod.cs in "plugins\CB\MonsterCirclePlugin_Mod.cs" (I have kept the original folder CB)
Custom code (Plugins\User\PluginEnablerOrDisablerPlugin.cs , it's not mandatory) :
Code:
Hud.GetPlugin<CB.MonsterCirclePlugin_Mod >().Enabled = true;
Hud.RunOnPlugin<CB.MonsterCirclePlugin_Mod >(plugin => {
plugin.ShowHitBox = true; // Show HitBox of Elites/Rares
plugin.ShowWaller = false; // Show circle for Waller
plugin.ShowMortar = false; // Show circle for Mortar
plugin.ShowTeleport = false; // Show circle for Teleport
plugin.DisableEMAffix = true; // Disable default plugin EliteMonsterAffixPlugin
} );
-
Post Thanks / Like - 8 Thanks
-
Legendary
If someone is interested in the life bars, he also left my mod for HealthBarOnElitePlugin of bm206 (BM), the link that I put in his official post ( https://www.ownedcore.com/forums/dia...iteplugin.html ([ENGLISH] [BM] HealthBarOnElitePlugin) ) , but in this way it will be more accessible.
[C#] HealthBarOnElitePlugin_Mod (Place it in the folder plugins\BM )
Code:
Hud.RunOnPlugin<BM.HealthBarOnElitePlugin_Mod>(plugin =>
{
plugin.SizeFont = 9.0f; // Health font size
} );
In my version, when an elite is invulnerable (it cannot take damage, it is useless to attack it), the rectangle will be black as seen in the image above
Last edited by RNN; 04-17-2020 at 05:10 PM.
Reason: recoded
-
Post Thanks / Like - 4 Thanks
-
Legendary
Update
HealthBarOnElitePlugin_Mod Recoded , and now it also shows the boss health
Last edited by RNN; 04-28-2020 at 10:27 AM.
Reason: updated
-
Post Thanks / Like - 1 Thanks
BeeAntOS (1 members gave Thanks to RNN for this useful post)
-
Member
Hi RNN,
Help me, i want to not show circle minon of rare and elite blue.
The health bar in the center of the circle doesn't appear and it only shows % health
-
Legendary
Originally Posted by
NyZ
i want to not show circle minon of rare and elite blue.
It is not configurable, delete or comment (write // in front) the lines 322-325
Code:
else if (monster.Rarity == ActorRarity.RareMinion) {
if (monster.SummonerAcdDynamicId != 0) EliteIluAcdDecorator.Paint(layer, monster, monster.FloorCoordinate, string.Empty);
else RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
and the line 369
Code:
else EliteIluAcdDecorator.Paint(layer, monster, monster.FloorCoordinate, string.Empty);
Originally Posted by
NyZ
The health bar in the center of the circle doesn't appear and it only shows % health
post #2 (HealthBarOnElitePlugin_Mod)
-
Member
Hi RNN,
Can you put this code anywhere on the plugin file?
-
Member
Does this plugin show different colors between 2 pack elites?
-
Legendary
No. To refer to a specific elite you can use the name or the % of health
Maybe it can be useful to you: (only for blue packs)
https://www.ownedcore.com/forums/dia...bluelines.html ([V9.0] [INTERNATIONAL] [RNN] BLueLines)
-
Post Thanks / Like - 1 Thanks
NyZ (1 members gave Thanks to RNN for this useful post)
-
Member
i kept both plugin (Of CB and Mod) but thud load exceptions now
-
Legendary
You don't have to install both, choose between the CB plugin or mine
If exceptions occur download the plugins again or check logs\exceptions.txt
-
Member
Originally Posted by
RNN
If someone is interested in the life bars, he also left my mod for HealthBarOnElitePlugin of bm206 (BM), the link that I put in his official post (
https://www.ownedcore.com/forums/dia...iteplugin.html ([ENGLISH] [BM] HealthBarOnElitePlugin) ) , but in this way it will be more accessible.
[C#] HealthBarOnElitePlugin_Mod (Place it in the folder plugins\BM )
Code:
Hud.RunOnPlugin<BM.HealthBarOnElitePlugin_Mod>(plugin =>
{
plugin.SizeFont = 9.0f; // Health font size
} );
In my version, when an elite is invulnerable (it cannot take damage, it is useless to attack it), the rectangle will be black as seen in the image above
when it goes into the shield, there are squares instead of numbers, there is no rectangle, is it possible to fix it
-
Member
HealthBarOnElitePlugin_Mod
when it goes into the shield, there are squares instead of numbers, there is no rectangle, is it possible to fix it
-
-
Post Thanks / Like - 1 Thanks
TobiaSBooN (1 members gave Thanks to RNN for this useful post)
-
Active Member
Hey RNN, regarding the HealthBarOnElitePlugin_Mod How would I go about adjusting the Elite bars wider to float percent = 100; string hptext = string.Empty; WidthR = TextFont.GetTextLayout("100]").Metrics.Width * 2.5f;
but keep minions the same width, Cheers
-
Legendary
If you don't want that change to affect the minions you only have to modify 2 lines (109,110) you would change Width to Width/2.5f to undo the change, and it would be (Width/2.5f)/2.0f => Width/5.0f
It would look like this:
GrayBrush.DrawEllipse(monster.FloorCoordinate.ToScreenCoordinate().X, monster.FloorCoordinate.ToScreenCoordinate().Y + YOffset, WidthR/5.0f , HeightR/2.0f );
GrayBorder.DrawEllipse(monster.FloorCoordinate.ToScreenCoordinate().X, monster.FloorCoordinate.ToScreenCoordinate().Y + YOffset, WidthR/5.0f + 1 , HeightR/2.0f + 1);
Last edited by RNN; 1 Week Ago at 10:22 AM.