AI player does not build bridges IMPLEMENTED

Post Reply
warlock
Posts: 77
Joined: Thu Sep 02, 2021 12:42 pm

AI player does not build bridges IMPLEMENTED

Post by warlock »

Apologies if this post belongs in another thread.

The AI does not build bridges. This significantly limits its potential. I expect this is inherited from the underlying Age of Strategy engine. Is there a plan to address? Is the issue lack of an algorithm, lack of programming time, or expected computational complexity?

My observation of the AI is that it has two basic goals. Take nearest city, and build local base. Bridge building could be added as an action supporting the take nearest city goal.
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: AI player does not build bridges

Post by Midonik »

If they don't do it in other variants as well then this is a core issue so it should be elsewhere.
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
User avatar
Puppeteer12
Posts: 111
Joined: Thu Apr 22, 2021 3:42 am

Re: AI player does not build bridges

Post by Puppeteer12 »

I think aos can do that without any problem. Other variants can't do that.
A master of puppetry and manipulation, working from the shadows.
warlock
Posts: 77
Joined: Thu Sep 02, 2021 12:42 pm

Re: AI player does not build bridges

Post by warlock »

I have played Age of Fantasy and Age of World Wars. Always against the AI. I do not recall the AI building any bridges.
User avatar
phoenixffyrnig
Posts: 774
Joined: Fri Nov 29, 2019 1:07 pm
Location: It changes, frequently.

Re: AI player does not build bridges

Post by phoenixffyrnig »

Hey folks, we have recently had some new bridge building logic introduced in AoS - not sure exactly what it does, but I know someone who does (@b2198) - perhaps that might solve things on your side if it was brought in
I also play an RTS game called Life 8-)
And I also like drinking beer! :D
User avatar
b2198
Posts: 798
Joined: Mon Aug 30, 2021 5:48 pm
Location: Brazil

Re: AI player does not build bridges

Post by b2198 »

Hm, I don't know where it's being used or not, but I've made a small code to tell bots in AoS where to build bridges/shipyards to connect TCs they own/they want to capture. Theoretically, if AoG has both bridges and shipyards, and works similarly to AoS in regards to water, it should work in there too if applied.

@Stratego Is that code being used in AoG too?
Green is the correct color, other colors are "less correct".
Stratego (dev)
Site Admin
Posts: 15752
Joined: Fri Apr 25, 2014 9:28 pm

Re: AI player does not build bridges

Post by Stratego (dev) »

only aos has it (as being under testing).
User avatar
b2198
Posts: 798
Joined: Mon Aug 30, 2021 5:48 pm
Location: Brazil

Re: AI player does not build bridges

Post by b2198 »

Stratego (dev) wrote: Mon Jan 03, 2022 6:06 am only aos has it (as being under testing).
Fair enough.
warlock wrote: Sun Jan 02, 2022 9:51 pm Apologies if this post belongs in another thread.

The AI does not build bridges. This significantly limits its potential. I expect this is inherited from the underlying Age of Strategy engine. Is there a plan to address? Is the issue lack of an algorithm, lack of programming time, or expected computational complexity?

My observation of the AI is that it has two basic goals. Take nearest city, and build local base. Bridge building could be added as an action supporting the take nearest city goal.
So, I suppose it will get added in AoG when that code gets more stable and is properly tested (as it's only in AoS since version 1.149, and if I'm not mistaken, the first not-as-bad version only got added in 1.151, and we're in 1.152/1.153dev right now).
Green is the correct color, other colors are "less correct".
warlock
Posts: 77
Joined: Thu Sep 02, 2021 12:42 pm

Re: AI player does not build bridges

Post by warlock »

All. Thank you for the responses, they were very informative. I am happy to see that there are developments in progress and hope these will be successful. Again, many thanks to the devs.
Post Reply

Return to “Archive”