DRAUGUR AI BUILD WALLS FOR CUSTOM LARGE MAPS
by Commodore cedric
Good day everyone! this is my version of draugur ai of felix. i made this ai mod based on draugur ai, since it becomes the standard ai for all Age of empires 3 single players. the goal of this mod is to let the players experince having an active ai that build walls. first of, i would like you to know that im not a programmer and all i did is copy, paste and tweak the scripts that i found on some scripting tutorials. especially the ai tutorials of mudilator.
1. This AI is the same as the Draugur AI of Felix Hermansson, but this ai build walls
2. Aztecs and Asian civilizations AI now convert their walls into gates
*Note: you can disable the wall buildings of AIs by openning the AImain.xs using notepad, find the 'rule delaywalls' and retype 'active' to 'inactive'
*Note: if you deactivated the wall building of AIs you are no longer in need to copy the techtree file. The techtree file allows the asian civilization and the aztecs to convert their walls into gates
3. Ai upgrade their wall at post-industrial age
4. this ai is best to use on larger maps and also to avoid wall obstruction
5. Plus top rated custom maps from age of empires 3 heaven
*Note: there are large customs maps here, and i recommend you to play this ai mod on the land maps made by RF_Gandalf
i set the radius to 59, because i think that is the best size, it's not to small to interfere the circulation inside the AIs base and not to large to touch the base of their allies. if you want to adjust the radius, just open the AImain.xs using notepad and find (Ctr+F):
just replace the number 59 to whatever game radius you want for you wall
and click next to find the second script and replace again the value.
just move the files to the game directory, to be specific move the aiDraugurMain.XS, aiDraugurHeader.xs, and aiLoaderStandard file in:
My computer/Program Files/Microsoft Games/Age of Empires III/AI3
and the techtreey.xml file in:
My computer/Program Files/Microsoft Games/Age of Empires III/data
be sure to replace the existing files. if you want ot uninstall it, i added the original files in backup folder
There you go. if anyone noticed where i messed up, please let me. thank you!
by the way, is there any experts here, cause i want to ask something. do you know how can i place the walls over the trees and trade route only? or how can i make the ai build walls over trees because i want to make sure that the ai dont place a gap between walls. i tried to put a <Flag>PlaceAnywhere</Flag> into every wall script, it works but the ai still leaving a gap and it also allow them to place a wall that passes through the buildings. help! just leave a comment.