Jump to content

ZAdjust: Difference between revisions

From ModEnc²
en>Crimsonum
m This flag does not exist in TS/FS.
en>Testid123
mNo edit summary
Line 13: Line 13:


Adjusting the Z-offset is useful for rendering the animation behind or in front of other animations or objects.
Adjusting the Z-offset is useful for rendering the animation behind or in front of other animations or objects.
{{Bugs}}
[[ZAdjust]] affects [[Animations]] of [[Anim]] sets under [[Primary]] or [[Secondary]] including [[Weapon]].
by larger values '''(ZAdjust=100,ZAdjust=1000,ZAdjust=10000)'''
This will make [[Animations]] scroll down continuously '''(only some parts are visible)'''


==See also==
==See also==
* [[NormalZAdjust]] – equivalent flag for [[BuildingTypes]]
* [[NormalZAdjust]] – equivalent flag for [[BuildingTypes]]
* [[ActiveAnimZAdjust]] – equivalent flag for [[BuildingTypes]]'s [[ActiveAnim|ActiveAnims]]
* [[ActiveAnimZAdjust]] – equivalent flag for [[BuildingTypes]]'s [[ActiveAnim|ActiveAnims]]

Revision as of 13:41, 26 June 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ZAdjust
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: Animations


This flag adjusts the animation's location on the Z-axis (depth), measured in leptons. Positive values move the animation "away from the screen" or "closer to the ground". Negative values do the opposite.

Adjusting the Z-offset is useful for rendering the animation behind or in front of other animations or objects.

Bugs/Side-Effects/Unexpected Limitations ZAdjust affects Animations of Anim sets under Primary or Secondary including Weapon.

by larger values (ZAdjust=100,ZAdjust=1000,ZAdjust=10000)

This will make Animations scroll down continuously (only some parts are visible)

See also