Assertive Seawall AI

  • Fixed an issue where the defense reflex was getting activated errantly

2025-01-24T08:00:00Z

  • Added a method for the AI to build the star fort in stages, addressing an issue where the AI could get stuck idling villagers while waiting for the resources to build the fort
5 Likes

Going to try it
Nice work!

1 Like

Thanks! You may or may not have experienced this issue, but the AI would sometimes get caught in this trap where they tasked a bunch of villagers to go build the forward base and star fort, but didn’t have the wood to do it. The villagers would just sit idle waiting for enough wood, but no one was gathering anymore so the AI would effectively just stop doing anything.

I had some basic checks to help with it but this is a much better solution, so hopefully the AI won’t randomly drop off in the late game anymore.

4 Likes

Exactly. That is what the AI is currently missing
They are also sending a bunch of military units to players TC and getting unresponsive for a couple of minutes in the early game!

1 Like

Could you elaborate on that? Are they sending military to an ally or enemy TC?

1 Like

Yes of course.
To ally TC. I guess the purpose is to defend the player base but is kind of erratic

1 Like

Were there any enemies walking through your town before that? Even if it was just a handful?

1 Like

No enemies walking through my town before neither after
Just AI ally keeps on constantly sending units to players Town Center, yep

1 Like

Very weird. I guess I need to play with more ally teammates to see if something is going on

1 Like

Reporting that the USA still don’t pack the 2 sloop shipment on water maps, only the Manilamen shipment which costs 600 resources and they dont seem to send until very late on the match. For some reason the forum doenst let me upload images, but that leaves them vulnerable to early water raids

2 Likes
  • Fixed an issue causing the AI to stop training villagers while planning to age up to the fortress age
2 Likes

Nice work on keeping this game alive. This is one of the best mods out there. Countless hours of fun with my friends!

2 Likes

2025-04-25T07:00:00Z Made some changes trying to address some poor performance I’ve been noticing, particularly with the FF strategies:

  • TC building is now done with 3 villagers
  • Safe FF strategy no longer builds second TC right away
  • AI now waits 3 mins after aging up to attack (up from 2, but still lower than the 5 DE has it at)
  • Minimum time between attacks increased to 0.65attackinterval (up from 0.5)
  • AI also checks it’s own military strength instead of just team strength for if it’s allowed to attack
  • Retreat factors increased so land attacks are more likely to retreat
  • agingToMonitors added between the ageMonitor to allow AI to adjust the pop limits after clicking for age up (instead of waiting until they reached the next age). All they really do is run updateSettlersAndPopManager for now.
  • setMilPopLimit now uses getAgingUpAge() instead of the current age (getAgingUpAge returns the next age if you are currently aging)
9 Likes

No es por molestar pero la IA no construye el mercado de equipo holandés ni los muelles con los que se empieza en algunos mapas como España

1 Like

I’ll try to take a look. Wagons haven’t been a big priority for me since

  1. There are a lot of them
  2. It isn’t game breaking
  3. There may be a bug where AI wagons won’t build unless there’s enough wood to build the building
2 Likes

Thank you so much!
Nice work!

1 Like

I can’t specify exactly what you did, but now the enemies are terrific! His fighting skills are awesome! Even the weak ones like Hiawata and Tewodros now are a challenge on Treaty. Once again, thank you for your work.

1 Like

That’s great to hear! I also have some improvements suggested by Justus_Pacificia over on reddit that I need to upload. There’s an issue with how the AI calculates the value of an eco tech so it typically won’t research imperial capitol techs (unless it puts over 50 villagers on that resource)

That fix should really help in treaty games!

1 Like

Updated 2025-05-08T07:00:00Z

Implemented suggestions from Justus_Pacificia on reddit as well as a couple other things.

  • Added imperial and monitor naval techs for all civs
  • Added dock techs for naval civs
  • Fixed issue preventing Aztecs from training canoes in age 2
  • Inca can now train native canoes after allying with them
  • Aztecs can use naval BB to overpop tlaloc canoes
  • Simplified some logic in ship training
  • fixed an issue where the AI would only research certain econ techs (even in max age) if there were enough villagers working that resource. Biggest issue was the imperial techs, which required 50 villagers actively working to research
3 Likes



AI often doesn’t upgrade trade routes even late into the game and they don’t collect from blueberry bushes on Scandinavia, they also don’t pick up treasures that don’t even have guardians, especially special treasures like the gather speed bonus treasure for blueberries on Scandinavia.