AddonTemplate
| Last Update: | April 28, 2008 (2 weeks ago) |
|---|---|
| Category: | Development & Debugging |
| Tags: | lua, misc, programming, and tutorial |
| Project Manager: | belleboom |
| Current Version: | AddonTemplate 1.0 (for World of Warcraft 2.4.0) |
| Downloads Today: | 9 |
| Downloads Total: | 5,903 |
| Favorites: | 30 |
| Comments: | 9 |
- More Information
| Created On: | July 13, 2006 |
|---|---|
| Compatible: |
|
- About AddonTemplate
The Basics
This addon does absolutely nothing *except* provide a starting point for those interested in building their own addons. I made this for guild members who wanted to start experimenting with their own addons but needed a place to start. I have also included several sample functions that have been commented out. Reinstate at will; see AddonTemplate.lua for details. (Note: The files should work with non-English clients, but I have not listed this addon as globally compatible because the sample code has only been tested with the English client.)
Installation & Use
First unpack the .zip file. (If you are on a Mac I suggest using StuffIt Expander, a free download: http://www.apple.com/downloads/macosx/system_disk_utilities/stuffitexpander.html)
The .zip file contains a folder 'AddonTemplate' containing the three basic addon files: AddonTemplate.toc AddonTemplate.lua AddonTemplate.xml
Put the AddonTemplate folder into your Warcraft>Interface>Addons folder. These files give aspiring addon creators a place to start. I've also included some sample code to get you started, including code to help you build an addon to say random things when you cast a spell, and the in-game macro code needed to use it.
Use NotePad, TextEdit, Smultron, or a similar text editor to open the AddonTemplate.lua file. Take a look at the file code and descriptions, add your own code or reinstate mine; if you make any changes just make sure to save it as AddonTemplate.lua.
Have fun:)
Tutorials & Other Resources
=>For those interested in understanding and building addons, there are a number of useful tutorials out there; take a look at the links below for basics and ideas:
Installing/Removing UIs and Mods
- http://ui.worldofwar.net/tutorials.php?id=4
Writing Your First AddOn
- http://forums.worldofwar.net/showthread.php?t=375691
- http://www.wowwiki.com/AddOns
Mod Author Resources
- http://forums.worldofwarcraft.com/thread.html?topicId=11381244&sid=1
WoWWiki AddOns Page
- http://www.wowwiki.com/AddOns
- XML Frame tutorial: http://fara.webeddie.com/frames/ (may have some issues with 2.0, but loads with TOC update to 20000)
- http://www.wowwiki.com/Category:HOWTOs
- http://www.wowwiki.com/World_of_Warcraft_API#Global_Function_Groups
- http://www.wowace.com
Possible program for UI design (not Mac compatible, as far as I can tell)
- http://www.wowinterface.com/downloads/fileinfo.php?s=26c1b6429e3ace332eae6277ab548689&id=4222
For people looking to familiarize themselves with the 2.4 combat log. I've put together a little mod to learn the basics, it has some examples, etc. It's an event notifier called ThatJustHappened and you can find it here:
- http://belleboom.googlepages.com/bellemaison
- Downloads (11)
- Comments
- RSS
You need to login or register to post comments.
Benefits of Registration
- Interact with hundreds of thousands of other gamers on an open social network.
- Post your stories, news, images, videos, and other content to share.
- Create a network with your fellow gamers or join an existing one.
- Gain reputation for everything you do.
- Recommended Tools
- RSS
Users who liked AddonTemplate also liked these.
- 29 Tactics (GD) Combat
- 19 BuffBuddyBC Buffs & Debuffs
- Similar Tools
- 585 Ace2 / Ace Development & Debugging
- 336 BugSack Development & Debugging
- 120 Cosmos feat. Khaos Development & Debugging
- 65 myReloadUI Development & Debugging
- 51 Baud Error Frame Development & Debugging
- 585 Ace2 / Ace Development & Debugging
- 353 Faster Ping Applications
- 336 BugSack Development & Debugging
- 167 UI Central Applications
- 143 WoW Addon Updater Applications



- +0
- Thumbs Down
- Thumbs Up
belleboom saidAdded a few new examples, including Auction House and XML/GUI examples.
- +0
- Thumbs Down
- Thumbs Up
belleboom saidYou don't have to change any of the file types, use Word{ad, NotePad, TextEdit, or a similar basic text editor to open the AddonTemplate.lua file. Take a look at the file, and if you make any changes save it as AddonTemplate.lua, don't change the file extension to .txt or anything like that.
If you are really lost I suggest you start by reading http://www.wowwiki.com/AddOns and http://forums.worldofwar.net/showthread.php?t=375691%20 for a basic description of the files and what they do.
- +0
- Thumbs Down
- Thumbs Up
dragonkeeper saidok ok ok do i need to make the xml toc lua files do i make theam txt files are what im lost lol are if thare is a program to do this plz anserwer
- +0
- Thumbs Down
- Thumbs Up
belleboom saidDownload the zip file, extract it and put it in your addons folder like any other addon. Open the AddonTemplate.lua file in any basic text editor to see (or reinstate) the sample code, or to add your own code. This is not a complicated addon development tool with a GUI, etc, but will give you the basic tools to get started.
- +0
- Thumbs Down
- Thumbs Up
Datal-Hyjal saidwell i downloaded and i got the tutorial printed out but i dont no how to get the thing were u actualy make them i mean pretty much the use i guess i mean do u extracted like u do with other addons or im lost plz help lol
- +0
- Thumbs Down
- Thumbs Up
belleboom saidI've updated the file TOC and added more sample code, but of course you can always choose to Load Out-of-Date addons.
- +0
- Thumbs Down
- Thumbs Up
dragonkeeper saidthx man your my hero i wanted to get in to making my own mods XP
- +0
- Thumbs Down
- Thumbs Up
Gaichuugo saidyup :)
- +0
- Thumbs Down
- Thumbs Up
belleboom saidThanks, Gaichuugo, I've removed that link for now.