Premium Member
Join Date: Apr 2006
Server: Vox
Posts: 126
|
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.
|