Jump to content

ActiveAnimX: Difference between revisions

From ModEnc²
en>Millefeuille
Created page with "Used in a building's art(md).ini entry and moves the <tt>ActiveAnim</tt> (and <tt>ActiveAnimDamaged</tt> left (negative numbers) or right (positive numbers) relative t..."
 
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Used in a building's art(md).ini entry and moves the <tt>[[ActiveAnim]]</tt> (and <tt>[[ActiveAnimDamaged]]</tt> left (negative numbers) or right (positive numbers) relative to the structure's 0,0,0 position (upper left corner) by this many leptons when drawn on the structure.
{{Flag
|name={{PAGENAME}}
|files={{Categ|Art(md).ini}}
|values={{Values|int}}
|default=0
|types=[[BuildingTypes]]
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}


===Notes===
Defines the horizontal offset, in pixels, for this [[BuildingTypes|building]]'s [[ActiveAnim]] and [[ActiveAnimDamaged]] animations. Negative numbers move the animations to the left and positive numbers to the right, relative to the structure's origin (top left corner).  
* The related tags <tt>ActiveAnimTwoX</tt> and <tt>ActiveAnimThreeX</tt> do the same and apply to the animations specified in <tt>[[ActiveAnimTwo]]</tt>, <tt>[[ActiveAnimTwoDamaged]]</tt>, <tt>[[ActiveAnimThree]]</tt> and <tt>[[ActiveAnimThreeDamaged]]</tt>, respectively. As there are only three slots for ActiveAnims, the tags for ActiveAnimX also do not go beyond 3.  


===See also===
==See also==
* [[ZAdjust]]
* [[ZAdjust]]
* [[ActiveAnimZAdjust]]
* [[ActiveAnimZAdjust]]
* [[ActiveAnimY]]
* [[ActiveAnimY]]
* [[ActiveAnimYSort]]
* [[ActiveAnimYSort]]

Latest revision as of 21:35, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ActiveAnimX
File(s): Art(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: BuildingTypes


Defines the horizontal offset, in pixels, for this building's ActiveAnim and ActiveAnimDamaged animations. Negative numbers move the animations to the left and positive numbers to the right, relative to the structure's origin (top left corner).

See also