예제 #1
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Clusters = new Dictionary <IMonster, float>();

            Range            = 20f;
            ProgressMin      = 1d;
            IncludeOffScreen = true;
            ClustersMax      = 99;

            Decorator = new WorldDecoratorCollection(GroundDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(155, 200, 200, 200, 1),
                Radius = Range
            },
                                                     MapDecorator = new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(50, 255, 0, 0, 0),
                ShadowBrush  = Hud.Render.CreateBrush(128, 0, 0, 0, 1),
                Radius       = Range,
                ShapePainter = new CircleShapePainter(Hud),
            },
                                                     LabelDecorator = new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(175, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 12, 255, 255, 255, 255, true, false, true)
            });
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            ZeiDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 192, 96, 0, 1.5f),
                Radius = 50f
            };
        }
예제 #3
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            // Public vars
            ShowWarnings          = true;
            ShowInTown            = true;
            ShowZeiCircle         = true;
            ShowRashaElements     = true;
            ShowArchonCD          = true;
            ShowArchonRemain      = true;
            AlwaysShowElements    = false;
            AlwaysShowZei         = false;
            WarningYPos           = 0.27f;
            WarningYPosIncr       = 0.022f; // Distance between warnings
            ArchonCDandRemainYPos = 0.495f; // Just below tal rasha icons = 0.605f;
            RashaIndicatorsYpos   = 0.585f;

            WarningFont          = Hud.Render.CreateFont("tahoma", 13f, 200, 255, 0, 0, false, false, true);
            ArchonCDFont         = Hud.Render.CreateFont("tahoma", 12f, 255, 140, 140, 180, false, false, true);
            ArchonRemainFont     = Hud.Render.CreateFont("tahoma", 12f, 255, 80, 140, 210, false, false, true);
            ArchonRemainSoonFont = Hud.Render.CreateFont("tahoma", 14.5f, 255, 255, 0, 0, false, false, true);

            RashaBackgroundBrush = Hud.Render.CreateBrush(100, 30, 30, 30, 0);
            GreyBrush            = Hud.Render.CreateBrush(255, 50, 50, 50, 0);
            FireBrush            = Hud.Render.CreateBrush(255, 200, 130, 30, 0);
            ArcaneBrush          = Hud.Render.CreateBrush(255, 180, 80, 180, 0);
            LightningBrush       = Hud.Render.CreateBrush(255, 0, 65, 145, 0);
            ColdBrush            = Hud.Render.CreateBrush(255, 80, 130, 180, 0);
            ZeiRanceIndicator    = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(50, 165, 223, 255, 4.5f),
                Radius = 50f
            };
            ArchonCooldownLabel = new TopLabelDecorator(Hud)
            {
                TextFont = Hud.Render.CreateFont("tahoma", 10f, 255, 140, 140, 180, false, false, 160, 0, 0, 0, true),
                TextFunc = ArchonCooldown,
            };

            // Private vars
            _lWidth        = 80;
            _lHeight       = 15;
            _lRashaSize    = 24f;
            _lRashaSizeMod = 0.9f;
        }
예제 #4
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Thickness    = 3.0f;
            Size         = 30f;
            Transparency = 30;  //0-255
            Red          = 222; //0-255
            Green        = 184; //0-255
            Blue         = 135; //0-255

            JawbreakerDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(Transparency, Red, Green, Blue, Thickness),
                Radius = Size
            };
        }
예제 #5
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            GemNameRegex  = new Regex(@"x1_(\w+)_(\d+)", RegexOptions.Compiled); // x1_Amethyst_01
            MinGemQuality = 6;                                                   //Marquise
            ShowLabel     = true;

            GemDecorator = new WorldDecoratorCollection(GroundDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(200, 255, 255, 255, -2),
                Radius = 1f
            }, MapDecorator = new MapTextureDecorator(Hud)
            {
                Radius = 0.33f
            }, LabelDecorator = new GroundLabelDecorator(Hud)
            {
                TextFont = Hud.Render.CreateFont("tahoma", 10, 255, 255, 255, 255, true, false, true)
            });
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            ZeiDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 192, 96, 0, 1.5f),
                Radius = 50f
            };

            PainDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 128, 0, 0, 1.5f),
                Radius = 20f
            };

            BaneoftheTrappedDecorator = new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 150, 70, 1.5f),
                Radius = 15f
            };
        }