WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   How to extract embedded oUF layouts (eg. FreeUI) (https://www.wowinterface.com/forums/showthread.php?t=46356)

Nerds 04-27-13 09:23 AM

How to extract embedded oUF layouts (eg. FreeUI)
 
Hi, I want to use the Free UI oUF layout as a base for my own layout (particularly for the raid frames), but am unsure how to use it independently of the UI. Any ideas? Thanks :)

p3lim 04-27-13 12:45 PM

I would guess the "unitframes.lua" file found in the scripts folder, but there might be more files depending on how the author set it up.

Try using that + the .toc file

Haleth 04-27-13 03:20 PM

You will also need several of the functions found in core/api.lua, and their associated textures/fonts in the media folder (and references in the C.media table). I suggest taking the functions you need and putting them at the top of the layout somewhere and include the relevant media files.

You'll need a regular oUF for it to work as well, though I've made a few minor changes to elements/auras.lua for the border (it felt a bit wasteful to use an additional function for that).

If you plan on uploading this, though, please ask me beforehand. :)

Nerds 04-28-13 07:50 AM

Quote:

Originally Posted by Haleth (Post 277161)
You will also need several of the functions found in core/api.lua, and their associated textures/fonts in the media folder (and references in the C.media table). I suggest taking the functions you need and putting them at the top of the layout somewhere and include the relevant media files.

You'll need a regular oUF for it to work as well, though I've made a few minor changes to elements/auras.lua for the border (it felt a bit wasteful to use an additional function for that).

If you plan on uploading this, though, please ask me beforehand. :)

Thank you! It'll most likely stay as a personal project, to be honest - and eventually I will re-write my own layout from scratch. Yours is the closest to how I imagine mine being (your healing frames are perfect), so it's awesome to learn from.


All times are GMT -6. The time now is 08:17 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI