Add MinelayerBotModule#20574
Conversation
|
Closes #18266 |
|
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. |
|
Except friendly fire mine problem, the module works as promise on AI game. I am curious about how it behaves in human against AI. |
|
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. |
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