Exemplo n.º 1
0
        public void Customize()
        {
            Hud.RunOnPlugin <RackPlugin>(plugin =>
            {
                // enable DEFAULT
                plugin.Enabled = true;

                // rack shape
                plugin.Decorator = new WorldDecoratorCollection(

                    // map shape rectangle
                    new MapShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(200, 64, 255, 64, 1.5f),
                    ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                    Radius       = 4.0f,
                    ShapePainter = new RectangleShapePainter(Hud),
                },

                    // ground shape x
                    new GroundShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(200, 230, 230, 0, 3),
                    Radius       = 0.9f,
                    ShapePainter = WorldStarShapePainter.NewCross(Hud),
                }

                    );
            });
        }
Exemplo n.º 2
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            DeadBodyCircle = true;
            DeadBodyCount  = true;


            DeadBodyCountDecorator = new TopLabelDecorator(Hud)
            {
                TextFont                  = Hud.Render.CreateFont("tahoma", 7, 255, 175, 238, 238, true, false, false), //this configures the size of the numbers ("7") and the color in RGB ("255, 175, 238, 238")
                BackgroundTexture1        = hud.Texture.ButtonTextureBlue,
                BackgroundTexture2        = hud.Texture.BackgroundTextureGreen,
                BackgroundTextureOpacity2 = 0.6f,
            };

            DeadBodyCircleDecorator = new WorldDecoratorCollection(
                new GroundShapeDecorator(Hud)
            {
                Brush                 = Hud.Render.CreateBrush(192, 255, 0, 0, -3),
                ShadowBrush           = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                ShapePainter          = WorldStarShapePainter.NewCross(Hud),
                Radius                = 1f,
                RadiusTransformator   = new StandardPingRadiusTransformator(Hud, 400, 0.8f, 1.0f),
                RotationTransformator = new CircularRotationTransformator(Hud, 30),
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 0, 0, 2f),
                Radius = 1f
            }
                );
        }
Exemplo n.º 3
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            DeadBodyCircle         = true;
            DeadBodyCount          = true;
            DeadBodyCountDecorator = new TopLabelWithTitleDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(80, 134, 238, 240, 0),
                BorderBrush     = Hud.Render.CreateBrush(255, 0, 0, 0, -1),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 255, 0, 0, true, false, true),
            };

            DeadBodyCircleDecorator = new WorldDecoratorCollection(
                new GroundShapeDecorator(Hud)
            {
                Brush                 = Hud.Render.CreateBrush(192, 255, 0, 0, -3),
                ShadowBrush           = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                ShapePainter          = WorldStarShapePainter.NewCross(Hud),
                Radius                = 1f,
                RadiusTransformator   = new StandardPingRadiusTransformator(Hud, 400, 0.8f, 1.0f),
                RotationTransformator = new CircularRotationTransformator(Hud, 30),
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 0, 0, 2f),
                Radius = 1f
            }
                );
        }
Exemplo n.º 4
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            // mark all alive mobs with shapes below feet / mix and match

            Decorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud) //yellow circle
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 0, 1.5f),
                Radius = 0.2f,
            },
                new GroundCircleDecorator(Hud) //red dot
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 0, 0, 1f),
                Radius = 0.1f,
            },
                new GroundShapeDecorator(Hud) //green diamond
            {
                Enabled      = false,
                Brush        = Hud.Render.CreateBrush(200, 255, 255, 10, 4f),
                Radius       = 0.2f,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                new GroundShapeDecorator(Hud) //tiny green x
            {
                Enabled      = false,
                Brush        = Hud.Render.CreateBrush(200, 0, 255, 0, 1.2f),
                Radius       = 0.2f,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            }
                );
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            var gargantuanBrush = Hud.Render.CreateBrush(222, 0, 255, 0, 2);

            GargantuansDecorators = new WorldDecoratorCollection(
                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 1f,
                Brush        = gargantuanBrush,
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 1f,
                Brush  = gargantuanBrush,
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new TriangleShapePainter(hud),
                Radius       = 6f,
                Brush        = Hud.Render.CreateBrush(255, 0, 255, 0, 1),
            }
                //,
                //new MapShapeDecorator(hud)
                //{
                //    ShapePainter = new CrossShapeFilter(hud),
                //    Radius = 6f,
                //    BarBrush = Hud.Render.CreateBrush(255, 0, 255, 0, 1),
                //}
                );

            var zombieDogBrush = Hud.Render.CreateBrush(178, 0, 255, 0, 2);

            ZombiesDogsDecorators = new WorldDecoratorCollection(
                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 0.35f,
                Brush        = gargantuanBrush,
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 0.35f,
                Brush  = zombieDogBrush,
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new CrossShapePainter(hud),
                Radius       = 1f,
                Brush        = zombieDogBrush,
            }
                );
            foreach (var mapShapeDecorator in ZombiesDogsDecorators.GetDecorators <MapShapeDecorator>())
            {
                mapShapeDecorator.Enabled = false;
            }
        }
