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

Theater

From ModEnc
Revision as of 18:38, 24 January 2025 by Crimsonum (talk | contribs) (Fixed British spelling to American spelling.)
Jump to navigation Jump to search

On ObjectTypes

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: Theater
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: TechnoTypes: AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes
as well as ObjectTypes: Animations, Projectiles, TMPTiles, OverlayTypes, ParticleSystems, Particles, SmudgeTypes, TerrainTypes and VoxelAnimTypes


Specifies if an alternate image should be loaded for the object based on the map's theater. If this is set, the game will discard the SHP extension of the filename and use the same extension this theater's terrain tiles use. The characters used for each theater can be found on the Theaters page.

In Red Alert 2/Yuri's Revenge, Theater=yes essentially hardcodes the object to be a terrain object. Ore can spawn and grow in their Foundation range, and they can use the relevant SpawnsTiberium, IsAnimated, AnimationRate, and AnimationProbability flags associated with spawning ore. Furthermore, the game regards them as a 'tree' in terms of pathfinding such that the area in their foundation range becomes unbuildable and impassable to vehicles, but infantry can pass through them. Flags controlling infantry movement through the object, TemperateOccupationBits/SnowOccupationBits, apply. Objects with Theater=yes will furthermore not accept most art flags such as ActiveAnim or Palette.

Limitations

  • Although this flag is parsed on all object types, it only works properly on shape art.
  • This flag does not work with infantry types.

On Maps

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: Theater
File(s): Maps
Values: Strings: Normal text. (Limited to: Theaters)
Applicable to: Maps


Specifies which theater this map should use. Technically, this allows you to change the theater of the map at will, for example from a snow map to a temperate map, without otherwise editing the map or creating a whole new map. However, most theaters are more or less un-interchangeable because their tilesets are ordered differently. Therefore, changing the map theater may result in graphical errors.

How to use

[Map]
Theater=NEWURBAN

Example

  • A Hill Between (Original, Theater=URBAN)
  • A Hill Between (Theater=NEWURBAN)