Jump to content

IsGattling: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
m moar link fix
ATHSE (talk | contribs)
m remove redundant links
Line 13: Line 13:


{{Bugs}}
{{Bugs}}
If a [[VehicleTypes]] has {{f|IsSimpleDeployer|yes|Link}} then it will force [[Weapon2]] and [[EliteWeapon2]] over gattling logic.
If a [[VehicleTypes]] has {{f|IsSimpleDeployer|yes|Link}} then it will force Weapon2/EliteWeapon2 over gattling logic.


A vehicle with IsGattling can not fall back to a secondary weapon slot (even-numbered WeaponX slots) if primary one (odd-numbered) cannot fire at current target.
A vehicle with IsGattling can not fall back to a secondary weapon slot (even-numbered WeaponX slots) if primary one (odd-numbered) cannot fire at current target.

Revision as of 02:10, 9 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsGattling
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: VehicleTypes, BuildingTypes


If set, specifies that this object uses a Gattling weapon spooling system, which consists of multiple weapon stages, used by the Gattling Tank and Gattling Cannon in Yuri's Revenge.

Normally, odd number weapons are assigned to attack only on the ground (AG=yes) while even numbered weapons are assigned to attack air only (AA=yes). Even if you specify even-numbered weapons to attack on the ground, TechnoTypes will only use odd-numbered weapons like Weapon1, Weapon3, etc to attack, reserving the even-numberd ones for attacking aircraft or hovering targets if possible.

Bugs/Side-Effects/Unexpected Limitations If a VehicleTypes has IsSimpleDeployer=yes then it will force Weapon2/EliteWeapon2 over gattling logic.

A vehicle with IsGattling can not fall back to a secondary weapon slot (even-numbered WeaponX slots) if primary one (odd-numbered) cannot fire at current target.

  • This bug has been fixed in Phobos Build 34.

There will be no sequence for Weapon4 and Weapon6 with IsGattling=yes logic, only Report changes in order of weapons. Except in the case where the unit has DeployFireWeapon, it can still be used to control whether to use Weapon 1 or Weapon 2 in deployment mode.

Although it is not possible to replace weapons, the counter accumulates normallym hence why there were changes in the Report. After undeploy, the corresponding stage's weapon will be used, which is affected by RateDown.

Disables Report for any weapon if it is used with InfantryTypes; Can be solved by:

Setting IsGattling on vehicles will cause it to ignore the Secondary and EliteSecondary weapons, except where the unit is a Deployer=yes and has DeployFire=yes also set, then the deployed unit has uses them.