HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

AMAI in custom maps

05-25-2007, 06:58 PM#1
Mal
Hello,

First, AMAI is quite impressive, well done.

I have been trying to use AMAI in mini-campaign custom maps, where the standard melee AI works fine, although not quite challenging enough.

While the AMAI players appear to work, they will never upgrade their Town Hall, Great Hall or Tree of Life. They will keep attacking with early units upgraded at 1-1. The exception is the undead AI which, somehow, upgrade all the way to Black Citadel and uses all units properly.

As I assumed some sort of conflict between AMAI and the custom map's triggers or so, I begun simplifying the map until AMAI started working properly.

I had to go all the way back to a standard melee map to finally see AMAI build keeps or strongolds. If I just split the players in 2 forces, which renders the map non-melee, AMAI will stop working properly again, and a human AMAI will never go beyond footmen and riflemen.

Is there really such a limitation? Why is the undead AI working properly in custom maps, while the other races stall? Could it be fixed?

I'm a programmer myself, though I'm not too sure where in the scripts to look for a clue of problem at the moment...

Thanks in advance for any help!
05-25-2007, 08:09 PM#2
Strategy Master
Hey glad ur enjoying using amai.

This is a known bug with a simple fix.
Click Scenario - Map Options - Game Data set
and change it to Melee (latest patch)

This will keep amai working in your game. I will hope to find a solution to keep the default melee AMAI working if u need to use the Custom (TFT 1.07) data set at some point in the future. By default maps use a default data set so sets it automatically to the custom data set if you customize you map beyond a standard melee map.
05-25-2007, 11:37 PM#3
Mal
Thanks! As expected, your suggestion worked perfectly.

Could I recommend adding this to the AMAI FAQ? I'm sure I'm not the only one encountering this problem, it could save others several hours of trying to understand the issue.

Keep up the good work ( and the excellent technical support )! You just had a little donation from me.
05-25-2007, 11:59 PM#4
Strategy Master
It is in the developer manual but yes i'll add to the faq as well.