Quantcast WIP - Pretty unit frames - Page 2 - WoWInterface
Thread Tools Display Modes
02-15-14, 04:20 PM   #21
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 648
Originally Posted by zork View Post
Oh. You really should google for "blizzard press kit".

Like:
http://blizzard.gamespress.com/World-of-Warcraft

Tons of stuff.
Holy crap, this'll be fun.
__________________
All I see is strobe lights blinding me in my hindsight.
  Reply With Quote
02-15-14, 04:35 PM   #22
Nynaeve
A Cobalt Mageweaver
 
Nynaeve's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 245
I will try to phrase this question in a non-convoluted way. I make no promises.

Would it be difficult to vary the portrait by level, insofar as, if you wanted to use those pictures for level 90, but the old forum avatar pictures for race&class at levels 1-59, 60-69, 70-79, 80-89 respectfully?

http://www.wowwiki.com/Gallery_of_player_avatars
http://wowpedia.org/Gallery_of_player_avatars

ETA: Obviously someone's armoury picture (or something) would have to serve as a placeholder for certain excluded new(ish) race-class combinations. (e.g. Troll Warlock)

( This may be a dumb question, but my only forays into unit frame coding have been to tweak PerfectRaid when horribly out of date. )
__________________
"For in the plot we find more than just a man, we find the idea of that man, the spirit of that man, and that is what we must never forget." Evey (V)

Last edited by Nynaeve : 02-15-14 at 04:43 PM. Reason: Forgot to add about race-class combos not originally in the avatar set.
  Reply With Quote
02-15-14, 05:21 PM   #23
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 648
Originally Posted by Nynaeve View Post
I will try to phrase this question in a non-convoluted way. I make no promises.

Would it be difficult to vary the portrait by level, insofar as, if you wanted to use those pictures for level 90, but the old forum avatar pictures for race&class at levels 1-59, 60-69, 70-79, 80-89 respectfully?

http://www.wowwiki.com/Gallery_of_player_avatars
http://wowpedia.org/Gallery_of_player_avatars

ETA: Obviously someone's armoury picture (or something) would have to serve as a placeholder for certain excluded new(ish) race-class combinations. (e.g. Troll Warlock)

( This may be a dumb question, but my only forays into unit frame coding have been to tweak PerfectRaid when horribly out of date. )
Exactly what I was going to mess around with. Should be possible using simple UnitLevel calls but as always, I could be wrong.
__________________
All I see is strobe lights blinding me in my hindsight.
  Reply With Quote
02-16-14, 12:48 AM   #24
skarie
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 37
New idea :)

Hi guys,

Thanks for all the inputs. All of your ideas "spawn" another new idea in my head . This is what I am thinking:

How about we create an oUF unit frame/template that allows people to use their own customized portraits ? Let say I have a set of images that I want to use for each unit class (dk, priest,... ). Now I can put those images in a media folder that lets oUF handles the rest.

For an exmaple, I want to use comics hero as portraits for every class (batman is dk, wolverine is warrior...). All I have to do is to rename those images in such a way that oUF will know which image is used for which class.

**btw Zork, just so you know. I am stealing your backdrop codes and edge file... Hope you dont mind.

OMG, more ideas are rushing in my head....I was also thinking about our customized images don't have to be any particular size. We can let the users open the images in game and choose the region they want to use for portrait. <--- this could be hard to do .

What do you guys think?

Last edited by skarie : 02-16-14 at 12:51 AM.
  Reply With Quote
02-16-14, 11:00 AM   #25
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,686
Originally Posted by skarie View Post
**btw Zork, just so you know. I am stealing your backdrop codes and edge file... Hope you dont mind.
No I do not. That is why I made the layout.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
02-16-14, 12:40 PM   #26
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,174
Originally Posted by Nynaeve View Post
Would it be difficult to vary the portrait by level, insofar as, if you wanted to use those pictures for level 90, but the old forum avatar pictures for race&class at levels 1-59, 60-69, 70-79, 80-89 respectfully?
I took the liberty and batch converted the files to tga

Something like this could work:

