Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Smarter attack orders - wait to fire

Open Fealthas opened this issue 8 years ago • 3 comments

When given a target(by using the focus fire/attack command - not the smart attack move thing), units should wait to fire until they are in-range of that target. Say you have a sniper, click on a commander out of range. It starts moving towards the commander, and say..a flea walks into range before the commander is in range. The sniper wastes its shot on the flea, and then walks into range to shoot the commander. It now has to wait 15s to reload.

Ideal behavior: When a unit's target is within ~3x of its range, it is put on hold fire as it walks to get in range of the its target, and then is set to fire at will again.

thread

Fealthas avatar May 24 '18 22:05 Fealthas

I think the thread is about a different thing where unit will flat out ignore manual targets. If you just want to flat out ignore non-manual targets, there's Holdfire.

Anarchid avatar May 25 '18 10:05 Anarchid

Automatic holdfire/return fire when you explicitly set a target for a unit would be nice. Ideally firestate would go back to its previous setting after the target is dead (or if the unit got too far away). I would like this as well -- manually toggling firestates is a bit annoying when you only want to change it for "that one pesky unit".

maackey avatar May 25 '18 14:05 maackey

Perhaps a different fire state would be an easier implementation of this, and also allow more sensible defaults on units you're likely to want to set this on?

Unsure what to call it, maybe Preferential Fire or something, but it would be a state where: If the unit has a direct attack order, it will only fire on that target unless they are ~30% out of range and getting further out of range? Otherwise, act as... what would be preferred, Return fire or Fire at Will for the fallback state?

darloth avatar May 25 '18 21:05 darloth