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

Difference between revisions of "UseOwnName"

From ModEnc
Jump to: navigation, search
m (Changed to standard tag-info)
(Updated info and added to categories)
Line 1: Line 1:
{{flag|name=UseOwnName|values=Boolean (true/false)|special=None|default=false|games=YR}}
+
{{flag|name=UseOwnName|files=rulesmd.ini|values=Boolean (true/false)|special=None|default=false|types=InfantryTypes|games=YR}}
UseOwnName is a flag of the rulesmd.ini and only works on InfantryTypes; although other IFV-logic does work on VehicleTypes, this one does not.
 
 
 
 
 
 
If an InfantryType is inside a VehicleType with 'Gunner=yes' set, then the name of the VehicleType will change depending on several rules. Given that there is only one VehicleType in the game with 'Gunner=yes' set, we will assume that we are working with the VehicleType known as the "IFV".
 
If an InfantryType is inside a VehicleType with 'Gunner=yes' set, then the name of the VehicleType will change depending on several rules. Given that there is only one VehicleType in the game with 'Gunner=yes' set, we will assume that we are working with the VehicleType known as the "IFV".
 
If your VehicleType is not called "IFV", then substitute the string "IFV" in the following examples with the 'UIName=' of your VehicleType.
 
If your VehicleType is not called "IFV", then substitute the string "IFV" in the following examples with the 'UIName=' of your VehicleType.
Line 37: Line 34:
  
 
Both of the above inconsistencies are dealt with in the YR Unofficial 1.002 Mini-Patch.
 
Both of the above inconsistencies are dealt with in the YR Unofficial 1.002 Mini-Patch.
 +
 +
 +
[[Category:General Editing Information]]
 +
[[Category:INI Flags]]

Revision as of 15:27, 31 May 2005

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: UseOwnName
File(s): rulesmd.ini
Values: Boolean (true/false)
Special Values: None
Default: false
Applicable to: InfantryTypes


If an InfantryType is inside a VehicleType with 'Gunner=yes' set, then the name of the VehicleType will change depending on several rules. Given that there is only one VehicleType in the game with 'Gunner=yes' set, we will assume that we are working with the VehicleType known as the "IFV". If your VehicleType is not called "IFV", then substitute the string "IFV" in the following examples with the 'UIName=' of your VehicleType.


IFV with no passenger is called "IFV"


IFV whose passenger has 'UseOwnName=true' set is called "<passenger> IFV" (where <passenger> is the 'UIName=' of the passenger).


If the passenger has 'UseOwnName=false' set (default) then the following rules apply:

  • A) If the passenger's IFVMode weapon turret is turret index 0, then the IFV will be called "Rocket IFV"
  • B) If the passenger's IFVMode weapon turret is turret index 1, then the IFV will be called "Machine Gun IFV"
  • C) If the passenger's IFVMode weapon turret is turret index 2, then the IFV will be called "Repair IFV"
  • D) If the passenger's IFVMode weapon turret is turret index 3 (or higher), then the IFV will be called "<passenger> IFV" (where <passenger> is the 'UIName=' of the passenger).

Note: Higher than 3 has not actually been confirmed. If someone tests this then please ammend this page.



Inconsistencies in Yuri's Revenge:

In Yuri's Revenge, there are some inconsistencies with the use of 'UseOwnName='

  • IFVMode 2 (machine gun A, turret 1) is used by GI, Conscript and Spy. "Machine Gun IFV"
  • IFVMode 4 (machine gun B, turret 1) is used by SEAL, Tanya, Boris. "<passenger> IFV"
  • IFVMode 4 (machine gun B, turret 1) is used by Chrono Commando, Psi Commando. "Machine Gun IFV"

Chrono Commando and Psi Commando do not have 'UseOwnName=true' set. I believe they should.

  • IFVMode 3 (flak weapon, turret 1) is used by Flak Trooper. "Machine Gun IFV"

I believe that the turret index for IFVMode 3's weapon turret should be 3.

Both of the above inconsistencies are dealt with in the YR Unofficial 1.002 Mini-Patch.