Jump to content

Flat: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 18: Line 18:


{{Bugs}}
{{Bugs}}
If [[Projectile]] has '''Image=Voxel x''' any Then '''Voxel x''' have '''Flat=true''' in the '''[[Art.ini]]''' or '''[[Artmd.ini]]''' section will cause Voxel to not work efficiently
If [[Projectile]] has '''Image=Voxel x''' any Then '''Voxel x''' have '''Flat=true''' in the '''[[Art.ini]]''' or '''[[Artmd.ini]]''' section will cause Voxel to not work efficiently



Revision as of 06:49, 27 July 2024

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 (in TS animation shadows don't work anyway).

Bugs/Side-Effects/Unexpected Limitations If Projectile has Image=Voxel x any Then Voxel x have Flat=true in the Art.ini or Artmd.ini section will cause Voxel to not work efficiently

According to the video below

https://www.youtube.com/watch?v=bwB6BhmGX6g