Ejemplo n.º 1
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            m_PowerBuff1             = Hud.Sno.Attributes.Power_Buff_1_Visual_Effect_None;
            m_PainEnhancerPrimarySno = Hud.Sno.SnoPowers.PainEnhancerPrimary.Sno;

            NoBleedDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush = Hud.Render.CreateBrush(255, 0, 255, 0, 20)
            });

            PlayerLabel = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 255, 0, false, false, false),
                BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0)
            });

            BleedRadiusDecorator = new WorldDecoratorCollection(new GroundCircleDecorator(Hud)
            {
                Brush   = Hud.Render.CreateBrush(155, 255, 0, 0, 2.0f),
                Radius  = 20,
                Enabled = true
            });
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            DisplayLimit    = 1;
            ShowLabel       = false;
            ShowCircle      = false;
            ShowMark        = true;
            ShowProgression = true;
            Distance        = 10;

            LabelDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(80, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 8f, 255, 0, 255, 255, true, false, 160, 0, 0, 0, true),
            }
                );
            MarkDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 0, 0, 0),
                Radius = 1f,
            }
                );
            CircleDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 255, 255, 1.5f),
                Radius = 15,
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
            }
                );
        }
Ejemplo n.º 3
0
        private void InitDecorators()
        {
            int stroke = (Radius == -1) ? 0 : 5;

            var TrashGroundBrush = Hud.Render.CreateBrush(255, 200, 200, 200, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            TrashDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = TrashGroundBrush,
                Radius = Radius,
            }
                );

            var EliteChampionGroundBrush = Hud.Render.CreateBrush(255, 64, 128, 255, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            ChampionDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = EliteChampionGroundBrush,
                Radius = Radius,
            }
                );
            var EliteMinionGroundBrush = Hud.Render.CreateBrush(255, 255, 216, 160, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            RareMinionDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = EliteMinionGroundBrush,
                Radius = Radius,
            }
                );
            var EliteLeaderGroundBrush = Hud.Render.CreateBrush(255, 255, 148, 20, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            RareDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = EliteLeaderGroundBrush,
                Radius = Radius,
            }
                );
            var EliteUniqueGroundBrush = Hud.Render.CreateBrush(255, 255, 140, 255, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            UniqueDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = EliteUniqueGroundBrush,
                Radius = Radius,
            }
                );
            var BossGroundBrush = Hud.Render.CreateBrush(255, 255, 96, 0, stroke, SharpDX.Direct2D1.DashStyle.Dash);

            BossDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = BossGroundBrush,
                Radius = Radius,
            }
                );
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            Globe = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush               = Hud.Render.CreateBrush(255, 255, 0, 0, 5),
                ShapePainter        = new CircleShapePainter(Hud),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 1333),
                Radius              = 8f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush = Hud.Render.CreateBrush(255, 204, 0, 0, 0),
                RadiusTransformator = new StandardPingRadiusTransformator(Hud, 850),
                Radius = 1f
            },

                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 255, 102, 2),
                Radius = 1f
            });
        }
Ejemplo n.º 5
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            var offsetH = Hud.Window.Size.Height * 0.025f;

            Decorator = new WorldDecoratorCollection(
                new MapLabelDecorator(Hud)
            {
                LabelFont    = Hud.Render.CreateFont("tahoma", 8f, 230, 255, 0, 0, false, false, 100, 255, 255, 255, true),
                Up           = true,
                RadiusOffset = -offsetH
            },
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 255, 64, 64, 2),
                ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius       = 8.0f,
                ShapePainter = new CircleShapePainter(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 255, 64, 64, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 8f, 255, 255, 255, 255, false, false, false),
            }
                );
        }
Ejemplo n.º 6
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            PowerGlobeDecorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 240, 240, 120, 0),
                ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius       = 4.0f,
                ShapePainter = new CircleShapePainter(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 240, 240, 120, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false),
            }
                );

            RiftOrbDecorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 240, 120, 240, 0),
                ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius       = 6.0f,
                ShapePainter = new CircleShapePainter(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 240, 120, 240, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false),
            }
                );
        }
