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

[WIP] Add an automated grey goo command

Open Arch-Shaman opened this issue 4 years ago • 5 comments

Implements / fixes #2548 (didn't know this was a thing, thanks @sprunk).

This adds a command for grey goo units that will:

  • When issued on a wreck the unit will move to it then consume it before performing the next command. (This is useful if that Dante wreck or whatever is in noman's land and you want to send puppies after it then go perform some other task [eg: return to base to be reclaimed])
  • When issued as an area command, the unit will move to and consume all wrecks in an area (starting with nearby ones then working to the next closest one).

The goal of this pr is to automate grey goo units in a way users can set up a command and forget about the task.

TODO:

  • [ ] Add custom icon (currently uses the grey state of puppy reclaim) -- Extra?
  • [x] Grey goo units spawned from hosts that are performing CMD_GREYGOO inherit the cmd and add a guard order afterwards.
  • [ ] Stop performing cmd when the greygoo state is toggled to off?
  • [x] Add demo video.
  • [ ] Better command name. "Reclaim (Grey Goo)" may be misleading?
  • [x] Decide if command should require LOS of wrecks or HadSight of them. (Likely require LOS)
  • [x] Alt makes persistent command.
  • [ ] Potentially filter out resurrecting wrecks (non single targeted)

Arch-Shaman avatar Apr 01 '21 06:04 Arch-Shaman

#2548

sprunk avatar Apr 01 '21 16:04 sprunk

Demo: https://youtu.be/DuX04atLlwU New version: https://youtu.be/-3glGDOpugc

Arch-Shaman avatar Apr 02 '21 05:04 Arch-Shaman

ALT should make a persistent area command. Wrecks being rezzed should be ignored for area command (but not single-target command).

sprunk avatar Apr 02 '21 12:04 sprunk

It can't be ignored if the puppies run into range of them on accident or if it's next to an unprotected wreck.

Arch-Shaman avatar Apr 02 '21 12:04 Arch-Shaman

Yes but it shouldn't be actively moved to.

sprunk avatar Apr 02 '21 12:04 sprunk