How to display specific buff icons besides the character? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    a1dlez's Avatar Member
    Reputation
    2
    Join Date
    Jul 2017
    Posts
    6
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to display specific buff icons besides the character?

    Good day.

    Could some, please, guide me on how to show specific buffs near the character like on the attached example screenshot:



    If you are familiar with World of Warcraft, it has some addons like TellMeWhen that allow you to put cooldown icons around your character in the center of the screen. I'd like to have same thing in D3 is it even possible, for the skills of:
    1) arachon stacks
    2) archon cooldown
    3) chantodo's resolve - stacks
    4) teleport cooldown

    I've found in TH folder files like: PlayerBottomBuffListPlugin, PlayerLeftBuffListPlugin, PlayerRightBuffListPlugin, PlayerTopBuffListPlugin. Within these files I see that there is a code to display Focus&Restraint buff, and Taeguk buff:
    Code:
    RuleCalculator.Rules.Add(new BuffRule(403471) { IconIndex = null, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true }); // Taeguk
                RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = 1, MinimumIconCount = 1, ShowTimeLeft = true }); // Focus
                RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = true }); // Restraint
    Where are those IDs coming from? Is there a web-site or a wiki or some other source to get the IDs for the four spells that I need? I think I can figure out most of the code job and make my own plugin based off those default ones, but I really have no idea on where to get the IDs that I need.

    How to display specific buff icons besides the character?
  2. #2
    gabinator's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    31
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The buffrules can be found THUD folder


    \interfaces\data\player\powers

    There are plugins already that display items you seek.
    look up

    dia...cleplugin.html
    https://www.ownedcore.com/forums/dia...ks-plugin.html

    I dont code just mod others

  3. #3
    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)
    The buffrules are PITA to find and use.

    I created my own AlternateSkillBar that is located just right of big monster healthbar for my convenience.
    The real code is shamelessly copied and modified to my needs from DAV_SkillPainter as seen in source.

    I just want original skillbar duplicated in fixed postion and to be showing the data I want and need.
    This might for for you or be starting point to place icons where you want without messing with buffrules.

    Oh, you need the stacks as well.
    They are hard to get and you have have to F-KING buffrule.
    I do it this way in my SpeakSentry plugin. Just grep for RuleCalculator how I did it.
    Last edited by JarJarD3; 08-02-2019 at 02:01 AM. Reason: Added RuleCalculator example

Similar Threads

  1. [Request] HELP.. to create a SKILL COOLDOWN ICON besides the buff icons
    By serlev in forum TurboHUD Discussions
    Replies: 3
    Last Post: 05-25-2019, 10:58 PM
  2. [How To] How to remove all buff icon of Pylon in top right in TH
    By van9999 in forum TurboHUD Support
    Replies: 2
    Last Post: 04-25-2019, 06:13 AM
  3. How to display skills' buff(s) on top of my player ?
    By takayo72 in forum TurboHUD Discussions
    Replies: 0
    Last Post: 09-29-2018, 12:00 AM
  4. Replies: 9
    Last Post: 11-02-2009, 08:54 PM
  5. how to display ore and herbs at the sam time
    By sytry in forum World of Warcraft Guides
    Replies: 12
    Last Post: 08-04-2009, 12:02 AM
All times are GMT -5. The time now is 05:28 PM. 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