Age of Empires II (2013)

Age of Empires II (2013)

New Custom AI - ResonanceBot 5-1c
F0GHORN 19 Jul, 2016 @ 2:16pm
Blockages in narrow passages
When playing on Black Forrest, sometimes there is an issue where one or two allied AIs will get stuck in a narrow passage.

It's usually a combination of trade carts, villagers and troops all trying to go through a thin corridor and they all get stuck. A few times I've made it to an enemies base only to find their economy completely stalled because all their civil and martial units are stuck in a corridor. Has anyone else seen this?

I'm not sure how best to solve this but if you'd like some help I'd be more than happy to get involved. Maybe a way of checking a unit has made it to its destination and investigating if it hasn't? Or some other way.

Just thought I'd bring it up and if I can be of any help, please let me know.
Last edited by F0GHORN; 19 Jul, 2016 @ 2:18pm
< >
Showing 1-7 of 7 comments
CheeseOnToast  [developer] 27 Jul, 2016 @ 7:51am 
Most AI behaviour is hardcoded and this one is unavoidable for the poor AI.
supersand 9 May, 2017 @ 11:54pm 
I noticed this happens with Galleys as well, especially on River maps. Is there any way to make the bot analyze how much water there actually is before it builds 30 galleys in a river that goes nowhere? They often end up trying to path into each other and glitch onto land on maps like Highland.
Resonance22  [developer] 17 Aug, 2018 @ 6:54pm 
@CheeseOnToast is correct and thanks for chiming in. @F0GHORN Unfortunately units will get stuck in Aoe2 HD for all AIs on Black Forest. I recommend Arena if you enjoy Black Forest. ResonanceBot will try to get its units un-stuck but it is hard-coded into the engine and unavoidable. Perhaps with larger paths between teammates (through a custom Black Forest Map), AI could play it.

@Vegetable Thank you for the feedback! That is also very limited in Aoe2 HD and difficult to balance. The AI cannot know where a River goes unfortunately and unit pathing is terrible in the engine. I will make some adjustments in a patch coming soon that will improve Rivers a bit. :D
supersand 17 Aug, 2018 @ 8:13pm 
Originally posted by Resonance22:
@CheeseOnToast is correct and thanks for chiming in. @F0GHORN Unfortunately units will get stuck in Aoe2 HD for all AIs on Black Forest. I recommend Arena if you enjoy Black Forest. ResonanceBot will try to get its units un-stuck but it is hard-coded into the engine and unavoidable. Perhaps with larger paths between teammates (through a custom Black Forest Map), AI could play it.

@Vegetable Thank you for the feedback! That is also very limited in Aoe2 HD and difficult to balance. The AI cannot know where a River goes unfortunately and unit pathing is terrible in the engine. I will make some adjustments in a patch coming soon that will improve Rivers a bit. :D
it happens on Hill Fort too with the moat, which makes it hard to play it vs AI unless you disable docks
F0GHORN 19 Aug, 2018 @ 9:44am 
Originally posted by Resonance22:
@CheeseOnToast is correct and thanks for chiming in. @F0GHORN Unfortunately units will get stuck in Aoe2 HD for all AIs on Black Forest. I recommend Arena if you enjoy Black Forest. ResonanceBot will try to get its units un-stuck but it is hard-coded into the engine and unavoidable. Perhaps with larger paths between teammates (through a custom Black Forest Map), AI could play it.

@Vegetable Thank you for the feedback! That is also very limited in Aoe2 HD and difficult to balance. The AI cannot know where a River goes unfortunately and unit pathing is terrible in the engine. I will make some adjustments in a patch coming soon that will improve Rivers a bit. :D
A response from the developer makes me feel very imporant, thanks for getting in touch! :-)

It doesn't happen every time and it being hardcoded into the engine doesn't suprise me. I've had a bit of a play with the Map Generation code and it does operate within quite tight parameters so I imagine you're even more restriced in the AI code.

I've made a slightly modified Black Forrest map generator that my friends and I have played on. I'll try experimenting with making the routes through a bit wider and hopefully this will make it better.

Thanks again for getting back to me and thanks for the great work you've done with the AI, it really makes playing against the AI much more challenging and enjoyable!
Resonance22  [developer] 19 Aug, 2018 @ 7:07pm 
It's my pleasure @F0GHORN. Thank you for being so polite! :D I just am so glad to see everyone enjoying my AI. I've spent 4 years of my life on it as a passion project and I am committed to making it the most fun experience possible. I also really appreciate the note about Hill Fort @Vegetable. That I can guarantee will be fixed in the next update! I have confirmed that ResonanceBot on Hill Fort is now fixed in the internal dev-build. I will push the dev-build to live once it is thoroughly tested and that will be very soon. Then I will begin testing larger changes.

Cheers everyone! -Resonance22
lalahsghost 25 Feb, 2020 @ 10:25am 
Any time this occurs on a land map between trees, I send a few siege onagers to clear trees and make the space more open. Sad, but it works.
< >
Showing 1-7 of 7 comments
Per page: 1530 50