Jagger2013
General of the Army
Posts: 641
Joined: Sat Apr 27, 2013 2:14 am

AI building new units

Sun Oct 05, 2014 9:45 pm

How does the AI decide what units to build? I have found a reference to a buildnewunits command which I believe the AI uses. However I haven't been able to locate the file within RUS which contains the command. Any ideas?

User avatar
Pocus
Posts: 25662
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Oct 06, 2014 9:32 am

If there is no bias because of emergency building or too low / too high in a particular resource, then this is proportional to the number remaining in the force pool compared to all others units types. The command you refer to is a coefficient applied to this value.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 21 guests