|
|
Felix Hermansson's Draugur AI (AoE3, TWC & TAD)
|
Author |
File Description |
Felix Hermansson |
Posted on 02/26/06 @ 09:38 AM (updated 04/20/08)
File Details |
Game Version: |
TAD |
Draugur AI Script, Versions 3.10 (AoE3), 6.04 (TWC) & 7.01 (TAD)
by Felix Hermansson (hoodncloak@hotmail.com)
20 April 2008
This archive contains three versions of the Draugur AI script:
- V3.10 for 'Age of Empires 3' (the original version)
- V6.04 for 'AoE3: The War Chiefs' (the first expansion)
- V7.01 for 'AoE3: The Asian Dynasties' (the second expansion)
All three are improved versions of the standard game AI for AoE3, AoE3:TWC and AoE3:TAD. They feature a number of improvements over the standard game AI. The main ones are as follows:
For all three versions:
The AI concentrates on training units which effectively counter the enemy's troops.
AI deck creation has been changed; the AI now includes mercenaries, Advanced Trading Post and Royal Decree (the unique church tech upgrade).
The AI now fishes and builds a navy on custom random maps with water, provided there is a water spawn flag. This works for existing maps as well as future ones, so there is no need to add names of custom maps to the script or anything like that. The AI's behavior on standard maps is not affected. (Note that the way the AI treats naval warfare is not improved much, this feature might come with a later version.)
The AI now builds fewer plantations, but still enough to keep all its gold gatherers busy.
AI players now use extra scouts (envoys, native scouts) properly.
The AI now builds more artillery and a bit more cavalry.
The AI always keeps a defensive force around its main base, and keeps its fort closer to the main base as well.
The AI puts much more emphasis on trade posts, both at trade routes and native villages, and upgrades trade routes as appropriate.
Gatherer assignments are no longer changed every few seconds, the AI now plays a much more steady game in this respect.
Treasures close to the AI's main base are now being collected over time. Furthermore, the AI tries to rescue or sometimes ransom its fallen explorer.
Handling of herdables has been improved: The AI gathers them actively, assigns them to pens etc. and actually collects food from them.
For TWC and TAD only:
AI personalities have been somewhat randomized for skirmish/deathmatch games. Civilizations will still mainly stick to their basic strategy (e.g. rushing or booming), but can also choose other options.
The selection of age-up politicians by the different AI personalities has been improved. It now takes game strategy into account, but also includes a certain randomization. The AI can even choose to revolt now.
AI deck construction has been improved so the AI selects what it considers "stronger" cards, and a certain randomness has been introduced. Also, decks now include mercenaries, native allies, renegades, and a number of more special cards like Advanced Arsenal or New Ways.
The AI upgrades its units (including minor natives) more consistently, using both line and arsenal upgrades as available.
The AI uses the native civilization's war parties as levy replacement.
Healers are now handled properly, and war priests used as dancers.
The AI uses fire pits to revive its fallen war chiefs. (A bug in ES's original script prevented this for Aztecs and Sioux).
Hot air balloons have been introduced for scouting.
The AI builds and uses Cree coureurs if available.
For TAD only:
The AI produces heavy artillery from factories.
The AI uses mansabdar units for Indians as well as daimyos and shoguns for Japanese, and includes mercenaries from the Asian monastery.
The AI builds Japanese dojos and sacred fields for Indians.
The AI chooses its consulate options in a more reasonable, but somewhat randomized manner, and will make use of the available consulate armies and improvements. Factories, arsenals etc. from the consulate are handled properly now.
Passive wonder bonuses are used in a more reasonable, but somewhat randomized manner. (Note that active abilities like Informers are still not available to the AI.)
Apart from these changes the Draugur AI features a huge number of other, smaller improvements, which are listed in the readme files for all three versions.
Note that the AI is still no match for the hardcore player, especially since "anti AI tricks" like shooting a single villager to make all of them run for cover still work (the AI script cannot change that), but I feel it makes for much more interesting games for the casual player.
Having said that, the Draugur AI is meant to be used on difficulty levels 'hard' or 'expert', and for high home city levels. It works fine on lower levels, but it won't be able to use its full potential. The AI can't use cards which are unavailable for its assigned HC level (e.g. 25 for Advanced Trading Post), and usually won't use mercenaries (except for the ones available from the church) until around HC level 50.
I only partly changed the basic way the AI plays; the differences between the civilizations are still there (though somewhat randomized now for TWC). No special strategies (say, an Ottoman rush) have been implemented.
Note also that just like the standard game AI the Draugur AI is meant to be used for "standard" games, i.e. non-treaty games starting in either nomad or discovery age. It can be used for other game modes as well, but it won't be able to use its full potential as no special handling for these modes has been introduced.
Regicide, Silk Road or King of the Hill style games are handled the same way the standard AI does. A later version should feature an improved handling for those.
Some points which are interesting mainly for scripters and designers:
A new function (echoMessage) has been introduced to allow for debug output by player chats.
A new control variable (cvOkToBuildDeck) can be used to force the AI to play with a predefined deck in custom scenarios.
The control variable cvTertiaryArmyUnit is now handled properly. (The standard AI simply ignored it.)
The personality randomization is for skirmish/deathmatch games only and will not affect scenario/campaign games.
The revolution feature is disabled for scenario/campaign games.
I have tested the AI, and it works properly for all patch levels up to 1.12 for AoE3, 1.04 for TWC and 1.01a for TAD. (It SHOULD work for future patch versions as well, provided ES introduces no major changes, but of course I cannot guarantee that.) I feel it makes the game more interesting to play, but then again, that might just be me. I need as much feedback as possible to make the AI even better! So I would appreciate any honest feedback, good or bad. Please tell me what you liked, what you disliked, and especially, tell me why. If you have any ideas on how to improve it, all the better.
I would appreciate it even more if you did not modify this script, copy my code (even parts of it), or use it in your own projects without contacting me first.
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
|
Pages: « First « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 » Last » | Author | Comments & Reviews ( All | Comments Only | Reviews Only ) |
---|
Ganacampo |
Posted on 08/27/06 @ 08:08 AM
I am sure its installed correctly, and yes, the AI is upgrading trade routes etc.
Probably I'm misinterpreting it, but it really ooked like scouting.
But if it worked in hundreds of tests it probably won't be scouting. |
NAT |
Posted on 09/01/06 @ 08:42 PM
I'm afraid to say that in the moving of this file all scoring reviews have been removed, this is a side effect of the move across the sections. This is done automaticlaly by the system in case of different reviewing styles in different sections.
It would be fantastic if people who had already posted scoring reviews could re-post just the scores so that this file gets the attention it deserves. Hopefully though, we'll find a solution to restore the reviews.
- NAT |
dr nefarious |
Posted on 09/04/06 @ 02:59 AM
Rating: 5
It's a real shame all those 5.0 ratings this file received have been "accidentally" deleted, because from my point of view it deserved each and every one of them.
The Draugur AI is definitely one of the top downloads available here on AoMH. It works as advertised (using mercenaries, counter units etc.), and for all I can tell without any bugs. Too bad it doesn't improve the AIs performance on water maps much, but as most people don't play those anyway that's not really a problem.
Its biggest plus in my mind is that it improves the game without actually changing anything. It can be combined with just about any other mod, any custom scenario, and even the original campaign.
Two thumbs up, great work! I hope we're going to see a similar file once The War Chiefs are out - unless, of course, ES hired you to create a somewhat more competitive AI for the expansion in the first place... ;-) |
Macaulish |
Posted on 09/04/06 @ 11:44 AM
Rating: 5
(Insert Rating analysis here)
Additional Comments:
Installed and tested on Gandalf's Transcontinental map.
Played on Hard with 5 AI players.
The changes can be seen easly. The AI players attack more, make more upgrades, are more realisitic.
I will keep your settings and will notice you if there is something I don't like.
Anyway, Thank you for your wonderfull job.
Keep up the good work.
Rating: 5 |
NAT |
Posted on 09/12/06 @ 07:55 AM
"It's a real shame all those 5.0 ratings this file received have been "accidentally" deleted, because from my point of view it deserved each and every one of them. "
Hey... This was an unfortunate side effect of changing category, why would I want to rid this file of it's great reviews? I'm just glad this file has two 5.0 scores added to its name, it's obviously a very fine piece of work.
- NAT |
ptoda123 |
Posted on 09/13/06 @ 07:20 PM
hi i copied these files into the AI folder in the age of empires folder. i played a game and didnt really notice any effect. i didnt see any enemy mercenaries on the field (and when i looked at enemy HCs i didnt see any merc cards either).
can anyone help me out? thanks |
Felix Hermansson
File Author |
Posted on 09/15/06 @ 10:45 AM
@ptodal23:
What HC level did you play on? As mentioned in the readme file, the Draugur AI can't use cards which are unavailable for its assigned HC level (e.g. 25 for Advanced Trading Post) and usually won't use mercenaries (except for the ones from the church) until around HC level 50.
@ macaulish, dr nefarious:
Thanks for the feedback and the ratings, glad you two liked it!
|
ptoda123 |
Posted on 09/15/06 @ 04:34 PM
oh ok i got it to work. i had recently modded the merc techs so they can be sent infinite times but i sorta messed things up a bit. i fixed it now and i do see mercs being used by the computer now. seems like they use it alot in deathmatch but not alot in supremecy..but its all good.
thanks for the mod. its really great =)
I have an unrelated question tho, when warchiefs comes out, will their be a quick way to transfer all the mods i've done and dl'd for the new game? or will i have to redo them all and dl new mods? |
NAT |
Posted on 09/19/06 @ 01:56 PM
Old reviews restored.
- NAT |
Gearai |
Posted on 10/11/06 @ 10:39 AM
Any Idea how this AI would work in version 1.09?
Any side, or ill effects possible, or to be known? |
Pages: « First « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 » Last » |
HGDL v0.8.2 |
Statistics |
Downloads: | 28,674 |
Favorites: [] | 13 |
Size: | 438.23 KB |
Added: | 02/26/06 |
Updated: | 04/20/08 |
|