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

Attack commands on buildings that are without radar and/or line of sight will be hidden

Open Godde opened this issue 4 months ago • 2 comments

Steps to reproduce:

  1. Add a mobile unit with weapon to your team. In my case Lance.
  2. Set the unit to hold position and disable "Fire at radar".
  3. Add an enemy building within radar range. In my case Stinger.
  4. Give an attack command on the enemy building.
  5. Lose the radar dot from radar view. In my case, I put a Conjurer next to it which has a radar jammer. Alternatively, you can remove your own radar or put terraform in front of it.
  6. The unit will now move towards the unseen enemy building until it can see it without any visible commands displayed.

Complications: If you shift queue orders, the unit will seem to ignore the orders you give it until the enemy is destroyed. If the Lance is on Manuever and has AI enabled, it will move back and forward at around max range. When you do the same test against an enemy mobile unit, the Lance will nudge forward just for a tiny bit when it loses the radar dot.

https://i.imgur.com/hiBR5Gw

Image

I have attached a replay with the behaviour described.

2026-07-08_17-51-58-338_Agalta v1.0_2025.06.21.zip

Godde avatar Jul 08 '26 18:07 Godde

I posted a thread in the Zero-K forums about what is the desired behaviour when the target of an attack command loses the radar or Line of Sight spotting. https://zero-k.info/Forum/Thread/39967?postID=276755

Godde avatar Jul 08 '26 19:07 Godde

To use screenshots (frame number approximate according to gameframe; clock visible in screenshots): 1: [frame 0] orders as seen 2: [frame 60] units leave LOS 3: [frame 120] North lance loses invisible attack order, gains set target against chosen unit 4: [frame 180] Enemies re-enter LOS

Godde and I had a discussion about this and other things, but specifically about this issue he expressed confusion that unit/building behavior was different (There's a lua gadget that messes with forcefire commands on units? that's why the command drops?)

It would be nice if there could be an indicator of some kind that gives the reason that the lances are moving left instead of NE towards their move order, like a fake command pointing at the position last known of the target in the order queue.

Screenshots image 1 (all orders) Image image 2 (2x invisible attack) Image image 3 (invisible settarget, invisible attack) Image image 4 (commands visible once targets enter LOS) Image

SteelBlueZK avatar Jul 08 '26 22:07 SteelBlueZK