drivetuta.blogg.se

World of warcraft creating addons
World of warcraft creating addons













world of warcraft creating addons

Lua files contain functional pieces of code. You can read more about what you need or can put in a TOC over at The TOC Format Lua Files # Notes: This AddOn does nothing but display a frame with a button This is the file that instructs WoW in some basics about your addon and what other files you want loaded. XML Files This holds the layout of frames you have created for your addon. Lua Files This contains all the programming for your addon. This is the file that supplies WoW with information about your addon and which files are required for your addon to work. TOC File This file is required for any addon. There are three primary types of files that you'll need to worry about with addon editing: To review the list of tools and get one you'd like, head to the Lua editors page. You can also get Lua and XML specific text editors, which will highlight syntax for you, in turn making your coding a lot easier. All addon files are plain text files, meaning even Notepad will do. This allows you to view how existing functionality is implemented in the interface, as well as find examples of how some API functions are used.īefore you can write any sort of code, you'll want to have a tool that lets you edit you addon files. You should also get the source code of Blizzard's default interface. Don't be discouraged, as with any programming language there are many different ways to accomplish your goal, so keep looking until you find a way. These are your building blocks, and if you don't have a block you need (or thought you needed) then you'll have to find another way to get information for your addon. The World of Warcraft API has a list of functions that will give you that information. Getting information from WoW is critical to making your addon function.

  • Do I know the functions needed to do everything I want to do?.
  • Will I need to interact with Blizzard's frames?.
  • What information will I need from WoW for my addon to work?.
  • I usually start by asking myself these questions:

    world of warcraft creating addons

    Don't try and get into the details too much, just decide what you want the overall goal to be. Figure out what you want your addon to do.















    World of warcraft creating addons