lua Code:
  1. local UnitIsPlayer = UnitIsPlayer
  2. local UnitClass = UnitClass
  3. local UnitRace = UnitRace
  4. local UnitSex = UnitSex
  5. local UnitLevel = UnitLevel
  6. local SetPortraitTexture = SetPortraitTexture
  7.  
  8. local _
  9.  
  10. local lower = string.lower
  11. local format = string.format
  12. local template = [[avatars\%s-%s-%s-%d]]
  13.  
  14. local function UnitAvatar(texture, unit)
  15.     if UnitIsPlayer(unit) then
  16.         local race, class, sex, level, tex
  17.         _, class = UnitClass(unit)
  18.         _, race = UnitRace(unit)
  19.         if race == 'Scourge' then
  20.             race = 'Undead'
  21.         end
  22.         sex = UnitSex(unit) == 3 and 'female' or 'male'
  23.         level = UnitLevel(unit)
  24.  
  25.         -- in case we target someone with a question mark, then they are at least 10 levels higher
  26.         if not level or level < 1 then
  27.             level = UnitLevel('player') + 10;
  28.         end
  29.  
  30.         tex = lower(format(template, class, race, sex, level > 79 and 80 or level > 69 and 70 or level > 59 and 60 or 1))
  31.         texture:SetTexture(tex)
  32.         texture:SetTexCoord(0, 1, 0, 1)
  33.         -- In case we want round ones
  34.         -- SetPortraitToTexture(texture, tex)
  35.     else
  36.         SetPortraitTexture(texture, unit)
  37.         texture:SetTexCoord(0.15, 0.85, 0.15, 0.85)
  38.     end
  39. end
Attached Files
File Type: zip avatars.zip (1.90 MB, 194 views)
  Reply With Quote
02-19-14, 06:11 PM   #27
skarie
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 37
New Theme added

http://postimg.org/image/m6gb8hck9/full/
  Reply With Quote
02-20-14, 05:07 PM   #28
Nynaeve
A Cobalt Mageweaver
 
Nynaeve's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 245
Originally Posted by skarie View Post
Nice!
What variance are you using, atm? Judging from the health bar coloration, it seems you're grouped with multiple hunters, some of which have different portraits? (Edit: Defintiely not pets, as one of them is talking in party chat. :P)

OH! I meant to ask the other day, what was the human monk(?) avatar you were using with the forum icons in the OP photo? It fit in rather well, and if someone has made monk, panda, and/or new(er) class-race combo pictures to fit in with the old forum avatars, I'd love to see them!
__________________
"For in the plot we find more than just a man, we find the idea of that man, the spirit of that man, and that is what we must never forget." Evey (V)

Last edited by Nynaeve : 02-20-14 at 05:16 PM. Reason: previous phrasing seemed to imply Skarie was multi-boxing a handful of hunters. Whoops. > . <
  Reply With Quote
02-28-14, 05:45 AM   #29
skarie
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 37
Straying too far ? ^_^

http://postimg.org/image/uqnk00wwn/full/

Am I ?
  Reply With Quote
02-28-14, 06:34 AM   #30
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 354
Yes, it's too creepy for my tastes. Besides, you're losing a lot of screen real estate.
  Reply With Quote
02-28-14, 12:41 PM   #31
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,507
Originally Posted by Talyrius View Post
Yes, it's too creepy for my tastes. Besides, you're losing a lot of screen real estate.
^^This

Plus, as a female gamer, I roll my eyes and sigh and shake my head at this....
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
02-28-14, 10:12 PM   #32
skarie
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 37
Yes, it's too creepy for my tastes. Besides, you're losing a lot of screen real estate.
Define creepy . Just kidding I do know what you mean. It's true that I almost used 1/4 of my entire screen to display raid frames. Point well taken.

Code:
^^This

Plus, as a female gamer, I roll my eyes and sigh and shake my head at this....
sorry, you didn't like it. It was one of those moment of weakness. I guess I am going back to my original idea and try to build on it. http://postimg.org/image/wr5y6vrbn/full/
  Reply With Quote
03-01-14, 01:09 AM   #33
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,616
Originally Posted by skarie View Post
Why are these things always Asian girls with gigantic cow udders for boobs? Why are they never scantily clad muscular men?

Anyway, if you're going to bother using screen space on portraits, they should at least have some usefulness in identifying the class or role or something. Random sexy pictures are just distracting wastes of space in a UI.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
03-02-14, 10:06 AM   #34
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
Originally Posted by Phanx View Post
Anyway, if you're going to bother using screen space on portraits, they should at least have some usefulness in identifying the class or role or something. Random sexy pictures are just distracting wastes of space in a UI.
Would make for interesting raids though.... Albeit hopefully without voice chat enabled. Also - lots of dead people everywhere :P

But I must say, it's an interesting idea. (the setup with custom images, not the barely dressed girls :P)
__________________
  Reply With Quote
09-13-15, 04:23 AM   #35
Soulcleaver
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 63
Sorry for opening a old thread.. but does anyone know where i can get those LFG icons?

http://postimg.org/image/wr5y6vrbn/full/

The dps,healer,tank icons ?
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » UI Screenshots, Feedback and Design Discussion » WIP - Pretty unit frames

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off