Company of Heroes 3

Company of Heroes 3

Advanced AI
15267 21 Apr, 2023 @ 11:01am
AI use of mines and entrenchments
Sadly the AI doesn't seem to use them at all. Why couldn't they just be placed at random so the AI at least utilizes them? The AI of course will never have any strategy behind their placement-but use of some kind would still be better than none. Since I fight the AI, I can always count on skipping things like Engineer Mine Sweeper kits and knowing that i'll never run into fighting positions or sandbags in unexpected places. Even if there was no sense to the strategy-knowing those things could at least happen in the game-even if illogically- would go a long way.
< >
Showing 1-2 of 2 comments
AGameAnx  [developer] 21 Apr, 2023 @ 11:34am 
I hear you.

The reason it happens is because I've replaced all AI movement, vanilla no longer governs units pretty much at all. To implement mines and emplacements would be a whole other new system.

Even if I want to do it in a completely random way it would still have to at least somewhat be aware of spending and then I would need to figure out how exactly to place buildings in scripts, where it's safe to do so, define which buildings there are, which units can build them etc.

Every single thing requires a lot effort and I usually dislike doing it half-assed.

I'll implement it eventually, most likely right after I finally rework AI's economy. I think for now AI's economy rework would be a much more overall rewarding thing to implement as it would allow me to properly fix unit variety and the way it counters things. But yeah don't expect things to happen too quickly, this particular thing would be a rather large undertaking.
15267 21 Apr, 2023 @ 12:19pm 
That's good to hear. As long as there's some plan for re-incorporating it. I can see how 100% random placement would lead directly to traffic issues and such, I was just worried that it wasn't being attempted because the AI cannot discern a "real" strategy out of abstract weapon use like mines. As you know the AI doesn't really need a strategy at all to use mines-just an understanding that every now and then they should be used. Where they should be used is subjective. It'll be real cool if we end up able to adjust the frequency for often how they do mines and entrenchments too.

Looking forward to it and happy to hear that it's being considered.
Last edited by 15267; 21 Apr, 2023 @ 12:20pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50