Download
(19Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 03-10-24 12:26 PM
Pictures
File Info
Compatibility:
Classic (1.15.1)
Seeds of Renewal (10.2.5)
WOTLK Patch (3.4.3)
Updated:03-10-24 12:26 PM
Created:unknown
Downloads:137,190
Favorites:250
MD5:
Categories:Graphic UI Mods, Unit Mods
10.2.5

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

Version: 2.4.12
by: Gello [More]

This small addon animates the static portraits 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.

Q: What's an "anonymous portrait"?
A: When this addon was first written in 2006, 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.

03/10/2024 version 2.4.12
- toc update for 1.15.1 patch

01/16/2024 version 2.4.11
- toc update for 10.2.5 patch

11/07/2023 version 2.4.10
- toc update for 10.2 patch
- toc update for 3.4.3 patch

09/05/2023 version 2.4.9
- toc update for 10.1.7 patch

08/24/2023 version 2.4.8
- toc update for 1.14.4 amd 3.4.2 patches

07/11/2023 version 2.4.7
- toc update for 10.1.5 patch

05/03/2023 version 2.4.6
- toc update for icon and 10.1.0 patch

03/21/2023 version 2.4.5
- toc update for 10.0.7 patch

01/25/2023 version 2.4.4
- toc update for 10.0.5 patch

01/19/2023 version 2.4.3
- toc update for 3.4.1 patch

11/15/2022 version 2.4.2
- toc update for 10.0.2 patch

10/25/2022 version 2.4.1
- Update for Dragonflight clients

10/04/2022 version 2.4.0
- Update to support Dragonflight clients
- Beta/PTR users will need to load out of date addons for this to work until the update for the Dragonflight pre-patch

09/01/2022 version 2.3.9
- toc update for WotLK Classic

08/16/2022 version 2.3.8
- toc update for 9.2.7 patch

05/31/2022 version 2.3.7
- toc update for 9.2.5 patch

05/22/2022 version 2.3.6
- Added wago and curse project IDs to toc

05/12/2022 version 2.3.5
- Fix to make wowup recognize the wowinterface provider. (May require a rescan of folders in wowup)

04/03/2022 version 2.3.4
- Models are shifted down to a lower draw layer: overlay to artwork, border/artwork to background. (Please let me know if things are overlapping portraits that shouldn't - I can add an option to have an alternate layering scheme.)

03/27/2022 version 2.3.3
- Moved model drawlayer to match the texture it replaces - and moved background and mask layers to sublevels behind and in front of this layer
- toc update for Classic and BCC clients

02/22/2022 version 2.3.2
- toc update for 9.2 patch

11/02/2021 version 2.3.1
- toc update for 9.1.5 patch

10/09/2021 version 2.3.0
- Added option 'Normal Animation' so models can use their natural animation rather than being forced to a 'stand' animation without idle behaviors that can be distracting. Turning this option on will stop Vulpera models from freezing when they're about to do their idle animations.
- Third-party addons can now prevent Adapt from turning their textures into models by adding a 'noAdapt' property/keyvalue to the texture (texture.noAdapt=true).
- toc update for BCC and Classic Era

06/29/2021 version 2.2.12
- toc update for 9.1.0 patch

05/18/2021 version 2.2.11
- Update for The Burning Crusade Classic

03/13/2021 version 2.2.10
- toc update for 9.0.5 patch

10/13/2018 version 2.2.9
- toc update for 9.0 patch

09/28/2020 version 2.2.8
- toc update for 8.3 patch

12/24/2018 version 2.2.7
- toc update for 8.1 patch

07/17/2018 version 2.2.6
- toc update for 8.0 patch

08/29/2017 version 2.2.5
- toc update for 7.3 patch

03/28/2016 version 2.2.4
- toc update for 7.2 patch

10/24/2016 version 2.2.3
- toc update for 7.1 patch

07/03/2016 version 2.2.2
- Also workaround for UNIT_MODEL_CHANGED not firing when a player unghosts, causing their model to remain in ghostly form.

07/03/2016 version 2.2.1
- Workaround for UNIT_MODEL_CHANGED not firing when a warrior finishes 'leap' out of Skyhold, causing fiery/explody model to continue.

05/14/2016 version 2.2.0
- toc update for 7.0 Legion Beta
- Fix for first render not working on a new model

01/21/2016 version 2.1.0
- Rewrote options panel.
- Restructured settings (some with non-standard settings may need to set them back).
- Added new option 'With Overlay Mask' to add a circular texture over models to soften the corners and make them more round.
- Added new option 'Smaller Portrait' to bring round portraits in even further.
- 'Torso Portrait' mode reworked: model turned to 'default rotation' and zoomed in just a bit for a more natural view.
- 'Full Model' mode zoomed in a bit.
- All animations now (theoretically) use a standing animation without idle animations (such as undead going off camera).
- Fixed camera issue when changing the UI scale or display size.

2.0.17 01/15/16 brought corners in slightly for 'circle' portraits
2.0.16 06/22/15 toc update for 6.2 patch
2.0.15 02/24/15 toc update for 6.1 patch
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 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 big 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 (25)
File Name
Version
Size
Author
Date
2.4.11
19kB
Gello
01-16-24 04:02 PM
2.4.10
19kB
Gello
11-07-23 03:33 PM
2.4.9
19kB
Gello
09-05-23 04:46 PM
2.4.8
19kB
Gello
08-24-23 04:05 AM
2.4.7
19kB
Gello
07-11-23 06:02 PM
2.4.6
19kB
Gello
05-02-23 03:21 AM
2.4.5
19kB
Gello
03-21-23 03:09 AM
2.4.4
19kB
Gello
01-25-23 05:00 AM
2.4.3
19kB
Gello
01-19-23 06:02 PM
2.4.2
19kB
Gello
11-15-22 11:17 AM
2.4.1
19kB
Gello
10-25-22 05:40 PM
2.4.0
19kB
Gello
10-10-22 10:44 AM
2.3.9
19kB
Gello
09-01-22 01:56 AM
2.3.8
19kB
Gello
08-16-22 06:33 PM
2.3.7
19kB
Gello
05-31-22 09:03 AM
2.3.6
19kB
Gello
05-22-22 08:03 AM
2.3.5
18kB
Gello
05-12-22 06:24 PM
2.3.4
18kB
Gello
04-03-22 08:11 PM
2.3.3
18kB
Gello
03-27-22 07:06 AM
2.3.2
18kB
Gello
02-22-22 04:34 PM
2.3.1
18kB
Gello
11-02-21 09:38 AM
2.3.0
18kB
Gello
10-09-21 07:41 PM
2.2.12
17kB
Gello
06-29-21 04:44 PM
2.2.11
17kB
Gello
05-18-21 06:50 PM
2.2.10
17kB
Gello
03-13-21 04:51 AM


Post A Reply Comment Options
Unread 10-27-13, 03:25 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
That error looks like it's caused by a blacklisted portrait that belongs to an addon and the addon is later disabled or deleted.

The update posted just now (2.0.10) should fix it.

Thanks for reporting it!
Report comment to moderator  
Reply With Quote
Unread 10-27-13, 11:07 AM  
darody
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Acting Weird

Won't work on my computer with any of the characters on my account, but will work for other people who log in on the same computer, and works with my account on other computers. I do not know what is wrong, but help would be much appreciated because this addon is amazing.

My lua error i get:

Message: Interface\AddOns\Adapt\Adapt.lua:129: table index is nil
Time: 10/27/13 10:02:55
Count: 1
Stack: Interface\AddOns\Adapt\Adapt.lua:129: in function `UpdateBlackcache'
Interface\AddOns\Adapt\Adapt.lua:67: in function <Interface\AddOns\Adapt\Adapt.lua:52>

Locals: (for generator) = <function> defined =[C]:-1
(for state) = <table> {
TargetFramePortrait = 1
InspectFramePortrait = 1
TargetFrameToTPortrait = 1
PartyMemberFrame1Portrait = 1
PlayerPortrait = 1
QuestFramePortrait = 1
}
(for control) = "InspectFramePortrait"
texture = "InspectFramePortrait"
(*temporary) = <table> {
(null) = 1
}
(*temporary) = nil
(*temporary) = "table index is nil"
adapt = <table> {
defaults = <table> {
}
ColorBackLayer = <function> defined @Interface\AddOns\Adapt\Adapt.lua:239
Blackcache = <table> {
}
WalkRunway = <function> defined @Interface\AddOns\Adapt\Adapt.lua:88
CreateModel = <function> defined @Interface\AddOns\Adapt\Adapt.lua:147
CheckSavedVariables = <function> defined @Interface\AddOns\Adapt\Adapt.lua:108
ShowOptions = <function> defined @Interface\AddOns\Adapt\Adapt Options.lua:37
InitializeOptions = <function> defined @Interface\AddOns\Adapt\Adapt Options.lua:25
SetCamera = <function> defined @Interface\AddOns\Adapt\Adapt.lua:229
RefreshAll = <function> defined @Interface\AddOns\Adapt\Adapt.lua:258
ColorAllBackLayers = <function> defined @Interface\AddOns\Adapt\Adapt.lua:252
SetAllCameras = <function> defined @Interface\AddOns\Adapt\Adapt.lua:233
NewSetPortraitTexture = <function> defined @Interface\AddOns\Adapt\Adapt.lua:135
ShapeAllModels = <function> defined @Interface\AddOns\Adapt\Adapt.lua:223
ShapeModel = <function> defined @Interface\AddOns\Adapt\Adapt.lua:210
UpdateBlackcache = <function> defined @Interface\AddOns\Adapt\Adapt.lua:125
main = <unnamed> {
}
SetUnit = <function> defined @Interface\AddOns\Adapt\Adapt.lua:190
portraits = <table> {
}
AddToRunway = <function> defined @Interface\AddOns\Adapt\Adapt.lua:79
runway = <table> {
}
ModelOnShow = <function> defined @Interface\AddOns\Adapt\Adapt.lua:182
}
Report comment to moderator  
Reply With Quote
Unread 10-02-13, 06:04 PM  
lockon1337
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Please help

Hi, Adapt just all of a sudden stopped working. I turned off all my addons except this one and still not working, even the options were gone when I checked the interface. Please help and thank you in advance.
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 04:51 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Seems square and circle layouts work fine
Full body and headshot works fine
class color backrounds

haven't found an anonymous portrait yet to test that.
__________________
Tweets YouTube Website
Last edited by 10leej : 05-01-13 at 04:51 PM.
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 03:35 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally Posted by 10leej
After some more testing using different frames it seems the blacklisting is not working at all
Do other setting changes persist? (Especially if it's non-standard settings already, change one setting to something else to see if it persists)

Is anyone else seeing this behavior?

The trade frames look a tad bit weird, is this on the list to be fixed?
That's caused by the limited amount of draw layers. I'll consider a tweak to fix it, but chances are shifting frames up will cause a bunch of other issues.
Report comment to moderator  
Reply With Quote
Unread 05-01-13, 02:44 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
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
__________________
Tweets YouTube Website
Last edited by 10leej : 05-01-13 at 02:47 PM.
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?
Report comment to moderator  
Reply With Quote
Unread 04-30-13, 08:55 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

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

Forum posts: 583
File comments: 438
Uploads: 22
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
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 04-23-13, 05:14 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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?
Report comment to moderator  
Reply With Quote
Unread 04-22-13, 04:53 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Looks like the blacklist option is not working for at least "AuctionPortraitTexture" and "ClassTrainerFramePortrait"
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 04-07-13, 07:20 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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.
Report comment to moderator  
Reply With Quote
Unread 04-07-13, 06:49 AM  
Pusikas
A Murloc Raider

Forum posts: 5
File comments: 98
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.
Report comment to moderator  
Reply With Quote
Unread 04-07-13, 06:02 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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.
Report comment to moderator  
Reply With Quote
Unread 04-06-13, 07:21 PM  
Pusikas
A Murloc Raider

Forum posts: 5
File comments: 98
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: