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

Flat

From ModEnc
Jump to navigation Jump to search
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: Flat
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes, Projectiles and Animations


Specifies whether or not this building's or animation's image lays flat on the ground.

Notes

Normally, the object's Z-axis extends in upward direction in 3D-space. If this flag is enabled, the Z-axis for this object is laid out "flat" in the northwest direction on the XY-plane of reference. The specific algorithm can be found in the coordinate system of this RA2DIY forum post.

Bugs/Side-Effects/Unexpected Limitations

On animations, this flag disables the animation's shadow[1].

Footnotes

  1. Note that in Tiberian Sun, animations cannot have shadows anyway. So it's irrelevant to this.

See Also

  • DrawFlat - The effect is the same, but for OverlayTypes.