WeaponCount: Difference between revisions
Appearance
en>DCoder Rewrite |
en>DCoder m Damn c/p error, this is WeaponCount, not TurretCount |
||
| Line 11: | Line 11: | ||
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 ({{TTL|Gunner|yes}}), charge turrets ({{TTL|IsChargeTurret|yes}}), or gattling logic ({{TTL|IsGattling|yes}}). | ||
In those cases, the game parses weapons specified by {{Tt|(Elite)Weapon''%d''=}} , where ''%d'' represents the number between 1 and {{TTL| | 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}}. | ||
Revision as of 11:43, 15 August 2006
|
|
|
|
|
|
| Flag: | WeaponCount |
| File(s): | Rules(md).ini |
| Values: | unsigned integers |
| Special Values: | None |
| 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.





