Jump to content

Flat: Difference between revisions

From ModEnc²
en>001010011100101110
Created, why wasn't it before? I can't make two "Applicable to"s to work because it applies to Animations and BuildingTypes, someone else should fix that.
 
Added some new info.
Line 2: Line 2:
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|ini=art}}
|files={{Categ|ini=art}}
|types={{Categ|Animations}}
|types={{Categ|BuildingTypes}}, {{Categ|Animations}}
|values={{Values|boolean}}
|values={{Values|boolean}}
|default=no
|default=no
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
}}
}}


States if the building or animation is flat on the ground. This flag helps the game's drawing logic in determining layers and where to draw it.
States if this [[BuildingTypes|building]] or [[animation]] lays flat on the ground. This flag helps the game's drawing logic in determining [[layer|layers]] and where to draw it.
 
For animations, this flag also moves the animation 3 pixels up on the Y-axis, and has code for disabling the animation's shadow (although animation shadows don't work anyway).

Revision as of 00:29, 27 February 2020

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Flat
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes, Animations


States if this building or animation lays flat on the ground. This flag helps the game's drawing logic in determining layers and where to draw it.

For animations, this flag also moves the animation 3 pixels up on the Y-axis, and has code for disabling the animation's shadow (although animation shadows don't work anyway).