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

IsGattling

From ModEnc
Revision as of 06:15, 11 November 2024 by Testid123 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 System, which consists of multiple weapon stages.
Originally used on the Gattling Tank/Cannon.

Bugs/Side-Effects/Unexpected Limitations

Even though there IsGattling=yes But if VehicleTypes hasIsSimpleDeployer=yesWeapon2 and EliteWeapon2 formed from the IsSimpleDeployer=yes

There will be no sequence Weapon4,Weapon6 With logic IsGattling=yes Only Report has changed In order of weapons.

  • However, DeployFireWeapon 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 normally (that's why there were changes in the Report), so after undeploy, the corresponding stage's weapon will be used (of course, RateDown caused by deployment interruption firing will also be calculated).

Disable Report for any weapon If it is used with InfantryTypes ;;Solved the problem by

Adding the tag IsGattling=yes (without any additional logic involved) give to TechnoTypes will make those Secondary,EliteSecondary of TechnoTypes Ignored(Except for weapons that come from tags Deployer=yes ,DeployFire=yes).
Adding the tag IsGattling=yes (without any additional logic involved) give to VehicleTypes(UnitNavalTypes) will make those Secondary,EliteSecondary of VehicleTypes(UnitNavalTypes) Ignored(Except for weapons that come from tags Deployer=yes ,DeployFire=yes).
VehicleTypes(UnitNavalTypes) in water can attack on land if their Primary,ElitePrimary can attack on land (in some cases, those units will ignore it). LandTargeting=2 also).