Lower Popcap win conditions for AI/Comp stomp players

Do you have a balancing problem or do you want to make a suggestion for the game? You are at the right place.
Post Reply
User avatar
Michael_Z_Freeman
Posts: 82
Joined: 11 Oct 2015, 16:37

Lower Popcap win conditions for AI/Comp stomp players

Post by Michael_Z_Freeman »

Hi. The performance of the AI has always been a long standing problem with Blitzkreig on larger maps due to BK having so many functions and addon's. It took me ages to work out that to get an acceptable performance I needed to choose "Win Condition: Annihilate with 150 Popcap" so that performance does not not go through the floor later in the game when both human and AI players have built up numbers of units.

So it would be cool to have the same option of 150 popcap for Victory points as well. There could also be a lower popcap of say 100 so that the AI becomes usable on larger 8x8 maps and/or to make frame rate even higher for 4x4 maps.

kwok
Team Member
Posts: 2516
Joined: 29 Mar 2015, 05:22

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by kwok »

I am practicing/learning lua. So I did this for you just for fun :
https://drive.google.com/open?id=1k9Cfj ... 2ayYii3Z_J

There are two files there.
Put the blitzkrieg module file into C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes Relaunch (replace the existing)
Put the Kwok Test SGA into C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes Relaunch\Blitzkrieg\Archives

There are 2 added modes, one for 2500 VP and 4000VP. Both are adjusted to 150 popcap.
Let me know if it works and have fun!
Tarakancheg: I want volkssturmm to upgrade to knights cross holders at vet 5 so that I can just show players how bad they are.

User avatar
Michael_Z_Freeman
Posts: 82
Joined: 11 Oct 2015, 16:37

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by Michael_Z_Freeman »

kwok wrote:I am practicing/learning lua. So I did this for you just for fun :
https://drive.google.com/open?id=1k9Cfj ... 2ayYii3Z_J

There are two files there.
Put the blitzkrieg module file into C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes Relaunch (replace the existing)
Put the Kwok Test SGA into C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes Relaunch\Blitzkrieg\Archives

There are 2 added modes, one for 2500 VP and 4000VP. Both are adjusted to 150 popcap.
Let me know if it works and have fun!


Thanks ! I'll check this out.

I just finished a very long game on Martainville (4) with Annihilation set to 150 popcap, me and 3 other AI players. Frame rate was acceptable, certainly good enough to be playable. I did not do a benchmark but I don't think it ever fell below 40 fps.

User avatar
Michael_Z_Freeman
Posts: 82
Joined: 11 Oct 2015, 16:37

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by Michael_Z_Freeman »

kwok wrote:I am practicing/learning lua. So I did this for you just for fun :
Let me know if it works and have fun!


Yes it works ! Plus you inspired me to extract the SGA with Corsix's Mod Studio as I've dabbled in doing simple map fixes before for maps that crash when AI saved games are loaded ( http://companyofheroes.michaelzfreeman.org/ ).

So I should be able to edit in the Popcap and VP levels that I need. Makes me wonder how easy it would be to write a little util app to make custom changes to the SCAR file and then re-compress into the SGA.

Still think extra options should be added to the main mod for those who don't either have the skills, time or both to edit SCAR files :mrgreen:

kwok
Team Member
Posts: 2516
Joined: 29 Mar 2015, 05:22

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by kwok »

I’ll coop the project with you, or if you’re interested in trying to break through coh2 with me and make a new mod, it’d be great to have an extra debugger/script writer. You can check out my mod at this link: viewtopic.php?f=12&t=2342
Tarakancheg: I want volkssturmm to upgrade to knights cross holders at vet 5 so that I can just show players how bad they are.

User avatar
Snazz
Posts: 10
Joined: 10 Feb 2017, 12:34

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by Snazz »

Nice work Kwok.

Can you please make 500 & 1000 VP modes as well?

I'd probably be able to with some instructions (I've forgotten how to mod Blitzkrieg in Corsix) but I figure it'd be quicker for you.

kwok
Team Member
Posts: 2516
Joined: 29 Mar 2015, 05:22

Re: Lower Popcap win conditions for AI/Comp stomp players

Post by kwok »

Sorry I’ve been away and really busy to make changes. I can probably start doing some help in maybe 2 weeks after the holidays.
Tarakancheg: I want volkssturmm to upgrade to knights cross holders at vet 5 so that I can just show players how bad they are.

Post Reply