NewTheater: Difference between revisions
m Added link to Theatres. |
Millennium (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
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 replace the second character of the default filename into a different one, depending on the theatre. If the game cannot find an appropriately named image, it will fall back to "G" (for generic) as the second character in the image filename. Additionaly, this tag means the unit palette is used to draw this image. | 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 replace the second character of the default filename into a different one, depending on the theatre. If the game cannot find an appropriately named image, it will fall back to "G" (for generic) as the second character in the image filename. Additionaly, this tag means the unit palette is used to draw this image. | ||
The characters used for each theatre can be found on the [[Theatres]] page. | The characters used for each theatre can be found on the [[Theatres]] page. In Tiberian Sun, the tag will only work if the ID for the object starts with either {{Tt|G}}, {{Tt|N}} or {{Tt|C}} and its second letter is {{Tt|A}} (for Arctic/Snow theater) or {{Tt|T}} (for Temperate theater). In RA2, for the tag to work, it must start with either {{Tt|G}}, {{Tt|N}} or {{Tt|C}}, and its second letter must be {{Tt|A}}, {{Tt|T}} or {{Tt|U}} (Urban theater). Both conditions are case-insensitive. In Yuri's Revenge, the ID can also start with {{Tt|Y}}. | ||
{{NeedTesting}} | {{NeedTesting}} |
Revision as of 14:45, 1 March 2009
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 |
Specifies if an alternate image should be loaded for the object based on the map's theatre. If this is set, the game will replace the second character of the default filename into a different one, depending on the theatre. If the game cannot find an appropriately named image, it will fall back to "G" (for generic) as the second character in the image filename. Additionaly, this tag means the unit palette is used to draw this image. The characters used for each theatre can be found on the Theatres page. In Tiberian Sun, the tag will only work if the ID for the object starts with either G, N or C and its second letter is A (for Arctic/Snow theater) or T (for Temperate theater). In RA2, for the tag to work, it must start with either G, N or C, and its second letter must be A, T or U (Urban theater). Both conditions are case-insensitive. In Yuri's Revenge, the ID can also start with Y.
Template:NeedTesting It is not known if the fallback works in TS.