Thread:Drullkus/@comment-11090687-20140901154313

Ok, so we've got the AnimBox Template working on most pages now, adding them to the rest of the unit pages is relatively easy.

However I was wandering if it would be possible to make another template just like it for the building animations? Animations it displays could be:


 * x_idle
 * x_active

There's also buildings with specific construction animations...


 * x_construction_phase_1
 * x_construction_phase_2
 * etc.

...and some buildings have both idle/active and contruction animations, so I don't know if it'd be easy.

Example:
 * coalmine_idle
 * coalmine_active
 * coalmine_construction_phase_1
 * coalmine_construction_phase_2

To make matters more complicated, there's also the Defense Buildings/Units. These will both have the regular unit Animbox and the building Animbox. They also have slightly different postfixes.

Example:
 * comp_def_combat_tesla_coil_active
 * comp_def_combat_tesla_coil_damaged
 * twobytwo_construction_phase_1
 * twobytwo_construction_phase_2

The thing is, the postfixes are not consistent. The Lightning Tower uses _active for the idle animation and _damaged for the "broken" animation; whereas the Armor Mulcher uses _idle for the idle animation and _active for the "broken" animation.

Additionally, some buildings/defenses don't have an animation while "idle" but do when "broken"/"active" and vice versa, so it'll display a static image.

Excited yet? ^_^" 