-
Member
Is there any way we can change it to display a filled circle on the ground instead of just a border? I have another plugin that does that same thing, but it does not show the progression globes on the floor.
-
Legendary
Originally Posted by
gumegasonic
Is there any way we can change it to display a filled circle on the ground instead of just a border? I have another plugin that does that same thing, but it does not show the progression globes on the floor.
Update
Added CirclesStrokeWidth ( 0f for a filled circle, default value 3f)
-
Post Thanks / Like - 1 Thanks
BeeAntOS (1 members gave Thanks to RNN for this useful post)
-
Member
-
Legendary
Update
The globes will be drawn in this order: health, power, rift . This makes it easier to distinguish RiftOrb
Last edited by RNN; 05-30-2020 at 06:55 PM.
-
Post Thanks / Like - 1 Thanks
BeeAntOS (1 members gave Thanks to RNN for this useful post)
-
Banned
hi i download the plugin but i dont have idea when to put it i am total noob at this but i really want this one can someone help in nob language what i need to do ?
-
Member
Originally Posted by
Fabiano83
hi i download the plugin but i dont have idea when to put it i am total noob at this
but i really want this one can someone help in nob language what i need to do ?
Go to Plugins,and make a new map caled "RNN",put this plugin in that map.
-
Member
When trying to download this from pastebin : Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it.
-
Member
Can't download it either :S
-
Member
...\plugins\HandH
HealthGlobePlugin.cs
Code:
using System.Linq;
using Turbo.Plugins.Default;
using System.Collections.Generic;
namespace Turbo.Plugins.HandH
{
public class HealthGlobePlugin : BasePlugin, IInGameWorldPainter
{
public WorldDecoratorCollection HealthGlobeDecorator { get; set; }
public HealthGlobePlugin()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
HealthGlobeDecorator = new WorldDecoratorCollection(
new MapShapeDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(255, 255, 0, 0, 0),
ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
Radius = 4.0f,
ShapePainter = new CircleShapePainter(Hud),
},
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(255, 255, 0, 0, 3f),
Radius = 1f,
}
);
}
public void PaintWorld(WorldLayer layer)
{
var actors = Hud.Game.Actors.Where(x => x.SnoActor.Kind == ActorKind.HealthGlobe);
foreach (var actor in actors)
{
HealthGlobeDecorator.ToggleDecorators<GroundLabelDecorator>(!actor.IsOnScreen); // do not display ground labels when the actor is on the screen
HealthGlobeDecorator.Paint(layer, actor, actor.FloorCoordinate, "health globe");
}
}
}
}
Last edited by Glex; 08-15-2021 at 03:04 PM.
-
Member