ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

IdleAnim

From ModEnc
Jump to: navigation, search

IdleAnim is a specific animation case that was first used on service depots and conyards in RA2. Service depots used 3 special anims to play certain repairing animations and when no repairing animation was in progress it used its IdleAnim as a way to avoid layering issues. IdleAnim logic was also used to handle the cranes animations of conyards in much the same way except in tandem with the building's production animation.

In yuri's revenge the logic was built onto several more times. For the Yuri grinder, it works in tandem with the special anim to properly layer the animations, with the addition of a second idle anim which also plays only while the building is not 'grinding'. For the bio reactor, the active anims were hacked to play the empty/full frames and in turn the idle anim was hacked to play the active anim. For the industrial plant and the slave miner both, the idle anim is used to play an active anim though no additional logic is attached, hinting at some cut content related to the buildings.


Basically, IdleAnim was a patch animation case included to fix some specific animation issues attached to new building logics, and then repeatedly hacked to support more building logics. In this way, IdleAnim is much like SpecialAnim