BuffPainter - UseAlternateStyleWhenBuffIsAlmostGone How to enable ? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    BuffPainter - UseAlternateStyleWhenBuffIsAlmostGone How to enable ?

    In version 19.7.29.0 the changelog mentions "added: UseAlternateStyleWhenBuffIsAlmostGone, AlmostGoneTimeLeftFont, AlmostGoneBorderBrush to BuffPainter (disabled by default)".
    I managed to enable it within the BuffPainter.cs file in default folder by changing line 40 "UseAlternateStyleWhenBuffIsAlmostGone = null;" to "UseAlternateStyleWhenBuffIsAlmostGone = 0.1;

    I would like to put it in User/PluginEnablerOrDisablerPlugin.cs file.
    I tried putting in:
    Hud.RunOnPlugin<BuffPainter>(plugin => {
    UseAlternateStyleWhenBuffIsAlmostGone = 0.1;
    });
    But I'm getting exceptions :confused:

    BuffPainter - UseAlternateStyleWhenBuffIsAlmostGone How to enable ?
  2. #2
    JarJarD3's Avatar Contributor
    Reputation
    106
    Join Date
    Oct 2017
    Posts
    395
    Thanks G/R
    41/101
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    BuffPainter is not a plugin but helper class to render buffs on screen.
    You are trying to configure it like a plugin.

    You need to configure plugin(s) that use BuffPainter to get the effect.
    MiniMapLeftBuffListPlugin, PlayerBottomBuffListPlugin, PlayerLeftBuffListPlugin etc. has those.

    Example.
    Code:
    Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin => {
        plugin.BuffPainter.UseAlternateStyleWhenBuffIsAlmostGone = 0.25;
    });
    But the problem with UseAlternateStyleWhenBuffIsAlmostGone is that it gives same percentage to all buffs that makes it kind of unusable IMHO.
    You should be able to control individual buffs separately.
    Last edited by JarJarD3; 08-08-2019 at 01:04 AM. Reason: Added example and comment.

  3. Thanks Jembo (1 members gave Thanks to JarJarD3 for this useful post)
  4. #3
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks JarJarD3 for the quick response and explanation! I do agree it would be amazing to be able to control individual buffs

Similar Threads

  1. How to enable the blue Moon of Azeroth? (Known as the "Blue Child")
    By Dark Guild in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-12-2009, 03:02 PM
  2. [GUIDE] [Compile]How to enable flying mounts in northrend
    By Moaradin in forum WoW EMU Guides & Tutorials
    Replies: 10
    Last Post: 12-27-2008, 12:10 AM
  3. [TuT] How to enable LUA with Compile
    By LordJedi in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 03-21-2008, 12:06 AM
  4. How to Enable WoW Console and rebind console key
    By Vladinator in forum World of Warcraft Guides
    Replies: 6
    Last Post: 04-14-2007, 07:54 AM
All times are GMT -5. The time now is 07:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search