public override void Load(IController hud) { base.Load(hud); LoreChestDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 0, 255, 0, -2), Radius = 1.2f, } ); NormalChestDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(503639160), Radius = 1f, } ); ResplendentChestDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(3627160803), Radius = 1f, } ); }
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 = 6.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), } ); }
public override void Load(IController hud) { base.Load(hud); var groundBrush = Hud.Render.CreateBrush(128, 255, 50, 50, 3, SharpDX.Direct2D1.DashStyle.Dash); FastMummyDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = groundBrush, Radius = 5, } ); // timers does not work for grotesque because it has no death actor with creation ticks and the original monster's creation tick is not the same as the time he died GrotesqueDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(160, 255, 50, 50, 3, SharpDX.Direct2D1.DashStyle.Dash), Radius = 20f, } /*, * new GroundLabelDecorator(Hud) * { * CountDownFrom = 2, * LabelFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, true, false, 128, 0, 0, 0, true), * }, * new GroundTimerDecorator(Hud) * { * CountDownFrom = 2, * BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), * BackgroundBrushFill = Hud.Render.CreateBrush(200, 255, 32, 32, 0), * Radius = 30, * }*/ ); }
public override void Load(IController hud) { base.Load(hud); LoreChestDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 0, 255, 0, -2), Radius = 1.2f, } ); NormalChestDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 200, 255, 200, 1), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 6.0f, ShapePainter = new CircleShapePainter(Hud), } ); ResplendentChestDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 64, 255, 64, 2), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 6.0f, ShapePainter = new CircleShapePainter(Hud), } ); }
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), }); }
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, 128, 0, 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, 128, 0, true, false, 100, 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(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 _actorSnoList.Add(225782); // Bishibosh's Remains _actorSnoList.Add(173325); // Anvil of Fury _actorSnoList.Add(113845); // Fallen Shrine }
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, 128, 0, 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, 128, 0, true, false, 100, 0, 0, 0, true), } ); _monsterSnoList.Add(ActorSnoEnum._tentaclehorse_c_unique_01); // Princess Stardust _monsterSnoList.Add(ActorSnoEnum._tentaclehorse_fat_a_unique_01); // Creampuff _monsterSnoList.Add(ActorSnoEnum._unburied_a_tmunique_01); // Jay Wilson _monsterSnoList.Add(ActorSnoEnum._triunevesselactivated_a_tmunique_01); // Josh Mosqueira _monsterSnoList.Add(ActorSnoEnum._tentaclehorse_fat_unique_b); // Super Awesome Sparkle Cake _monsterSnoList.Add(ActorSnoEnum._p4_crab_mother_unique_01); // The Succulent _monsterSnoList.Add(ActorSnoEnum._fallenchampion_a_unique_cosmetic_02); // Regreb the Slayer _monsterSnoList.Add(ActorSnoEnum._tentaclehorse_c_unique_cosmetic_02); // Princess Lilian _monsterSnoList.Add(ActorSnoEnum._tentaclebear_c_unique_cosmetic_02); // Sir William _monsterSnoList.Add(ActorSnoEnum._fallenshaman_a_cosmetic_unique_01); // Graw the Herald _monsterSnoList.Add(ActorSnoEnum._x1_triunesummoner_c_unique_cosmetic_01); // Nevaz _monsterSnoList.Add(ActorSnoEnum._zombieskinny_b_unique_313); // Ravi Lilywhite _monsterSnoList.Add(ActorSnoEnum._treasuregoblin_k); // Menagerist Goblin _monsterSnoList.Add(ActorSnoEnum._fastmummy_c_unique); // Nine Toads _monsterSnoList.Add(ActorSnoEnum._sandshark_b_sewersharkevent); // Moontooth Dreadshark _monsterSnoList.Add(ActorSnoEnum._townattack_summoner_unique); // Urzel Mordreg _actorSnoList.Add(ActorSnoEnum._caout_oasis_chest_rare_mapvendorcave); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._a1dun_cath_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._a3dun_crater_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._a4dun_garden_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._a4dun_garden_chest_cosmetic_02); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._p4_forest_snow_chest_snowy_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._p4_ruins_frost_chest_rare_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._trout_fields_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._x1_bog_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._x1_westm_chest_cosmetic_01); // Mysterious Chest _actorSnoList.Add(ActorSnoEnum._a3dun_keep_barrel_b_breakable_cosmetic_01); // Mysterious Barrel _actorSnoList.Add(ActorSnoEnum._pinata); // Pinata _actorSnoList.Add(ActorSnoEnum._trout_highlands_chest_wirt); // Wirt's Stash _actorSnoList.Add(ActorSnoEnum._trout_tristramfields_denofevil_fallenshaman_special); // Bishibosh's Remains _actorSnoList.Add(ActorSnoEnum._trout_oldtristram_anviloffury); // Anvil of Fury _actorSnoList.Add(ActorSnoEnum._caout_oasis_rakanishu_centerstone_a); // Fallen Shrine }
public override void Load(IController hud) { base.Load(hud); Decorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 230, 200, 230, 1), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 2f, ShapePainter = new RectangleShapePainter(Hud), } ); }
public override void Load(IController hud) { base.Load(hud); Decorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(448992, 0), Radius = 1f, }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 200, 255, 255, 0, false, false, 128, 0, 0, 0, true), RadiusOffset = 6.0f, } ); }
public override void Load(IController hud) { base.Load(hud); Decorator = new WorldDecoratorCollection( new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 7f, 255, 255, 100, 100, true, false, 0, 0, 0, 0, true), Up = true, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0), BorderBrush = Hud.Render.CreateBrush(200, 255, 100, 100, 1), TextFont = Hud.Render.CreateFont("tahoma", 7f, 255, 255, 100, 100, true, false, 0, 0, 0, 0, true), } ); }
public override void Load(IController hud) { base.Load(hud); ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.LeftControl, true, false, false); DefaultTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 180, 147, 109, false, false, 250, 0, 0, 0, true); OrangeTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 128, 0, false, false, 250, 0, 0, 0, true); RedTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 0, 0, false, false, 250, 0, 0, 0, true); TurnedOn = false; ShowMonstersCount = true; ShowTotalProgression = true; ShowTrashProgression = true; ShowEliteProgression = true; ShowRareMinionProgression = true; ShowRiftGlobeProgression = true; ShowTime = true; ShowLlocustCount = true; ShowHauntedCount = true; ShowPalmedCount = true; ShowPhoenixedCount = false; ShowStrongarmedCount = true; XWidth = 0.84f; YHeight = 0.61f; textBuilder = new StringBuilder(); baseMapShapeDecorator = new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(150, 180, 147, 109, 1), ShapePainter = new CircleShapePainter(Hud), Radius = 40, }; StatisticalRangeDecorator = new WorldDecoratorCollection(baseMapShapeDecorator); currentYard = BaseYard; maxMapShapeDecorator = new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(150, 180, 147, 109, 1), ShapePainter = new CircleShapePainter(Hud), Radius = 120, }; MaxStatisticalRangeDecorator = new WorldDecoratorCollection(maxMapShapeDecorator); }
public override void Load(IController hud) { base.Load(hud); Decorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 230, 200, 230, 1), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 6.0f, ShapePainter = new CrossShapePainter(Hud), }, new GroundShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 230, 200, 230, 2), Radius = 2.0f, Shape = GroundShape.X, } ); }
public override void Load(IController hud) { base.Load(hud); AddNames("Wood Wraith", "Highland Walker", "The Old Man", "Fallen Lunatic", "Deranged Fallen", "Fallen Maniac", "Frenzied Lunatic", "Herald of Pestilence", "Terror Demon", "Demented Fallen", "Savage Beast", "Tusked Bogan", "Punisher", "Anarch", "Corrupted Angel", "Winged Assassin", "Exarch"); Decorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 50, 50, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), ShapePainter = new CircleShapePainter(Hud), Radius = 2, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 200, 50, 50, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 255, 255, 255, false, false, false), } ); }
public override void Load(IController hud) { base.Load(hud); FastMummyDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(128, 255, 50, 50, 3, SharpDX.Direct2D1.DashStyle.Dash), Radius = 5, } ); // timers does not work for grotesque because it has no death actor with creation ticks and the original monster's creation tick is not the same as the time he died GrotesqueDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(160, 255, 50, 50, 3, SharpDX.Direct2D1.DashStyle.Dash), Radius = 20f, } ); }
public override void Load(IController hud) { base.Load(hud); //Configuration MissingHighlight = true; JuggernautHighlight = true; CircleNonIllusion = true; 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>(); //Colorization LightFont = Hud.Render.CreateFont("tahoma", 6f, 160, 255, 255, 255, false, false, true); RedFont = Hud.Render.CreateFont("tahoma", 6f, 200, 255, 0, 0, false, false, true); NameFont = Hud.Render.CreateFont("tahoma", 6f, 200, 255, 255, 255, false, false, true); BackgroundBrush = Hud.Render.CreateBrush(255, 125, 120, 120, 0); BorderBrush = Hud.Render.CreateBrush(255, 255, 255, 255, 1); RareBrush = Hud.Render.CreateBrush(255, 255, 128, 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, 128, 255, 0); BossBrush = Hud.Render.CreateBrush(255, 200, 20, 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 } ); }
public override void Load(IController hud) { base.Load(hud); GoblinDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 255, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 120, 0, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 2.5f, ShapePainter = new CircleShapePainter(Hud), } ); PortalDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 255, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 120, 0, 0, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 2.5f, ShapePainter = new CircleShapePainter(Hud), } ); }
public override void Load(IController hud) { base.Load(hud); Decorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 128, 255, 0, -2), Radius = 10.0f, }, new GroundLabelDecorator(Hud) { CountDownFrom = 7, TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 96, 255, 96, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 7, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(200, 0, 192, 0, 0), Radius = 30, } ); }
public override void Load(IController hud) { base.Load(hud); TextFont = Hud.Render.CreateFont("tahoma", 12, 150, 252, 126, 0, true, false, 150, 0, 0, 0, false); // 100 OutlineBrush = Hud.Render.CreateBrush(30, 252, 126, 0, 3); Fader = new StandardFader(hud, this); midX = Hud.Window.Size.Width / 2; midY = Hud.Window.Size.Height / 2; ZeiMiniMapDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(70, 252, 126, 0, 1), ShapePainter = new CircleShapePainter(Hud), Radius = 50, } ); MiniMapVisorDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 255, 255, 1), ShapePainter = new PlusShapePainter(Hud), Radius = 10, }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 255, 255, 1), ShapePainter = new CircleShapePainter(Hud), Radius = 5, } ); }
public override void Load(IController hud) { base.Load(hud); CustomSpeakTable.Add(Hud.Sno.SnoItems.x1_Diamond_10, "x"); LegendaryDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 235, 120, 0, -2), Radius = 1.5f, }, 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", 7, 255, 235, 120, 0, true, false, false) }, 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(160, 255, 140, 0, 0), BorderBrush = Hud.Render.CreateBrush(160, 0, 0, 0, -1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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(160, 255, 140, 0, 0), BorderBrush = Hud.Render.CreateBrush(242, 255, 0, 0, 1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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 GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 50, 220, 50, -2), Radius = 1.5f, }, 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", 7, 255, 0, 170, 0, true, false, false) }, 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(160, 50, 220, 50, 0), BorderBrush = Hud.Render.CreateBrush(160, 0, 0, 0, -1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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(160, 50, 220, 50, 0), BorderBrush = Hud.Render.CreateBrush(242, 255, 0, 0, 1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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 Enabled = false }; MagicKeepDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 60, 60, 255, -2), Radius = 1.25f, } ) { // disabled by default 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 Enabled = false }; LegendaryKeepDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 235, 120, 0, -2), Radius = 1.25f, RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333), }, 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.6f, RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500) { 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, 400, 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, 400, 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) } ); }
public override void Load(IController hud) { base.Load(hud); var shadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1); Decorator1 = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(128, 200, 200, 200, 0), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 2, } ); Decorator2 = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 200, 0, 0), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 4, } ); Decorator3 = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 125, 0, 0), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 5, } ); Decorator4 = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 200, 0, 0), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 6, }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 55, 0, 2), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 6, } ); Decorator5 = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 125, 0, 0), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 7, }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 55, 0, 2), ShadowBrush = shadowBrush, ShapePainter = new CircleShapePainter(Hud), Radius = 7, } ); }
public override void Load(IController hud) { base.Load(hud); var shadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1); GenericMarkerDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 255, 55, -1), ShadowBrush = shadowBrush, Radius = 10.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapTextureDecorator(Hud) { Radius = 1f, }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 255, 255, 255, 55, false, false, 128, 0, 0, 0, true), RadiusOffset = 10, Up = true, } ); UsedMarkerDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 200, 200, 200, -1), ShadowBrush = shadowBrush, Radius = 10.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapTextureDecorator(Hud) { Radius = 1f, }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 200, 200, 200, false, false, 128, 0, 0, 0, true), RadiusOffset = 10, Up = true, } ); ShrineDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(218235, 0), Radius = 1f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 255, 255, 55, false, false, 128, 0, 0, 0, true), RadiusOffset = 12.0f, } ); PossibleRiftPylonDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Radius = 1f, Texture = Hud.Texture.GetTexture(218235, 0), }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 255, 255, 55, false, false, 128, 0, 0, 0, true), RadiusOffset = 5.0f, } ); PylonDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Radius = 1f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); HealingWellDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(218234, 0), Radius = 1f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); PoolOfReflectionDecorator = new WorldDecoratorCollection( new MapTextureDecorator(Hud) { Texture = Hud.Texture.GetTexture(376779, 0), Radius = 1f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); }
public override void Load(IController hud) { base.Load(hud); HydraDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 100, 100, 2), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), ShapePainter = new TriangleShapePainter(Hud), Radius = 4f, }, new GroundLabelDecorator(Hud) { CountDownFrom = 15, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 200, 200, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 15, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(230, 255, 50, 50, 0), Radius = 30, } ); SentryDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 240, 148, 32, 2), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), ShapePainter = new TriangleShapePainter(Hud), Radius = 4f, }, new GroundLabelDecorator(Hud) { CountDownFrom = 30, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 240, 148, 32, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 30, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 240, 148, 32, 0), Radius = 30, } ); SentryWithCustomEngineeringDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 240, 148, 32, 2), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), ShapePainter = new TriangleShapePainter(Hud), Radius = 4f, }, new GroundLabelDecorator(Hud) { CountDownFrom = 60, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 240, 148, 32, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 60, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 240, 148, 32, 0), Radius = 30, } ); BlackHoleDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 2, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 200, 200, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 2, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(230, 255, 50, 50, 0), Radius = 30, } ); PiranhadoDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 4, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 4, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 100, 255, 150, 0), Radius = 30, } ); SpiritWalkDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 2, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 150, 255, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 2, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 255, 150, 255, 0), Radius = 30, } ); SpiritWalkWithJauntDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 3, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 150, 255, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 3, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 255, 150, 255, 0), Radius = 30, } ); BigBadVoodooDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 20, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 200, 100, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 20, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 100, 200, 100, 0), Radius = 30, } ); BigBadVoodooWithJungleDrumsDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { CountDownFrom = 30, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 200, 100, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 30, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(160, 100, 200, 100, 0), Radius = 30, } ); InnerSanctuaryDefaultDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(100, 255, 30, 30, 4), Radius = 15, }, new GroundLabelDecorator(Hud) { CountDownFrom = 6, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 6, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 30, 30, 0), Radius = 35, } ); InnerSanctuarySanctifiedGroundDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(100, 255, 30, 30, 4), Radius = 15, }, new GroundLabelDecorator(Hud) { CountDownFrom = 8, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 8, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 30, 30, 0), Radius = 35, } ); InnerSanctuaryTempleOfProtecteionDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(100, 255, 204, 0, 4), Radius = 15, }, new GroundLabelDecorator(Hud) { CountDownFrom = 6, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 6, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 204, 0, 0), Radius = 35, } ); InnerSanctuarySafeHavenDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(100, 255, 26, 179, 4), Radius = 15, }, new GroundLabelDecorator(Hud) { CountDownFrom = 6, TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true), }, new GroundTimerDecorator(Hud) { CountDownFrom = 6, BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0), BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 26, 179, 0), Radius = 35, } ); }
private void CreateDecorators() { PortalDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 255, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 120, 0, 0, 0), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 2.5f, ShapePainter = new CircleShapePainter(Hud), } ); TreasureFiendGoblinDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 163, 15, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 163, 15, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 198, 107, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 163, 15, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); MenageristGoblinDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 0, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 255, 0, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 150, 150, 225, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 200, 0, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); RainbowGoblinDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 0, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 255, 0, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 150, 150, 225, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 200, 0, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); DefaultGoblinDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(200, 150, 150, 150, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(200, 150, 150, 150, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 210, 180, 140, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 180, 180, 180, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); InsufferableMiscreantDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 50, 50, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 50, 50, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 255, 255, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); GildedBaronDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 240, 0, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 240, 0, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 220, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(200, 255, 255, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(200, 255, 255, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); GelatinousDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 0, 255, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 0, 0, 255, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 255, 255, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 50, 50, 200, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); GemHoarderDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 255, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 255, 255, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(220, 255, 255, 255, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(100, 220, 220, 220, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); OdiousCollectorDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 0, 255, 0, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 0, 255, 0, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(255, 255, 255, 255, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(255, 0, 255, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); MalevolentTormentorDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 255, 0, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 255, 255, 0, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 255, 112, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 255, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); BloodThiefDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 155, 0, 255, -2), Radius = 1.5f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(180, 155, 0, 255, 0), BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, true, false, false) }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 87, 87, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 8f, }, new MapShapeDecorator(Hud) { ShapePainter = new CircleShapePainter(Hud), Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 3), ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1), Radius = 4.5f, } ); }
public override void Load(IController hud) { base.Load(hud); LegendaryDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 235, 120, 0, -2), Radius = 1.5f, }, 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", 7, 255, 235, 120, 0, true, false, false) }, 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(160, 255, 140, 0, 0), BorderBrush = Hud.Render.CreateBrush(160, 0, 0, 0, -1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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 GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 50, 220, 50, -2), Radius = 1.5f, }, 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", 7, 255, 0, 170, 0, true, false, false) }, 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(160, 50, 220, 50, 0), BorderBrush = Hud.Render.CreateBrush(160, 0, 0, 0, -1), TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false) }, 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 GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 235, 120, 0, -2), Radius = 1.25f, RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333), }, 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.6f, RadiusTransformator = new StandardPingRadiusTransformator(Hud, 500) { RadiusMinimumMultiplier = 0.8f, }, } ); }
public override void Load(IController hud) { base.Load(hud); WeakDecorator = new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 50, 50, 50, 0), BorderBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 2), TextFont = Hud.Render.CreateFont("tahoma", 5f, 200, 220, 120, 0, false, false, false) } ); var importantBorderBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 2); var importantLabelFont = Hud.Render.CreateFont("tahoma", 8f, 255, 255, 255, 255, true, false, false); AffixDecorators = new Dictionary <MonsterAffix, WorldDecoratorCollection> { { MonsterAffix.Arcane, new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { BorderBrush = importantBorderBrush, TextFont = importantLabelFont, BackgroundBrush = Hud.Render.CreateBrush(255, 120, 0, 120, 0), } ) }, /* * { * MonsterAffix.Desecrator, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 170, 50, 0, 0), * } * ) * }, * { * MonsterAffix.Electrified, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 40, 40, 240, 0), * } * ) * }, * { * MonsterAffix.Frozen, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 120, 0), * } * ) * }, * { * MonsterAffix.FrozenPulse, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 120, 0), * } * ) * }, * { * MonsterAffix.Jailer, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 120, 0, 120, 0), * } * ) * }, */ { MonsterAffix.Juggernaut, new WorldDecoratorCollection( new GroundLabelDecorator(Hud) { BorderBrush = importantBorderBrush, TextFont = importantLabelFont, BackgroundBrush = Hud.Render.CreateBrush(255, 200, 0, 0, 0), }) } /*, * { * MonsterAffix.Molten, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 170, 50, 0, 0), * } * ) * }, * { * MonsterAffix.Mortar, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 170, 50, 0, 0), * } * ) * }, * { * MonsterAffix.Orbiter, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 40, 40, 240, 0), * } * ) * }, * { * MonsterAffix.Plagued, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 0, 120, 0, 0), * } * ) * }, * { * MonsterAffix.Poison, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 0, 120, 0, 0), * } * ) * }, * { * MonsterAffix.Reflect, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 120, 50, 0, 0), * } * ) * }, * { * MonsterAffix.Thunderstorm, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 40, 40, 240, 0), * } * ) * }, * { * MonsterAffix.Waller, * new WorldDecoratorCollection( * new GroundLabelDecorator(Hud) * { * BorderBrush = importantBorderBrush, * TextFont = importantLabelFont, * BackgroundBrush = Hud.Render.CreateBrush(255, 50, 50, 50, 0), * } * ) * }, * * { MonsterAffix.ExtraHealth, WeakDecorator }, * { MonsterAffix.HealthLink, WeakDecorator }, * { MonsterAffix.Fast, WeakDecorator }, * { MonsterAffix.FireChains, WeakDecorator }, * { MonsterAffix.Knockback, WeakDecorator }, * { MonsterAffix.Nightmarish, WeakDecorator }, * { MonsterAffix.Illusionist, WeakDecorator }, * { MonsterAffix.Shielding, WeakDecorator }, * { MonsterAffix.Teleporter, WeakDecorator }, * { MonsterAffix.Vampiric, WeakDecorator }, * { MonsterAffix.Vortex, WeakDecorator }, * { MonsterAffix.Wormhole, WeakDecorator }, * { MonsterAffix.Avenger, WeakDecorator }, * { MonsterAffix.Horde, WeakDecorator }, * { MonsterAffix.MissileDampening, WeakDecorator } */ }; }
} // AcdId, Health, Stacks public void LoadEliteCirclePlugin() { EliteHealthDecorator = new TopLabelDecorator(Hud) { TextFont = Hud.Render.CreateFont("tahoma", 10, 255, 0, 0, 0, true, false, 250, 255, 255, 255, true), }; EliteHealthBlockSize = (int)(Hud.Window.Size.Width / 50); var shadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1); GoblinDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 57, 194, 29, 3), Radius = 3 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 240, 213, 10, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f } ); RareDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 148, 20, 3), Radius = 3 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 148, 20, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 148, 20, 0), Radius = 6, ShapePainter = new CircleShapePainter(Hud) } ); ChampionDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 64, 128, 255, 3), Radius = 3 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 64, 128, 255, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 64, 128, 255, 0), Radius = 6, ShapePainter = new CircleShapePainter(Hud) } ); JuggernautDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 50, 0, 0), ShadowBrush = shadowBrush, Radius = 6, ShapePainter = new CircleShapePainter(Hud), }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 50, 0, 3), Radius = 3, }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 148, 20, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f } ); UniqueDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 140, 255, 3), Radius = 3 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 140, 255, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 140, 255, 0), Radius = 6, ShapePainter = new CircleShapePainter(Hud) } ); BossDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 96, 0, 4), Radius = 4 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 96, 0, 5), Radius = 2 }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(180, 255, 0, 0, 6), Radius = 0.3f }, new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 96, 0, 0), Radius = 6, ShapePainter = new CircleShapePainter(Hud) } ); var importantBorderBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 2); var importantLabelFont = Hud.Render.CreateFont("tahoma", 6f, 255, 255, 255, 255, true, false, false); // ReflectDecorator = new WorldDecoratorCollection( // new GroundLabelDecorator(Hud) // { // BackgroundBrush = Hud.Render.CreateBrush(255, 50, 50, 50, 0), // BorderBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 2), // TextFont = Hud.Render.CreateFont("tahoma", 5f, 200, 220, 120, 0, false, false, false) // } // ); StrickenMonsterStatus = new Dictionary <uint, Tuple <double, int> >(); StrickenPropSquare = (int)(Hud.Window.Size.Width / 53.333); StrickenInCooldown = false; StrickenMonsterCount = 0; StrickenStackDecorator = new TopLabelDecorator(Hud) { TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, 250, 255, 255, 255, true), }; WormholeWarningDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(205, 255, 50, 255, 3, SharpDX.Direct2D1.DashStyle.Dash), Radius = 5f, }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(205, 255, 50, 255, 0), Radius = 4f, }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0), TextFont = Hud.Render.CreateFont("tahoma", 20, 255, 255, 255, 255, true, true, true), } ); WormholeDecorator = new WorldDecoratorCollection( new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(160, 255, 50, 255, 3, SharpDX.Direct2D1.DashStyle.Dash), Radius = 5f, }, new GroundCircleDecorator(Hud) { Brush = Hud.Render.CreateBrush(160, 255, 50, 255, 0), Radius = 4f, }, new GroundLabelDecorator(Hud) { TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, true, false, 128, 0, 0, 0, true), } ); }
public override void Load(IController hud) { base.Load(hud); var shadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1); AllShrineDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 255, 64, 2), ShadowBrush = shadowBrush, Radius = 4.0f, ShapePainter = new RectangleShapePainter(Hud), }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); HealingWellDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 128, 128, 1), ShadowBrush = shadowBrush, Radius = 6.0f, ShapePainter = new WellShapePainter(Hud), }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); PoolOfReflectionDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(255, 255, 255, 64, 2), ShadowBrush = shadowBrush, Radius = 4.0f, ShapePainter = new CircleShapePainter(Hud), }, new GroundLabelDecorator(Hud) { BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 64, 0), TextFont = Hud.Render.CreateFont("tahoma", 6.5f, 255, 0, 0, 0, false, false, false), } ); PossibleRiftPylonDecorator = new WorldDecoratorCollection( new MapShapeDecorator(Hud) { Brush = Hud.Render.CreateBrush(192, 255, 255, 55, 3), ShadowBrush = shadowBrush, Radius = 5.0f, ShapePainter = new CircleShapePainter(Hud), }, new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 255, 255, 55, false, false, 128, 0, 0, 0, true), RadiusOffset = 5.0f, } ); }