NewTheater: Difference between revisions
m Undo revision 19573 by 37.147.32.134 (talk) NewTheater is certainly not hardcoded to true in RA2. |
m RA2 only takes G, N, C like TS, YR also takes Y. Ares DLL is what allows it for all prefixes. |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
| | |hp=yes | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| | |ares=yes | ||
}} | }} | ||
{{HorizontalBar|Although this flag is parsed on all object types, it only works properly on [[SHP]] art.}} | {{HorizontalBar|Although this flag is parsed on all object types, it only works properly on [[SHP]] art.}} | ||
This tag specifies whether or not the game uses special naming logic to get the objects image based on the theater of the map; .shp assets formatted with alternate snow art utilizing this tag should have their files organized such that the second letter of the file corresponds to the theater type. A for "Arctic" and G for "Generic". in a snow map, the game will look for files with the A prefix first, and if there are none, it will fall back to using files with the G prefix. In the games art and rules .ini entries, the A prefix is always used. | |||
For example, if one were to make a new refinery and made separate snow and temperate art for it, then the files would be named as so | |||
Temperate version: | |||
mgrefn | |||
mgrefnbb | |||
mgrefn_a ; and so on | |||
Snow version: | |||
marefn | |||
marefnbb | |||
marefn_a | |||
And in the rules and art.ini entries for this building, the name [MAREFN] would always be used (whether or not there actually is the optional snow art files) | |||
Additionally, this tag means the unit palette is used to draw this image. | |||
In Tiberian Sun and Red Alert 2, the tag would only work if the first letter of the buildings name started with G, N, or C; Yuri's Revenge adds the functionality to Y prefix letter. File names can also use this logic for the other four theaters in YR, though doing so is mostly redundant as special art is typically not made for any theater besides snow. | |||
Ares DLL expands logic onto all prefixes, not just G, N, C, Y. | |||
==See also== | ==See also== | ||
*[[Theatres]] | *[[Theatres]] |
Latest revision as of 13:33, 6 July 2021
Flag: | NewTheater |
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 |
This tag specifies whether or not the game uses special naming logic to get the objects image based on the theater of the map; .shp assets formatted with alternate snow art utilizing this tag should have their files organized such that the second letter of the file corresponds to the theater type. A for "Arctic" and G for "Generic". in a snow map, the game will look for files with the A prefix first, and if there are none, it will fall back to using files with the G prefix. In the games art and rules .ini entries, the A prefix is always used.
For example, if one were to make a new refinery and made separate snow and temperate art for it, then the files would be named as so
Temperate version:
mgrefn mgrefnbb mgrefn_a ; and so on
Snow version:
marefn marefnbb marefn_a
And in the rules and art.ini entries for this building, the name [MAREFN] would always be used (whether or not there actually is the optional snow art files)
Additionally, this tag means the unit palette is used to draw this image.
In Tiberian Sun and Red Alert 2, the tag would only work if the first letter of the buildings name started with G, N, or C; Yuri's Revenge adds the functionality to Y prefix letter. File names can also use this logic for the other four theaters in YR, though doing so is mostly redundant as special art is typically not made for any theater besides snow. Ares DLL expands logic onto all prefixes, not just G, N, C, Y.