STUF unitframes
Hello ppl, i recently started playing wow again and i had an idea of how to config my unitframes but i have no idea how it would work.
The idea is too have a nice simple and plain healthbar with a texture of the health-percentage on it. And whenever my hp goes down it would get bigger to catch my attention. Let me try to show you an example here. 100% hp 50% hp 5% hp I hope i've been clear enough. If something seems odd just ask me and i'll try to clearify it more specificly |
oUF_Hank is the only thing I could suggest. That is what I immediately thought of even thought it is not quite what you are looking for. It is a rather neat piece of work.
I don't think you can resize STUF that easily. But you can cheese it. Say perhaps every 25% your health drops your font would increase 2 points. Something along those lines. You would have to confirm that I'm using its tag system correctly but this should work with STUF. Example: Text 1 >>> [custom_if_hp100: perchp]% <<<< set font to whatever and font size 10 set layer 1 Text 2 >>> [custom_if_hp75: perchp]% <<<<set font to whatever and font size 12 set layer 2 ETC The catch is you would have to make a background for your font - which you can do with STUF. And then have each text box in its own layer. So that the newest size covers up the old one. I hope that makes sense... its been a bit since I've used stuf. |
So you mean like i should create 4-5 layers of HP text that will overlapse eachother depending on the percentage of my HP? correct me if im wrong
|
Yes, this would be the way to do it with STUF, though there may be another way through the Lua Texts for your text area... In actuality, though, this is better suited to oUF.
|
I see .. but i've never used oUF, and never liked the styles on the oUF unitframes that ppl have brought for downloads.. I have my own idea on how to build my unitframes but i have 0 skill in scripting in Lua.. i wish i had, coz i think oUF would fit my needs really well..
|
I have the same problems... I love what ppl are doing with OUF so I am trying to learn it.
What I am doing that might work for you ...Is I have a seperate wow install for testing/trying to fiddle with things like ouf/new addons, aside from my daily use wow install.. That way you can mess with things but not hinder your daily wow buisness |
I just use an alt toon, since Stuf has a 'copy to next character' function. I always save my ideas on that toon, so easy to pick up where I left off, or put it on a diff toon, if the idea works. Also, I believe Zork was updating oUF Simple, which is a REALLY good place to start designing your own~
http://www.wowinterface.com/forums/s...ad.php?t=43163 |
Quote:
|
I think i'm going to give oUF_Simple a try, but is it possible to turn off raids units and such in the lua?
|
Yep. If I'm looking at the right code for oUF_Simple, the raid frames are defined and spawned in a separate file, so to disable them, all you have to do is remove the line that says oUF_SimpleRaid.lua in the oUF_Simple.toc file.
Disabling other units will involve looking in the main oUF_Simple.lua file for the calls to oUF:Spawn near the bottom that correspond to the units you want to turn off and commenting them out. |
Thanks alot, helped me out there :)
|
All times are GMT -6. The time now is 12:06 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI