|Go to Page...|
|Thread Tools||Display Modes|
|11-07-12, 05:21 AM||#1|
A Pyroguard Emberseer
Quite a long time ago I posted a tutorial on how to do ring units in WoW.
With a unit framework like oUF in mind it is no problem to create any kind of unitframe style template. (Any unit could use any template you created)
Nobody really picked up on that so I want to give it another try.
I made an example on what can be actually achieved by doing that. See the attached image.
I also made a set of ring segment textures (same ring in different width) for further usage:
With creative usage of background and highlight textures pretty crazy things can be done. Think of texture animationgroups or texture blending.
If you got any questions on that feel free to ask them.
It is not possible to start/end a segment on a value "> 0°" or "< 90°". The problem comes with the triangles that you stretch between (I) and (O).
Example A - Still possible to do:
Example B - Impossible:
As a result the only way to fix this is to start at 0° or 90° depending on filling direction.
Direction A http://dm.next-gen.org/files/ring/in...=13&SA=0&EA=49
Direction B http://dm.next-gen.org/files/ring/in...13&SA=60&EA=90
Not sure if Blizzard has picked up on that but they added a pretty neat function to rotate clamped (already cropped via SetTexCoord) textures:
This comes in pretty handy since we will need it to rotate the ring sements and slices.
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GitHub | Zork | TDMOG
Last edited by zork : 11-07-12 at 07:04 AM.
|12-13-12, 08:42 PM||#2|
Join Date: Aug 2011
|WoWInterface » Developer Discussions » General Authoring Discussion » Ring unitframes|