AI Buildings Build Order

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
Empire_Infiniti
Posts: 10
Joined: 05 Oct 2020, 07:43

AI Buildings Build Order

Post 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?

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: AI Buildings Build Order

Post 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.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Empire_Infiniti
Posts: 10
Joined: 05 Oct 2020, 07:43

Re: AI Buildings Build Order

Post by Empire_Infiniti »

Thank you!
Post Reply

Return to “Questions”