Page 1 of 1

AI Buildings Build Order

Posted: 16 Feb 2021, 06:44
by Empire_Infiniti

Code: Select all

BuildListElement baseList[] = 
{
// (name), (priority), (hints), (block?), (min desired count), (max desired count), (max build count)
//
"CityCenter",	1.0  ,	DEFAULT,	YES,	1,	1,	1,
"Warehouse",	1.7  ,  DEFAULT,	YES,	1,	1,	2,
"Barracks",		2.0  ,	DEFAULT,	YES,	2,	2,	4,
"Warehouse",	2.5  ,  DEFAULT,	YES,	1,	1,	2,
"Outpost",		2.7  ,	DEFAULT,	YES,	1,	1,	4,
"Temple",		3.4  ,	DEFAULT,	YES,	1,	1,	2,
"University",	3.5  ,	DEFAULT,	YES,	1,	1,	2,
//"Dock",			3.6  ,	DEFAULT,	NO,		1,	1,	2,
"Stable",		4.8  ,	DEFAULT,	YES,	1,	1,	2,
"Mill",			6.0  ,	DEFAULT,	YES,	1,	1,	2,
"Outpost",		6.5  ,	DEFAULT,	YES,	2,	2,	4,
"Fortress",		7.0  ,	DEFAULT,	YES,	1,	1,	2,
"AirDefense",	24.8 ,	DEFAULT,	YES,	2,	2,	4,
"Airport",		24.9 ,	DEFAULT,	YES,	1,	1,	2			
};
Question: To modify build order, do I just change the position of the element in the list? or do I have to adjust "priority levels"?

I'll test it but any info is appreciated.

Added after 2 hours 42 minutes 39 seconds:
Another question: how do I change the rate that NPC opponents generate tech points?

Re: AI Buildings Build Order

Posted: 16 Feb 2021, 15:02
by Dr.MonaLisa
Hi.

For the first question: I don't know. But it shouldn't be a problem to make your own tests.

By NPC opponents you mean AI players? You could order to build more universities / temples. AI players have the resources (including Tech Points) gather ratio depending on their difficulty. So the "Hardest" AI will gather technology points faster. Maybe it can be tweaked in some file with difficulty modifiers, unfortunately I don't know which.

Re: AI Buildings Build Order

Posted: 20 Feb 2021, 05:00
by Empire_Infiniti
Thank you!