EFEastern Front Forum Archive
Read-only public archive · no login or tracking

Archived topic · 9 posts

How AI makes certain units

General Discussion

#114657

How AI makes certain units

Hello i have a few questions on how when i'm playing against the AI they make units that i have know idea how to get. So the Panzer Elite AI everytime it spawns a Infantry Halftrack it spawns with Tankbusters in it like the second it spawns. So its not like they just put them in there. Also when playing against Soviet AI i destroy there HQ (an ally was still alive so game didn't end) they spawn in 2 Ingenery squads, 1 Red Banner Strelky and 1 Shock guard. I know this is not Red Tide i just wonder how they do it. If anyone could tell me it would be greatly appreciated.

-Into The Frey
Forum post image
"I am a crack shot!"
"Heart or head either way Jerry's dead!"
"Don't worry, we're basically bulletproof!!!"
#114662

Re: How AI makes certain units

What difficulty (AI) do you play against, Hard, Expert get tons of freebies.
They are in front of us, behind us, and we are flanked on both sides by an enemy that outnumbers us 29:1. They can't get away from us now!
#114664

Re: How AI makes certain units

CPU AI typically techs in a linear path. So you will see something like t1-t2-t3-t4 and at each teir they will spam stuff. Wehr AI likes to spam StuG and Pumas, PE AI likes to spam MHT and SCs, US AI like to spam WSC, and Brit AI is just wtf :P
Forum post image
Om Nom Nom Nom
"Panzer-Guppy ready for battle!"
"Ha Ha Ha! We have the ZEAL!"
"Grenadiers! Fall In!!"
#114676

Re: How AI makes certain units

I play against normal or easy usually(not that good yet  ;D) But its not that they spam them its how they get it. Cause i'm not sure how to get it.
Forum post image
"I am a crack shot!"
"Heart or head either way Jerry's dead!"
"Don't worry, we're basically bulletproof!!!"
#114680

Re: How AI makes certain units

Well Im not sure what you're trying to say anymore since AI buys units like a regular player :P. But sometimes the AI does cheat. For example when Brit AI makes a tommie squad, it gets a free Lt.
Forum post image
Om Nom Nom Nom
"Panzer-Guppy ready for battle!"
"Ha Ha Ha! We have the ZEAL!"
"Grenadiers! Fall In!!"
#114684

Re: How AI makes certain units

The ing/strelky/Gds battlegrpoup is a deliberate hardcoded feature from Relic; to keep the game from ending too soon. An example of it is to be found in the market garden campaign, the first Valkenswaard scenario. If you lose all your PGs a battlegroup will be spawned, probably until such time as a FHQ is built in the church.

CatFishy is right about the T1/2/3/4 build order and the spamming but I think he is incorrect about AI preferences. I think the AI will build at least one each  of all units in a given tech level, (probably with a 50%VG, 33%MG, 16%sniper probability scheme for the next unit to arrive). This process seems to be interrupted when a higher tech level building is completed. At which point a new probability scheme is implemented until one each of the T2 units is built, one of the probabilities in the T2 probability scheme possibly allows for a backTeching unit build. When the AI selects a doctrine a similar scheme is initiated.

At some point, around when T3 is built the Spamming starts and the AI selects a unit type that it seems to keep on building. I think the  spam priority switch uses the resource pool reserves to select what unit is spammed. An AI propaganda Spam will usually be NI until Katyuskas come out when it may switch to Katy's (IIRC Katy's are cheaper than NI's). I occasionally see it happen with LWGd and Wirbelwinds and rarely nashhorns. It is also seen sometimes with Partizan/KV2 spamming.

My favorite AI Spam is one faction spamming Storms and another faction Spamming Stu42Hs. A good challenge! LW spams are the most pathetic AI spams, Closely followed by straight NI Spams. Partizans would be second worst but that Spam is often changed to a KV2 Spam.

The IHT/2 PG/Shrek seems to be a bonus to the AI. Target the IHT to get the PGs to bail out ASAP. Whats worse I think the Shrek squads may always have two shreks. Anybody know for sure?

I play AI at hard and expert levels. The AI schemes I have mentioned above are not gospel. They are my best guesses.  If we can get Robotnik involved in this discussion we may get more solid answers.
孫 The
EF_v1.7.10

子 Art
Illegitimi non Carborundum -"Vinegar" Joe Stilwell

兵 of
Sun Tzu says: In warfare one compels and is not compelled by others

[b] 法 War
#114696

Re: How AI makes certain units

into wrote:
Hello i have a few questions on how when i'm playing against the AI they make units that i have know idea how to get. So the Panzer Elite AI everytime it spawns a Infantry Halftrack it spawns with Tankbusters in it like the second it spawns. So its not like they just put them in there.

That's an AI thingy, they cannot garrison/ungarrison HTs, so they get those.

into wrote:
Also when playing against Soviet AI i destroy there HQ (an ally was still alive so game didn't end) they spawn in 2 Ingenery squads, 1 Red Banner Strelky and 1 Shock guard. I know this is not Red Tide i just wonder how they do it.

@Otto 213 already answered this one, and it is the same for all factions not only for soviets :).
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...
#114699

Re: How AI makes certain units

Well thank you to everyone who helped answer my question. I just didn't understand how it happened.


-Into The Frey
Forum post image
"I am a crack shot!"
"Heart or head either way Jerry's dead!"
"Don't worry, we're basically bulletproof!!!"
#114708

Re: How AI makes certain units

blackbishop wrote:
into wrote:
Hello i have a few questions on how when i'm playing against the AI they make units that i have know idea how to get. So the Panzer Elite AI everytime it spawns a Infantry Halftrack it spawns with Tankbusters in it like the second it spawns. So its not like they just put them in there.

That's an AI thingy, they cannot garrison/ungarrison HTs, so they get those.
I wonder what the AI pays for this call-in? I'll bet its less than 940MP/20FP.
孫 The
EF_v1.7.10

子 Art
Illegitimi non Carborundum -"Vinegar" Joe Stilwell

兵 of
Sun Tzu says: In warfare one compels and is not compelled by others

[b] 法 War