1. #1

    oUF - Wanting to learn the basics.

    I plan to eventually create my own unitframes using oUF.
    Can anyone recommend any resources or good "basic" examples which could be good to learn from.
    Quote Originally Posted by DeadmanWalking View Post
    Your forgot to include the part where we blame casuals for everything because blizzard is catering to casuals when casuals got jack squat for new content the entire expansion, like new dungeons and scenarios.
    Quote Originally Posted by Reinaerd View Post
    T'is good to see there are still people valiantly putting the "Ass" in assumption.

  2. #2
    zork's oUF simple is a good overview:
    :: http://www.wowinterface.com/download...mple.html#info

    and oUF author haste has a couple of layouts that are very well written. i tend to to use oUF lily as a base when i write something new:
    :: https://github.com/haste/oUF_Lily
    :: https://github.com/haste/oUF_Classic

    id personally also recommend oUF p3lim just because he has a long history of writing very accessible, easily understandable and strong code. it was one of the earliest oUF layouts and covers a lot of options without turning it all into a jumbled mess.
    :: http://www.wowinterface.com/download...-oUFP3lim.html

    oUF itself also has documentation at the top of all files in the "elements" directory that detail options and begin to explain how some parts are handled. lines 1-85 here for example:
    :: https://github.com/haste/oUF/blob/ma...nts/health.lua

    the github page for it also has a wiki
    :: https://github.com/haste/oUF/wiki

    & the "official" oUF support sub-forum on wow interface
    :: http://www.wowinterface.com/forums/f...splay.php?f=87
    Last edited by modernist; 2016-06-29 at 10:50 PM.

  3. #3
    Stood in the Fire OOMM's Avatar
    15+ Year Old Account
    Join Date
    Sep 2007
    Location
    Kel'Thuzad
    Posts
    374
    I'm considering switching from writing custom Elv to oUF and hoping it will be a little more friendly to take apart. However, it looks like oUF hasn't been updated in a while. Is it compatible with Legion's API changes, artifact xp, nameplates, personal bar, etc?
    Using computers to make demons kill dragons: Warlock beta spell WeakAuras here, @OOMM_UI, OOMM@kt-us

  4. #4
    Quote Originally Posted by OOMM View Post
    I'm considering switching from writing custom Elv to oUF and hoping it will be a little more friendly to take apart. However, it looks like oUF hasn't been updated in a while. Is it compatible with Legion's API changes, artifact xp, nameplates, personal bar, etc?
    Yes, because p3lim is updating it for legion .. using it at the moment. You may have to switch the branch.

    https://github.com/p3lim-wow/oUF

    For Artifact XP, there is some plugin

    http://www.wowinterface.com/download...factPower.html

    And nameplates (also personal bar, since this is just a modified nameplate) ... third party addon (nothing to do with oUF) or else. There are a ton coming, like always. Rothar already has one for example:

    https://github.com/zorker/rothui/tre...7.0/rNamePlate

    Also, modernist (obble) has one on his own on his github

    https://github.com/obble/lovelyui/tr...ter/nameplates
    oh, honey.

  5. #5
    As far as custom unit frames go, you will want to become familiar with the workings of the various Secure*.lua scripts to get an idea of what addons are allowed to do during combat.

    In general, SecureFrameTemplate and a host of pre-defined framescript constructs are provided for setting up custom control frames. Since calling things like Hide/Show directly would taint secure execution, you are limited to the predefined attribute infrastructure. SecureStateDriver.lua provides your sole means of utilizing custom code, but they have to be defined while out of combat and are limited to the function scope of an `OnAttributeChanged' script and are still subject to secure execution restrictions, making the invocation of foreign methods tricky.
    Last edited by Radipon; 2016-07-01 at 04:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •