Age of Kings Heaven 139
Welcome
Downloads Home
Best Files
Review Guidelines
Main site
Forums
Code of Conduct
Search

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

Submit File
Browse Categories
New Files
Recent Updates

Downloads Home » AI Files » Vicky the viking

Vicky the viking

Download File Post Review Post Comment
(Updated on 04/01/09)
Author File Description
DuckOfNormandy
File Details
Version: The Conquerors
this is a sample AI script that plays 1v1 arabia with vikings and all other settings standard (but hard difficulty).
My intention is to show a simple way to write an AI script. It exploits a single unused strategic number used as a marker of the game advancement. So almost all the script rules uses that strategic number to check the game status and to research, to build and to train units.
The result is a script i think it is very simple to learn and to modify: rules are very simple, all the script is based on the idea of "making this before", "then this", "then this", "...". Something similar to the scripting system of AOE1.

http://aok.heavengames.com/cgi-bin/aokcgi/display.cgi?action=ct&f=28,38927,,30

This is the related topic on AI scripting forum
The script is not so bad facing other AIs. The only part quite complicated is the town-size-attack system that i have taken from my "Valente" AI script. The dark age gathering balancing system i have taken from my "Lolol", that is simply a modify of the dark age gathering balancing system of the sample AI script at the end of all 14 pages of AIs in the blacksmith.
I have leaved the script quite easy. So there aren't complicated systems of counter-unit training or defenses from specific attack types (such as monk rushes, eagle-warrior rushes, etc)

Version 1.1:
- Updated the complete TSA attack system from valente AI
- Added comments
- Fixed bugs
- General upgrades
AuthorComments & Reviews   ( All | Comments Only | Reviews Only )
tushar I really love the clean coding of this file.

Post Review Post Comment

HGDL v0.7.1

Login
Forum Username:


Password:




Create a new account
Forgot password?
Statistics
Downloads:434
Favorites: [Who?]1
Size:5.52 KB
Added:03/25/09
Updated:04/01/09