Jump to content

WeaponCount: Difference between revisions

From ModEnc²
en>DCoder
m Damn c/p error, this is WeaponCount, not TurretCount
en>Nighthawk200
m Template Updated
Line 3: Line 3:
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=unsigned integers
|values=unsigned integers
|special=None
|default=0
|default=0
|types={{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
|types={{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
|games=[[RA2]], [[YR]]
|ra2=yes
|yr=yes
|rp=yes
}}
}}



Revision as of 00:55, 5 April 2007

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 (Template:TTL), charge turrets (Template:TTL), or gattling logic (Template:TTL).

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