Skip to content
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

Queuing up commands before first raider teleports down #35

Open
trigger-segfault opened this issue Feb 19, 2022 · 0 comments
Open

Queuing up commands before first raider teleports down #35

trigger-segfault opened this issue Feb 19, 2022 · 0 comments
Labels
enhancement An improvement to an existing feature (no alteration). game ai Relates to how units act and behave in the game.

Comments

@trigger-segfault
Copy link
Owner

Describe the issue

At the start of levels without any Rock Raiders, time spent teleporting down the first unit is somewhat wasted because most commands that can be queued up (like drilling walls) are grayed out.

There isn't a completely straight forward solution, since these types of options are grayed out based on the capabilities of units present in the level. For example, keeping Drill Hard Rock grayed out when no capable vehicle is present is a useful feature.

Changes to this should be kept minimal, to reduce the amount of hardcoded unit behaviour added to the game.

Possible solutions

Solution A

Unlock all capabilities (that aren't locked behind required buildings) until the first MiniFigure has been teleported down into the level. Once this happens, all inaccessible commands will go back to being grayed out.

This should probably behave the same whenever there are no MiniFigures in the level.

Solution B

Keep all (basic?) MiniFigure capabilities permanently unlocked.

The object list could also be checked to see if any MiniFigure is capable of using explosives.

@trigger-segfault trigger-segfault added enhancement An improvement to an existing feature (no alteration). game ai Relates to how units act and behave in the game. labels Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to an existing feature (no alteration). game ai Relates to how units act and behave in the game.
Projects
None yet
Development

No branches or pull requests

1 participant