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

UIName: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Leaving out code-tags for now, will add them later - I'm mean, green and unseen anyway...
 
Rewrite
Line 1: Line 1:
Generally the first flag on an object, The content of it is interpreted as being the name of a string in [[ra2(md).csf]]. That string should contain the name of the object the flag belongs to.
{{Flag
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values=strings
|special=None
|default=none
|types={{Categ|General}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}, {{Categ|Countries}}, {{Categ|SuperWeaponTypes}}
|games=[[RA2]], [[YR]]
}}


==Example==
== On Infantry/Vehicle/Aircraft/Building/SuperWeapon Types ==
 
Specifies the (case-insensitive) name of the [[CSF]] string which contains this object's display name.
 
== In [{{TTL|General}}] ==
Seems to have no effect.
 
==Examples==
 
=== #1 ===
  [E1]
  [E1]
  UIName=Name:E1
  UIName=Name:E1
Line 7: Line 24:
Meaning: If the game is in any situation asked to output the name of the unit "E1", it will respond with whatever is put in Name:E1 in ra2(md).csf - "GI", in this case.
Meaning: If the game is in any situation asked to output the name of the unit "E1", it will respond with whatever is put in Name:E1 in ra2(md).csf - "GI", in this case.


=== #2 ===
According to the example below, all [PTROOP] s will be named "Psi Commando" in the game.


Seems to have no effect when used in the [ [[General]] ] section of the rules.
[[Image:csf.png]]

Revision as of 13:20, 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: UIName
File(s): Rules(md).ini
Values: strings
Special Values: None
Default: none
Applicable to: General, InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, Countries, SuperWeaponTypes


On Infantry/Vehicle/Aircraft/Building/SuperWeapon Types

Specifies the (case-insensitive) name of the CSF string which contains this object's display name.

In [[[:Template:TTL]]]

Seems to have no effect.

Examples

#1

[E1]
UIName=Name:E1

Meaning: If the game is in any situation asked to output the name of the unit "E1", it will respond with whatever is put in Name:E1 in ra2(md).csf - "GI", in this case.

#2

According to the example below, all [PTROOP] s will be named "Psi Commando" in the game.