Jump to content

Theater: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Crimsonum
Fixed formatting style and writing, reordered some sections. Fixed typos.
Line 1: Line 1:
==On ObjectTypes==
{{Flag
{{Flag
|files={{Categ|ini=art}}
|files={{Categ|ini=art}}
Line 6: Line 7:
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
}}
}}
{{HorizontalBar|Although this flag is parsed on all object types, it only works properly on [[SHP]] art.}}


Specifies if an alternate [[image]] should be loaded for the object based on the map's [[theatres|theatre]]. If this is set, the game will discard the {{Tt|SHP}} extension of the filename and use the same extension this theatre's terrain tiles use. The characters used for each theatre can be found on the [[Theatres]] page.
Specifies if an alternate [[image]] should be loaded for the object based on the map's [[theatres|theatre]]. If this is set, the game will discard the {{Tt|SHP}} extension of the filename and use the same extension this theatre's terrain tiles use. The characters used for each theatre can be found on the [[Theatres]] page.
Line 17: Line 17:
In {{ra2}}/{{yr}}, {{f|Theater|yes}} essentially hardcodes the object to be a [[TerrainTypes|terrain object]]. Ore can spawn and grow in their [[Foundation]] range, and they can use the relevant {{f|SpawnsTiberium|link}}, {{f|IsAnimated|link}}, {{f|AnimationRate|link}}, and {{f|AnimationProbability|link}} 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, {{f|TemperateOccupationBits|link}}/{{f|SnowOccupationBits|link}}, apply. Objects with {{f|Theater|yes}} will furthermore not accept most art flags such as {{f|ActiveAnim|link}} or {{f|Palette|link}}.
In {{ra2}}/{{yr}}, {{f|Theater|yes}} essentially hardcodes the object to be a [[TerrainTypes|terrain object]]. Ore can spawn and grow in their [[Foundation]] range, and they can use the relevant {{f|SpawnsTiberium|link}}, {{f|IsAnimated|link}}, {{f|AnimationRate|link}}, and {{f|AnimationProbability|link}} 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, {{f|TemperateOccupationBits|link}}/{{f|SnowOccupationBits|link}}, apply. Objects with {{f|Theater|yes}} will furthermore not accept most art flags such as {{f|ActiveAnim|link}} or {{f|Palette|link}}.


<h1><center>== ===On Map=== ==</center></h1>
===Limitations===
Specifies how this map uses the [[Theatres]] pattern, which allows you to change your current theater to the map you want, for example you can change the snow map to a '''Temperate''' map without creating a new map (There's only a '''50%''' chance. that can be done Because some maps don't support doing this).<br>Examples of use:<br>
* Although this flag is parsed on all object types, it only works properly on [[shape]] art.
'''[Map]'''<br>
* This flag does not work with [[InfantryTypes|infantry types]].
'''Theater=NEWURBAN'''<br>[[File:Hill Between(Original).png]] '''Hill Between(Original)''' [[File:Hill Between(NEWURBAN).png]] '''(Hill Between(NEWURBAN)'''


==Note==
==On Maps==
Even though it states that this tag can be used with [[InfantryTypes]] Yes, but when I tried it, it didn't work.
{{Flag
|files={{Categ|Maps}}
|values={{values|string|[[Theatres]]}}
|types={{Categ|Maps}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
Specifies which [[theatres|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===
<div><ul>
<li style="display: inline-block;">[[File:Hill Between(Original).png|frame|A Hill Between (Original, Theater=URBAN)]]</li>
<li style="display: inline-block;">[[File:Hill Between(NEWURBAN).png|frame|A Hill Between (Theater=NEWURBAN)]]</li>
</ul></div>

Revision as of 20:35, 24 January 2025

On ObjectTypes

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 theatre. If this is set, the game will discard the SHP extension of the filename and use the same extension this theatre's terrain tiles use. The characters used for each theatre can be found on the Theatres 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 Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Theater
File(s): Maps
Values: Strings: Normal text. (Limited to: Theatres)
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