View Single Post
Old 12-18-2012, 08:12 PM   #10
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

In order to facilitate auto stretching, the current Target Box is designed more like a WindowDrawTemplate than a regular static animation, even though it is a static animation. It consists of 5 parts:

Top Border: A_TargetBoxTop / A_TargetBoxStaticAnimTop
Left Border: A_TargetBoxLeft / A_TargetBoxStaticAnimLeft
Right Border: A_TargetBoxRight / A_TargetBoxStaticAnimRight
Bottom Border: A_TargetBoxBottom / A_TargetBoxStaticAnimBottom
Fill (Background): A_TargetBoxFill / A_TargetBoxStaticAnimFill

All 5 parts change color based upon Con.

Using the following abbreviations:
T= Top Border
L= Left Border
R= Right Border
B= Bottom Border
F= Fill

The graphic layout is as follows:

TTTTTTTTTTTTTTTTTTTT
LFFFFFFFFFFFFFFFFFFFFFR
LFFFFFFFFFFFFFFFFFFFFFR
LFFFFFFFFFFFFFFFFFFFFFR
LFFFFFFFFFFFFFFFFFFFFFR
BBBBBBBBBBBBBBBBBBBBBBB

To incorporate another graphic requires two steps. 1) Redefine the Ui2DAnimations; 2) Adjust the StaticAnimations.

It's pretty straighforward once one understands how the graphics are laid out as illustrated above.
__________________

firescue17 is offline   Reply With Quote