Exemplo n.º 6
0
        public void Customize()
        {
            Hud.RunOnPlugin <ChestPlugin>(plugin =>
            {
                // enable DEFAULT
                plugin.Enabled = true;

                // normal chest shape
                plugin.NormalChestDecorator = new WorldDecoratorCollection(

                    // map shape circle
                    new MapShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(220, 200, 255, 200, 1.8f),
                    ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                    Radius       = 6.0f,
                    ShapePainter = new CircleShapePainter(Hud),
                },

                    // ground shape x
                    new GroundShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(200, 230, 230, 0, 3),
                    Radius       = 0.9f,
                    ShapePainter = WorldStarShapePainter.NewCross(Hud),
                }

                    );

                // resplendent chest shape
                plugin.ResplendentChestDecorator = new WorldDecoratorCollection(

                    // map shape circle
                    new MapShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(220, 64, 255, 64, 3.5f),
                    ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                    Radius       = 6.5f,
                    ShapePainter = new CircleShapePainter(Hud),
                },

                    // ground shape x
                    new GroundShapeDecorator(Hud)
                {
                    Brush        = Hud.Render.CreateBrush(200, 230, 230, 0, 3),
                    Radius       = 0.9f,
                    ShapePainter = WorldStarShapePainter.NewCross(Hud),
                }

                    );
            });
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            Decorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(200, 230, 230, 0, 2),
                ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 2),
                Radius       = 4.5f,
                ShapePainter = new CrossShapePainter(Hud),
            },
                new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(200, 230, 230, 0, 3),
                Radius       = 0.9f,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            }
                );
        }
Exemplo n.º 8
0
 private WorldDecoratorCollection createWDC(int a = 220, int r = 255, int g = 51, int b = 153, float strokeWidth_T = 3f, float strokeWidth_C = 5f, float strokeWidth_S = 5f, float radiusM = 8f, float radiusG = 1f)
 {
     return(new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
     {
         Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_T),
         ShapePainter = new TriangleShapePainter(Hud),
         Radius = radiusM
     },
                new GroundShapeDecorator(Hud)
     {
         Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_S),
         Radius = radiusG,
         ShapePainter = WorldStarShapePainter.NewCross(Hud),
         // RotationTransformator = new CircularRotationTransformator(Hud, 10)
     },
                new GroundCircleDecorator(Hud)
     {
         Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_C),
         Radius = radiusG
     }
                ));
 }
Exemplo n.º 9
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            ClickablesDecorators = new WorldDecoratorCollection(

                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 1.0f,
                Brush        = Hud.Render.CreateBrush(150, 255, 0, 255, 2.5f),
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 1.5f,
                Brush  = Hud.Render.CreateBrush(150, 255, 0, 255, 3.5f),
            },
                new MapShapeDecorator(hud)
            {
                // ShapePainter = new TriangleShapePainter(hud),
                ShapePainter = new CrossShapePainter(hud),
                Radius       = 5f,
                Brush        = Hud.Render.CreateBrush(220, 255, 0, 255, 1.5f),
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new CircleShapePainter(hud),
                Radius       = 5f,
                Brush        = Hud.Render.CreateBrush(220, 255, 0, 255, 1),
            }
                );

            // foreach (var mapShapeDecorator in ClickablesDecorators.GetDecorators<MapShapeDecorator>())
            // {
            // mapShapeDecorator.Enabled = false;
            // }
        }
Exemplo n.º 10
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            OffsetY            = -Hud.Window.Size.Height * 0.021f;
            LegendaryDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(160, 0, 0, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 235, 120, 0, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 160, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 8,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            AncientDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 255, 140, 0, -3),
                Radius = 2.2f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 255, 140, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(160, 0, 0, 0, 2),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 0, 0, 0, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 120, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 11,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            PrimalDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 255, 140, 0, -3),
                Radius = 2.2f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 255, 140, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(242, 255, 0, 0, 3),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 0, 0, 0, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 120, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 11,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            SetDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(160, 0, 0, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 50, 220, 50, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 160, 255, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 8,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            AncientSetDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 85, 255, 85, -3),
                Radius = 2.2f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 50, 220, 50, 0),
                BorderBrush     = Hud.Render.CreateBrush(160, 0, 0, 0, 2),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 0, 0, 0, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 120, 255, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 11,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            PrimalSetDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 85, 255, 85, -3),
                Radius = 2.2f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 50, 220, 50, 0),
                BorderBrush     = Hud.Render.CreateBrush(242, 255, 0, 0, 3),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 0, 0, 0, true, false, false),
                OffsetY         = OffsetY,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 120, 255, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 11,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            UtilityDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 255, 160, 0, -3),
                Radius = 1.5f,
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new RotatingTriangleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 160, 0, 3),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 8,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            NormalKeepDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 200, 200, 200, -2),
                Radius = 1.25f,
            }
                );
            // disabled by default
            NormalKeepDecorator.Enabled = false;

            MagicKeepDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 60, 60, 255, -2),
                Radius = 1.25f,
            }
                );
            // disabled by default
            MagicKeepDecorator.Enabled = false;

            RareKeepDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 255, 255, 0, -2),
                Radius = 1.25f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new CircleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 255, 0, 0),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 6,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );
            // disabled by default
            RareKeepDecorator.Enabled = false;

            LegendaryKeepDecorator = new WorldDecoratorCollection(

                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new CircleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 160, 0, 0),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 6,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );

            BookDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 255, 0, -2),
                Radius = 1.0f,
            }
                );

            DeathsBreathDecorator = new WorldDecoratorCollection(
                new MapTextureDecorator(Hud)
            {
                SnoItem             = Hud.Inventory.GetSnoItem(2087837753),
                Radius              = 0.3f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500)
                {
                    RadiusMinimumMultiplier = 0.8f,
                },
            }
                );

            BountyCacheDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false)
            },
                new MapTextureDecorator(Hud)
            {
                SnoItem             = Hud.Inventory.GetSnoItem(1749838250),
                Radius              = 0.3f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 250)
                {
                    RadiusMinimumMultiplier = 0.8f,
                },
            }
                );
            AddSocketsDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(160, 0, 0, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(255, 0, 128, 128, 2),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 235, 120, 0, true, false, false)
            },
                new MapTextureDecorator(Hud)
            {
                SnoItem             = Hud.Inventory.GetSnoItem(1844495708),
                Radius              = 0.3f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 250)
                {
                    RadiusMinimumMultiplier = 0.8f,
                },
            }
                );


            InArmorySetDecorator = new WorldDecoratorCollection(
                new GroundShapeDecorator(Hud)
            {
                Brush                 = Hud.Render.CreateBrush(192, 255, 64, 64, -3),
                ShadowBrush           = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                ShapePainter          = WorldStarShapePainter.NewCross(Hud),
                Radius                = 4.5f,
                RadiusTransformator   = new StandardPingRadiusTransformator(Hud, 400, 0.8f, 1.0f),
                RotationTransformator = new CircularRotationTransformator(Hud, 30),
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(192, 255, 64, 64, -3),
                Radius = 4.5f,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 200, 0.8f, 1.0f),
            },
                new MapShapeDecorator(Hud)
            {
                ShapePainter        = new CircleShapePainter(Hud),
                Brush               = Hud.Render.CreateBrush(255, 255, 64, 64, -1),
                ShadowBrush         = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius              = 14,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 200, 0.8f, 1.0f),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 255, 0, 0, 0),
                BorderBrush     = Hud.Render.CreateBrush(255, 0, 0, 0, -1),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );
        }
