WoW:User interface customization guide: Difference between revisions

m
(→‎Tips and tricks: message() for debug messages... yeah sure.)
Line 12: Line 12:
No official support exists for modifying the WoW interface. If you break it, you get to keep both pieces. =)
No official support exists for modifying the WoW interface. If you break it, you get to keep both pieces. =)


With that said, there are a number of websites devoted to user interface customisation available, such as [http://www.wowinterface.com/ WowInterface] and [http://www.curse.com Curse]. These sites have customised interfaces and addons for almost every conceivable need, so it is extremely unlikely that you will need to create an addon from scratch yourself. If an Addon suitable for your needs can be found from one of these sites, you will find using that much easier than attempting to create a new addon yourself.
With that said, there are a number of websites devoted to user interface customization (add-ons) available, such as [http://www.wowinterface.com/ WowInterface] and [http://www.curse.com Curse]. These sites have customized interfaces and add-ons for almost every conceivable need, so it is extremely unlikely that you will need to create an add-on from scratch yourself. If you find an Add-on suitable for your needs from one of these sites, you will find using them much easier than attempting to create a new add-on yourself.


To get started, download the [http://us.blizzard.com/support/article.xml?articleId=21466 World of Warcraft Interface AddOn Kit] and use that application to extract both User Interface Data & User Interface Art. This creates three new directories called "Blizzard Interface Data (enUS)", "Blizzard Interface Art (enUS)" and "Blizzard Interface Tutorial".
To get started, download the [http://us.blizzard.com/support/article.xml?articleId=21466 World of Warcraft Interface AddOn Kit] and use that application to extract both User Interface Data & User Interface Art. This creates three new directories called:
"Blizzard Interface Data (enUS)"
"Blizzard Interface Art (enUS)"
"Blizzard Interface Tutorial".


The art folder contains all of the graphics used in the built-in UI. They are generally [[BLP_files|BLP files]], which are a simple container DirectX-formatted texture data. The [[BLP_files|BLP files]] page lists several tools for converting between BLP and other image formats.
The art folder contains all of the graphics used in the built-in UI. They are generally [[BLP_files|BLP files]], which are a simple container DirectX-formatted texture data. The [[BLP_files|BLP files]] page lists several tools for converting between BLP and other image formats.
Line 20: Line 23:
The data folder contains all of the [[Lua]] and [[XML]] files which are used to describe and program the UI. These files make a great reference for examples of algorithms, syntax, using the game API and much more.
The data folder contains all of the [[Lua]] and [[XML]] files which are used to describe and program the UI. These files make a great reference for examples of algorithms, syntax, using the game API and much more.


A quick reminder: when developing addons you will often encounter bugs that you just can't figure out. If you're like most of us, you will quickly begin to think that it's Blizzard's fault. Before reporting a bug in the game UI, disable all addons and verify that the bug is present in the unmodified game.  Maybe it is Blizzard's bug, but there's an even better chance that the bug is yours or another addon you're running during your development.
A quick reminder: when developing add-ons you may often encounter bugs that you just can't figure out. Before reporting a bug in the game UI, disable all add-ons and verify that the bug is present in the unmodified game.  Maybe it is Blizzard's bug, but there's an even better chance that the bug is yours or another add-on you're running during your development.


== XML layout ==
== XML layout ==
Anonymous user