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

Extra options for autocombat #4

Merged
merged 4 commits into from Aug 23, 2023

Conversation

GumChewer1980
Copy link

Option for automatic disabling at new turn/combat.
UI and hack for disabling per soldier.

Accessible via hotkey c from the equip craft screen, the base soldier screen and the battlescape.
For the soldier screen also via mouse.

Can be easily extended for:
- Soldier sorting
- Control aggressiveness
- Showing soldier stats
…by the AI. Just a demonstration.

The turn automatically ends if all soldiers were either handled by the AI or had the Do not reselect button pressed.
There is some inconvenience at the end of a turn if it does not end automatically, which need to be fixed manually by disabling autocombat.
Also it might cause some endless looping of the AI between soldiers sometimes.

An extension for also controlling the AI of battle units instead of just soldiers, like mind controlled aliens, would not be hard.
Copy link
Owner

@Xilmi Xilmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'll test it when I'm home.

@Xilmi Xilmi merged commit bf11ea3 into Xilmi:oxce-plus Aug 23, 2023
Xilmi added a commit that referenced this pull request Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants