Jump to content
Sign in to follow this  
Speedy

Custom Ai Tutorial

Recommended Posts

Hey Guys,

i know this topic is really old, but if you want to create an ai profile then there are some facts you should know:

In general it is true that an ai with low stats will be weaker then one with high stats. But if you want a pretty strong ai it is not the best to simply set all stats to 100, because if you boost one stat you could weaken another one, even if both set to 100. The following stats will weaken your ai if you set them too high:

 

Aggressiveness - Exploration - Harassment:

The Ai fields 3 different types of squads: Exploration squads are small (often 3-6 units) and wandering a lot around. They are good to find hidden bases, but otherwise they roaming around without purpose and if they hit your base they are too weak do damage. Harassment squads have similar size (around 4-10 units). They will attack or flank you base, and doing so better then the explorers, but if you got some towers for protection they can not really harm you. The last squad type are the real army (at least 8-30 units). In the most cases this is the only squad type that can fight your base and win.

Aggressiveness means how large the main force of the Ai will get before it starts the attack. So 100 will make them really aggressive, so they attack quick, but with not many units. If you want an Ai that attacks with really big armies you should lower this stat. Exploration means how many explorer squads the ai will send. It is important for the Ai to know where your base is, but after that they are kind of useless. So here you can choose a lower number. Same with Harassment squads. Keep in mind that all the units in explorer and harassment squads are missing in their main force.

 

Hero Usage:

Heroes are pretty strong. So a high value in this stat will make the forces of the Ai much more powerful. They can add heroes to all 3 different types of squads, so you can't do much wrong here. But there is a big problem: Heroes costs Yin/Yang points. So if you set your Hero Usage value too high, your Ai will spam heroes if it can, even monks/ninjas, and this will cause a heavy lack of technologies. The troopers simply get no upgrades because there are no resources for that. Instead they will send explorer squads of for example 1 hero guarded by 3 units to ... roam around or attack your base ... and die. A value of 100 will confront you with some heroes, but in long therm the Ai army lack important upgrades. I recommend to choose nothing higher then 60 here. If you want a tough Ai that attacks quick and powerful you can argue to set this value to 0, so all Yin/Yang points will be invested in unit upgrades / undead brothers / dragon strike.

 

Healer Usage - Battle Gear Usage:

The Ai likes to add healers to all 3 types of squads. So if you got a high Healer Usage value together with high Exploration, then you will get lots of small geisha squads who stride around the map and die to everything. A high value in Battle Gear Usage is a good thing that makes the units much stronger, but costs also lots of resources. So if you want an Ai that attacks really quick and brutal, set this to a lower value, so the Ai get more resources for higher tier units, more buildings and so on.

 

So the typical set-all-to-100-method will give you a strong Ai, but that's neither one thing nor the other.

 

Share this post


Link to post
Share on other sites

If you like i can make a pack of different sorts of Ai for different game modes, map sizes or characters. I think it would be cool to have some special Ai for keep or hunger crisis mode.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×