ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
DistributedFire
Flag: | DistributedFire |
File(s): | Rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | TechnoTypes |
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.
Bugs/Side-Effects/Unexpected Limitations
- Using DistributedFire=yes with BuildingTypes will cause those BuildingTypes to attack only once. Even if there is no tag FireOnce=yes As for weapons though.
- If we command VehicleTypes(and activate the tag Turret=yes+ IsGattling=yes) and BuildingTypes(and activate the tag Turret=yes+ IsGattling=yes) 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.