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

            LabelDecorator = new TopLabelWithTitleDecorator(Hud)
            {
                BorderBrush     = Hud.Render.CreateBrush(255, 180, 147, 109, -1),
                BackgroundBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 9, 255, 255, 210, 150, true, false, false),
                TitleFont       = Hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
            };
        }
Beispiel #2
0
        public override void Load(IController hud)
        {
            base.Load(hud);

            brus                          = Hud.Render.CreateBrush(255, 0, 0, 0, 0);
            ShowClosingTimer              = false;
            GreaterRiftCountdown          = false;
            ShowGreaterRiftTimer          = true;
            ShowGreaterRiftCompletedTimer = true;
            CompletionDisplayLimit        = 90;

            ObjectiveProgressSymbol = "\u2694";       //⚔
            GuardianAliveSymbol     = "\uD83D\uDC7F"; //👿
            GuardianDeadSymbol      = "\uD83D\uDC80"; //💀

            ObjectiveProgressSymbol = "";
            GuardianAliveSymbol     = "\uD83D\uDC7F"; //??
            GuardianDeadSymbol      = "\uD83D\uDC80"; //??uDC80"; //??

            MinutesSecondsFormat = "{0:%m}:{0:ss}";
            SecondsFormat        = "{0:%s}";

            ProgressPercentFormat = "({0:F1}%)";
            ClosingSecondsFormat  = "({0:%s})";

            ProgressBarTimerFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 210, 150, true, false, 160, 0, 0, 0, true);

            ObjectiveProgressFont = Hud.Render.CreateFont("tahoma", 8, 224, 240, 240, 240, false, false, false);
            ObjectiveProgressFont.SetShadowBrush(222, 0, 0, 0, true);

            RiftCompletionTitleFunc  = () => riftQuest.QuestStep.SplashLocalized.Trim();
            CompletionLabelDecorator = new TopLabelWithTitleDecorator(Hud)
            {
                BorderBrush     = Hud.Render.CreateBrush(255, 180, 147, 109, -1),
                BackgroundBrush = Hud.Render.CreateBrush(128, 0, 0, 0, 0),
                TextFont        = Hud.Render.CreateFont("tahoma", 9, 255, 255, 210, 150, true, false, false),
                TitleFont       = Hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
            };

            pauseTimer    = Hud.Time.CreateWatch();
            riftTimer     = Hud.Time.CreateWatch();
            guardianTimer = Hud.Time.CreateWatch();
        }