-
Legendary
[V9.1] [INTERNATIONAL] [RNN] ParagonPoints
Supported TurboHUD version: 9.x
Show the available (unassigned) paragon points of your character and that of the other players if they are close
Download: ParagonPoints.cs
Installation: Place ParagonPoints.cs in "plugins\RNN\ParagonPoints.cs"
Custom Code (Plugins\User\PluginEnablerOrDisablerPlugin.cs):
Code:
Hud.GetPlugin<RNN.ParagonPoints>().Enabled = true;
Hud.RunOnPlugin<RNN.ParagonPoints>(plugin =>
{
plugin.Offx = 0.33f;
plugin.Offy = 0.90f;
plugin.ShowAvailableOnly = true;
plugin.ShowInTownOnly = true;
} );
-
Post Thanks / Like - 2 Thanks
BeeAntOS,
menl (2 members gave Thanks to RNN for this useful post)
-
Active Member
you are spanish?, i see your images in spanish
-
Legendary
-
Member
Hello, please tell me how to make the location of Nemesis Bracers as you have in the screenshot
-
Legendary
I use this code:
Code:
foreach (var player in Hud.Game.Players)
{
if (player.Powers.BuffIsActive(Hud.Sno.SnoPowers.NemesisBracers.Sno)) // 318820
{
var pt = player.PortraitUiElement.Rectangle;
Hud.Texture.GetItemTexture(Hud.Sno.SnoItems.Unique_Bracer_106_x1).Draw(pt.Right - pt.Width * 0.23f , pt.Top + pt.Height * 0.81f, 19f, 26f, 1f);
}
}
-
Post Thanks / Like - 1 Thanks
madbmax (1 members gave Thanks to RNN for this useful post)
-
Member
hello~
I am interested in YOUR NEMESISBRACERS icon on Portrait.
you already told your code. but I don't know how to apply your code to PLUGIN.
Could you script a Full-plugin source file ? I am poor in plugin.
I hope you reply soon~ have a nice day
-
Legendary
save as plugins\User\NemesisPortrait.cs
Code:
using Turbo.Plugins.Default;
namespace Turbo.Plugins.User
{
public class NemesisPortrait : BasePlugin, IInGameTopPainter
{
public NemesisPortrait()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
}
public void PaintTopInGame(ClipState clipState)
{
if (clipState != ClipState.BeforeClip) return;
if (!Hud.Game.IsInGame) return;
foreach (var player in Hud.Game.Players)
{
if (player.Powers.BuffIsActive(Hud.Sno.SnoPowers.NemesisBracers.Sno)) // 318820
{
var pt = player.PortraitUiElement.Rectangle;
Hud.Texture.GetItemTexture(Hud.Sno.SnoItems.Unique_Bracer_106_x1).Draw(pt.Right - pt.Width * 0.23f , pt.Top + pt.Height * 0.81f, 19f, 26f, 1f);
}
}
}
}
}
-
Member
thank you so much RNN.
I am your BIG FAN
-
Legendary
thx
the bot 69del... has camped here, I reported and nothing
-
Member
I LOVE this plugin .. thanks
Last edited by LazyDruid; 11-26-2020 at 08:20 PM.