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

Deselect retreating units and exempt them from selection keys

Open Licho1 opened this issue 12 years ago • 14 comments

When unit retreats, and you give it an order, its instead queued AFTER reetreat area. This is HIGHLY undesirable and its in fact how it was at first until this got fixed...

Units are not meant to not listen to direct commands ever

Licho1 avatar Nov 08 '14 23:11 Licho1

I think this is intentional. The purpose of this feature is that you will not accidentally command retreating units to return to the front when they either remain in your selection or you used ctrl+z. If you want to control a retreating unit remove its retreat state.

GoogleFrog avatar Nov 10 '14 10:11 GoogleFrog

That is a bad solution. There was a ticket with proper one. Proper one is to remove retreating unit from group but not to block direct commands! Thats awfully unfriendly way of dealing with player input and incredibly micro heavy. Say you have retreating gunship that decides to fly over flaks, in the past you simply issued single move, it moved to new spot and then retreated. Now you would need to swap retreat state, issue move command and later after its in position re-enable retreat.

Licho1 avatar Nov 10 '14 10:11 Licho1

I have a simple idea how to fix: 1st, lets set up a specific radius around unit, lets call it "override-radius" if new order arrive within override-radius; then -> override retreat, if its outside override-radius. -> ignore user

Benefit: if unit near repair area (far away from frontline), then unit can ignore user & remain in repair (fix Ctrl+Z issue) if unit near user's cursor (near new command), then unit can obey user (fix unit stuck issue)

Issue: the "override-radius" need to be customized to be intuitive enough so that user don't even need to know the actual radius


In comparison, widget's retreat can read & control user's selection and solve the issue in many different ways!

xponen avatar Dec 10 '14 11:12 xponen

thats really arbitrary and hard to discover "bug/feature" ... please revert to what i asked for, that is simple, consistent, commands ALWAYS work, no stupid exceptions, no ranges, no disobeying units

Licho1 avatar Dec 10 '14 12:12 Licho1

okay, I will go retrieve old widget retreat and refurbish it.

this gadget version exist because CAI use it & it is not effected by network latency.

maybe we can have both feature...

xponen avatar Dec 10 '14 12:12 xponen

I've noticed this as well. I think with the old way units would continue retreating when given a fight order, but would still listen to move. That was plenty sensible.

aeonios avatar Dec 29 '14 13:12 aeonios

The rename was confusing and I think retreat works fine as is. Your orders given to retreating units tell them what to do after they finish being repaired.

GoogleFrog avatar Jan 17 '16 05:01 GoogleFrog

I think that losing control of unit (until you switch awkward retreat swithc) is very annoying and not very intuitive.

Licho1 avatar Jan 18 '16 16:01 Licho1

This should now be fairly easy. Add a toggle that automatically sets retreating units to selection rank X.

sprunk avatar Jun 04 '17 17:06 sprunk

You are missing the point, its not removed from selection group.. Who keeps selecting units in the battlefield? I like never do that.. just using autogroup + numbers.

Licho1 avatar Jun 04 '17 22:06 Licho1

What is a selection group? Do you mean control groups? I don't use control groups or retreat so I don't know how they should interact. I don't think retreat should remove your units from their control group because then they will never be readded. Do you effectively want selection hierarchy to treat retreating units as selection rank 0 and deselect them when retreat begins but otherwise let them be fully controllable? Should giving them an order cancel their retreat?

GoogleFrog avatar Jun 05 '17 04:06 GoogleFrog

The way I'd see it (and how I parse Licho):

  • when retreat starts, deselect the unit from current selection
  • be effectively selection rank 0 as long as retreating - preventing reselection
  • keep in ctrl+group - makes sure the unit is easy to access once healed
  • obey direct commands, but don't cancel retreat - keep the retreat at the end of the queue.

sprunk avatar Jun 05 '17 05:06 sprunk

More or less what sprunk says...

Basically what I do is to use numbered groups (1-9) for selecting unit.. for example when I have gunship group on 8, I don't want 8 to select retreating units by default. But I do want option to select them and give them different order, without awkward changing of retreating mode.

Licho1 avatar Jun 05 '17 12:06 Licho1

This sounds good, I think retreat will be more useful.

GoogleFrog avatar Jul 16 '17 11:07 GoogleFrog