jncraton / BWMetaAI

A StarCraft Brood War AI designed to follow the modern 1v1 metagame
Other
100 stars 12 forks source link

The default source does not use 'tech_manager'. #44

Closed ajujoa closed 1 year ago

ajujoa commented 1 year ago

Hi. I'm trying out several test and build changes. However, I encountered an unknown error in some parts.

1) AI ​​doesn't upgrade. The default source does not use 'tech_manager'. 2) build -> 'upgrade(1, Protoss Ground Weapons, 30)' not working. 3) I cannot make more than 30 'probe'. It also stops at the build order. 4) AI cannot use more than 3 gases. It seems to recognize only three.

If you know anything about this, please reply. Thanks.

BoneHorror commented 1 year ago

30 worker max and 3 gas per base max are inherent properties of the built-in SC AI; it's not something JNCraton can do anything about.

jncraton commented 1 year ago

If you are modifying/adding builds to this project, the tech_manager will not be called until after your build finishes. This gives you control over which upgrades, if any, to include in your build.

Upgrades should work fine within a build. The +1 5 Rax build includes upgrades if an example is helpful.

ajujoa commented 1 year ago

I found it in '+1 5 Rax.pyai'. What is the difference 'upgrade' and 'tech'?

BoneHorror commented 1 year ago

Upgrades are unit upgrades (marine range, infantry weapons etc) whereas tech is abilities (stim packs, siege mode, irradiate etc)