Treaty AI
- JakeyBoyTH
- Howdah
- Posts: 1744
- Joined: Oct 15, 2016
- ESO: Ex-Contributor
- Location: New Zealand
Treaty AI
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?
is there like some mod that makes the AI a bit more practical to treaty?
Advanced Wonders suck
- Aizamk
Ugh Advanced Wonders suck
- Aizamk
- Aizamk
Ugh Advanced Wonders suck
- Aizamk
Re: Treaty AI
There certainly is such an AI mod because I'm working on it right now. J
edit: Updated 2020-05-20
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
- edeholland
- ESOC Community Team
- Posts: 5033
- Joined: Feb 11, 2015
- ESO: edeholland
- GameRanger ID: 4053888
- Clan: ESOC
Re: Treaty AI
Nice job!
Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?
Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?
- JakeyBoyTH
- Howdah
- Posts: 1744
- Joined: Oct 15, 2016
- ESO: Ex-Contributor
- Location: New Zealand
Re: Treaty AI
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.
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
- Aizamk
Ugh Advanced Wonders suck
- Aizamk
Re: Treaty AI
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
- Atomiswave
- Lancer
- Posts: 794
- Joined: Dec 27, 2015
Re: Treaty AI
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.
Re: Treaty AI
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...
Re: Treaty AI
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.
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
-
- Crossbow
- Posts: 2
- Joined: May 18, 2020
Re: Treaty AI
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 ?
Re: Treaty AI
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.
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
-
- Crossbow
- Posts: 2
- Joined: May 18, 2020
Re: Treaty AI
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
Re: Treaty AI
Bro, they don't build walls anymore. They used to in the previous one. Awesome mod regardless.
Re: Treaty AI
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
Re: Treaty AI
I think you mean colonial pikes lolSquamiger 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
Re: Treaty AI
You download both ones or just the 2nd one?? And just replace th AI in the files rightPanmaster 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.
"We are kings or pawns" Napoleon Bonaparte
Re: Treaty AI
Isn't that a great unit comp? I used to make that as well when I was seven years old.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
- SoulJa
- Crossbow
- Posts: 9
- Joined: Jul 5, 2020
- ESO: Revolucionario_
- Location: Mexico
Re: Treaty AI
hi, how i make it work? where i need to put the files? works for online?
Re: Treaty AI
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?Panmaster wrote:Supremacy is on the to-do list.edeholland wrote:Nice job!
Do you have any patch notes? What has been changed? Is it for treaty only or also for sup?
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
Re: Treaty AI
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.
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
Re: Treaty AI
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??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.
"We are kings or pawns" Napoleon Bonaparte
Re: Treaty AI
Yes.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??
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
"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln
Re: Treaty AI
I replace the original loader standard with the one u have given??Panmaster wrote:Yes.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??
Here's the latest files.
"We are kings or pawns" Napoleon Bonaparte
Who is online
Users browsing this forum: No registered users and 3 guests