-
Member
InnerHolySanctuary
hi there,
long time ago ive a groundcircle for supmonk wich was neon green, i searched but found nothing. i only know the Hex code for the color but not where to change it and what to change to get it back. if some1 could help ?
Hexcode is : #39ff14
Greets
-
Active Member
first of all you need need the color code in rgb
then go to default/players/player skill plugin and search for
InnerSanctuaryTempleOfProtecteionDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(100, 255, 204, 0, 4),
Radius = 11,
},
new GroundLabelDecorator(Hud)
{
CountDownFrom = 6,
TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true),
},
new GroundTimerDecorator(Hud)
{
CountDownFrom = 6,
BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0),
BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 204, 0, 0),
Radius = 35,
}
and change the numbers in this line
Brush = Hud.Render.CreateBrush(100, 255, 204, 0, 4),
-
it is not a good thing to recommend changing a default plugin...
you need to write your own "customizer" for this.
https://www.ownedcore.com/forums/dia...ion-101-a.html (Default theme customization 101)
In your Customize() method you should write this:
Hud.RunOnPlugin<PlayerSkillPlugin>(plugin =>
{
plugin.InnerSanctuaryTempleOfProtecteionDecorator
.GetDecorators<GroundCircleDecorator>()
.FirstOrDefault().Brush = Hud.Render.CreateBrush(100, 255, 204, 0, 4);
});
also you will need this using directive at the beginning of your file:
using System.Linq;
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Active Member
i posted this method couse i do it as well and it works fine
-
Originally Posted by
knight84
i posted this method couse i do it as well and it works fine
It is nice that you have helped for OP! Thank you!
But if I release a new, refactored set of default pluing you will be in trouble.
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Post Thanks / Like - 1 Thanks
evan6944 (1 members gave Thanks to KillerJohn for this useful post)
-
Member
hiya ,
thx alot was exactly what im looking for , now ive my green circle back..
Ty both , and keep up ur nice work
Greets