Jump to content

IsGattling: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(25 intermediate revisions by 6 users not shown)
Line 8: Line 8:
|rp=yes
|rp=yes
}}
}}
If set, specifies that this object uses a [[Gattling Weapon System]], which consists of multiple weapon stages.<br>Originally used on the Gattling Tank/Cannon.
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 {{yr}}.


{{Bugs}}
Normally, odd number weapons are assigned to attack only on the ground ({{f|AG|yes|link}}) while even numbered weapons are assigned to attack air only ({{f|AA|yes|link}}). Even if you specify even-numbered weapons to attack on the ground, [[TechnoTypes]] will only use odd-numbered weapons like [[WeaponX|Weapon1]], Weapon3, etc to attack, reserving the even-numbered ones for attacking [[AircraftTypes|AircraftTypes]], [[Landable|temporary]] or [[BalloonHover|permanently]] airborne [[JumpJet|jumpjet]] targets if possible.
Even though there <u><b><font style="Color:blue">IsGattling=yes</font></b></u> But if <u><b>[[VehicleTypes]]</b></u> has<u><b>{{f|IsSimpleDeployer|yes|Link}}</b></u>[[Weapon2]] and [[EliteWeapon2]] formed from the <u><b>{{f|IsSimpleDeployer|yes|Link}}</b></u>


There will be no sequence <u><b>[[Weapon4]],[[Weapon6]]</b></u> With logic <u><b><font style="Color:blue">IsGattling=yes</font></b></u> Only <u><b>[[Report]]</b></u> has changed In order of weapons.
=={{Bugs}}==
If a [[VehicleTypes]] has {{f|IsSimpleDeployer|yes|Link}} then it will force Weapon2/EliteWeapon2 over Gattling logic.


*However, [[DeployFireWeapon]] can still be used to control whether to use Weapon 1 or Weapon 2 in deployment mode.
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.


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).
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.
*This is very similar to [[WeaponXTurretLocked]].<br>
 
Disable [[Report]] for any weapon If it is used with [[InfantryTypes]] ;;Solved the problem by<br>
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]].
*1.adding tags {{f|Report|your desired sound|link}} for the animations listed in the [[Anim]] or [[AnimList]] section).<br>
*This is very similar to [[WeaponXTurretLocked]].
*2.adding tags {{f|DiskLaser|yes|link}} to the weapon of  [[InfantryTypes]] (Side effect gets additional sound from tags [[DiskLaserChargeUp]] and tag limitations {{f|DiskLaser|yes|link}}).<br>
 
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 {{f|Deployer|yes|link}}
Disables [[Report]] for any weapon if it is used with [[InfantryTypes]]; Can be solved by:
,{{f|DeployFire|yes|link}}).<br>
*Adding tags {{f|Report|your desired sound|link}} for the animations listed in the [[Anim]] or [[AnimList]] section).
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 {{f|Deployer|yes|link}}
*Adding tags {{f|DiskLaser|yes|link}} to the weapon of  [[InfantryTypes]] (enables additional sound effect from [[DiskLaserChargeUp]]).
,{{f|DeployFire|yes|link}}).<br>
 
[[VehicleTypes]](UnitNavalTypes) in water can attack on land if their [[Primary]],[[ElitePrimary]] can attack on land (in some cases, those units will ignore it). {{f|LandTargeting|2|link}} also).
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.

Latest revision as of 17:30, 2 July 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-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.