Last Update: March 24, 2002 www.doomstone.co.uk
Welcome to DoomStone:
This is a personal page, designed by Kieran McAtamney-Sanders,
Emperor Mods : AI.INI

Contact Me
Personal Info
Curriculum Vitae
College Work
Articles
Emperor Mods
Music
Films
Books
Links
Home

News: 15.03.02

Just added a bunch more stuff to the 3rd Year projects section. More on the way as I finalise the details...

Last Update: 24th March 2002

This page contains what I've figured out so far of the AI.INI file which controls some of the AI settings in Emperor.

So Far I'm pretty sure of the following lines:

[BuildingConstructionRatios]
Seems to be a straight percentage of what types of building the AI builds.

Core=17 (Outposts etc.)
Defence=17 (Walls and Turrets)
Manufacturing=40 (Barracks, Factory, Hangar, Starport)
Resource=26 (Refinery & possibly windtraps)


[UnitConstructionRatios]
Seems to be a straight percentage of what units the AI builds.

Foot=20 (Infantry)
Tank=80
(Tanks)
Air=0
(Ornithopters, Gunships, ADP's)
Special=0
(Engineers, ADV carryalls etc)

[PositionAlgorithmRatiosExits]
Decides where the AI places buildings with exits (barracks, etc). As far as I can determine, each available position is checked, and given a "score" based of the following criteria. The building is placed in the position with the highest score.

Aligned=12 // To other building of same type DistanceFromCentre=7 // The closer to base centre the greater the score
FurtherFromEdge=13 // Higher score the further from sand and map edge
OuterPerimeter=1 // Greater score for being nearer the base perimeter
Perpendicular=4 // To any building
Random=8
// Random value
WithinExistingBounds=8
// Higher score for whole building being within existing bounds
Rotation=15
// Takes into account exit rotation


[PositionAlgorithmRatiosNoExits]
As above, but for buildings without exits (windtraps, outposts, etc).

Aligned=25
DistanceFromCentre=10
FurtherFromEdge=8
OuterPerimeter=1
Perpendicular=14
Random=7
WithinExistingBounds=12
Rotation=7
// Encourages facing camera

Check back later, I'll be adding more as I get the time to figure it out.