[WIP] Add an automated grey goo command - #4368
Draft
Arch-Shaman wants to merge 7 commits into
Draft
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.
Member
Contributor
Author
|
Demo: https://youtu.be/DuX04atLlwU |
Also includes UI work.
Member
|
ALT should make a persistent area command. |
Contributor
Author
|
It can't be ignored if the puppies run into range of them on accident or if it's next to an unprotected wreck. |
Member
|
Yes but it shouldn't be actively moved to. |
GoogleFrog
reviewed
Apr 4, 2021
| end | ||
| end | ||
|
|
||
| function gadget:GameFrame(f) |
Contributor
There was a problem hiding this comment.
I would think that the bulk of the command handling could happen in CommandFallback.
Contributor
Author
There was a problem hiding this comment.
CommandFallback calls once every long update from what I understand. I'll test it out.
GoogleFrog
reviewed
Apr 4, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: