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

WeaponCount

From ModEnc
Revision as of 08:53, 27 November 2009 by EvilRenegade (talk | contribs) (Replacing Template:TTL with Template:F.)
Jump to navigation Jump to search
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: WeaponCount
File(s): Rules(md).ini
Values: unsigned integers
Default: 0
Applicable to: VehicleTypes, BuildingTypes


Specifies the amount of weapons this object has. Used for special weapon systems, for example, turret-changers (Gunner=yes), charge turrets (IsChargeTurret=yes), or gattling logic (IsGattling=yes).

In those cases, the game parses weapons specified by (Elite)Weapon%d= , where %d represents the number between 1 and Template:PAGENAME, as opposed to (Elite)Primary/Secondary it loads normally. Then, (Elite)Weapon1 is used as the default weapon instead of Primary.