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

ActiveAnimZAdjust: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
Crimsonum (talk | contribs)
Cleaned up & removed incorrect information
Line 1: Line 1:
Used in a building's art(md).ini entry and moves the <tt>[[ActiveAnim]]</tt> and <tt>[[ActiveAnimDamaged]]</tt> up (negative numbers) or down (positive numbers) 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
}}
Used in a building's art(md).ini entry and adjusts the [[ZAdjust|Z-draw offset]] for the building's {{f|ActiveAnim|link}} and {{f|ActiveAnimDamaged|link}} animations. Negative values cause the animation to be drawn "closer to the screen" and positive values "away" from the screen, measured in [[leptons]].


===Notes===
The related flags {{f|ActiveAnimTwoZAdjust|link}}, {{f|ActiveAnimThreeZAdjust|link}}, and {{f|ActiveAnimFourZAdjust|link}} do the same and apply to their respective {{tt|ActiveAnim#}} and {{tt|ActiveAnim#Damaged}} animations.
* The related tags <tt>ActiveAnimTwoZAdjust</tt> and <tt>ActiveAnimThreeZAdjust</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 ActiveAnimZAdjust also do not go beyond 3.
* Consider the "up" and "down" here as relative to the ground - "up" means "out of the ground", while "down" means "into the ground". The <tt>[[ActiveAnimY]]</tt> tag instead moves an animation "up" and "down" relative to the player's camera - in the sense of "north" or "into the screen", and "south" or "out of the screen".  


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

Revision as of 09:12, 10 November 2018

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: ActiveAnimZAdjust
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


Used in a building's art(md).ini entry and adjusts the Z-draw offset for the building's ActiveAnim and ActiveAnimDamaged animations. Negative values cause the animation to be drawn "closer to the screen" and positive values "away" from the screen, measured in leptons.

The related flags ActiveAnimTwoZAdjust, ActiveAnimThreeZAdjust, and ActiveAnimFourZAdjust do the same and apply to their respective ActiveAnim# and ActiveAnim#Damaged animations.

See also