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

ZAdjust: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Testid123 (talk | contribs)
mNo edit summary
Testid123 (talk | contribs)
mNo edit summary
 
Line 9: Line 9:
|ares=yes
|ares=yes
}}
}}
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.
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.


Line 16: Line 15:
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag.
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag.
{{Bugs}}
{{Bugs}}
[[ZAdjust]] affects [[Animations]] of [[Anim]] sets under [[Primary]] or [[Secondary]] including [[Weapon]].
[[ZAdjust]] affects [[Animations]] of [[Anim]] sets under [[Primary]] or [[Secondary]] including [[Weapon]].<br>
 
by larger values '''(ZAdjust=100,ZAdjust=1000,ZAdjust=10000)''', This will make [[Animations]] scroll down continuously '''(only some parts are visible)'''
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]]

Latest revision as of 08:59, 31 October 2024

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

Note

  • Images in the Particles section will not read this tag. Although the Image in the section Animations will have this tag.

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