Page 1 of 1

Does the AI also buy units?

Posted: Sat Dec 09, 2023 1:34 pm
by Franzose
Hello everyone

I have to AI in the game.....

can the AI actually buy units independently once the AI has collected enough points?

I'm trying to test in the editor whether the AI itself buys new units...
There are fields to set up the units, there are enough points, but no matter which move, the AI never buys units itself :-(

can you set something in the editor, or can the AI not buy units?

Thank you very much and greetings from Hamburg

Re: Does the AI also buy units?

Posted: Sat Dec 09, 2023 2:11 pm
by sstejona
Hey,

du kannst ein lua script erstellen und dort hinterlegen, dass in runde x die und die einheiten bei der gegenseite hinzugefügt werden. zum besseren verständnis schau dir mal z. B. die lua scripte von der mp map husky und minsk an. ich glaube sogar, dass bei minsk eine zufallsbasierte einheitenerstellung eingestellt ist. bin mir aber gerade nicht sicher. eine einstellung, dass die ai selbstständig einheiten kauft, ist mir nicht bekannt. muss aber nicht bedeuten, dass das nicht möglich ist ...

Re: Does the AI also buy units?

Posted: Sat Dec 09, 2023 2:54 pm
by tpoo
Franzose wrote: Sat Dec 09, 2023 1:34 pm Hello everyone

I have to AI in the game.....

can the AI actually buy units independently once the AI has collected enough points?

I'm trying to test in the editor whether the AI itself buys new units...
There are fields to set up the units, there are enough points, but no matter which move, the AI never buys units itself :-(

can you set something in the editor, or can the AI not buy units?

Thank you very much and greetings from Hamburg
In the scenario editor, under the scenario parameters tab, if you set the AI behavior to Free-For-All the AI will buy one unit per turn at a Ai controlled supply hex. The PC1 Grand Campaign mod uses this on some scenarios, I do not think this has ever been used in the AO DLC's.

Re: Does the AI also buy units?

Posted: Sat Dec 09, 2023 5:29 pm
by Franzose
Thanks tpoo

Just what I was looking for :-)

Is there the possibility of telling the AI that it also buys 2 or 3 Units per round?

Re: Does the AI also buy units?

Posted: Sun Dec 10, 2023 11:46 am
by Grondel
Franzose wrote: Sat Dec 09, 2023 5:29 pm Thanks tpoo

Just what I was looking for :-)

Is there the possibility of telling the AI that it also buys 2 or 3 eggs per round?
haven´t played around with this for some time, but it should be 1 unit per supply hex the AI controls. if u want more bought just add supply hexes for the AI.

sers,
Thomas