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

YDrawOffset

From ModEnc
Revision as of 09:51, 15 August 2006 by DCoder (talk | contribs) (Added leptons, TS)
Jump to navigation Jump to search
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: YDrawOffset
File(s): Art(md).ini
Values: signed integers
Special Values: None
Default: 0
Applicable to: any art entry


This is a quite useful tag that can be applied to any entry in the Art(md).ini file (except infantry sequences, of course).
Using this tag, you can - like its name suggests - adjust the Y draw offset, which basicly means that you can move your image (preferedly animations) up or down on the screen.

Note that
positive values move the image down, while
negative values move the image up.

The values are measured in leptons.

You can avoid having to edit your SHP files in order to "move" them up or down simply by using this tag.