Target arrow
Just watched https://www.youtube.com/watch?v=LJQmwx4iqbk
I have no clue how many of the ui elments are done. One of the features is the target arrow which I think is super cool. And I want to rebuild that. Semlar posted his sizer idea lately and that is really useful here aswell. Basically if PLAYER_TARGET_CHANGED is fired and we have a target nameplate we need to wait for 1 frame. After that the target nameplate will be set to the correct alpha. We scan for the target nameplate and clear the sizer setpoints. After that we can disable the OnUpdate by hiding the timer frame. The sizer frame has OnSizeChanged as an event. Thus once the nameplate moves it will let us know. Now we only need to calculate the position in relation to the screen center and have a texture position in the center of the screen that we rotate properly. |
Holy shit. Not sure if Iron Man hud or a wow ui. Call me Jon Snow, 'cause I know nothing anymore.
|
Quote:
|
I really would like to know how he'S doing those "plates" or "tooltips" or whatever it is:
I can't imagine a way to render that stuff in a perspectively correct way ... especially not if they are moving like in the video. |
I sat down and wrote the addon for the target pointer.
http://www.wowinterface.com/download...etPointer.html http://imgur.com/a/4fl4T To bad I could not disable the OnUpdate completly. I forget about what happens when a nameplate gets off-screen. Another nameplate may take its place. >_< Nevertheless. Works pretty nicely. The rotation itself could be done with the WoW animation API I think. Thus I could ease the movement a bit more. @Duugu Me too. That 3D transformation lol. He replied to my questions over at MMO. Maybe he will answer your questions aswell. http://www.mmo-champion.com/threads/...1#post32115494 |
I use targeting arrows with my own nameplate addon, but I try and connect all of the units that are targeting each other.
Each set of arrows is just one texture sized and rotated to connect the frames. Pretty much stole the idea from NPA, just a different implementation. As for SilverLion's interface, he did almost everything entirely in weak auras and swapping static images out for animations. |
What is this NPA?
|
|
@semlar
Btw have I mentioned that your video is quite amazing aswell? If you can extract some of the arrow code and post it I would be grateful. I want to take a look at it. |
What is up with his player model. I never know it woud be possible to only show the model and not the texturs and even more important it dosen't move e.g. male trolls normaly always go up and down whole time, thats a problem with many 3D portrait addons.
|
His animation is selfmade out of textures. One texture per frame. He probably used some model viewer or sth like that to generate them.
|
Quote:
|
Quote:
Quote:
|
He posted the ui at a blizz fan website, named NGA in China.
The main structure is working on weakauras, all the animations are created by this addon. Here is the site: http://bbs.ngacn.cc/read.php?tid=7829347&_ff=200 You can google translate the site.:p |
All times are GMT -6. The time now is 02:23 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI