Developing addins for World of Warcraft - Getting started? [closed]
Asked Answered
H

4

18

As a long time World of Warcraft player, and a passionate developer I have decided that I would like to combine the two and set about developing some addins. Not only to improve my gameplay experience but as a great opportunity to learn something new.

Does anyone have any advice on how to go about starting out?

Is there an IDE one can use? How does one go about testing? Are there any ready made libraries available? Or would I get a better learning experience by ignoring the libraries and building from scratch? How do I oneshot Hogger?

Would love to hear your advice, experiences and views.

Hautevienne answered 9/8, 2008 at 17:51 Comment(1)
To oneshot Hogger I would suggest you get to a high level. Level 40 should be enough.Forwards
M
28

This article explains how to start pretty well.

Your first bookmark is possibly the US Interface Forum, especially the Stickies for that:

http://us.battle.net/wow/en/forum/1011693/

Then, grab some simple addons to learn how XML and LUA interacts. The WoWWiki HOWTO List is a good point here as well.

One important thing to keep in mind: World of Warcraft is available in many languages. If you have a EU Account, you got an excellent testing bed by simply downloading the language Packs for Spanish, German and French. If you're an US Guy, check if you can get the Latin America version. That way, you can test it against another language version.

Once you made 1 or 2 really small and simple addons just to learn how to use it, have a look at the various frameworks. WowAce is a popular one, but there are others.

Just keep one thing in mind: Making an Addon is work. Maintaining one is even more work. With each new Patch, there may be breaking changes, and the next Addon will surely cause a big Exodus of Addons, just like Patch 2.0.1 did.

Mordy answered 9/8, 2008 at 18:1 Comment(0)
H
10

Another useful tools you might like is WarcraftAddOnStudio which lets you make plugins in the visual studio environment.

Homocyclic answered 9/8, 2008 at 19:25 Comment(0)
P
7

I learned the art of add-ons primarily by looking at the code of Blizzard's UI. You can see that code by extracting the default UI or finding a copy of the default UI online. Add-on developers sometimes like to over-engineer their pet projects (who doesn't?), while Blizzard's code is usually pretty no-nonsense and straightforward. In addition, Programming in Lua is a pretty useful (if slightly out-of-date) reference for the actual Lua language.

Potaufeu answered 11/9, 2008 at 3:3 Comment(0)
O
6

The best way to start is with the book World of Warcraft Programming. It covers LUA, XML, WarcraftAddOnStudio and the WoW API. The book also has sections on best practices and avoiding common mistakes.

Opsis answered 2/9, 2008 at 15:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.