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
 
(Rewrite (even newer winner of "Page with most categories"))
Line 1: Line 1:
The name of the object this flag belongs to. Was used in games prior to [[Red Alert 2]] to output a unit's name. It is now superceded by [[UIName]], as an approach with strings makes for easier localization.
+
{{Flag
 +
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}, {{Categ|Maps}}
 +
|values=strings
 +
|special=None
 +
|default=none
 +
|types={{Categ|General}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}, {{Categ|Basic}}, {{Categ|Countries}}, {{Categ|SuperWeaponTypes}}
 +
|games=[[RA]], [[TS]], [[RA2]], [[YR]]
 +
}}
  
Note that [[Final Alert 2]] uses <tt>Name=</tt> to determine the names of objects, and that you can't see strings in plain text editors. It is therefore highly recommended to set these flags correctly, even though the game won't show them.
+
== On Infantry/Vehicle/Aircraft/Building/SuperWeapon Types / Countries ==
  
 +
Plain-text name of this object. Was used in games prior to [[Red Alert 2]] to output a unit's name. It is now superceded by {{TTL|UIName}}, as an approach with strings makes for easier localization.
  
As with UIName, there is a <tt>Name=</tt> 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.
+
Note that [[Final Alert 2]] uses {{TTL|Name}} to determine the names of objects, and that you can't see strings in plain text editors. It is therefore highly recommended to set these flags correctly, even though the game won't show them.
 +
 
 +
== In [{{TTL|General}}] ==
 +
 
 +
As with UIName, there is a {{TTL|Name}} flag at the beginning of the [{{TTL|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 [{{TTL|Basic}}] ==
 +
 
 +
In maps, this flag specifies the map name as shown in the game. (In RA2/YR, {{Tt|.map}} maps ignore this value and take their name from the {{TTL|mission.ini}} or {{TTL|PKT}} files.)

Revision as of 15:12, 21 June 2006

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, Maps
Values: strings
Special Values: None
Default: none
Applicable to: General, InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, Basic, Countries, SuperWeaponTypes


On Infantry/Vehicle/Aircraft/Building/SuperWeapon Types / Countries

Plain-text name of this object. Was used in games prior to Red Alert 2 to output a unit's name. It is now superceded by Template:TTL, as an approach with strings makes for easier localization.

Note that Final Alert 2 uses Template:TTL to determine the names of objects, and that you can't see strings in plain text editors. It is therefore highly recommended to set these flags correctly, even though the game won't show them.

In [[[:Template:TTL]]]

As with UIName, there is a Template:TTL flag at the beginning of the [[[:Template:TTL]]] 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 [[[:Template:TTL]]]

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 Template:TTL or Template:TTL files.)