Exemplo n.º 11
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            Order = 30950;
            // Display coordinated for indicators
            barW = Hud.Window.Size.Width * 0.012f;
            barH = Hud.Window.Size.Height * 0.0175f;
            barX = Hud.Window.Size.Width * 0.45f;
            barY = Hud.Window.Size.Height * 0.62f;

            // Display Ringer Timer
            Xpos           = Hud.Window.Size.Width * 0.7f;
            Ypos           = Hud.Window.Size.Height * 0.7f;
            texsize        = Hud.Window.Size.Width * 0.025f;
            ActiveFont     = Hud.Render.CreateFont("tahoma", 10, 255, 51, 51, 51, false, false, 250, 255, 255, 255, true);
            ActiveTarget   = null;
            ActiveTime     = Hud.Time.CreateWatch();
            ActiveTimeLong = Hud.Time.CreateWatch();
            RingerTexture  = Hud.Texture.GetItemTexture(Hud.Sno.SnoItems.P6_Unique_Phylactery_02);

            // Decorator Setting
            var petsize = -1;

            SkeletonDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(240, 51, 255, 51, 3),
                Radius = petsize,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 51, 255, 51, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            SkeletonOtherDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(240, 51, 255, 51, 3, SharpDX.Direct2D1.DashStyle.Dash),
                Radius = petsize,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 51, 255, 51, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            SkeletonActiveDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(204, 255, 255, 153, 0),
                Radius = 0.8f,
            }
                );

            SkeletonTargetEliteDecorator = new WorldDecoratorCollection(
                new GroundShapeDecorator(Hud)
            {
                Brush                 = Hud.Render.CreateBrush(204, 255, 102, 102, 3f),
                ShapePainter          = WorldStarShapePainter.NewDoubleSquare(Hud),
                RotationTransformator = new CircularRotationTransformator(Hud, 30),
                Radius                = 5f
            },
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 255, 255, 255, -1),
                ShapePainter = new LineFromMeShapePainter(Hud)
            }
                );

            SkeletonTargetDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(180, 255, 0, 0, 6),
                Radius = 0.3f
            },
                new GroundShapeDecorator(Hud)
            {
                Brush                 = Hud.Render.CreateBrush(204, 255, 102, 102, 3f),
                ShapePainter          = WorldStarShapePainter.NewOctagon(Hud),
                RotationTransformator = new CircularRotationTransformator(Hud, 30),
                Radius                = 5f
            }
                );

            MageDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(240, 255, 153, 51, 3),
                Radius = petsize,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 255, 153, 51, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            GolemDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(240, 51, 153, 255, 3),
                Radius = 2f,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 51, 153, 255, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            SimulacrumDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 255, 3f),
                Radius = 0.3f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 255, 255, 4f),
                Radius = 1f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 255, 4f),
                Radius = 1.6f,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 51, 153, 255, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            SimulacrumOtherDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 255, 3f),
                Radius = 0.3f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 255, 255, 4f),
                Radius = 1f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 255, 4f),
                Radius = 1.6f,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 255, 51, 51, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            ReviveDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(240, 153, 51, 255, 3),
                Radius = -1,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(240, 153, 51, 255, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false)
            }
                );

            // Pet Number Count Label
            SkeletonCountLabel = new TopLabelDecorator(Hud)
            {
                TextFont                  = Hud.Render.CreateFont("tahoma", 7, 255, 255, 240, 0, false, false, true),
                BackgroundTexture1        = Hud.Texture.ButtonTextureGray,
                BackgroundTexture2        = Hud.Texture.BackgroundTextureGreen,
                BackgroundTextureOpacity2 = 0.5f,
                TextFunc                  = () => SkeletonCount.ToString()
            };

            MageCountLabel = new TopLabelDecorator(Hud)
            {
                TextFont                  = Hud.Render.CreateFont("tahoma", 7, 255, 255, 240, 0, false, false, true),
                BackgroundTexture1        = Hud.Texture.ButtonTextureOrange,
                BackgroundTexture2        = Hud.Texture.BackgroundTextureGreen,
                BackgroundTextureOpacity2 = 0.5f,
                TextFunc                  = () => MageCount.ToString()
            };

            ReviveCountLabel = new TopLabelDecorator(Hud)
            {
                TextFont                  = Hud.Render.CreateFont("tahoma", 7, 255, 255, 240, 0, false, false, true),
                BackgroundTexture1        = Hud.Texture.ButtonTextureOrange,
                BackgroundTexture2        = Hud.Texture.BackgroundTextureGreen,
                BackgroundTextureOpacity2 = 0.5f,
                TextFunc                  = () => ReviveCount.ToString()
            };
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            var warriorBrush = Hud.Render.CreateBrush(222, 0, 255, 0, 2);

            SkeletonWarriorsDecorators = new WorldDecoratorCollection(
                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 1f,
                Brush        = warriorBrush,
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 1f,
                Brush  = warriorBrush,
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new TriangleShapePainter(hud),
                Radius       = 6f,
                Brush        = Hud.Render.CreateBrush(255, 0, 255, 0, 1),
            }
                //,
                //new MapShapeDecorator(hud)
                //{
                //    ShapePainter = new CrossShapeFilter(hud),
                //    Radius = 6f,
                //    BarBrush = Hud.Render.CreateBrush(255, 0, 255, 0, 1),
                //}
                );

            var mageBrush = Hud.Render.CreateBrush(178, 0, 255, 0, 2);

            SkeletonMagesDecorators = new WorldDecoratorCollection(
                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 0.65f,
                Brush        = mageBrush,
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 0.65f,
                Brush  = mageBrush,
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new CrossShapePainter(hud),
                Radius       = 1f,
                Brush        = mageBrush,
            }
                );
            foreach (var mapShapeDecorator in SkeletonMagesDecorators.GetDecorators <MapShapeDecorator>())
            {
                mapShapeDecorator.Enabled = false;
            }

            var archerBrush = Hud.Render.CreateBrush(178, 0, 255, 0, 2);

            SkeletonArchersDecorators = new WorldDecoratorCollection(
                new GroundShapeDecorator(hud)
            {
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
                Radius       = 0.65f,
                Brush        = archerBrush,
            },
                new GroundCircleDecorator(hud)
            {
                Radius = 0.65f,
                Brush  = archerBrush,
            },
                new MapShapeDecorator(hud)
            {
                ShapePainter = new CrossShapePainter(hud),
                Radius       = 1f,
                Brush        = archerBrush,
            }
                );
            foreach (var mapShapeDecorator in SkeletonArchersDecorators.GetDecorators <MapShapeDecorator>())
            {
                mapShapeDecorator.Enabled = false;
            }
        }
