I downloaded Blizzard's AddOn Kit and used it to extract the interface data and interface art. (BTW I'm on a Mac)
I started with the first tutorial which is the HelloWorld and I have the following done.
HelloWorld.toc
Code:
## Interface: 20100
## Title: Hello World
## Notes: Learning is fun!
## Dependencies:
HelloWorld.lua
HelloWorld.xml
HelloWorld.lua
Code:
function HelloWorld()
message("Hello World!");
end
HelloWorld.xml
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd">
<Frame name="HelloWorldFrame">
<Scripts>
<OnLoad>
HelloWorld();
</OnLoad>
</Scripts>
</Frame>
</Ui>
I put all three files in a folder called HelloWorld in the ~/Interface/AddOns/ directory.
The mod shows up in the AddOns screen list of the character selection screen but nothing happens when I enter the game as a character.
One thing that I can't figure out is the UI tag in the xml file. The tutorial references a UI.xsd, but the only UI.xsd I can find is inside "Blizzard Interface Data (enUS)" folder which was created by the AddOns Kit. Am I supposed to be providing the path to that? Am I supposed to have moved the data insided the "Blizzard Interface Data (enUS)" to somewhere inside the "Interface" folder? Or is the one I'm currently using acceptable?
Thanks,
Eric Stewart