ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
ActiveAnimZAdjust: Difference between revisions
Jump to navigation
Jump to search
Millefeuille (talk | contribs) Created page with "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 ..." |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Used in a building's art(md).ini entry and | {{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]]. | |||
= | The ActiveAnimZAdjust= value is particularly useful for keeping building animations from layering improperly with other animations and with other buildings, but less useful for solving layering issues between building animations and units. For that see [[ActiveAnimYSort]] | ||
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. | |||
==See also== | |||
* [[ZAdjust]] | * [[ZAdjust]] | ||
* [[ActiveAnimX]] | * [[ActiveAnimX]] | ||
* [[ActiveAnimY]] | * [[ActiveAnimY]] | ||
* [[ActiveAnimYSort]] | * [[ActiveAnimYSort]] |
Latest revision as of 16:10, 3 July 2021
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 ActiveAnimZAdjust= value is particularly useful for keeping building animations from layering improperly with other animations and with other buildings, but less useful for solving layering issues between building animations and units. For that see ActiveAnimYSort
The related flags ActiveAnimTwoZAdjust, ActiveAnimThreeZAdjust, and ActiveAnimFourZAdjust do the same and apply to their respective ActiveAnim# and ActiveAnim#Damaged animations.