Does the AI also buy units?

A forum to discuss custom scenarios, campaigns and modding in general.

Moderator: Panzer Corps 2 Moderators

Post Reply
Franzose
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri Apr 20, 2012 6:46 pm

Does the AI also buy units?

Post 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
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 14
Joined: Mon Oct 30, 2017 11:58 am

Re: Does the AI also buy units?

Post 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 ...
tpoo
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 177
Joined: Fri Dec 30, 2011 6:27 pm

Re: Does the AI also buy units?

Post 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.
Franzose
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Fri Apr 20, 2012 6:46 pm

Re: Does the AI also buy units?

Post 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?
Last edited by Franzose on Sun Dec 10, 2023 2:59 pm, edited 1 time in total.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1997
Joined: Mon Aug 04, 2014 10:07 pm

Re: Does the AI also buy units?

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

Return to “Panzer Corps 2 Scenario Design”