Treaty AI

User avatar
New Zealand JakeyBoyTH
Howdah
Posts: 1744
Joined: Oct 15, 2016
ESO: Ex-Contributor
Location: New Zealand

Treaty AI

Post by JakeyBoyTH »

I'm wondering whether there is an AI mod or something to practice treaty on. I don't usually play vs the computer, but I was on a plane, so I practiced with 4 or 5 games. I had to put it up to 3 expert bots with 100% handicap. Even then games were a bit short.

is there like some mod that makes the AI a bit more practical to treaty?
Advanced Wonders suck

- Aizamk

Ugh Advanced Wonders suck

- Aizamk
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

  • Quote

Post by Panmaster »

There certainly is such an AI mod because I'm working on it right now. J

edit: Updated 2020-05-20
Attachments
ZenAIMod.rar
(44.22 KiB) Downloaded 63 times
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
User avatar
Netherlands edeholland
ESOC Community Team
Donator 01
Posts: 5033
Joined: Feb 11, 2015
ESO: edeholland
GameRanger ID: 4053888
Clan: ESOC

Re: Treaty AI

Post by edeholland »

Nice job!

Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?
User avatar
New Zealand JakeyBoyTH
Howdah
Posts: 1744
Joined: Oct 15, 2016
ESO: Ex-Contributor
Location: New Zealand

Re: Treaty AI

Post by JakeyBoyTH »

I've tried it out and it's really nice. You could probably try it out in SUP, but it would probably follow the same BO.
I would love it if it had a toggle, like in SC2 where you can select what build the AI does.

This is such a nice mod I love it.
Advanced Wonders suck

- Aizamk

Ugh Advanced Wonders suck

- Aizamk
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

Post by Panmaster »

edeholland wrote:Nice job!

Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?

Supremacy is on the to-do list.

Improvements over stock computer player:
-Fixed TC garrison bug
-Better treasure gathering
-Better base building
-Better resource gathering
-Ignores shrined animals now
-Perfect treaty decks
-Builds walls
-Builds forward buildings
-Builds forts as Russia
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
User avatar
Serbia Atomiswave
Lancer
Posts: 794
Joined: Dec 27, 2015

Re: Treaty AI

Post by Atomiswave »

Panmaster wrote:
edeholland wrote:Nice job!

Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?

Supremacy is on the to-do list.

Improvements over stock computer player:
-Fixed TC garrison bug
-Better treasure gathering
-Better base building
-Better resource gathering
-Ignores shrined animals now
-Perfect treaty decks
-Builds walls
-Builds forward buildings
-Builds forts as Russia


You can use Murdilators N30 AI for TAD as useful reference when making sup AI. In my opinion it surpassed Draguar AI, which was the best all around for a long time.
User avatar
Poland pecelot
Retired Contributor
Donator 03
Posts: 10459
Joined: Mar 25, 2015
ESO: Pezet

Re: Treaty AI

Post by pecelot »

Indeed, good that people point that out. Resources aren't really that much of a threat, the most annoying things are totally exposed villagers, not upgraded units and perhaps no walls, which allows for massive petard action, after which the in turn the AI doesn't rebuild its buildings... :sad:
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

Post by Panmaster »

It has occurred to me that only Germany and Russia are able to build mills & plantations reliably. The others only build 1 mill and then stop.
I've narrowed the problem down to the Eastern European mills being different to the other kinds. Not got the slightest clue how to fix this.

Scratch that.
Build plans are stalling in state "build" indefinitely.
Tweaking placement parameters is unlikely to be a solution. It should be simple enough to detect frozen build plans and delete them.
I have an even better idea to use build plans to find a good placement and then use task-build to get around the random builder issue.
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
Bosnia & Herzegovina malynvaren
Crossbow
Posts: 2
Joined: May 18, 2020

Re: Treaty AI

Post by malynvaren »

Hey, I know this is an old discussion but I love what u did with this mod, makes the AI so much better. Just wondering if u have done any further work on it and if you have, do you plan on posting it ?
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

  • Quote

Post by Panmaster »

Tonnes of work has been done on it.
Expert difficulty confers 10% handicaps instead of the normal 50%.
Ottomans also train Spahi on expert.

TO-DO:
-implement unit micro instead of plans
-fix walls
-pets
-native warriors
-ships
-imperial native warrior upgrade might not be upgraded.
Attachments
aiLoaderStandard.xs
(362 Bytes) Downloaded 38 times
ZenMasterAI.xs
(295.21 KiB) Downloaded 37 times
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
User avatar
Great Britain Riotcoke
Retired Contributor
ECL Reigning ChampsDonator 01
Posts: 4088
Joined: May 7, 2019
ESO: Riotcoke
Location: Dorsetshire
Clan: UwU

Re: Treaty AI

  • Quote

Post by Riotcoke »

Wait, TRAINABLE SPAHI @aqwer
Image

twitch.tv/stangoesdeepTV
User avatar
Norway aqwer
Dragoon
Posts: 411
Joined: Aug 27, 2017

Re: Treaty AI

Post by aqwer »

