Jump to content

Layer: Difference between revisions

From ModEnc²
en>Crimsonum
mNo edit summary
m 6 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
|files={{ini|art}}
|files={{ini|art}}
|types={{Categ|Animations}}
|types={{Categ|Animations}}
|values=Layer ID: Surface, Ground, Air, or Top
|values={{Values|string|Layer name [Surface, Ground, Air, or Top]}}
|default=Air
|default=Air
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
|ares=yes
Line 11: Line 12:
Determines which layer this [[animation]] should be played on.  
Determines which layer this [[animation]] should be played on.  


All objects in the game are sorted between 4–5 layers. These layers are identified as, from lowest to highest, '''Underground'''<ref>Available only in {{ts}} and {{fs}}. Underground exists beneath the terrain, and is used by burrowing units to hide from the view.</ref>, '''Surface''', '''Ground''', '''Air''', and '''Top'''. Each layer has its own use case, with different optimizations and operations. For example, Air is the default layer for animations. Surface and Ground refer to the battlefield surface. Top means above everything else (including the shroud).
All objects in the game are sorted between 4–5 layers. These layers are identified as, from lowest to highest, '''Underground'''{{fnl|1}}, '''Surface''', '''Ground''', '''Air''', and '''Top'''. Each layer has its own use case, with different optimizations and operations. For example, Air is the default layer for animations. Surface and Ground refer to the battlefield surface. Top means above everything else (but not above shroud).


===Notes===
===Notes===
<references />
*{{fn|1|Available only in {{ts}} and {{fs}}. Underground exists beneath the terrain, and is used by burrowing units to hide from the view.}}
*Using '''Layer=none''' will cause no animation images to appear. But the animation is still playing.
 
== See Also ==
* [[Surface]]

Latest revision as of 21:56, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Layer
File(s): art(md).ini
Values: Strings: Normal text. (Limited to: Layer name [Surface, Ground, Air, or Top])
Default: Air
Applicable to: Animations


Determines which layer this animation should be played on.

All objects in the game are sorted between 4–5 layers. These layers are identified as, from lowest to highest, Underground1, Surface, Ground, Air, and Top. Each layer has its own use case, with different optimizations and operations. For example, Air is the default layer for animations. Surface and Ground refer to the battlefield surface. Top means above everything else (but not above shroud).

Notes

  • 1 Available only in Tiberian Sun and Firestorm. Underground exists beneath the terrain, and is used by burrowing units to hide from the view.

  • Using Layer=none will cause no animation images to appear. But the animation is still playing.

See Also