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

YDrawOffset: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Added leptons, TS
Testid123 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|Art(md).ini}}
|files={{Categ|Art(md).ini}}
|values=signed integers
|values={{Values|int}}
|special=None
|default=0
|default=0
|types=any art entry
|types=Any [[TechnoType]] art entry
|games=[[TS]], [[RA2]], [[YR]]
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
}}
This is a quite useful tag that can be applied to any entry in the {{Categ|Art(md).ini}} file (except infantry sequences, of course).<br>
This is a quite useful flag that can be applied to any entry in the {{Categ|Art(md).ini}} file (except infantry sequences, of course).<br>
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.
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<br>
Note that<br>
Line 15: Line 19:
'''negative''' values move the image '''up'''.
'''negative''' values move the image '''up'''.


The values are measured in [[lepton]]s.
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 tag.
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.
==Note==
*Images in the [[ Particles]] section will not read this tag. Although the Image in the section [[Animations]] will have this tag.
 
==See also==
* [[ZAdjust]]

Latest revision as of 14:23, 20 September 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: 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.

Note

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

See also