-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add an automated grey goo command #4368
base: master
Are you sure you want to change the base?
Conversation
This automates grey goo for grey goo units. * A command issued on a wreck will consume it before performing the next command. (This is useful if that Dante wreck or whatever is nearby) * An area command will consume all wrecks in an area (starting with nearby ones then working to the next closest one) Checks for updates at 5hz. Attempts to be optimized by checking for nearby wrecks, etc.
Demo: https://youtu.be/DuX04atLlwU |
Also includes UI work.
ALT should make a persistent area command. |
It can't be ignored if the puppies run into range of them on accident or if it's next to an unprotected wreck. |
Yes but it shouldn't be actively moved to. |
end | ||
end | ||
|
||
function gadget:GameFrame(f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would think that the bulk of the command handling could happen in CommandFallback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CommandFallback calls once every long update from what I understand. I'll test it out.
Implements / fixes #2548 (didn't know this was a thing, thanks @sprunk).
This adds a command for grey goo units that will:
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: