Thread Tools Display Modes
03-06-06, 02:32 PM   #1
Cryonix
A Defias Bandit
 
Cryonix's Avatar
Join Date: Mar 2006
Posts: 3
First off I'd like to offer a fond "Hello!" to those in the WoW Interface community. I've enjoyed the UI's posted to this site and admire the work of those skilled enough to create them. I have recently started dabbling in some custom UI workings and have thus far managed to slam into a brick wall, I'll pretend it's not from my own ignorance though I fear it may be.

Whether exallon is having the same issue or not I don't know, but mine falls under the same description.

Following the advice of Cairenn to exallon's post under the Interface Help section, I took the time to read through the FAQ. I found no immediate answer to my issue, but did find the posting guidelines! Here's an attempt at explaining my problem.

1. What is the name of the mod, provide a link to where its located on our site. If its your own home made dont worry about it.
- It's home made, for educational purposes. Mod's name is MyMod.

2. What steps did you take to install the mod? Post your complete install path.
- Followed the tutorial found in and through the Docs.html file located in the C:\Program Files(x86)\World of Warcraft\Interface. I created the mod in the C:\Program Files(x86)\World of Warcraft\Interface\Addons\MyMod directory.

3. Be as descriptive as you can. Just posting you cant get xyz mod to work will result in no responce to your help request. The more information you can provide the faster some one will respond.
- The issue I'm having is a serious lack of proper tutorials, at least that I've been able to find. Most tutorials on WoW UI creation are fairly vague. They work well enough as a first step introduction, however they fail at explaining some of the more basic steps in interface design and coding. Specifically proper implementation of a button. I've tried to copy the XML and LUA code from other mods to create a dummy button just as a test of concept but have failed at producing visible results. The WoW Wikki was of some help, but I was unable to find the XML syntax for creating a button.

Alas the problem boils down to this:
Can someone provide an example of XML code for the implementation of a button? I have experience in several programming languages from VB to C++ to PHP and more. The LUA code and even the WoW API hasn't proven difficult to follow as of yet. I'm at a loss for proper button creation.

If I have left out any information, I will post it upon request.

**Edit**
My apologies for posting under the wrong section, and thank you to whomever moved my wayward post to this section. After reading through oreth's post in this same section it would seem we have a similar problem. I'll be sure to check both of these posts for any advice.

Thank you for your time!

Sarlac
Troll Shaman
Detheroc

Last edited by Cryonix : 03-06-06 at 03:10 PM.
  Reply With Quote
03-06-06, 05:31 PM   #2
shouryuu
A Chromatic Dragonspawn
 
shouryuu's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 150
Welcome!
To Cair's great satisfaction my WoW account has expired, so I'll be posting around here for a while (she *really* is *very* happy :P ), and I guess I'll start by giving you a hand (whipee!).

Well being a total new comer (hardly coded before), I have to agree that tutorials are a *bit* hard to find, but if you've already coded before, you'll just need a jump start and you'll be good to go!

A good XML tutorial is right here http://fara.webeddie.com/frames/ It's a bit outdated, but it's a great place to start!

These are the official Lua docs http://www.lua.org/pil/ and are, of course, a good place to get familiar with lua.

And here are all the links you'll be needing "WoW wise":
API:
http://www.wowwiki.com/World_of_Warcraft_API
Widget API:
http://www.wowwiki.com/Widget_API
Events:
http://www.wowwiki.com/Events_%28API%29


With all that you should be set!
  Reply With Quote
03-06-06, 10:52 PM   #3
Cryonix
A Defias Bandit
 
Cryonix's Avatar
Join Date: Mar 2006
Posts: 3
Thanks shouryuu! That fara tutorial was just what I needed. I havn't done much with XML but a quick glance over the tutorial and it seems to be a very nice point to jump off from. Now to dive into the gooey goodness... My friends probably won't see me for a few days, lol.

Sorry to hear about the WoW account. I suppose it was just my luck though!

Thanks again for the help!

Sarlac
Troll Shaman
Detheroc
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Problems creating my first mod


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off