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
(Final Alert 2 does NOT use Name, but UIName like the game. Also: TS has textless cameos. CameoText=Name.)
m (A sentence I wrote makes no sense wat-so-ever. Is no-one re-reading the modifications?)
Line 22: Line 22:
 
In [[Tiberian Sun]], the cameos are without text. {{f|Name|link}} is written on these by the game.
 
In [[Tiberian Sun]], the cameos are without text. {{f|Name|link}} is written on these by the game.
  
Note that [[Final Alert 2]] does NOT use {{f|Name|link}} to determine the names of objects, but {{f|UIName|link}} as well like the game. This means that {{f|Name|link}} can only be used to tell whose code you're looking at if you can't determine that from it's identifier (you know, the name between the [ and ]), which in turn is the only thing you have to know which TechnoType your cursor is hovering over in [[Final Alert 2]].
+
Note that [[Final Alert 2]] does NOT use {{f|Name|link}} to determine the names of objects, but {{f|UIName|link}} as well like the game. This means that {{f|Name|link}} can only be used to tell whose code you're looking at if you can't determine that from it's identifier (you know, the name between the [ and ]) when in Rules(md).ini
 +
This 'Identifier' in turn is the only way to identify TechnoTypes by hovering the cursor is hovering over them in [[Final Alert 2]]. The ID is displayed at the bottom-left.
  
 
The Name is truncated to 23 characters maximum regardless of how many you enter.
 
The Name is truncated to 23 characters maximum regardless of how many you enter.

Revision as of 23:28, 13 August 2018

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
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 UIName, as an approach with strings makes for easier localization.

In Tiberian Sun, the cameos are without text. Name is written on these by the game.

Note that Final Alert 2 does NOT use Name to determine the names of objects, but UIName as well like the game. This means that Name can only be used to tell whose code you're looking at if you can't determine that from it's identifier (you know, the name between the [ and ]) when in Rules(md).ini This 'Identifier' in turn is the only way to identify TechnoTypes by hovering the cursor is hovering over them in Final Alert 2. The ID is displayed at the bottom-left.

The Name is truncated to 23 characters maximum regardless of how many you enter.

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.)