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.
User avatar
Michael_Z_Freeman
Posts: 32
Joined: 11 Oct 2015, 16:37

Lower Popcap win conditions for AI/Comp stomp players

Postby Michael_Z_Freeman » 12 Nov 2017, 18:49

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
Posts: 1063
Joined: 29 Mar 2015, 05:22

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

Postby kwok » 12 Nov 2017, 21:49

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!

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

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

Postby Michael_Z_Freeman » 13 Nov 2017, 20:36

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: 32
Joined: 11 Oct 2015, 16:37

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

Postby Michael_Z_Freeman » 14 Nov 2017, 16:44

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
Posts: 1063
Joined: 29 Mar 2015, 05:22

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

Postby kwok » 15 Nov 2017, 00:45

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

Snazz
Posts: 4
Joined: 10 Feb 2017, 12:34

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

Postby Snazz » 07 Dec 2017, 00:35

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.


Return to “Balancing & Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests