ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Name"

From ModEnc
Jump to: navigation, search
m
(Updated with a note)
Line 18: Line 18:
 
== On Houses / Countries / ObjectTypes / SuperWeaponTypes / TeamTypes ==
 
== On Houses / Countries / ObjectTypes / SuperWeaponTypes / TeamTypes ==
  
Plain-text name of this object. Was used in games prior to [[Red Alert 2]] to output the object's name. It is now largely superceded by {{f|UIName|link}}, as an approach with strings makes for easier localization.
+
Plain-text name of this object used to output the object's name. In {{ra2}} and {{yr}}, it is largely superceded by {{f|UIName|link}}, as an approach with strings makes for easier localization.
  
In [[Tiberian Sun]], cameos are without text. {{f|Name|link}} is written on these by the game.
+
=== Notes ===
  
Note that [[Final Alert 2]] does ''not'' use {{f|Name|link}} to determine the names of [[TechnoTypes]], but {{f|UIName|link}} as well like the game.
+
* 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.
  
{{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.
 +
 
 +
* If the name string is empty ({{tt|Name<nowiki>=</nowiki>}}), the game will use the type name instead, e.g. {{tt|GACNST}}.
 +
 
 +
* [[Final Alert 2]] does ''not'' use {{f|Name|link}} to determine the names of [[TechnoTypes]], but {{f|UIName|link}} as well like the game.
  
 
== In [{{f|General|link}}] ==
 
== In [{{f|General|link}}] ==

Revision as of 11:35, 20 December 2023

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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


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

  • In Tiberian Sun, cameos are without text. Name is written on these by the game. This feature also remains in RA2, but is disabled.
  • Name strings are truncated to 23 characters maximum regardless of how long of a string you enter.
  • If the name string is empty (Name=), the game will use the type name instead, e.g. GACNST.

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.

In [Basic]

In maps, this flag specifies the map name as shown in the game. (In RA2/YR, .map maps ignore this value and take their name from the mission.ini or PKT files.)