在sscaitournament上面Stardust2020年排名第一。
前提你需要安装BWAPI4.40。这个AI是基于这个版本API写的。
第一步
从Stardust的GITHUB下载C++源码。
https://github.com/bmnielsen/Stardust
第二步
本人使用VS2019编译源码的DLL文件
第三步
将编译好的Stardust.dll复制到starcraft1.16.1安装目录下的bwapi-data\AI文件夹内(这个是BWAPI内工具Chaoslauncher的默认AI读取地址)
第四步
启动BWAPI下面的Chaoslauncher工具
第五步
懒得写了,直接复制官网的quick star教程
- Installation
- Install Visual Studio 2013
- Install StarCraft: Brood War
- Update StarCraft: Brood War to
1.16.1 - Install BWAPI
- Compile
- Open
ExampleProjects.slnin the BWAPI install directory - Build the ExampleAIModule project in RELEASE mode
- Copy
ExampleAIModule.dlltobwapi-data/AIinside the StarCraft install folder
- Open
- Run StarCraft through Chaoslauncher
- Run a game against Blizzard's AI
- Go to Single Player -> Expansion
- Select any user and click OK
- Click Play Custom, select a map, and start a game
- Run a game against yourself
- Run
Chaoslauncher - MultiInstance.exeas administrator - Start
- Go to Multiplayer -> Expansion -> Local PC
- Select any user and click OK
- Click Create Game, select a map, and click OK
- Start – Uncheck BWAPI Injector x.x.x [RELEASE] to let a human play, leave alone to make AI play itself
- Go to Multiplayer -> Expansion -> Local PC
- Select any user and click OK
- Join the existing game created by the other client
- Run
第5小步是人机对战的关键步骤。人机对战,需要自己开启一个SC程序,AI使用Chaoslauncher即可。
出现下面这一行绿色字就算启动成功了。
总结:这个AI主要战术很简单,疯狂爆龙骑,微操不错。而且开矿迅猛。人操作还是有些困难对付他。