Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(12 Kb)
Download
Updated: 10-29-14 11:04 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Updated:10-29-14 11:04 PM
Created:unknown
Downloads:77,665
Favorites:233
MD5:
Categories:Graphic UI Mods, Unit Mods
6.0.3

Adapt - Almost-Default Animated Portraits  Popular! (More than 5000 hits)

Version: 2.0.14
by: Gello [More]

This small addon animates the unit frames of (nearly) any UI.

When the UI goes to draw a static portrait, this addon instead draws an animated model to the dimensions of the intended portrait.

Adapt is meant to be configuration-free (especially if you use the default unit frames), but there are some options you can change in the Interface Options Panel.

__ FAQ __

Q: Will it work with my custom unit frames?
A: If your existing unit frames are static portraits and not models already, yes it should. The universal approach this addon takes will attempt to convert any 2d portrait texture into a 3d model (if it's bigger than 30 pixels). However, if Adapt already came with the unit frame addon or UI compilation you use, you may need to get an updated version of that addon/compilation if it made any tweaks to portraits/Adapt.

Q: It's not working or there's a bug.
A: I'd love to hear about it in the comments. Please mention what Unit Frame addon or UI compilation you use.

Q: I use circular unit frames (like default), but when I look closely the model cut off as a square! Can the model be fit into a true circle?
A: Sadly, it can't. Addons have no genuine way to mask models. For circular unit frames the model is shrunk to fit within the circle. There's not a lot of wiggle room to create a universal overlay to trim the corners but it is something being investigated.

Q: What's an "anonymous portrait"?
A: When this addon was first written in 2006 over seven years ago, practically everyone named all their textures(portraits). Nowadays it's more common for textures to go unnamed as a courtesy to the UI ecosystem. For anonymous portraits you can only turn them all on or off, unlike named portraits which you can selectively disable.

Q: I want to disable my default focus frame from animating, but I don't see it in the options list.
A: The list in options is only of portraits it's encountered in that session (and those already disabled). Adapt has no awareness of what frames it will be asked to draw until it encounters them. So in this case you can /focus yourself and then when you go back into options the focus frame should be listed so you can disable it.

2.0.14 10/30/14 fix for frames being removed from blacklist staying on blacklist
2.0.13 10/29/14 fix for achievement comparison portrait
2.0.12 10/14/14 toc update for 6.0 patch
2.0.11 4/9/14 torso portrait option
2.0.10 10/27/13 fix for blacklisted portraits belonging to an addon that later gets disabled
2.0.9 09/11/13 toc update for 5.4 patch
2.0.8 05/21/13 toc update for 5.3 patch
2.0.7 04/04/13 added blacklist cache, removed debug code
2.0.6 03/30/13 rewrite
- portraits indexed by the texture itself, not the texture name
- instead of a frame with back and model drawn off it, back and model drawn straight to parent of original texture.
- useParentLevel inherited by models
- setCamera replaced with SetPortraitZoom
- instead of reacting to every SetPortraitTexture, a SetUnit done only if the GUID changed. At the same time, if a UNIT_MODEL_CHANGED happens, every portrait of that unit will be updated at a lower priority update.
- rebuilt options frame
1.92 08/28/12 fixed _ tainting
1.91 08/27/12 5.0 (Mists of Pandaria) update
1.9 09/02/10 4.0 (Cataclysm) support, TargetFrameToTPortrait defaulted DontUse
1.82 10/08/08 scroll fix, /adapt goes to options panel
1.81 08/08/08 updated for WotLK (toc, this->self)
1.8 04/12/08 moved options to new interface options, added full model option
1.71 01/12/07 fixed initialization
1.7 01/11/07 fixed taint issue with default ToT
1.6 10/04/06 edits for lua 5.1
1.5 08/21/06 changed DressUpModel to PlayerModel, moved SetCamera OnUpdate to OnShow
1.4 06/22/06 disabled mouse on portraits, added known frames to /adapt list
1.3 06/11/06 /adapt animate/unanimate options, visibility fix by Lafiell, attempt at more flexibility with frameStrata
1.2 04/01/06 slash options added for circle/square portraits and background
1.0 03/19/06 initial release
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
2.0.13
12kB
Gello
10-29-14 09:53 AM
2.0.12
12kB
Gello
10-14-14 06:28 AM
2.0.11
12kB
Gello
04-09-14 07:31 PM
2.0.10
10kB
Gello
10-27-13 03:21 PM
2.0.9
10kB
Gello
09-11-13 10:12 AM
2.0.8
10kB
Gello
05-21-13 11:18 AM
2.0.7
10kB
Gello
04-04-13 11:32 AM
2.0.6
10kB
Gello
03-29-13 11:24 PM
1.92
12kB
Gello
08-28-12 04:36 PM
1.91
12kB
Gello
08-27-12 08:34 PM
1.9
12kB
Gello
01-30-12 06:53 AM
1.82
10kB
Gello
10-14-08 04:43 AM


Post A Reply Comment Options
Unread 05-01-13, 02:44 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
Reload does not fix, tried resetting the saved variables still no go.

edit:
After some more testing using different frames it seems the blacklisting is not working at all
Last edited by 10leej : 05-01-13 at 02:47 PM.
10leej is offline Report comment to moderator  
Reply With Quote
Unread 04-30-13, 09:57 AM  
xetsog
A Kobold Labourer
 
xetsog's Avatar

Forum posts: 1
File comments: 1
Uploads: 0
The trade frames look a tad bit weird, is this on the list to be fixed?
xetsog is offline Report comment to moderator  
Reply With Quote
Unread 04-30-13, 08:55 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Does a reload help? Put them on blacklist, /reload, do they remain unanimated?
Last edited by Gello : 04-30-13 at 09:02 AM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 04-24-13, 02:57 AM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
Originally Posted by Gello
Originally Posted by 10leej
Looks like the blacklist option is not working for at least "AuctionPortraitTexture" and "ClassTrainerFramePortrait"
Is this something you're experiencing yourself?
Seems like it
10leej is offline Report comment to moderator  
Reply With Quote
Unread 04-23-13, 05:14 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Originally Posted by 10leej
Looks like the blacklist option is not working for at least "AuctionPortraitTexture" and "ClassTrainerFramePortrait"
Is this something you're experiencing yourself?
Gello is offline Report comment to moderator  
Reply With Quote
Unread 04-22-13, 04:53 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
Looks like the blacklist option is not working for at least "AuctionPortraitTexture" and "ClassTrainerFramePortrait"
10leej is offline Report comment to moderator  
Reply With Quote
Unread 04-07-13, 07:20 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Oh that's great information thanks. Yeah don't worry about her debugging. I should be able to see the same behavior from the details you gave. I suspect the dying part is a cause.

edit: You're probably aware, but if she wants in the meantime she can go into options and put an X beside TargetFrameToTPortrait to get the old 2d portrait back until this gets fixed. You may want to reload after.
Last edited by Gello : 04-07-13 at 07:25 AM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 04-07-13, 06:49 AM  
Pusikas
A Murloc Raider

Forum posts: 4
File comments: 97
Uploads: 0
Happens for my gf's warlock. Saw it each and every time she was fighting Zandalari War Scouts. Happens when her VW dies (which used to happen quite often). War Scout attacks her warlock, she re-summons the VW and the war scout gets aggroed by the pet again. May it have something to do with the pet dieing?

Doubt I can get her to do any debugging, but I will see what I can do.
Last edited by Pusikas : 04-07-13 at 06:54 AM.
Pusikas is offline Report comment to moderator  
Reply With Quote
Unread 04-07-13, 06:02 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Originally Posted by Pusikas
Target-of-Target seems to be working strangely in default blizz frames sometimes.
Example: Voidwalker tanking. ToT shows animated picture of the VW. Opponent targets myself. ToT shows a nice picture of me. Enemy goes back to attacking my VW. ToT still shows a picture of myself - subbed with the name of my Voidwalker.
This is kinda confusing.
Thanks for the report. Does it happen with any regularity? Ironically the 2.0.7 update removed the debugging code that would help in this. But if you're inclined (totally understandable if not) could you go back to 2.0.6 and after running it for a bit do an /adapt debug. It will print a list of portraits and numbers. The one of interest is TargetFrameToTPortrait and it will say something like

TargetFrameToTPortrait 5 of 230938 ""

I'm curious what the two numbers are. If you're not certain what version you're on, going into options (esc->interface->addons->adapt, or just /adapt) should tell you its version at the top.

But I'll look into this regardless. I have a warlock also, and tested quite a bit with pets, but I'll get rid of grimoire of sacrifice and watch more carefully.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 04-06-13, 07:21 PM  
Pusikas
A Murloc Raider

Forum posts: 4
File comments: 97
Uploads: 0
Target-of-Target seems to be working strangely in default blizz frames sometimes.
Example: Voidwalker tanking. ToT shows animated picture of the VW. Opponent targets myself. ToT shows a nice picture of me. Enemy goes back to attacking my VW. ToT still shows a picture of myself - subbed with the name of my Voidwalker.
This is kinda confusing.
Last edited by Pusikas : 04-07-13 at 04:52 AM.
Pusikas is offline Report comment to moderator  
Reply With Quote
Unread 04-03-13, 10:17 AM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
I have yet to reproduce it myself.
10leej is offline Report comment to moderator  
Reply With Quote
Unread 04-03-13, 06:04 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
I've done several raids since this report (early ToT25 normal, TER10 normal, MV10 heroic, MV-LFR, HoF-LFR, ToT-LFR), with somewhere between 22-28 addons loaded (including DBM and Clique--to be fair at least 19 of the addons are ones I've written myself) in a tanking, dps and healing role, changing focus a lot especially on the latter. I've not gotten a single byte of a taint.log, except when intentionally triggering one to confirm logging was working (going into interface options and closing the window in combat will taint a mess of stuff like raid frames in every UI on the planet if a single addon adds to the interface options panel).

I've gone over the code (there's not a lot of it, the non-options code is less than 300 lines) to see if there's any potential taint issue. I won't say there is none, but I can't see any.

I'll continue to keep taint logging on, but I'd appreciate any information on how to reproduce the taint issue being seen.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 03-31-13, 07:02 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Originally Posted by 10leej
Looks like adapt is blocking set/clear focus on default raid frames during combat.
Hmm ran a clear taintlog on two raids, one where I was definitely changing focus a lot. I'll look into it.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 03-31-13, 06:44 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
Looks like adapt is blocking set/clear focus on default raid frames during combat.
10leej is offline Report comment to moderator  
Reply With Quote
Unread 03-30-13, 03:13 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
BobUI is update and is no longer skinning portraits by lua so there should no longer be compatibility issues as long as you support square portraits.
Last edited by 10leej : 03-30-13 at 03:13 PM.
10leej is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: