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

Difference between revisions of "DistributedFire"

From ModEnc
Jump to: navigation, search
m
m
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
 +
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values={{Values|bool}}
 +
|default=no
 +
|types={{categ|VehicleTypes}},{{categ|BuildingTypes}}
 +
|ra2=yes
 +
|yes=yes
 +
}}
 
Can be set to 'yes' or 'no' and determines if this unit will continually retarget nearby enemy units and fire at all of them equally as opposed to locking fire on one target and continually firing at that one target until it is destroyed at which point it moves on to the next (which is the default behaviour, so this tag forms an over-ride to that rule).
 
Can be set to 'yes' or 'no' and determines if this unit will continually retarget nearby enemy units and fire at all of them equally as opposed to locking fire on one target and continually firing at that one target until it is destroyed at which point it moves on to the next (which is the default behaviour, so this tag forms an over-ride to that rule).
  
Line 7: Line 15:
 
{{Bugs}}
 
{{Bugs}}
 
*Using <u><b><font style="color:blue">DistributedFire=yes</font></b></u> with <u><b>[[BuildingTypes]]</b></u> will cause those <u><b>[[BuildingTypes]]</b></u> to attack only once. Even if there is no tag <u><b>{{f|FireOnce|yes|Link}}</b></u> As for weapons though.
 
*Using <u><b><font style="color:blue">DistributedFire=yes</font></b></u> with <u><b>[[BuildingTypes]]</b></u> will cause those <u><b>[[BuildingTypes]]</b></u> to attack only once. Even if there is no tag <u><b>{{f|FireOnce|yes|Link}}</b></u> As for weapons though.
 +
*If we command [[VehicleTypes]](and activate the tag {{f|Turret|yes|link}}+ {{f|IsGattling|yes|link}}) and [[BuildingTypes]](and activate the tag {{f|Turret|yes|link}}+ {{f|IsGattling|yes|link}}) to attack in a direction that [[Turret]] is not currently facing, [[Report]] of [[Primary]],[[ElitePrimary]],[[Weapon1]],[[EliteWeapon1]] will be played in advance before [[Turret]] could actually attack.

Revision as of 04:38, 12 October 2024

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: DistributedFire
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: VehicleTypes,BuildingTypes


Can be set to 'yes' or 'no' and determines if this unit will continually retarget nearby enemy units and fire at all of them equally as opposed to locking fire on one target and continually firing at that one target until it is destroyed at which point it moves on to the next (which is the default behaviour, so this tag forms an over-ride to that rule).

Editor's note: what this actually does is make a unit fire its weapon once, re-aim or re-target (which takes roughly a second or two real-time), fire once, re-aim, repeat. The unit will fire normally though if a target is set manually by the player (and maybe TeamType scripts). See the Aegis Cruiser.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations