AddOn: Difference between revisions

286 bytes removed ,  18 July 2005
mNo edit summary
Line 22: Line 22:


Minimal .toc file contents:
Minimal .toc file contents:
  ## Interface: 1500
  ## Interface: 1600
  ## Title: My Add On
  ## Title: My Add On
  ## Description: What my addon does
  ## Description: What my addon does
Line 31: Line 31:
The interface number can be seen in the WoW login screen, at the lower left. The number in the .toc file must match the current build or the add on will not be loaded/active.  
The interface number can be seen in the WoW login screen, at the lower left. The number in the .toc file must match the current build or the add on will not be loaded/active.  


Note: ''This number has been incorrect for the past two patches. For example, the Interface number for the United States (US)version, as of March 22 2005, is 1300, not "4284" as listed on the login screen. (As of March 30 2005, this is true for the
Note: ''Use the Interface Customization Kit that Blizzard provides to determine the real Interface number.''
European (EU) version as well.)''<br>
Use the Interface Customization Kit that Blizzard provides to determine the real Interface number.''


It's also probably a good idea to add a short description of your AddOn, since this is now displayed in the Addon List UI. To do so, simply add a line like the following after the Title or Description line:
It's also probably a good idea to add a short description of your AddOn, since this is now displayed in the Addon List UI. To do so, simply add a line like the following after the Title or Description line:
Line 41: Line 39:
== Special case : [[Bindings.xml]] ==
== Special case : [[Bindings.xml]] ==


If you include a [[Bindings.xml]] file, it does not have to be included in your .toc list of files to load - WoW loads this file automatically.
If you include a [[Bindings.xml]] file, it does not have to be included in your .toc list of files to load - WoW loads this file automatically. This file is used to set key bindings specific to the AddOn.
 
For a more detailed look on [[Bindings.xml]], click the wiki word.


== What other keywords are there in the .toc file? ==
== What other keywords are there in the .toc file? ==
Anonymous user