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

ToOverlay

From ModEnc
Jump to: navigation, 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: ToOverlay
File(s): art(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!
Default: no
Applicable to: BuildingTypes


When the flag ToOverlay= is used, it causes the building type to instead spawn the specified overlay type. This flag was used for walls in TS and RA2, but can also be used to spawn other overlay types. When used, a single instance of the overlay is spawned regardless of the art's Foundation= entry. However, it was not meant to be used this way; Overlay images do not render until the camera pans off and back onto the screen. When used with bridge overlays, the bridges do not perform as they should. When used with crates, the crates do not despawn and can be picked up repeatedly. Bizarrely, infantry units that have picked up any of the tainted crates will scatter whenever another tainted crate is picked up.