Theater: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by 4 users not shown) | |||
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 | ||
| | |hp=yes | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| | |ares=yes | ||
}} | }} | ||
Specifies if an alternate [[image]] should be loaded for the object based on the map's [[theatres|theater]]. If this is set, the game will discard the {{Tt|SHP}} extension of the filename and use the same extension this theater's terrain tiles use. Correspondingly, the file it uses is not necessarily the standard tem file, such as the original {{tt|tree##.tem}}. The characters used for each theater can be found on the [[Theaters]] page. | |||
{{ | 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. | ||
Objects with {{f|Theater|yes}} will furthermore not accept most art flags such as {{f|ActiveAnim|link}} or {{f|Palette|link}}. | |||
==Note== | |||
*For the [[TerrainTypes]] object, even if '''Theater=yes''' is not specified, if you have an object file whose extension ends with a theater abbreviation, such as .tem .sno .urb etc., when you play in that theater, the object image will change to the current image in that theater file. | |||
{{Bugs}} | |||
* Although this flag is parsed on all object types, it only works properly on [[shape]] art. | |||
* This flag does not work with [[InfantryTypes|infantry types]]. | |||
==On Maps== | |||
{{Flag | |||
|files={{Categ|Maps}} | |||
|values={{values|string|[[Theaters]]}} | |||
|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> |
Latest revision as of 15:40, 13 February 2025
On ObjectTypes
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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. Correspondingly, the file it uses is not necessarily the standard tem file, such as the original tree##.tem. 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.
Objects with Theater=yes will furthermore not accept most art flags such as ActiveAnim or Palette.
Note
- For the TerrainTypes object, even if Theater=yes is not specified, if you have an object file whose extension ends with a theater abbreviation, such as .tem .sno .urb etc., when you play in that theater, the object image will change to the current image in that theater file.
Bugs/Side-Effects/Unexpected 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
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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
- Art(md).ini Flags
- TechnoTypes Flags
- AircraftTypes Flags
- BuildingTypes Flags
- InfantryTypes Flags
- VehicleTypes Flags
- ObjectTypes Flags
- Animations Flags
- Projectile Flags
- TMPTiles Flags
- OverlayTypes Flags
- ParticleSystems Flags
- Particles Flags
- SmudgeTypes Flags
- TerrainTypes Flags
- VoxelAnimTypes Flags
- INI Flags
- Bugs and Errors
- Maps Flags