The ai has the ability to build walls it's just 'commented' out. If you know anything about C++ you should know that two forward slashes(//) tells the computer to completely ingnore anything past that point of the line.
Here is a part from the file 'aiMain.xs':
Here is the location of the file on my vista:
C:\Program Files\Microsoft Games\Age of Empires III\AI3
I have deleted the two slashes and discovered that they do build walls in skirmish and online if you are hosting the game.
The only problems that I've seemed to find is that they don't upgrade there walls. They build the walls too close to them and that they only build one layer of wall.
The ai builds buildings spread out so there isn't too much room for a wall anyways but it does make the game a little bit harder. They tend to repair the wall as soon as they can get a free settler on it.
I have only tested this on asian dynasties. If you want to try it on the other versions edit the file in the AI (AoE3), and/or AI2 (Warchiefs) folders.
I am trying to find how to make them smarter. I have made them build there walls a little further out but they still build buildings everywhere and only 1 unupgraded wall.
Here is a part from the file 'aiMain.xs':
I opened the file in notepad noticed the above.Quoted from aiMain:
if ( (aiRandInt(100) needToRoll) && (cvOkToBuildWalls == true) )
{
//aiEcho("Decided to do walls.");
//gBuildWalls = true;
//xsEnableRule("delayWalls"); // Start walls once we have housing room
}
Here is the location of the file on my vista:
C:\Program Files\Microsoft Games\Age of Empires III\AI3
I have deleted the two slashes and discovered that they do build walls in skirmish and online if you are hosting the game.
The only problems that I've seemed to find is that they don't upgrade there walls. They build the walls too close to them and that they only build one layer of wall.
The ai builds buildings spread out so there isn't too much room for a wall anyways but it does make the game a little bit harder. They tend to repair the wall as soon as they can get a free settler on it.
I have only tested this on asian dynasties. If you want to try it on the other versions edit the file in the AI (AoE3), and/or AI2 (Warchiefs) folders.
I am trying to find how to make them smarter. I have made them build there walls a little further out but they still build buildings everywhere and only 1 unupgraded wall.