Welcome
Downloads Home
Best Files
Review Guidelines
Main site
Forums
Code of Conduct
Search

Advanced Search
Miscellaneous Files
Home
New Releases
New Reviews
New Comments
Top-Rated

Submit File
Browse Categories
New Files

Downloads Home » Miscellaneous Files » Draugur AI build walls for custom large maps

Download File Post Review Post Comment

Draugur AI build walls for custom large maps

Author File Description
Commodore Cedric
File Details
Game Version: TAD
Screenshot:
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.



Features

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):

"aiPlanSetVariableFloat(wallPlanID, cBuildWallPlanWallRingRadius, 0.0, 59.0);"

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.




Installation

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.
AuthorReviews   ( All | Comments Only | Reviews Only )
proerd888
Rating
5.0
Well, i like much this code, i using him on my mod and name is Age of Empires III: Special Civilizations and i gived credit of this author on my mod desc.

I GIVE RATE 5 :D

[Edited on 05/07/17 @ 09:02 PM]


Post Review Post Comment

HGDL v0.8.0

Login
Forum Username:


Password:




Create a new account
Forgot password?
Rating
5.0
Statistics
Downloads:985
Favorites: [Who?]1
Size:940.76 KB
Added:06/07/16
Updated:06/09/16