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

Add MinelayerBotModule #20574

Merged
merged 1 commit into from Aug 8, 2023
Merged

Add MinelayerBotModule #20574

merged 1 commit into from Aug 8, 2023

Conversation

dnqbob
Copy link
Contributor

@dnqbob dnqbob commented Dec 22, 2022

Add an AI module for control minelayer. It does not work very well in RA because the mine can friendly-fire so I put it here only as some kind of idea showcase if someone wants to explore this further.

Closes #18266

@PunkPun
Copy link
Member

PunkPun commented Dec 22, 2022

Closes #18266

@dnqbob
Copy link
Contributor Author

dnqbob commented Dec 23, 2022

This module cannot solve the concern of AI step on their own minefield in #18266, but I don't think we have idea on AI to avoid the friendly mine at present (also consider if mine is layed by allies, not this bot module).

If we stick to friendly fire mine, we need a mechanic to let AI consider mines when pathfinding while human player doesn't, which needs some refactoring on pathfinding and looks hacky between codes.

I would like another way which is block allies walk on friendly mine, which only cost a line of MiniYaml. We need to persuade player to accept it, though.

@dnqbob
Copy link
Contributor Author

dnqbob commented Dec 23, 2022

Except friendly fire mine problem, the module works as promise on AI game. I am curious about how it behaves in human against AI.

@PunkPun
Copy link
Member

PunkPun commented Dec 23, 2022

In RA units need to be able to step on friendly mines, otherwise in multiplayer this leads to very unhealthy strategies and gameplay

@dnqbob
Copy link
Contributor Author

dnqbob commented Dec 23, 2022

In RA units need to be able to step on friendly mines, otherwise in multiplayer this leads to very unhealthy strategies and gameplay

Then we need a setting on Mine and Crushable, which allows bot player consider those when pathing.

Maybe not very hard, consider we already have Crushable conditional.

@Mailaender Mailaender merged commit 2b0afd6 into OpenRA:bleed Aug 8, 2023
@Mailaender
Copy link
Member

Changelog

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.

Mine Layer Bot Module
3 participants