Author |
File Description |
Felix Hermansson |
Posted on 02/08/06 @ 01:09 PM
Navy Enabled AI Main File
by Felix Hermansson, Tsunami Studios (hoodncloak@hotmail.com)
6 February 2006
This is just a quick fix I introduced in the game AI. Some simple changes enable the AI to fish and build a navy on custom random maps with water, provided there is a water spawn flag. The AI's behaviour on standard maps is not affected, and the way the AI treats naval warfare is not improved either.
To install the AI file, simply copy 'aiMain.xs' into the game folder '..\Microsoft Games\Age of Empires III\AI', overwriting the original file. Be sure to make a backup of the original file first, just in case you want to undo the change again!
Please send any comments or questions by e-mail to hoodncloak@hotmail.com. Oh, and add 'Age of Empires' to the subject and use proper language, otherwise your message will probably be deleted by the spam filter.
Have fun!
Felix |
Author | Comments & Reviews ( All | Comments Only | Reviews Only ) |
---|
abrisk |
Posted on 02/11/06 @ 02:00 AM
Question:
What is the logic for modifying the aimain.xs, when the:
gGoodFishingMap = true;
gNavyMap = true;
can and should be set in the ailoader?
The loader file exists, to change settings without mucking up the main ai code.
Take a look at the ailoaders, from ES.
They even have an explore plan set in the ailoader[Edited on 02/11/06 @ 09:59 AM]
|
Felix Hermansson
File Author |
Posted on 02/11/06 @ 04:45 AM
The aiLoader file is mainly for setting parameters in the preInit and postInit functions - at least, that's my understanding. Note that simply setting the parameters in these functions wouldn't work, you'd have to add the corresponding conditions.
What you call "mucking up" I call good programming style - you change things at the root whenever possible, you don't add work-arounds somewhere else.[Edited on 02/11/06 @ 04:46 AM]
|
mrrags1 |
Posted on 02/18/06 @ 11:47 PM
Thank you, Felix, for your consistant efforts to make this a better game.
I have played so many others that haven't half the troubles with AI as the AOE3 game and I can't figure if it's just "laziness" on the part of ES or "ineptness" that prevents them from presenting a game which is competitive offline against the computer.
The weakness of the AI as it is in most circumstances makes me believe that this is more intended as an online game and "laziness" is more the reason. |
johnboyz |
Posted on 02/19/06 @ 12:55 AM
Awhile back, I downloaded "standard AI with rules activated". Can I combine your file with that?? I know it's probably a silly question but I'm an expert at silly questions. 8-) |
Felix Hermansson
File Author |
Posted on 02/19/06 @ 05:23 AM
I'm not sure about which file you are referring to here. If you're talking about the file provided with Higgs' "Rules In AIMAIN Helper", then I advise you to delete it. It's useless (the rules are activated anyway) and might even interfere with the standard AI.[Edited on 02/19/06 @ 05:24 AM]
|
johnboyz |
Posted on 02/19/06 @ 02:19 PM
No, this has nothing to do with AIMain... I know that file too. i searchedall over but it's no longer on this forum. It's in my downloads and AI so I have to have come up with it from somewhere. 8-)!!!
The file name is: aiLoaderStandard_with rules activated.xs
I've been using it with most all of my custom scenarios. |
Felix Hermansson
File Author |
Posted on 02/21/06 @ 01:13 PM
That's the file I was referring to. As stated above, I advise you to delete it. It's useless (the rules are activated anyway) and might even interfere with the AI. |
Cheruscan |
Posted on 07/30/06 @ 07:03 PM
Great stuff.
I used this AI on Gandalf's Island and Island Hopping RMS. Works great on Carribean and Amazon type maps too.
Prior to installing this AI, the computer would not build a navy on Custom maps.
I specially enjoy navy maps because once you gain supremacy on the seas, you control the game and the rush and you monitors can wreck havoc on forts and all the enemy unit clustered around it.The Frigates also can kill the computer enemy who think that an invasion is coming.
Town centers and towers close to the shore must be knocked out too.
The main thing is to send out your free ships early and raid the enemy docks. Use the caravelles for fishing and whaling since they do not count against pop limit.
Of course the Admiral card is a necessity plus any fleet improvement cards that give you an edge.
With your monitors and frigates killing the enemy army on one side of the island, take your natives in the back door and hit the enemy villagers, houses and economic ability in a raid using galleons. The galleons are like a fort on the sea with ability to creat units.
Why build and transport an entire army, if you have already made the improvements at your barrack and stable.
Take along the Artillery because the computer will crank out guns like crazy once you invade.
|