Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- // *.txt files are not loaded automatically by TurboHUD
- // you have to change this file's extension to .cs to enable it
- // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- using Turbo.Plugins.Default;
- namespace Turbo.Plugins.User
- {
- public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
- {
- public PluginEnablerOrDisablerPlugin()
- {
- Enabled = true;
- }
- public override void Load(IController hud)
- {
- base.Load(hud);
- }
- // "Customize" methods are automatically executed after every plugin is loaded.
- // So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
- // Make sure you test the return value against null!
- public void Customize()
- {
- // DANGER
- // DangerPlugin Customization
- Hud.RunOnPlugin<Resu.DangerPlugin>(plugin =>
- {
- // set to false; the items you don't want to see
- plugin.BloodSprings = true;
- plugin.DemonicForge = true;
- plugin.ShockTower = true;
- plugin.Desecrator = true;
- plugin.Thunderstorm = true;
- plugin.Plagued = true;
- plugin.Molten = true;
- plugin.ArcaneEnchanted = true;
- plugin.PoisonEnchanted = true;
- plugin.GasCloud = true; // (Ghom)
- plugin.SandWaspProjectile = true;
- plugin.MorluSpellcasterMeteorPending = true;
- plugin.DemonMine = true;
- plugin.PoisonDeath = true;
- plugin.MoltenExplosion = true;
- plugin.Orbiter = true;
- plugin.GrotesqueExplosion = true;
- plugin.BetrayedPoisonCloud = true;
- });
- // End of DangerPlugin Customization
- // ---------------------------------------------
- Hud.TogglePlugin<EliteMonsterAffixPlugin>(false);
- Hud.TogglePlugin<DangerousMonsterPlugin>(false);
- // Skeletal Mage Singularity Essence Plugin (BM)
- Hud.RunOnPlugin<User.Actors.SkeletalMageSingularityEssencePlugin>(plugin =>
- {
- //To disable the plugin in town: change to false
- plugin.ShowInTown = true;
- //Value of your Reaper's Wraps: Health globes restore 25-30% of your primary resource
- plugin.ReapersWrapsResourceRestore = 30;
- //Default position is under the feet of the player
- //plugin.XPos = Hud.Window.Size.Width * 0.5f; // 0.5f
- plugin.YPos = Hud.Window.Size.Height * 0.49f; // 0.5f, lower value = move to top of screen.
- });
- // ---------------------------------------------
- Hud.RunOnPlugin<ItemsPlugin>(plugin =>
- {
- plugin.LegendaryDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 235, 120, 0, false, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- plugin.SetDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 170, 0, false, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- plugin.AncientDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 235, 120, 0, true, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- plugin.AncientSetDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 170, 0, true, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- plugin.PrimalDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- plugin.PrimalSetDecorator.Decorators.Add(new MapLabelDecorator(Hud)
- {
- LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false),
- RadiusOffset = 14,
- Up = true,
- });
- });
- Hud.TogglePlugin<TopExperienceStatistics>(false);
- // turn on MultiplayerExperienceRangePlugin
- // Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(false);
- // turn off sell darkening
- Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
- // disable arcane affix label
- //Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
- // override an elite affix's text
- //Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desecrator, "DES");
- // Plauged & Desecrator Removal
- Hud.GetPlugin<EliteMonsterSkillPlugin>().PlaguedDecorator.Enabled = false;
- Hud.GetPlugin<EliteMonsterSkillPlugin>().DesecratorDecorator.Enabled = false;
- Hud.GetPlugin<EliteMonsterSkillPlugin>().MoltenDecorator.Enabled = false;
- //Hud.TogglePlugin<ExplosiveMonsterPlugin>(false);
- //Hud.GetPlugin<Inferno.Monsters.MonsterCirclePlugin>().RareMinionDecorator.Enabled= false;
- //Hud.GetPlugin<Inferno.Monsters.MonsterCirclePlugin>().RareMinionDecorator.Enabled= false;
- //Hud.RunOnPlugin<GlobePlugin>(plugin =>
- // {
- // plugin.RiftOrbDecorator.Add(new GroundCircleDecorator(Hud)
- // {
- // Brush = Hud.Render.CreateBrush(255, 240, 120, 240, 3),
- // Radius = 1.5f
- // });
- // });
- Hud.RunOnPlugin<ItemsPlugin>(plugin =>
- {
- plugin.DeathsBreathDecorator.Add(new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(192, 102, 202, 177, -2),
- Radius = 1.25f,
- });
- });
- Hud.RunOnPlugin<OculusPlugin>(plugin =>
- {
- plugin.Decorator.Add(new GroundCircleDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(244, 220, 97, 0, -2),
- Radius = 10.0f,
- });
- });
- // Oculus minimap
- Hud.RunOnPlugin<OculusPlugin>(plugin =>
- {
- plugin.Decorator.Decorators.Add(new MapShapeDecorator(Hud)
- {
- Brush = Hud.Render.CreateBrush(255, 128, 255, 0, 2),
- Radius = 10.0f,
- ShapePainter = new CircleShapePainter(Hud),
- });
- });
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement