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

Difference between revisions of "YDrawOffset"

From ModEnc
Jump to: navigation, search
 
m (Added leptons, TS)
Line 2: Line 2:
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
 
|files={{Categ|Art(md).ini}}
 
|files={{Categ|Art(md).ini}}
|values=signed number
+
|values=signed integers
 
|special=None
 
|special=None
 
|default=0
 
|default=0
 
|types=any art entry
 
|types=any art entry
|games=TS?, [[RA2]], [[YR]]
+
|games=[[TS]], [[RA2]], [[YR]]
 
}}
 
}}
 
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 tag that can be applied to any entry in the {{Categ|Art(md).ini}} file (except infantry sequences, of course).<br>
Line 14: Line 14:
 
'''positive''' values move the image '''down''', while<br>
 
'''positive''' values move the image '''down''', while<br>
 
'''negative''' values move the image '''up'''.
 
'''negative''' values move the image '''up'''.
 +
 +
The values are measured in [[lepton]]s.
  
 
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 tag.

Revision as of 11:51, 15 August 2006

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.