ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Name"
From ModEnc
m |
(Character limit in TS/FS is 48) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 22: | Line 22: | ||
=== Notes === | === Notes === | ||
− | * {{f|Name}} strings are truncated to 23 characters maximum regardless of how long of a string you enter. | + | * {{f|Name}} strings are truncated to 23 characters maximum regardless of how long of a string you enter. In {{ts}}, this limit is 48 characters. |
* If the name string is empty ({{tt|Name<nowiki>=</nowiki>}}), the game will use the type name instead, e.g. {{tt|GACNST}}. | * If the name string is empty ({{tt|Name<nowiki>=</nowiki>}}), the game will use the type name instead, e.g. {{tt|GACNST}}. | ||
+ | |||
+ | *For [[Red Alert]] you can change the name immediately, for example Name=GI. | ||
+ | [[File:Name change for Ra1.png]] | ||
* In [[Tiberian Sun]], [[cameos]] are without text. {{f|Name}} is written on these by the game. This feature also remains in RA2, but is disabled. | * In [[Tiberian Sun]], [[cameos]] are without text. {{f|Name}} is written on these by the game. This feature also remains in RA2, but is disabled. |
Latest revision as of 07:42, 13 September 2024
Flag: | Name |
File(s): | rules(md).ini, ai(md).ini, Maps |
Values: | strings |
Default: | none |
Applicable to: | General, Houses, Countries, TechnoTypes, TerrainTypes, OverlayTypes, VoxelAnims, Tiberiums, SuperWeaponTypes, TeamTypes, Basic |
Contents
On Houses / Countries / ObjectTypes / SuperWeaponTypes / TeamTypes
Plain-text name of this object used to output the object's name. In Red Alert 2 and Yuri's Revenge, it is largely superceded by UIName, as an approach with strings makes for easier localization.
Notes
- Name strings are truncated to 23 characters maximum regardless of how long of a string you enter. In Tiberian Sun, this limit is 48 characters.
- If the name string is empty (Name=), the game will use the type name instead, e.g. GACNST.
- For Red Alert you can change the name immediately, for example Name=GI.
- In Tiberian Sun, cameos are without text. Name is written on these by the game. This feature also remains in RA2, but is disabled.
- Final Alert 2 does not use Name to determine the names of TechnoTypes, but UIName as well like the game.
In [General]
As with UIName, there is a Name flag at the beginning of the [General] section. Yet again, it seems to be of no use, however The Guide mentions how it was supposedly possible to use several rule*.ini (rule1.ini, rule2.ini, ...) files in RA, and then to differentiate between them by name. This was, however, never seen in use and was probably dropped in favor of differently named, overriding INIs.