ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
YDrawOffset
Flag: | YDrawOffset |
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: | Any TechnoType art entry |
This is a quite useful flag that can be applied to any entry in the Art(md).ini file (except infantry sequences, of course).
Using this flag, you can – like its name suggests – adjust the image's Y-draw offset, which basically means that you can move your image (preferably 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 pixels.
You can avoid having to edit your SHP files in order to "move" them up or down simply by using this flag . However, note that this will also affect how the image is layered with others. Moving the image up will cause it to be rendered on a "higher" layer (closer to the screen), and vice versa.