WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Plugin Support (https://www.wowinterface.com/forums/forumdisplay.php?f=94)
-   -   noobish question (https://www.wowinterface.com/forums/showthread.php?t=29763)

timmed1577 01-02-10 10:00 PM

noobish question
 
I'm just curious if anyone has made a plugin that mimics BarMath, http://www.wowinterface.com/download...7-BarMath.html

If not, I was thinking of making something like it, for the info panel, but pretty much text (for now). My question with this, where would be a good place to start as this would be my first ever addon, let alone foray into LUA code.

Marthisdil 01-02-10 10:38 PM

Quote:

Originally Posted by timmed1577 (Post 173058)
I'm just curious if anyone has made a plugin that mimics BarMath, http://www.wowinterface.com/download...7-BarMath.html

If not, I was thinking of making something like it, for the info panel, but pretty much text (for now). My question with this, where would be a good place to start as this would be my first ever addon, let alone foray into LUA code.

Looked at the addon...and can say "nope, no one's made a plugin for it or anything like it" - can't say that anyone in guild has asked me "how many bars til you level" - but eh, to each their own.

Good luck in your project.

timmed1577 01-02-10 10:58 PM

The main thing I like about it, for my 80s, is the money bit. For my other toons the XP part is great too along with rep (when trying to grind sw for the faction discount on flying).

So, got any tips for a newbie/wannabe plugin author? Places I can readup for help on where to get started?

Phanx 01-02-10 11:31 PM

Any addon that shows you the percent of XP you have gained since leveling (or the percent to go until you reach the next level) will give you this information. The default UI divides the XP bar into 20 "bars", so one "bar" is 5% of the total XP per level. If you have 35% of the level to go, you have 6 bars to go. If you have 72% of the level to go, you have just over 14 bars to go.

There are also several money-related plugins for the DataBroker system, which is supported by about a dozen different "info panel" type addons.

Xrystal 01-03-10 01:06 AM

When I wrote my first plugin I used the nUI_Infopanel_Minimap as a guide to how infopanel plugins are set up. After a few plugins I understood enough to arrange the code to my way of coding and progressed from there. For the chat window plugins I used the combatlog plugin to get an idea how that works with nUI and thus nUI_InfoPanel_Guildchat was born :D

Feel free to use any of my InfoPanel plugins to get an idea or even do what I did and use the Minimap file to guide you.

For help in lua/addon coding in general I find wowwiki and endless supply of knowledge and is on my browser toolbar as I use it so often.

neuralassassin 01-03-10 01:45 PM

You might be interested in anymeter http://wow.curse.com/downloads/wow-a.../anymeter.aspx

Which has an nui plug-in already here http://www.wowinterface.com/downloads/info14613-nUI_InfoPanel_AnyMeter.html


All times are GMT -6. The time now is 08:53 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI