The AI - units homogen units are built

Here you may find answers to your questions.

The AI - units homogen units are built

Postby Alpha » Wed Aug 24, 2016 12:24 am

How come the AI make only a specific type of units, In one account I literally had to fight a army of Light Cavalry and archers.
Awoo~ my dudes!
User avatar
Alpha
 
Posts: 1827
Joined: Sat Aug 20, 2016 5:51 pm
Location: Illnois, Niles

Re: The AI

Postby DoomCarrot » Wed Aug 24, 2016 8:14 am

Because the Ai thinks it can win by swarming with a single type of unit. :lol:
The day is coming when a single carrot, freshly observed, will set off a revolution.
User avatar
DoomCarrot
 
Posts: 3001
Joined: Wed Mar 18, 2015 6:04 pm
Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point

Re: The AI

Postby Disco » Wed Aug 24, 2016 8:18 am

Hahaha

I actually lost to someone recently using those units lol. Well he did use fire archers too :oops:
User avatar
Disco
 
Posts: 219
Joined: Sat Feb 27, 2016 4:37 pm
Location: UK

Re: The AI

Postby Alexander82 » Wed Aug 24, 2016 12:41 pm

That is terrible, especially on AoF where the new units aren't used at all and they also never make mega buildings
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Alpha » Wed Aug 24, 2016 1:32 pm

No wonder they don't make castle's.....
Awoo~ my dudes!
User avatar
Alpha
 
Posts: 1827
Joined: Sat Aug 20, 2016 5:51 pm
Location: Illnois, Niles

Re: The AI

Postby Stratego (dev) » Wed Aug 24, 2016 2:18 pm

Alexander82 wrote:That is terrible, especially on AoF where the new units aren't used at all and they also never make mega buildings



Yes the only way to make ai to build them if we define which units they are good against so on every new unit if you help define i can set in json.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 12:19 am

Can you allow a certain % of random? Or maybe you might tag some units as "special" and the ai produce a fixed amount of special units
Also ai should build mega buildings or it will also have less units
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 5:26 am

random: sure there is a list to let "default" production that is random, but that is used ONLY when there is no "best agains me" setting of the target unit.

castles: they are different problem: AI can not measure up mega building space yet, so it can build it partially over mountain - that is why i turned it off until i implement proper building logic.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 8:52 am

I see, but can't you let always a certain random amount?

Let's say i make cavalry
The ai will make every factory build pikemen

I wanted to suggest that if i make cavalry the ai should make 50% pikemen and 50% random units, cause if i start making cavalry and then switch to other units (as it is normal) the ai wouldn't end up with an army of useless pikemen
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Alpha » Thu Aug 25, 2016 12:19 pm

For a AI pikemen are a basic unit they use frequently in my opinion
Awoo~ my dudes!
User avatar
Alpha
 
Posts: 1827
Joined: Sat Aug 20, 2016 5:51 pm
Location: Illnois, Niles

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 6:57 pm

No. It is good if you only have cav. Than ai should build pikes. If you have swormen too ai will buld archers and pikes mixed. I think it is fine.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 7:08 pm

I see. I find pretty easy defeating ai, cause it never make advanced units
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 7:16 pm

the reason is not the "randomization" but that not all units are set to be good against others (if more than one unit is set to be against some other unit category than they are chosed randomly)

eg.: against swordman good the archer and cavalry, so ai choses randomly to build from these (if i remember right to the setting)

so if you miss a unit, tell me which unit is that, and tell me against which unit shall i set it to be good against. and we will see how AI builsd them. lets make a try if you have in mind an example.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 7:20 pm

I'm playing mostly AoF lately, i think i'll make a list of what is good against something else xD
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 7:26 pm

dont make list, write only one sample, and i will set it, and you can check if AI really builds that or not.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 8:40 pm

Could you make the ai in a way that it calculates damage dealt to enemy units by the units that you can make and gives a certain % of production to the unit that makes the highest damage?

For example i'm simulating a war between 2 AI, undead vs orc (all automatics)

Orcs never build monster's cave and uruk tents

Against the enemy cavalry a uruk tent would be of great help thanks to uruk pikeman and against enemy casters (that undeads use a lot) uruk archers would be of great use
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 8:54 pm

Orcs never build monster's cave and uruk tents

ok, it is fixed (however it is still random that which bulding to build)
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Thu Aug 25, 2016 8:56 pm

uruk tent too?
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 9:04 pm

yes both.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Stratego (dev) » Thu Aug 25, 2016 9:20 pm

i t will be in in next update.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Sat Aug 27, 2016 12:42 pm

I'm testing making ai fight each other

Right now they seems to make monster's cave in a decent amount but almost never make uruk tent (that should be one of priorities having at the same time infantry, archers and anti cavalry)
Also i'd like to suggest for the ai to give more priority to upgrades and to chain upgrades together.

For example if i make an upgrade to heavy wolf riders the other syngergic techs would be wolf rider to warg rider and orc armor (both would affect the same unit of the 1st tech and increase the effect of that strategy)

If you invest in orc warrior upgrade you should make also the 2nd upgrade and the orc armor increase

Also AI should have a higher % to produce upgraded units.

In a game i'm testing the computer upgraded the orc warriors but didn't made a single one in game producing the armored orc warrior instead. This is like a suicide strategy.
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Stratego (dev) » Sat Aug 27, 2016 12:47 pm

Ok. But please different topics so later we can vote which ai logic should be implemented first
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI

Postby Alexander82 » Sat Aug 27, 2016 1:30 pm

Ok. Should i make a topic on the Aof board?
You might make a sub forum for AI behaviour
User avatar
Alexander82
 
Posts: 5236
Joined: Thu Feb 26, 2015 8:18 pm

Re: The AI

Postby Alpha » Sat Aug 27, 2016 2:10 pm

U think you should! Also I was playing a a random match with 5 other AI and the cyan started to spam Slingers...
Awoo~ my dudes!
User avatar
Alpha
 
Posts: 1827
Joined: Sat Aug 20, 2016 5:51 pm
Location: Illnois, Niles

Re: The AI

Postby superstrijder15 » Tue Sep 06, 2016 3:28 pm

Is there a topic dedicated to these for aos? I've found an issue: red wait a whole turn with assinging units to be trained to it's towns, others might to
And island nations should make docks a priority
superstrijder15
 
Posts: 37
Joined: Sat Jul 09, 2016 2:48 pm

Re: The AI - units homogen units are built

Postby Stratego (dev) » Tue Sep 06, 2016 7:20 pm

please open new for each problem.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm

Re: The AI - units homogen units are built

Postby Stratego (dev) » Tue Sep 06, 2016 7:20 pm

please open new for each problem.
Stratego (dev)
Site Admin
 
Posts: 6026
Joined: Fri Apr 25, 2014 9:28 pm


Return to FAQ

Who is online

Users browsing this forum: No registered users and 1 guest