-
Member
Sentry Guardian
HI guys
how can I show Guardian Sentry with a area circle like InnerSanctuary?
I really need this.
thx so much
-
Member
I'm also looking for that plugin
-
Contributor
Code:
using System;
using System.Linq;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.DAV
{
public class DAV_DHSentryPlugin : BasePlugin, IInGameWorldPainter {
public WorldDecoratorCollection SentryDecorator { get; set; }
public DAV_DHSentryPlugin() {
Enabled = true;
}
public override void Load(IController hud) {
base.Load(hud);
SentryDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(255, 170, 170, 210, 2),
Radius = 16,
}
);
}
public void PaintWorld(WorldLayer layer) {
foreach (var actor in Hud.Game.Actors) {
switch (actor.SnoActor.Sno) {
// case (ActorSnoEnum)141402:
// case (ActorSnoEnum)150025:
// case (ActorSnoEnum)150024:
// case (ActorSnoEnum)168815:
case ActorSnoEnum._dh_sentry_addsheals:
case ActorSnoEnum._dh_sentry_addsshield:
SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
break;
}
}
}
}
}
-
Post Thanks / Like - 1 Thanks
HoaryWitch (1 members gave Thanks to s4000 for this useful post)
-
Member
I am fixed by glq_PlayerSkillPlugin thx so much
-
Post Thanks / Like - 1 Thanks
ljj16 (1 members gave Thanks to CatOrz for this useful post)
-
Member
Originally Posted by
s4000
Code:
using System;
using System.Linq;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.DAV
{
public class DAV_DHSentryPlugin : BasePlugin, IInGameWorldPainter {
public WorldDecoratorCollection SentryDecorator { get; set; }
public DAV_DHSentryPlugin() {
Enabled = true;
}
public override void Load(IController hud) {
base.Load(hud);
SentryDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(255, 170, 170, 210, 2),
Radius = 16,
}
);
}
public void PaintWorld(WorldLayer layer) {
foreach (var actor in Hud.Game.Actors) {
switch (actor.SnoActor.Sno) {
// case (ActorSnoEnum)141402:
// case (ActorSnoEnum)150025:
// case (ActorSnoEnum)150024:
// case (ActorSnoEnum)168815:
case ActorSnoEnum._dh_sentry_addsheals:
case ActorSnoEnum._dh_sentry_addsshield:
SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
break;
}
}
}
}
}
So I have a plugin somewhere that shows the remaining time of sentries, but I would like to add a circle around them similar to the monks inner sanctuary plugin. If anyone knows how to do this, it would be greatly appreciated.
Last edited by Thekid5678; 12-03-2020 at 08:58 PM.
-
Member
Originally Posted by
s4000
Code:
using System;
using System.Linq;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.DAV
{
public class DAV_DHSentryPlugin : BasePlugin, IInGameWorldPainter {
public WorldDecoratorCollection SentryDecorator { get; set; }
public DAV_DHSentryPlugin() {
Enabled = true;
}
public override void Load(IController hud) {
base.Load(hud);
SentryDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(255, 170, 170, 210, 2),
Radius = 16,
}
);
}
public void PaintWorld(WorldLayer layer) {
foreach (var actor in Hud.Game.Actors) {
switch (actor.SnoActor.Sno) {
// case (ActorSnoEnum)141402:
// case (ActorSnoEnum)150025:
// case (ActorSnoEnum)150024:
// case (ActorSnoEnum)168815:
case ActorSnoEnum._dh_sentry_addsheals:
case ActorSnoEnum._dh_sentry_addsshield:
SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
break;
}
}
}
}
}
hi. Is there any plugin that shows difrent circle from zdh and maruder dps ?