Go to Page... |
Thread Tools | Display Modes |
08-25-12, 09:59 AM | #1 |
Coming back for MoP, needing some advices
Hey guys,
I'll start updating my oUF layout for MoP. I haven't touched my addon since the last year so things are a little rusty. I would love to get some help catching up. Can you guys point some important things that changed for MoP, ouf-wise, like resources, powers etc? Also, I'd like to know what tools you guys use while developing addons... is there anything new to ease the pain? Back in the days I didn't used anything but programmer's notepad to edit my .lua files and bugsack to help me debug stuff. Thanks in advance! |
|
08-25-12, 06:15 PM | #2 | ||
I'd also suggest looking at layouts that have already been updated.
http://www.wowinterface.com/forums/s...ad.php?t=43699
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. |
|||
08-25-12, 07:03 PM | #3 |
Thanks for the info, Phanx.
I already got oUF's latest version and have started updating my addon. Right now I have updated my tag definitions to the new tag system and have started updating classbars. It seems that oUF does not currently supports monk's Chi points system as well as priest's shadow orbs, tho. As for coding tools, it seems that nothing have changed then... will stick with pnotepad and bugsack for now. Edit: just found tukz plugins for the new class bars. Last edited by drakull : 08-25-12 at 07:07 PM. |
|
08-25-12, 07:23 PM | #4 |
oUF (current master on GitHub) has support for all the new class powers, except for the ones used by a warlock.
|
|
08-25-12, 08:18 PM | #5 | |
Edit: Nevermind, got it to work. Was still using tukz's element name. Now to make it update the number of chi points depending on Ascension talent. Last edited by drakull : 08-25-12 at 08:31 PM. |
||
08-25-12, 09:40 PM | #6 |
You can also look at my oUF layout which implements its own support for the new warlock powers.
As for max chi, the talent isn't really important, as UnitPowerMax returns the appropriate value at any given time.
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. Last edited by Phanx : 08-25-12 at 09:43 PM. |
|
08-25-12, 10:50 PM | #7 | |
I'll take a look at your warlock powers classbar, thanks! Last edited by drakull : 08-25-12 at 10:52 PM. |
||
08-26-12, 01:22 PM | #8 |
You could take a look at https://github.com/haste/oUF/pull/147. It takes care of showing/hiding the 5th chi depending on Ascension. Maybe there is a better way to do this, I'm not a good coder
|
|
08-26-12, 04:35 PM | #9 | |
I was having a hard time implementing warlock bars, tho. Tried both Phanx and Tukz implementations but ended coding my own version. It's not finished yet but it's promising. |
||
08-27-12, 01:51 AM | #10 | |
Could post your alternate power implementation for the different elements?
__________________
| Simple is beautiful. | WoWI AddOns | GitHub | Zork (WoW)
|
||
08-27-12, 06:14 AM | #11 | |
I think a better approach was to create 3 different bars inside a frame (one for each spec) and then show only the one for the active spec. Gotta try it. Last edited by drakull : 08-27-12 at 06:22 AM. |
||
08-27-12, 09:29 AM | #12 | |
I have to update oUF_Diablo before MoP comes out and I have not yet decided on the display of all those elements. I thought of using those small bubbles but I'm not sure if I would like that.
Just displaying the current number is no option but I might use that on the first release because I think it can be implemented more easily via tags. (But I might be wrong)
__________________
| Simple is beautiful. | WoWI AddOns | GitHub | Zork (WoW)
|
||
08-27-12, 12:26 PM | #13 |
I'd just post mine. The idea is that the layout creates 4 status bars and the element updates their visibility, using the first bar for demonic fury if demo spec'd. The layout then can resize and reanchor the bars in PostUpdate if needed.
I still have to add support for the prerequested spells. The element code: lua Code:
The layout code: Create the status bars: lua Code:
PostUpdateVisibilty: lua Code:
|
|
08-27-12, 01:52 PM | #14 | |
Btw, would be thankful for ideas on how to do the prereq spells, as it seems that Phanx method issues:
|
||
08-27-12, 06:27 PM | #15 |
I'm not seeing any such error... what version of oUF are you using? Are you on live or beta servers? (Not that it will matter after today )
__________________
Retired author of too many addons. Message me if you're interested in taking over one of my addons. Don’t message me about addon bugs or programming questions. |
|
08-27-12, 06:47 PM | #16 |
On beta, latest oUF from github (only change I made was to temporary comment out line 551 in ouf.lua - selfisableBlizzard(unit)).
To reproduce: Lvl 85 premade warlock travel from SW to Darnassus with the ship. Error message pops in chat after loading screen. or Level a warlock to lvl 10 and spec Destro or Affli. Error comes on spec and after every reloadui, entering world and so on. And the corresponding power bar appears after reloadui/entering world too, although it shouldn't. |
|
08-27-12, 07:43 PM | #17 |
Here is my version. It's still not optimized but it does the job.
First, here is a picture of all three bars in action. Demonology bar, Destro bar (glyphed) and Affliction bar: (It's also a first look at my new layout) Layout: Lua Code:
Element: Lua Code:
PreUpdateVisibility: Lua Code:
The element is based on tukz implementation with many modifications of mine. And I stole Phanx's idea for a classbar factory, although my version is not based on his code. Last edited by drakull : 08-27-12 at 08:52 PM. Reason: Creditz |
|
08-30-12, 12:15 PM | #18 |
Maybe you can take a look at ouf_alekk @ https://github.com/moonwitch/oUF_alekk
I would love to see an updated version for MoP, was working fine with cataclysm. Moonwitch is currently very busy :/ I would pay the person for updating it with some months wow, like I did with moonwitch. Greetings Last edited by Kekskrümel : 08-30-12 at 12:18 PM. |
|
WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Coming back for MoP, needing some advices |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|