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

Difference between revisions of "Layer"

From ModEnc
Jump to: navigation, search
(Created page with "Determines which layer the animation should be played on. “Top” means above everything else (including the shroud – try firing the Lightning Storm into the shroud). “...")
 
(Updated with more info regarding layers.)
Line 1: Line 1:
Determines which layer the animation should be played on. “Top” means above everything else (including the shroud – try firing the Lightning Storm into the shroud). “Ground” means the battlefield.
+
{{Flag
 +
|name={{PAGENAME}}
 +
|files={{ini|art}}
 +
|types={{Categ|Animations}}
 +
|values=Layer ID: Surface, Ground, Air, or Top
 +
|default=Air
 +
|yr=yes
 +
|ares=yes
 +
}}
 +
 
 +
Determines which layer this [[animation]] should be played on.  
 +
 
 +
In {{ts}} to {{yr}}, 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).
 +
 
 +
===Notes===
 +
<references />

Revision as of 00:12, 27 February 2020

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: Layer
File(s): art(md).ini
Values: Layer ID: Surface, Ground, Air, or Top
Default: Air
Applicable to: Animations


Determines which layer this animation should be played on.

In Tiberian Sun to Yuri's Revenge, all objects in the game are sorted between 4–5 layers. These layers are identified as, from lowest to highest, Underground[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 (including the 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.