Exemplo n.º 13
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            SnoMapping  = new Dictionary <ActorSnoEnum, WorldDecoratorCollection>();
            SnoMapping2 = new Dictionary <ActorSnoEnum, WorldDecoratorCollection>();


            /* **********************************
             *          DANGEROUS TRAPS & DEVICES
             ************************************* */


            /* ----------------
             *      FIRE
             * ------------------- */


            /* mark BIG FIRE GRATE (A1)
             * 108012	a1dun_leor_BigFireGrate	Deadly Fire Grate */
            SnoMapping.Add((ActorSnoEnum)108012, new WorldDecoratorCollection(
                               new MapShapeDecorator(Hud)
            {
                Brush               = Hud.Render.CreateBrush(220, 255, 0, 0, 0),
                Radius              = 4.0f,
                ShapePainter        = new CircleShapePainter(Hud),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            },
                               new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 4, 220, 255, 0, 0, true, false, false),
            },
                               new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(220, 255, 10, 10, 1.5f),
                Radius       = 25,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                               new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 7, 255, 255, 0, 0, true, false, false),
            }));


            /* mark DEMONIC FORGE (A3)
             * 174900	a3_Battlefield_demonic_forge	Demonic Forge
             * 185391	a3_crater_st_demonic_forge	Demonic Forge */
            /* var Demonic_Forge = new WorldDecoratorCollection(
             *  new MapShapeDecorator(Hud)
             *  {
             * Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
             * Radius = 4.0f,
             * ShapePainter = new CircleShapePainter(Hud),
             * RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
             *  },
             * new MapLabelDecorator(Hud)
             *  {
             * LabelFont = Hud.Render.CreateFont("verdana", 3, 180, 255, 0, 0, true, false, false),
             *  },
             *  new GroundCircleDecorator(Hud)
             *  {
             * Radius = 42, //45 in xml
             * Brush = Hud.Render.CreateBrush(140, 255, 10, 10, 1)
             *  },
             *
             * // add spinning X shape
             * new GroundShapeDecorator(Hud)
             *  {
             * Enabled = true,
             * Brush = Hud.Render.CreateBrush(80, 255, 0, 0, 1f), //(140, 255, 10, 10, 1)
             * Radius = 42,
             * ShapePainter = WorldStarShapePainter.NewCross(Hud),
             *      RotationTransformator = new CircularRotationTransformator(Hud, 20), //rotation speed
             *  },
             *  new GroundLabelDecorator(Hud)
             *  {
             * BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
             * TextFont = Hud.Render.CreateFont("verdana", 6, 200, 255, 0, 0, true, false, false),
             *  });
             * SnoMapping.Add((ActorSnoEnum)174900, Demonic_Forge);
             * SnoMapping.Add((ActorSnoEnum)185391, Demonic_Forge); */


            /* mark DEMON MINE (A3):
             * 118596	A3_Battlefield_DemonMine_C	Demon Mine
             * 150825	A3_Battlefield_DemonMine_C_Snow	Demon Mine */
            var Demon_Mine = new WorldDecoratorCollection(

                /* new MapShapeDecorator(Hud)
                 * {
                 *  Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                 *  Radius = 4.0f,
                 *  ShapePainter = new CircleShapePainter(Hud),
                 *  RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
                 * }, */
                new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 4, 180, 255, 0, 0, true, false, false),
            },
                new GroundCircleDecorator(Hud)
            {
                Radius = 10,
                Brush  = Hud.Render.CreateBrush(100, 255, 10, 10, 1)
            },
                // new GroundShapeDecorator(Hud)
                // {
                // Brush = Hud.Render.CreateBrush(130, 255, 10, 10, 1),
                // Radius = 10,
                // ShapePainter = WorldStarShapePainter.NewCross(Hud),
                // },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 6, 200, 255, 0, 0, true, false, false),
            });

            SnoMapping2.Add((ActorSnoEnum)118596, Demon_Mine);
            SnoMapping2.Add((ActorSnoEnum)150825, Demon_Mine);


            /* mark FURNACE WALL (A5)
             * 355365	x1_Abattoir_furnaceWall	Furnace */
            SnoMapping.Add((ActorSnoEnum)355365, new WorldDecoratorCollection(
                               new MapShapeDecorator(Hud)
            {
                Brush               = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                Radius              = 4.0f,
                ShapePainter        = new CircleShapePainter(Hud),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            },
                               new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 4, 180, 255, 0, 0, true, false, false),
            },
                               new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 255, 10, 10, 1.5f),
                Radius       = 25,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                               new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 7, 255, 255, 0, 0, true, false, false),
            }));


            /* mark FURNACE SPINNER (A5)
             * 353821	x1_Abattoir_furnaceSpinner	Furnace Vent */
            SnoMapping.Add((ActorSnoEnum)353821, new WorldDecoratorCollection(
                               new MapShapeDecorator(Hud)
            {
                Brush               = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                Radius              = 4.0f,
                ShapePainter        = new CircleShapePainter(Hud),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            },
                               new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 4, 180, 255, 0, 0, true, false, false),
            },
                               new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 255, 10, 10, 1.5f),
                Radius       = 32,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                               new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 7, 255, 255, 0, 0, true, false, false),
            }));


            /* ----------------
             *      KHAZRA
             * ------------------- */


            /* mark KHAZRA DROPPING LOG TRAP (A1)
             * 78422	a2dun_Cave_Goatmen_Dropping_Log_Trap Trap */
            SnoMapping2.Add((ActorSnoEnum)78422, new WorldDecoratorCollection(

                                /* new MapShapeDecorator(Hud)
                                 * {
                                 *  Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                                 *  Radius = 5.0f,
                                 *  ShapePainter = new CircleShapePainter(Hud),
                                 *  RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
                                 * }, */
                                new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 6, 180, 255, 0, 0, true, false, false),
            },
                                new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(120, 255, 10, 10, 2.5f),
                Radius       = 8,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 200, 255, 0, 0, true, false, false),
            }));


            /* mark KHAZRA SPRING TRAP (A1)
             * 77690	trOut_TristramFields_Punji_Trap	Spring Trap	DestroySelfWhenNear */
            SnoMapping2.Add((ActorSnoEnum)77690, new WorldDecoratorCollection(

                                /* new MapShapeDecorator(Hud)
                                 * {
                                 *  Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                                 *  Radius = 5.0f,
                                 *  ShapePainter = new CircleShapePainter(Hud),
                                 *  RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
                                 * }, */
                                new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 6, 180, 255, 0, 0, true, false, false),
            },
                                new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(120, 255, 10, 10, 2.0f),
                Radius       = 7,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 200, 255, 0, 0, true, false, false),
            }));


            /* ----------------
             *      OASIS
             * ------------------- */


            /* mark OASIS POISON PLANT
             * 59401	caOut_Oasis_Attack_Plant	Moonseed */
            SnoMapping2.Add((ActorSnoEnum)59401, new WorldDecoratorCollection(

                                /* new MapShapeDecorator(Hud)
                                 * {
                                 *  Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                                 *  Radius = 4.0f,
                                 *  ShapePainter = new CircleShapePainter(Hud),
                                 *  RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
                                 * }, */
                                new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 4.5f, 140, 255, 0, 0, true, false, false),
            },
                                new GroundCircleDecorator(Hud)
            {
                Radius = 18,
                Brush  = Hud.Render.CreateBrush(50, 255, 10, 10, 0.3f)
            },

                                /* new GroundShapeDecorator(Hud)
                                 * {
                                 * Brush = Hud.Render.CreateBrush(50, 255, 10, 10, 0.3f),
                                 * Radius = 18,
                                 * ShapePainter = WorldStarShapePainter.NewCross(Hud),
                                 * }, */
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(180, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5.5f, 180, 255, 0, 0, true, false, false),
            }));


            /* ----------------
             *  BOG / MARSH
             * ------------------- */


            /* mark BOG FLOOR TRAP
             * 237458	x1_Bog_Knockback_Trap_C_Hidden (??)
             * 239487	x1_Bog_Knockback_Trap_D	Bogan Trap */
            var Bog_Floor_Trap = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush               = Hud.Render.CreateBrush(180, 255, 0, 0, 0),
                Radius              = 4.0f,
                ShapePainter        = new CircleShapePainter(Hud),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            },
                new MapLabelDecorator(Hud)
            {
                LabelFont = Hud.Render.CreateFont("verdana", 3, 180, 255, 0, 0, true, false, false),
            },
                new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 255, 10, 10, 1.5f),
                Radius       = 25,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 255, 255, 0, 0, true, false, false),
            });

            SnoMapping.Add((ActorSnoEnum)237458, Bog_Floor_Trap);
            SnoMapping.Add((ActorSnoEnum)239487, Bog_Floor_Trap);


            /* mark Bogan Trapper BEAR TRAP
             * 237062	x1_Bog_Bear_Trap
             * 284752	x1_Bog_Bear_Trap_projectile_lobbed */
            var Bog_Bear_Trap = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Radius = 3,
                Brush  = Hud.Render.CreateBrush(150, 255, 10, 10, 1.5f)
            },
                new GroundShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(150, 255, 10, 10, 1.5f),
                Radius       = 3,
                ShapePainter = WorldStarShapePainter.NewCross(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 3, 255, 255, 0, 0, true, false, false),
            });

            SnoMapping.Add((ActorSnoEnum)237062, Bog_Bear_Trap);
            SnoMapping.Add((ActorSnoEnum)284752, Bog_Bear_Trap);


            /* ----------------
             *  BLOOD SPRING
             * ------------------- */


            /* mark Bog/Marsh BLOOD SPRING  (SMALL)
             * 332924	x1_Bog_bloodSpring_small */
            SnoMapping2.Add((ActorSnoEnum)332924, new WorldDecoratorCollection(
                                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(80, 255, 0, 0, 1.5f),
                Radius       = 6,
                ShapePainter = new CircleShapePainter(Hud),
                //RadiusTransformator = new StandardPingRadiusTransformator(Hud, 999),
            },

                                /* new MapLabelDecorator(Hud)
                                 * {
                                 * LabelFont = Hud.Render.CreateFont("verdana", 3, 140, 255, 0, 0, true, false, false),
                                 * }, */
                                new GroundCircleDecorator(Hud)
            {
                Radius = 6,
                Brush  = Hud.Render.CreateBrush(120, 255, 0, 0, 1)
            },
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 255, 255, 0, 0, true, false, false),
            }));

            /* mark Bog/Marsh BLOOD SPRING  (MEDIUM)
             * 332922	x1_Bog_bloodSpring_medium */
            SnoMapping2.Add((ActorSnoEnum)332922, new WorldDecoratorCollection(
                                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(80, 255, 0, 0, 1.5f),
                Radius       = 11,
                ShapePainter = new CircleShapePainter(Hud),
                //RadiusTransformator = new StandardPingRadiusTransformator(Hud, 999),
            },

                                /* new MapLabelDecorator(Hud)
                                 * {
                                 * LabelFont = Hud.Render.CreateFont("verdana", 3, 140, 255, 0, 0, true, false, false),
                                 * }, */
                                new GroundCircleDecorator(Hud)
            {
                Radius = 11,
                Brush  = Hud.Render.CreateBrush(120, 255, 0, 0, 1)
            },
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 255, 255, 0, 0, true, false, false),
            }));

            /* mark Bog/Marsh BLOOD SPRING  (LARGE)
             * 332923	x1_Bog_bloodSpring_large */
            SnoMapping2.Add((ActorSnoEnum)332923, new WorldDecoratorCollection(
                                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(80, 255, 0, 0, 1.5f),
                Radius       = 19,
                ShapePainter = new CircleShapePainter(Hud),
                //RadiusTransformator = new StandardPingRadiusTransformator(Hud, 999),
            },

                                /* new MapLabelDecorator(Hud)
                                 * {
                                 * LabelFont = Hud.Render.CreateFont("verdana", 3, 140, 255, 0, 0, true, false, false),
                                 * }, */
                                new GroundCircleDecorator(Hud)
            {
                Radius = 19,
                Brush  = Hud.Render.CreateBrush(120, 255, 0, 0, 1)
            },
                                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("verdana", 5, 255, 255, 0, 0, true, false, false),
            }));
        }