Name: Difference between revisions
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
Final Alert 2 does NOT use Name, but UIName like the game. Also: TS has textless cameos. CameoText=Name. |
||
Line 20: | Line 20: | ||
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 {{f|UIName|link}}, as an approach with strings makes for easier localization. | 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 {{f|UIName|link}}, as an approach with strings makes for easier localization. | ||
Note that [[Final Alert 2]] | 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]]. | |||
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 14:35, 4 January 2016
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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 ]), which in turn is the only thing you have to know which TechnoType your cursor is hovering over in Final Alert 2.
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.)