Riotcoke wrote:Wait, TRAINABLE SPAHI @aqwer
Your point?
#trainableSpahi
Bosnia & Herzegovina malynvaren
Crossbow
Posts: 2
Joined: May 18, 2020

Re: Treaty AI

Post by malynvaren »

Thanks very much. Whenever I played against ottomans, they only made mortars and no other unit, don't know why this happens. But all in all, I've had some fun matches against AI on expert. Keep up the good work man
User avatar
No Flag kamikaze1
Crossbow
Posts: 1
Joined: May 26, 2020

Re: Treaty AI

Post by kamikaze1 »

Bro, they don't build walls anymore. They used to in the previous one. Awesome mod regardless.
User avatar
United States of America Squamiger
Howdah
Posts: 1756
Joined: Dec 25, 2018
ESO: Squamiger

Re: Treaty AI

Post by Squamiger »

if you just made an AI that would actually make a decent unit composition instead of making like, 15 vet pikes and 25 falconets, that would be a huge improvement
User avatar
Canada dansil92
Retired Contributor
Posts: 2231
Joined: Nov 3, 2018
ESO: dansil92

Re: Treaty AI

Post by dansil92 »

Squamiger wrote:if you just made an AI that would actually make a decent unit composition instead of making like, 15 vet pikes and 25 falconets, that would be a huge improvement
I think you mean colonial pikes lol
Image
User avatar
India TNT333
Lancer
Posts: 530
Joined: Sep 13, 2018
ESO: TNT333

Re: Treaty AI

Post by TNT333 »

Panmaster wrote:Tonnes of work has been done on it.
Expert difficulty confers 10% handicaps instead of the normal 50%.
Ottomans also train Spahi on expert.

TO-DO:
-implement unit micro instead of plans
-fix walls
-pets
-native warriors
-ships
-imperial native warrior upgrade might not be upgraded.
You download both ones or just the 2nd one?? And just replace th AI in the files right
"We are kings or pawns" Napoleon Bonaparte
No Flag Astaroth
Howdah
Posts: 1037
Joined: Jul 21, 2019

Re: Treaty AI

Post by Astaroth »

Squamiger wrote:if you just made an AI that would actually make a decent unit composition instead of making like, 15 vet pikes and 25 falconets, that would be a huge improvement
Isn't that a great unit comp? I used to make that as well when I was seven years old.
User avatar
Mexico SoulJa
Crossbow
Posts: 9
Joined: Jul 5, 2020
ESO: Revolucionario_
Location: Mexico

Re: Treaty AI

Post by SoulJa »

hi, how i make it work? where i need to put the files? works for online?
No Flag spadel
Skirmisher
Posts: 131
Joined: Feb 24, 2015

Re: Treaty AI

Post by spadel »

Panmaster wrote:
edeholland wrote:Nice job!

Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?
Supremacy is on the to-do list.

Improvements over stock computer player:
-Fixed TC garrison bug
-Better treasure gathering
-Better base building
-Better resource gathering
-Ignores shrined animals now
-Perfect treaty decks
-Builds walls
-Builds forward buildings
-Builds forts as Russia
just out of technical interest, what was your approach to teach the AI what to do, like how does it know how to build a wall? Did you use brute force or more advanced learning algorithms?
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

Post by Panmaster »

Its all brute force. There is no intelligence or learning. xs code is too restrictive.
All wall positions are precalculated. xs code only allows 1 settler to be tasked to build 1 straight length from A to B.

It might be possible to just copy wall positions using external c++. Then the walls would be perfect assuming the maps don't change much.
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
User avatar
India TNT333
Lancer
Posts: 530
Joined: Sep 13, 2018
ESO: TNT333

Re: Treaty AI

Post by TNT333 »

Panmaster wrote:Its all brute force. There is no intelligence or learning. xs code is too restrictive.
All wall positions are precalculated. xs code only allows 1 settler to be tasked to build 1 straight length from A to B.

It might be possible to just copy wall positions using external c++. Then the walls would be perfect assuming the maps don't change much.
Can u pls help me?? I've downloaded both the loader and the zen master file, I just put them both in the ai3 file??
"We are kings or pawns" Napoleon Bonaparte
User avatar
Great Britain Panmaster
Skirmisher
Posts: 166
Joined: Jan 1, 2016

Re: Treaty AI

Post by Panmaster »

TNT333 wrote: Can u pls help me?? I've downloaded both the loader and the zen master file, I just put them both in the ai3 file??
Yes.

Here's the latest files.
Attachments
ZenMasterAI.xs
(299.35 KiB) Downloaded 39 times
aiLoaderStandard.xs
(362 Bytes) Downloaded 36 times
TAD AI Reference Guide
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
User avatar
India TNT333
Lancer
Posts: 530
Joined: Sep 13, 2018
ESO: TNT333

Re: Treaty AI

Post by TNT333 »

Panmaster wrote:
TNT333 wrote: Can u pls help me?? I've downloaded both the loader and the zen master file, I just put them both in the ai3 file??
Yes.

Here's the latest files.
I replace the original loader standard with the one u have given??
"We are kings or pawns" Napoleon Bonaparte

Who is online

Users browsing this forum: No registered users and 5 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV