• 0

    posted a message on mHud - Official Thread
    Sorry Lej, there isn't any more documentation at this point, do you have a direct question, I'll do my best to answer.

    skin.alphaTemplates = {
    	Combat = {
    		Rage = {
    			overWrite = true,
    			[1] = { v = 1.00, c = { a = 0.60, b = "BLEND" }},
    			[2] = { v = 0.00, c = { a = 1.00, b = "BLEND" }},
    		},
    	},
    }

    The code above creates a Alpha - Combat template, with the name Rage. If there already exists one, it overwrites it. As for the values, the keys ([1] and [2]) start at 1 and upwards as long as you need.
    v = 1.00 is the value when the "c" (content) table is in effect. So when the bar is full, thats value 1 (100%), you get a a (alpha) of 0.60 (60%) and the b (BlendMode) is set to "BLEND" (default).
    At v = 0.00, that's when your bar is empty, the alpha of the bar is 1.00 (100%). Everything in between is calculated, so if the bar is at 50%, you have 80% visibility.

    Hope this helps you a bit along the way.


    @ razoon: You're thinking about one for friendly, one for enemy and so on?
    (The following is not tested, but it's intended to work)
    1. Set Alpha to <Hostile> on your bars
    2. Create the following templates in Modules => GradientAlpha
    Hostile
    Friendly
    Neutral

    Let me know if it works will you? I'm in a raid ATM, so can't test it myself.
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Sorry about the late reply everyone, been having to much fun with the 2.4 patch ;)

    @ ant1pathy: This is now possible (from r67100), here is what you do:
    1. Navigate to: Modules => GradientAlpha
    2. Templates - Normal
    ManaTicker
    Change all the Alpha bars to 0, this will hide the mana ticker.
    Save.
    3. Templates - Combat
    [New]
    Write the exact same name: ManaTicker
    Save
    Modify as you like, for starters just have 1 value, and set it to Alpha 1, this will make the ticker visible in combat.
    Save

    @ blazefire: I'm having no problem deleting my own bars, all of them. Could you supply a bit more info plz, like are you using the default profile, witch skin, and have you tried resetting your profile?

    @ razoon: I'll have a look at it, I know there are some issues when changing profiles.

    @ Terak: I just experimented a bit last night, bound to be something missing, but check if you have the Libs\Threat-2.0 directory. The externals where added some time after the initial commit.





    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Quote from razoon »

    I tried for hours to make vertical bars. Thats not my cake tho.
    Could you give a short explanation how to make (vertical) bars in Gimp or PS or PSP?
    Or maybe you make one and put the code in a link?

    Another request:
    Could there be a scaling option for the whole hud? And options to move it up and down?

    BTW. SVN is some sort of library?
    What does the falloff option do exactly?

    To resize bars, can there be added an inputbox next to the sliders?
    The sliders arent so accurate.

    To make a vertical bar, with a normal horizontal status bar texture:
    1. Set texture to some normal texture, like Blizzard
    2. Set Bar rotation to 270 (same as default)
    3. Set texture rotation to 270.

    There is no scaling at the moment, might add it at a later stage.

    SVN is a tool we use for keeping track of versions etc. Use full when you have more than one developer, it gives a good history of all files (you can roll back among other things), branching (like a tree, same roots, but different when at the tips). Google it if you want more info, no it's not a library, it's a communication protocol (among other things).

    Falloff visualize the gain/loss of bars. To view it in action, enable it on outgoing and incoming, and enter edit mode.

    The numbers you see on the sliders are input boxes, just input the number you want directly. This applies to all AceGUI-3.0 configurations.

    Edit: Updated the Wiki with some of the "old" info, http://www.wowace.com/wiki/MHud - Create your own textures
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    I'll have a look at it right away zYx.

    Edit: Just committed the changes, should resolve this issue. (r66709)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ ievil & zYx: Partially true, I've now moved the branch => trunk, and will continue to dev. it directly to the the trunk (but not as often).

    No, there is no threat handler in the current version, but it's coming in a week or 2.

    If you are upgrading, plz use the following command:
    /script LibStub("AceAddon-3.0"):GetAddon("mHud").db:ResetProfile(); ReloadUI();


    If it doesn't work, don't hesitate to let me know ;)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Quote from blazefire »

    This mod hasnt worked for me in about 2 months of new builds... only an old build from January works fine... All the new builds don't display any HuD and there are no bar options, that menu feature is empty...

    If you update, you need to reset your profile (delete all mHud.lua in your WTF sub folders)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ Terak & OttoDeFe: Odd thing, I never got any errors, but the ticker just didn't work. Should be fixed now tho.
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Thx, Terak, I'll have a look at it tomorrow :)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    OOCTarget = {
    overWrite = true <= missing ','
    [1] = { v = 1.00, c = { a = 0.60, b = "BLEND" }},

    Edit: As for the other problem, it might be related to the gradiant stuff in your saved variables, try replacing it to the new and improved gradient :)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Quote from Saryai »

    "Gradiant" should be spelled "Gradient", in all cases that the word appears. Makes hand-editing a pain. >.>

    I'm working on creating a skin based on the bars I posted a page or three back. Finally got around to making some frames. I'll release it when it's ready and tested.

    Hehe, over 200 tokens where replaced. In the event I forgot some, plz let me know :)

    Looking forward to see your skin! :)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ Dragon: I'll write a Threat-2.0 module after 2.4 has hit, don't want to waist time on Threat-1.0.
    About the texture, I'll have a look at it :)

    Edit: Just committed the changes, had renamed a variable, but not everywhere. Should work as intended now, thx for the heads up :)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ StormFX: I noticed myself earlier today, committed some changes, but didn't take the time to fully debug it, hope it's OK tho.

    @ Dragon: I hope it's not to annoying, I'll have a look at it when I get the chance :)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    Not sure how to implement that, but I'll give it some thought =) Added a skin template zip to the 1st post if you want to check it out, haven't tested it, I'm late for a raid ;)
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ Saryai: Sorry, it seems I hid these options a bit to far away? Does anyone have a better suggestion than
    modules - XXX ? But this is what you're looking for right? There is one thing missing tho, removal of 1 value, but it's coming :) Yes, the defaults are hard coded, but they are also over writable.

    This is where you find the templates:
    http://ace.chainweb.net/mhud/mHud_046_02_03.jpg
    http://ace.chainweb.net/mhud/mHud_046_02_01.jpg
    http://ace.chainweb.net/mhud/mHud_046_02_02.jpg

    Edit: Skins can also register color/alpha templates, but at currently they can't overwrite the defaults, that's been changed, but haven't committed it yet.

    @ All: In regards to the .1 on sliders, you can click the text / value and manually type in numbers, as long as its within the outer range of the slider.
    Posted in: General AddOns
  • 0

    posted a message on mHud - Official Thread
    @ Dragon: The falloffs where fixed on the SVN, but not in the zip, I have updated it now. I'll add the old plain arch sometime soon :)

    @ Saryai: I've been a busy, but was hoping to finalize the skin-module-design and create an easy to use template, any Ideas be4 I start?

    Since they will work as an add on, author, credits, web page etc. will be contained in the .toc
    Posted in: General AddOns
  • To post a comment, please or register a new account.