Ejemplo n.º 7
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            buffRuleFactory  = new BuffRuleFactory(hud);
            SizeMultiplier   = 0.85f;
            PositionOffset   = 0.085f;
            MePositionOffset = 0.04f;
            Debug            = false;
            Opacity          = 0.85f;
            RuleCalculatorMe = new BuffRuleCalculator(Hud);
            RuleCalculatorMe.SizeMultiplier = SizeMultiplier;
            RuleCalculators = new Dictionary <HeroClass, BuffRuleCalculator>();
            foreach (HeroClass h in Enum.GetValues(typeof(HeroClass)))
            {
                RuleCalculators.Add(h, new BuffRuleCalculator(Hud));
                RuleCalculators[h].SizeMultiplier = SizeMultiplier;
            }

            BuffPainter = new BuffPainter(Hud, true)
            {
                Opacity             = Opacity,
                ShowTimeLeftNumbers = true,
                ShowTooltips        = Tooltips,
                TimeLeftFont        = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
                StackFont           = Hud.Render.CreateFont("tahoma", 6, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
            };

            DebugDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(100, 20, 20, 20, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 255, 255, 255, false, false, false),
            }
                );
        }
Ejemplo n.º 8
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
            }
                );
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            HitYards       = 35.0f;
            AdjacentYards  = 70.0f;
            OppositeYards  = 19.75f;
            AnimationYards = 7.0f;

            GreyBrush  = Hud.Render.CreateBrush(125, 80, 80, 80, 0);
            GreenBrush = Hud.Render.CreateBrush(125, 25, 155, 25, 0);
            RedBrush   = Hud.Render.CreateBrush(125, 155, 25, 25, 0);
            BlueBrush  = Hud.Render.CreateBrush(125, 25, 25, 155, 0);

            RedHitBoxDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(175, 220, 29, 29, 3),
                Radius = -1
            }
                );
            GreenHitBoxDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(175, 29, 220, 29, 3),
                Radius = -1
            }
                );
            BlueHitBoxDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(175, 29, 29, 175, 3),
                Radius = -1
            }
                );
        }
        public override void Load(IController hud)
        {
            base.Load(hud);
            ShowInTown = true;

            PlayerGargs = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 0, 255, 0, 5),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 2f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 0, 255, 0, 5),
                Radius = 4f
            });

            OtherPlayersGargs = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 255, 0, 0, 5),
                ShapePainter = new CircleShapePainter(Hud),
                Radius       = 2f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 255, 0, 0, 5),
                Radius = 4f
            });
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            Energy_Bad       = 0.4f;
            Energy_Message   = "Fury : ";
            FistofHeaven_Min = 4;

            showOnChar = true;
            xPos       = 60;       // Hud.Window.Size.Width * 810 / 1920;
            yPos       = -20;      // Hud.Window.Size.Height * 160 / 1080;
            barH       = Hud.Window.Size.Height * 14 / 1080;
            barW       = Hud.Window.Size.Width * 120 / 1920;
            iconSize   = Hud.Window.Size.Height * 40 / 1080;

            Font_Norm = Hud.Render.CreateFont("arial", 7, 255, 255, 255, 255, false, false, true);
            Font_Good = Hud.Render.CreateFont("arial", 9, 255, 51, 255, 51, true, false, 255, 0, 0, 0, true);
            Font_Warm = Hud.Render.CreateFont("arial", 9, 255, 255, 51, 51, true, false, 255, 0, 0, 0, true);

            Brush_EnergyGood = Hud.Render.CreateBrush(240, 51, 255, 51, 0);
            Brush_EnergyBad  = Hud.Render.CreateBrush(240, 255, 51, 51, 0);
            Brush_BG         = Hud.Render.CreateBrush(240, 204, 204, 204, 0);

            FistofHeaven_Decorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(102, 204, 204, 51, 0),
                Radius = 5,
            }
                );

            Icon_FistHeaven = Hud.Texture.GetTexture(3476188190);
            Icon_HeavenFury = Hud.Texture.GetTexture(2206308930);
            Icon_COE        = Hud.Texture.GetTexture(2639019912);
        }
Ejemplo n.º 12
0
        public override void Load(IController hud)
        {
            base.Load(hud);
            ShowHealthGlobes          = true;
            ShowHealthGlobesOnNonBarb = true;
            OnlyShowInGreaters        = false;

            XOffset = 0.048f;
            YOffset = 0;

            WarningFont          = Hud.Render.CreateFont("tahoma", 23f, 200, 255, 0, 0, false, false, true);
            HealthGlobeDecorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                Brush        = Hud.Render.CreateBrush(255, 66, 194, 244, 0),
                ShadowBrush  = Hud.Render.CreateBrush(200, 0, 0, 0, 1),
                Radius       = 4.5f,
                ShapePainter = new CircleShapePainter(Hud),
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(255, 240, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false),
            }
                );
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            InnerSanctuaryDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(245, 255, 0, 127, 9f),
                Radius = 13.0f,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(245, 245, 245, 245, 2),
                Radius = 13.0f,
            },
                new GroundLabelDecorator(Hud)
            {
                CountDownFrom = 6,
                TextFont      = Hud.Render.CreateFont("tahoma", 14, 255, 0, 255, 0, 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(245, 255, 0, 0, 0),
                Radius = 35,
            }
                );
        }
Ejemplo n.º 14
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),
            }
                );
        }
Ejemplo n.º 15
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)
            });
        }
Ejemplo n.º 16
0
 public override void Load(IController hud)
 {
     base.Load(hud);
     RedDoor0        = false;
     RedDoor1        = false;
     RedDoor2        = false;
     RedDoor3        = false;
     Finished        = false;
     Times           = 0;
     MarkerDecorator = new WorldDecoratorCollection(
         new GroundLabelDecorator(Hud)
     {
         BackgroundBrush = Hud.Render.CreateBrush(255, 255, 0, 0, 0),
         BorderBrush     = Hud.Render.CreateBrush(192, 255, 255, 255, 1),
         TextFont        = Hud.Render.CreateFont("tahoma", 10f, 255, 255, 255, 255, true, false, false),
     }
         );
     FinishedDecorator = new TopLabelWithTitleDecorator(Hud)
     {
         TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 0, 0, true, false, true),
     };
     TimesDecorator = new TopLabelWithTitleDecorator(Hud)
     {
         TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 239, 220, 129, false, false, true),
     };
     _actorSnoList.Add(258384); //Uber_PortalSpot0
     _actorSnoList.Add(258385); //Uber_PortalSpot1
     _actorSnoList.Add(258386); //Uber_PortalSpot2
     _actorSnoList.Add(366533); //Uber_PortalSpot3
 }
Ejemplo n.º 17
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
            }
                );
        }
Ejemplo n.º 18
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            WarningMessageDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 20, 255, 255, 0, 0, true, true, true),
            });

            NoticeMessageDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 20, 255, 0, 255, 0, true, true, true),
            });

            NemesisPlayerDecorator = new TopLabelWithTitleDecorator(hud)
            {
                BorderBrush     = hud.Render.CreateBrush(255, 180, 147, 109, -1),
                BackgroundBrush = hud.Render.CreateBrush(200, 0, 0, 0, 0),
                TextFont        = hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, true, false, false),
                TitleFont       = hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
            };
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            
            
            MarkedForDeathDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
                {
                    Brush = Hud.Render.CreateBrush(250, 255, 69, 69, 5),
                    Radius = 15,
                },
                new GroundLabelDecorator(Hud)
                {
                    CountDownFrom = 15,
                    TextFont = Hud.Render.CreateFont("tahoma", 14, 255, 255, 255, 255, true, false, 128, 0, 0, 0, true),
                },
                new GroundTimerDecorator(Hud)
                {
                    CountDownFrom = 15,
                    BackgroundBrushEmpty = Hud.Render.CreateBrush(64,0,0,0, 0),
                    BackgroundBrushFill = Hud.Render.CreateBrush(160,255,255,255, 0),
                    Radius = 35,
                }
            );
        }
Ejemplo n.º 20
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            ShrineDecorators       = new Dictionary <ShrineType, WorldDecoratorCollection>();
            ShrineShortDecorators  = new Dictionary <ShrineType, WorldDecoratorCollection>();
            ShrineCustomNames      = new Dictionary <ShrineType, string>();
            ShrineCustomNamesShort = new Dictionary <ShrineType, string>();


            foreach (ShrineType shrine in Enum.GetValues(typeof(ShrineType)))
            {
                ShrineDecorators[shrine]       = CreateMapDecorators();
                ShrineShortDecorators[shrine]  = CreateGroundLabelDecorators();
                ShrineCustomNames[shrine]      = string.Empty;
                ShrineCustomNamesShort[shrine] = string.Empty;
            }
            PossibleRiftPylonDecorators = CreateMapDecorators();
            PossibleRiftPylonName       = string.Empty;

            LeaveMessageDecorator = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 16, 255, 255, 255, 255, true, true, true),
            });
        }
Ejemplo n.º 21
0
 public override void Load(IController hud)
 {
     base.Load(hud);
     ShockTowerDecorator = new WorldDecoratorCollection(
         new MapShapeDecorator(Hud)
     {
         Brush               = Hud.Render.CreateBrush(255, 255, 255, 220, 0),
         Radius              = 6.0f,
         ShapePainter        = new CircleShapePainter(Hud),
         RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333),
     },
         new MapLabelDecorator(Hud)
     {
         LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 0, 255, true, false, false),
     },
         new GroundCircleDecorator(Hud)
     {
         Brush  = Hud.Render.CreateBrush(255, 255, 255, 220, 5, SharpDX.Direct2D1.DashStyle.Dash),
         Radius = 30,
     },
         new GroundLabelDecorator(Hud)
     {
         BackgroundBrush = Hud.Render.CreateBrush(160, 255, 255, 220, 0),
         TextFont        = Hud.Render.CreateFont("tahoma", 9, 255, 0, 0, 255, true, false, false),
     }
         );
 }
Ejemplo n.º 22
0
        private void PaintActor(WorldLayer layer, IActor actor, WorldDecoratorCollection decorator)
        {
            if (GroundLabelsOnScreen)
            {
                decorator.ToggleDecorators <GroundLabelDecorator>(!actor.IsOnScreen);
            }

            if (DebugEnabled && Debug)
            {
                var text = string.Format("{0} : {1} {2}\n{3} {4} {5} {6}\n{7}",
                                         actor.SnoActor.Sno,
                                         actor.SnoActor.NameLocalized,
                                         actor.SnoActor.Kind,
                                         actor.GizmoType,
                                         actor.IsOperated ? "Operated" : "Not Operated",
                                         actor.IsClickable ? "Clickable" : "Not Clickable",
                                         actor.IsDisabled ? "Disabled" : "Not Disabled",
                                         actor.SnoActor.Code);
                DebugDecorators.Paint(layer, actor, actor.FloorCoordinate, text);
            }
            else
            {
                decorator.Paint(layer, actor, actor.FloorCoordinate, GroundSymbol);
            }
        }
Ejemplo n.º 23
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            DecoratorGreen = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 16, 255, 0, 255, 0, true, true, true),
            });

            DecoratorRed = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 16, 255, 255, 0, 0, true, true, true),
            });

            DecoratorOrange = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 16, 255, 255, 255, 0, true, true, true),
            });
        }
Ejemplo n.º 24
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            Decorator = new WorldDecoratorCollection(
                new MapShapeDecorator(Hud)
            {
                ShapePainter = new RotatingTriangleShapePainter(Hud),
                Brush        = Hud.Render.CreateBrush(160, 255, 102, 255, 10),
                ShadowBrush  = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                Radius       = 2,
            },
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(150, 255, 128, 0, 0),
                Radius = 1.125f,
            },
                new GroundLabelDecorator(Hud)
            {
                BackgroundBrush = Hud.Render.CreateBrush(90, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 8, 255, 255, 102, 255, true, false, 88, 0, 0, 0, true),
            }
                );

            _monsterSnoList.Add(214948); // Princess Stardust
            _monsterSnoList.Add(218804); // Creampuff
            _monsterSnoList.Add(225114); // Jay Wilson
            _monsterSnoList.Add(316439); // Josh Mosqueira
            _monsterSnoList.Add(373833); // Super Awesome Sparkle Cake
            _monsterSnoList.Add(444994); // The Succulent
            _monsterSnoList.Add(450997); // Regreb the Slayer
            _monsterSnoList.Add(450999); // Princess Lilian
            _monsterSnoList.Add(451002); // Sir William
            _monsterSnoList.Add(451004); // Graw the Herald
            _monsterSnoList.Add(451011); // Nevaz
            _monsterSnoList.Add(451121); // Ravi Lilywhite
            _monsterSnoList.Add(450993); // Menagerist Goblin

            _monsterSnoList.Add(217744); // Nine Toads
            _monsterSnoList.Add(156738); // Moontooth Dreadshark
            _monsterSnoList.Add(178619); // Urzel Mordreg
            _actorSnoList.Add(225782);   // Bishibosh's Remains
            _actorSnoList.Add(173325);   // Anvil of Fury
            _actorSnoList.Add(113845);   // Fallen Shrine

            _actorSnoList.Add(207706);   // Mysterious Chest
            _actorSnoList.Add(451035);   // Mysterious Chest
            _actorSnoList.Add(451028);   // Mysterious Chest
            _actorSnoList.Add(451030);   // Mysterious Chest
            _actorSnoList.Add(451047);   // Mysterious Chest
            _actorSnoList.Add(451029);   // Mysterious Chest
            _actorSnoList.Add(451038);   // Mysterious Chest
            _actorSnoList.Add(451034);   // Mysterious Chest
            _actorSnoList.Add(451033);   // Mysterious Chest
            _actorSnoList.Add(451027);   // Mysterious Chest
            _actorSnoList.Add(451039);   // Mysterious Barrel
            _actorSnoList.Add(211861);   // Pinata
            _actorSnoList.Add(457828);   // Wirt's Stash
        }
        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;
            }
        }
Ejemplo n.º 26
0
        private void PaintActor(WorldLayer layer, IActor actor, WorldDecoratorCollection decorator)
        {
            if (GroundLabelsOnScreen)
            {
                decorator.ToggleDecorators <GroundLabelDecorator>(!actor.IsOnScreen);
            }

            decorator.Paint(layer, actor, actor.FloorCoordinate, "\uD83D\uDEAA"); //🚪
        }
Ejemplo n.º 27
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            //Configuration
            MissingHighlight     = true;
            JuggernautHighlight  = true;
            CircleNonIllusion    = false;
            ShowRareMinions      = false;
            ShowDebuffAndCC      = true;
            ShowBossHitBox       = true;
            ShowMonsterType      = true;
            XScaling             = 1.0f;
            YScaling             = 1.0f;
            PercentageDescriptor = "0.00";
            XPos         = Hud.Window.Size.Width * 0.125f;
            YPos         = Hud.Window.Size.Height * 0.0333f;
            DisplayAffix = new Dictionary <MonsterAffix, string>();

            // important affixes
            DisplayAffix.Add(MonsterAffix.Juggernaut, "Jugg |");
            DisplayAffix.Add(MonsterAffix.Arcane, "Arcane |");
            DisplayAffix.Add(MonsterAffix.Desecrator, "Desecrator |");
            DisplayAffix.Add(MonsterAffix.Frozen, "Frozen |");
            DisplayAffix.Add(MonsterAffix.Molten, "Molten | ");
            DisplayAffix.Add(MonsterAffix.FrozenPulse, "FPulse |");
            DisplayAffix.Add(MonsterAffix.Electrified, "Electrified |");
            DisplayAffix.Add(MonsterAffix.Mortar, "Mortar |");
            DisplayAffix.Add(MonsterAffix.Orbiter, "Orbiter |");
            DisplayAffix.Add(MonsterAffix.FireChains, "FireChains |");
            DisplayAffix.Add(MonsterAffix.Shielding, "Shield |");
            DisplayAffix.Add(MonsterAffix.Illusionist, "Illusion |");
            DisplayAffix.Add(MonsterAffix.HealthLink, "Health Link |");
            DisplayAffix.Add(MonsterAffix.Horde, "Horde |");
            DisplayAffix.Add(MonsterAffix.Teleporter, "Tele |");

            //Colorization
            LightFont       = Hud.Render.CreateFont("century gothic", 6f, 160, 255, 255, 255, false, false, true);
            RedFont         = Hud.Render.CreateFont("century gothic", 6f, 200, 255, 0, 0, false, false, true);
            NameFont        = Hud.Render.CreateFont("century gothic", 6f, 255, 255, 255, 255, false, false, true);
            BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0);
            BorderBrush     = Hud.Render.CreateBrush(255, 255, 255, 255, 1);
            RareBrush       = Hud.Render.CreateBrush(255, 180, 90, 0, 0);
            RareJuggerBrush = Hud.Render.CreateBrush(255, 225, 100, 50, 0);
            RareMinionBrush = Hud.Render.CreateBrush(220, 200, 100, 0, 0);
            ChampionBrush   = Hud.Render.CreateBrush(255, 0, 90, 255, 0);
            BossBrush       = Hud.Render.CreateBrush(255, 150, 0, 0, 0);

            //HitBoxDecorator for Bosses and NonClone-Illusionist
            HitBoxDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(255, 57, 194, 29, 3),
                Radius = -1
            }
                );
        }
Ejemplo n.º 28
0
        private void PaintActor(WorldLayer layer, IActor actor, WorldDecoratorCollection decorator)
        {
            if (GroundLabelsOutOfScreenOnly)
            {
                decorator.ToggleDecorators <GroundLabelDecorator>(!actor.IsOnScreen);
            }

            //decorator.Paint(layer, actor, actor.FloorCoordinate, actor.SnoActor.NameEnglish);// "\uD83D\uDEAA");
            decorator.Paint(layer, actor, actor.FloorCoordinate, "\uD83D\uDEAA");
        }
        public override void Load(IController hud)
        {
            base.Load(hud);

            RiftGuardianAddDecorator = new WorldDecoratorCollection(
                new GroundCircleDecorator(Hud)
            {
                Brush  = Hud.Render.CreateBrush(200, 17, 255, 69, 2, SharpDX.Direct2D1.DashStyle.Dash),
                Radius = 4f,
            });
        }
Ejemplo n.º 30
0
 public override void Load(IController hud)
 {
     base.Load(hud);
     PlayerDecorator = new WorldDecoratorCollection(
         new GroundLabelDecorator(Hud)
     {
         BackgroundBrush = Hud.Render.CreateBrush(100, 20, 20, 20, 0),
         TextFont        = Hud.Render.CreateFont("tahoma", 6.5f, 255, 255, 255, 255, false, false, false),
     }
         );
 }