Jump to content

WeaponCount: Difference between revisions

From ModEnc²
en>Nighthawk200
m Template Updated
en>EvilRenegade
m Replacing Template:TTL with Template:F.
Line 10: Line 10:
}}
}}


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


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

Revision as of 10:53, 27 November 2009

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.