Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Tutorial

Mischback edited this page Jun 24, 2011 · 4 revisions

Tutorial

In this tutorial I want to show you my approach on creating an oUF-layout.

It may not be the very best way to do it and it is not the one and only way to do it, but it should help oUF-newbies (read: new layout-creators) to get started and to get their very own ideas to become real.

Disclaimer:

This layout will be quite simple, which does mean I will not include every little feature available in oUF. On the other hand it will not be “as plain as possible”, because I feel like creating a real-world layout to show you some of the problems I have encountered while creating several layouts.

I’m trying to explain what I’m doing in very little steps. You should be able to follow all steps without problems, but there are some things I take as given:

  • You should already have a decent text editor which ideally supports syntax-highlighting not only for Lua, but the WoW-API-functions
  • You should be able to read Lua
  • You should be aware of API-documentation as it can be found on wowpedia.org or wowprogramming.com and should be able to work with the API
  • You should have some decent knowledge of programming logic in general
  • You should have an idea of what is oUF (and what it is not)

Last but not least: I am no native speaker, so please do correct my phrasing if it is misleading you.

  1. Step00 / Step01
  2. Step 02 – Preparing the layout files
  3. Step 03 – Further Preparation
  4. Step 04 – The first unitframe
  5. Step 05 – Refine the look
  6. Step 06 – Creating another unit
Clone this wiki locally