WIP - Pretty unit frames
WIP - This is another attempt on making unit more pretty :). Please let me know what you guys think. More screenshots to come.
http://s28.postimg.org/5gd23a77h/Wo_...713_005218.jpg |
Like it...is that released to the public or your own thing?
|
Why don't you use a 3D model of the actual player zoomed to face?
Currently your character portrait is just another indicator of the class. With http://wowprogramming.com/docs/api/SetPortraitTexture you could flatten the 3D model. If the result is a round texture you need to apply a settexcoord first. |
Hi Massiveunit
Right now, i am still working out lots of bugs. So i cant release it yet Zork, Reason I am not using portrait 3D because any one can do that :). I am trying to make it look "good"....maybe not very functional ..but looking good (to me) is more important :). |
Have you thought about taking a picture from when you create a character? You will get a preview of every class/role in a specific class outfit. This one here: http://www.youtube.com/watch?v=qPdI3dPBoDc
The benefit would be that every race is wearing the same outfit. Plus you can easily take a series of pictures from the same angle which makes the texture creation process alot easier. Have you thought of making the portrait texture your health bar texture? Don't get me wrong. I'm just posting ideas that came to my mind. |
The first thing that comes to mind is that, unless you do something like lighten/darken + partial desaturate, it's going to be hard to see indicators at a glance on those unit frames.
|
Zork,
-My photoshop skill is next to zero. So the idea of taking screen shots and then slicing them up scares me :(. -I might use portrait texture as hp bar texture. Maybe health left is in full color and heath lost is desaturated (black/white). I will need your coding expertise here Zork..just saying because it's your idea. :) pelf, Yeah, I agree with you. At first I couldn't tell them apart. My raid comp is pretty much the same everytime. So i get used to them. I am considering putting a vignette (<-- forgive my spelling) around the four corners of portrait as a class color ( dk is red, druid is orange...etc). I don't know how I am gonna implement that yet though. Is there any default texture in wow that I can use? <-- not sure |
Assuming you were willing to just reduce the saturation of the colors a bit, I think you can use LayeredRegion:SetVertexColor() to just directly modify the colors. I'm sure someone else here knows if I've got that right.
EDIT: You got the spelling right :). My curiosity got the better of me and I looked up the etymology. Vignette means "little vines"; vigne is the French word for "vine". |
Well the texture thing really isn't that big of a deal. Neither is the desaturation part of the background.
At least that is what I can say when doing it manually with an oUF layout. Not sure if that kind of stuff can be hacked into another unitframe addon. I can set up an oUF example. |
Quote:
|
Here is how a possible result could look like. The portrait texture can be any texture:
First we have a plain background texture. That could be black or white in any opacity state. That is overlayed with a desatured portrait texture. Blend mode needs testing. On top of that is another red texture with a specific blend mode. Next is the actual StatusBarTexture set to vertical. Addionally we extract the statusbartexture object and anchor another texture on the statusbar object. The spark. Sidenote for myself: x = r - sin(A)*r = 0.14645 // A = 45°, r = 0.5 Circle to Square = texture:SetTexCoord(.15,.85,.15,.85) |
I don't know...
I like them the way they are in the original image. ;) |
Texture is irrelevant as long as it is just a string.
I tested SetPortaitTexture. Seems to work as expected. Going to set up a layout now. *edit* Ok so the basic stuff is working: http://code.google.com/p/rothui/sour...SquarePortrait To bad the PTR just went down. *edit2* Ok the PTR got up again. Here we go: http://www.wowinterface.com/download...ePortrait.html So what I'm doing in the layout is. I convert a 3D unit model into a 2D circluar version. After that I use SetTexCoord to get a square version again. Still some minor issues but the general stuff is in place to grab some ideas. I think the dropshadow function I build is pretty near aswell. When using preset textures from a media folder stuff gets alot easier though because you can make that texture your statusbar texture. |
Quote:
Code:
--portrait Code:
local function UpdatePortrait(self, event, unit) |
I will add a second template to the layout showing how to do a version with static portrait textures.
Pretty awesome race screenshots can be taken from the wow game guide pages: http://us.battle.net/wow/en/game/class/shaman I will take the shaman image as my example. http://us.battle.net/wow/static/imag.../bg-shaman.jpg http://us.battle.net/wow/static/imag...bg-warrior.jpg http://us.battle.net/wow/static/imag...s/bg-rogue.jpg http://us.battle.net/wow/static/imag...ss/bg-monk.jpg http://us.battle.net/wow/static/imag...ath-knight.jpg http://us.battle.net/wow/static/imag...bg-paladin.jpg http://us.battle.net/wow/static/imag.../bg-priest.jpg http://us.battle.net/wow/static/imag.../bg-hunter.jpg http://us.battle.net/wow/static/imag...ss/bg-mage.jpg http://us.battle.net/wow/static/imag...bg-warlock.jpg http://us.battle.net/wow/static/imag...s/bg-druid.jpg *edit* I updated the layout. A new template has been added that supports static textures. You will still need an event handler though. Basically to update target portraits. Not sure how you would work with NPCs though. ;) Regardings the portrait function override. I thought about it and yes I think you can make use of it. But not in the sense of changing your portraits. But you can make use of the PostUpdate function. Thus what I would suggest is this: Lua Code:
Basically you can use the update trigger to change your textures manually. So you do not have to set up event handlers yourself. You only need to do the texture swap. |
Quote:
|
You can get those avatars from the WoW Website Fan Kit.
|
Quote:
|
Oh. You really should google for "blizzard press kit".
Like: http://blizzard.gamespress.com/World-of-Warcraft Tons of stuff. |
All times are GMT -6. The time now is 08:45 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI