Advertisement
JackCeparou

Untitled

Mar 29th, 2017
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.49 KB | None | 0 0
  1. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2. // *.txt files are not loaded automatically by TurboHUD
  3. // you have to change this file's extension to .cs to enable it
  4. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5.  
  6. using Turbo.Plugins.Default;
  7.  
  8. namespace Turbo.Plugins.User
  9. {
  10.  
  11.     public class EliteBarPluginConfig : BasePlugin, ICustomizer
  12.     {
  13.  
  14.         public EliteBarPluginConfig()
  15.         {
  16.             Enabled = true;
  17.         }
  18.  
  19.         public override void Load(IController hud)
  20.         {
  21.             base.Load(hud);
  22.         }
  23.  
  24.         // "Customize" after this
  25.  
  26.         public void Customize()
  27.         {
  28.             Hud.RunOnPlugin<Gigi.EliteBarPlugin>(plugin =>
  29.             {
  30.                 //Colors and Fonts
  31.                 plugin.BossBrush = Hud.Render.CreateBrush(255, 125, 120, 120, 0);   //different boss BossBrush
  32.                 plugin.NameFont = Hud.Render.CreateFont("tahoma", 6f, 200, 255, 0, 0, false, false, true); //different MonsterType Font
  33.  
  34.                 //Display Options
  35.                 plugin.JuggernautHighlight = false;                                 //disable red jugger JuggernautHighlight
  36.                 plugin.CircleNonIllusion = false;                                   //disable non-clone detection
  37.                 plugin.MissingHighlight = false;                                    //disable notification for missing blues
  38.                 plugin.ShowRareMinions = false;                                     //disable rare minions in list
  39.                 plugin.ShowDebuffAndCC = false;                                     //disable debuff and cc in list
  40.                 plugin.ShowMonsterType = false;                                     //disable monstertype in healtbar
  41.                 plugin.ShowBossHitBox = false;                                      //disable hitbox on bosses
  42.                 plugin.PercentageDescriptor = "0.0";                                //Change %-Numbers to X.X%
  43.                 foreach (MonsterAffix afx in System.Enum.GetValues(typeof(MonsterAffix)))
  44.                     plugin.DisplayAffix.Add(afx, afx.ToString("G"));                //set affix string for each affix you want to be displayed  
  45.  
  46.                 //Position and Scaling
  47.                 plugin.XPos = Hud.Window.Size.Width * 0.150f;                       //move elitebar to XPos
  48.                 plugin.YPos = Hud.Window.Size.Height * 0.200f;                     //move elitebar to YPos
  49.             });
  50.  
  51.         }
  52.  
  53.     }
  54.  
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement