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

IsGattling: Difference between revisions

From ModEnc
Jump to navigation Jump to search
ATHSE (talk | contribs)
better
ATHSE (talk | contribs)
m fix
Line 24: Line 24:


Disables [[Report]] for any weapon if it is used with [[InfantryTypes]]; Can be solved by:
Disables [[Report]] for any weapon if it is used with [[InfantryTypes]]; Can be solved by:
*1.adding tags {{f|Report|your desired sound|link}} for the animations listed in the [[Anim]] or [[AnimList]] section).
*Adding tags {{f|Report|your desired sound|link}} for the animations listed in the [[Anim]] or [[AnimList]] section).
*2.adding tags {{f|DiskLaser|yes|link}} to the weapon of  [[InfantryTypes]] (enables additional sound effect from [[DiskLaserChargeUp]]).
*Adding tags {{f|DiskLaser|yes|link}} to the weapon of  [[InfantryTypes]] (enables additional sound effect from [[DiskLaserChargeUp]]).


Setting IsGattling on [[VehicleTypes|vehicles]] will cause it to ignore the [[Secondary]] and [[EliteSecondary]] weapons, except where the unit is a {{f|Deployer|yes|link}} and has {{f|DeployFire|yes|link}} also set, then the deployed unit can use them.
Setting IsGattling on [[VehicleTypes|vehicles]] will cause it to ignore the [[Secondary]] and [[EliteSecondary]] weapons, except where the unit is a {{f|Deployer|yes|link}} and has {{f|DeployFire|yes|link}} also set, then the deployed unit can use them.

Revision as of 12:41, 10 April 2025

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: 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-numbered ones for attacking AircraftTypes, temporary or permanently airborne jumpjet 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 Gattling 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 deployed mode.

Although it is not possible to replace weapons, the counter accumulates normally 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 can use them.