Code:
TreasureFiendGoblinDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(180, 255, 163, 15, -2),
Radius = 1.5f,
},
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(255, 210, 180, 140, -2),
Radius = 40.0f,
RadiusTransformator = new StandardPingRadiusTransformator(Hud, 700)
},
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(255, 180, 180, 180, 2),
Radius = 2.5f,
RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333)
},
new MapShapeDecorator(Hud) {
ShapePainter = new CircleShapePainter(Hud),
Brush = Hud.Render.CreateBrush(255, 210, 180, 140, 2),
Radius = 20,
RadiusTransformator = new StandardPingRadiusTransformator(Hud, 600)
},
new MapShapeDecorator(Hud) {
ShapePainter = new CircleShapePainter(Hud),
Brush = Hud.Render.CreateBrush(255, 180, 180, 180, 2),
Radius = 4.5f
},
new GroundLabelDecorator(Hud)
{
BackgroundBrush = Hud.Render.CreateBrush(180, 255, 163, 15, 0),
BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false)
},
new MapShapeDecorator(Hud)
{
ShapePainter = new CircleShapePainter(Hud),
Brush = Hud.Render.CreateBrush(180, 255, 198, 107, 3),
ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
Radius = 8f,
},
new MapShapeDecorator(Hud)
{
ShapePainter = new CircleShapePainter(Hud),
Brush = Hud.Render.CreateBrush(180, 255, 163, 15, 3),
ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
Radius = 4.5f,
}
);
Not sure where to put any changes in. Also was not sure where to put the code into the itemplugin.cs either. That's why I asked for some examples. Thanks for the reply though