Skip to main content
Buffs Movable

Movable Buff Lists

This plugin converts the default PlayerBuffLists (top, bottom, left, right) and MiniMapBuffLists (left, right) plugins into movable and resizable areas. You can define your buff rules and styling as usual in those plugins, and they will be imported and rendered with the Movable Plugin System automatically.

When entering Movable Plugin System's Edit Mode (default toggle hotkey: F12), you will see a preview of all of the buffs tracked by each bar and be able to drag the bars around the screen and resize the icons. Stack text will scale with icon size.

Customization

You can specify overriding Opacity (transparency), StackFontSize or TimeFontSize values that will apply to all of the buff lists at once, but you can also configure that for the original plugins individually and the settings would get imported.

This plugin assumes that you've already defined all the buff rules that you want rendered for each of the default buff list plugins. [To do: write more information about configuring buff lists here.]

Installation

Put MovableBuffList.cs into your TurboHUD \ plugins \ Razor folder. If you have an older version of MovableBuffList.cs (it may be located in TurboHUD \ plugins \ Razor \ Override) please remove it.

Save a backup of your existing TurboHUD \ plugins \ User \ MovablePluginConfig.cs if you want to.

Then (re)start TurboHUD.

This plugin requires the Movable Plugin System to be installed. If you have the Menu Plugin System installed, it already includes the Movable Plugin System.

Changelog

August 10, 2021

  • added checks for invalid BuffRule definitions that have nonexistent ISnoPower snos

August 9, 2021

  • added Default\BuffLists\TopLeftBuffListPlugin and Default\BuffLists\TopRightBuffListPlugin
  • added null checks when handling data from the default plugins

August 5, 2021

  • countdown border brush now has two colors to distinguish between buffs and debuffs (green and red respectively by default)

August 1, 2021

  • added preview icons when in Edit Mode (can be turned off by setting PreviewIconsInEditMode = false)
  • added background texture for legendary item icons (can be turned off by setting ShowLegendaryBackground = false)

July 30, 2021

  • shifted the left and right buff lists up closer to the player
  • added optional custom Opacity, StackFontSize, TimeFontSize properties
  • shortened the buff list names for readability
  • added cleanup for orphaned movable areas

July 29, 2021

  • optimized countdown clock face rendering
  • implemented the boxy fill style with countdown borders from my PartyCOE plugin

November 27, 2020

  • each list's Movable Area is now the size of 1 buff icon, upon which it is centered

August 2, 2020

  • Initial release

Works with Diablo 3 patch 2.7.1, TurboHUD v21.7.22.20, API v9.2

Comments

  1. Another amazing plugin. I added momentum stacks to a bufflist and moved it over my minimap icon like this https://imgur.com/4IBQDSm

    Anyone know where I can remove the border? I looked in BuffList>BuffPainter>HasIconBorder=False, but no dice.
    I removed under PaintHorizontalCenter:

    (var info in infoList)
    {
    var s = info.Size;
    Paint(info, new RectangleF(x, y + ((size - s) / 2), s, s));
    x += s + spacing;
    }

    This is where my small coding brain ends. I point in the right direction would be nice, but no big deal. Just something I was playing around with.

    Cheers!

    ReplyDelete
    Replies
    1. You should be able to remove the countdown border hint by setting BorderBrush to null in a config file (or comment out its declaration in the Load function of the plugin).

      Delete
    2. Finally found it. https://imgur.com/618fvYc

      BuffPainter.cs>TimeLeftClockBrush = null;

      I was trying to find something "border" related. Lol.

      Thank you for the reply mate!

      Delete

Post a Comment