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

Difference between revisions of "ActiveAnimX"

From ModEnc
Jump to: navigation, search
(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...")
 
 
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 23:34, 16 February 2020

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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