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
Testid123 (talk | contribs)
mNo edit summary
Tag: Manual revert
4SG (talk | contribs)
Removed html (Testid, for the 155th time, stop using <b> and <br>, see: https://www.mediawiki.org/wiki/Help:Formatting you ogre), proofread English, removed unrelated note.
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.<br>
If set, specifies that this object uses a [[Gattling Weapon System]], which consists of multiple weapon stages.
Odd number weapons are normally assigned to attack only on the ground. ({{f|AG|yes|link}})<br>
Originally used on the Gattling Tank/Cannon.
Even weapons are normally assigned to attack in the sky only. ({{f|AA|yes|link}})<br>
 
Even if you specify even-numbered weapons to attack on the ground but [[TechnoTypes]] will only use weapons({{f|Weapon1||link}}, {{f|EliteWeapon1||link}} [Odd number weapons]) to attack the target.
Odd number weapons are normally assigned to attack only on the ground ({{f|AG|yes|link}}) while even numbered weapons are normally 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 weapons({{f|Weapon1||link}}, {{f|EliteWeapon1||link}} [Odd number weapons]) to attack the target.


==Note==
*in the real world '''Infantry''' can use the '''gatling gun''', but I don't know why [[Westwood]] doesn't allow this for [[InfantryTypes]] 🤔([[Westwood]] has no concept of a ''' "Gattling Trooper" ''' so this logic doesn't apply to [[ InfantryTypes]] [[Testid123]]).


{{Bugs}}
{{Bugs}}
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>
If a [[VehicleTypes]] has {{f|IsSimpleDeployer|yes|Link}} then it will force [[Weapon2]] and [[EliteWeapon2]] over gattling logic.


IsGattling=true can not fall back to secondary weapon slot (even-numbered WeaponX slots) if primary one (odd-numbered) cannot fire at current target  
IsGattling=true can not fall back to 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.
*This bug has been fixed in Phobos Build#34.


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.
There will be no sequence for [[Weapon4]] and [[Weapon6]] with IsGattling=yes logic, only [[Report]] changes in order of weapons.


*However, [[DeployFireWeapon]] can still be used to control whether to use Weapon 1 or Weapon 2 in deployment mode.
*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).
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).
*This is very similar to [[WeaponXTurretLocked]].<br>
*This is very similar to [[WeaponXTurretLocked]].
Disable [[Report]] for any weapon If it is used with [[InfantryTypes]] ;;Solved the problem by<br>
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).<br>
*1.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]] (Side effect gets additional sound from tags [[DiskLaserChargeUp]] and Tag side effects {{f|DiskLaser|yes|link}}).<br>
*2.adding tags {{f|DiskLaser|yes|link}} to the weapon of  [[InfantryTypes]] (Side effect gets additional sound from tags [[DiskLaserChargeUp]] and Tag side effects {{f|DiskLaser|yes|link}}).
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}}
Adding the tag '''IsGattling=yes''' (without any additional logic involved) to [[TechnoTypes]] will make those [[Secondary]] and [[EliteSecondary]] of [[TechnoTypes]] ignored (except for weapons that come from {{f|Deployer|yes|link}} and {{f|DeployFire|yes|link}} tags).
,{{f|DeployFire|yes|link}}).<br>
 
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 the tag '''IsGattling=yes''' (without any additional logic involved) to [[VehicleTypes]](UnitNavalTypes) will make those [[Secondary]] and [[EliteSecondary]] of [[VehicleTypes]](UnitNavalTypes) ignored (except for weapons that come from {{f|Deployer|yes|link}} and {{f|DeployFire|yes|link}} tags).
,{{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).
[[VehicleTypes]](UnitNavalTypes) in water can attack on land if their [[Primary]] or [[ElitePrimary]] can attack on land or have {{f|LandTargeting|2|link}} (in some cases, those units will ignore it).

Revision as of 11:38, 19 March 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 System, which consists of multiple weapon stages. Originally used on the Gattling Tank/Cannon.

Odd number weapons are normally assigned to attack only on the ground (AG=yes) while even numbered weapons are normally assigned to attack air only (AA=yes). Even if you specify even-numbered weapons to attack on the ground, TechnoTypes will only use weapons(Weapon1=, EliteWeapon1= [Odd number weapons]) to attack the target.


Bugs/Side-Effects/Unexpected Limitations

If a VehicleTypes has IsSimpleDeployer=yes then it will force Weapon2 and EliteWeapon2 over gattling logic.

IsGattling=true can not fall back to 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.

  • 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).

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

Adding the tag IsGattling=yes (without any additional logic involved) to TechnoTypes will make those Secondary and EliteSecondary of TechnoTypes ignored (except for weapons that come from Deployer=yes and DeployFire=yes tags).

Adding the tag IsGattling=yes (without any additional logic involved) to VehicleTypes(UnitNavalTypes) will make those Secondary and EliteSecondary of VehicleTypes(UnitNavalTypes) ignored (except for weapons that come from Deployer=yes and DeployFire=yes tags).

VehicleTypes(UnitNavalTypes) in water can attack on land if their Primary or ElitePrimary can attack on land or have LandTargeting=2 (in some cases, those units will ignore it).