ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
DistributedFire: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values={{Values|bool}} | |||
|default=no | |||
|types={{categ|TechnoTypes}} | |||
|ra2=yes | |||
|yr=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. |
Latest revision as of 03:02, 12 October 2024
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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.