Jump to content

YDrawOffset

From ModEnc²
Revision as of 10:03, 15 August 2006 by en>Pd
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: YDrawOffset
File(s): Art(md).ini
Values: signed number
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.

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