-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
509d6b8
commit cbfd9c5
Showing
4 changed files
with
90 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,71 @@ | ||
# Ranked Matchmaking AI | ||
This project is a improved Dota2 Bot script based on Valve's default AI. It can provide a good practice environment for players who cannot compete online, in order to improve their own game level. | ||
This project is a improved Dota2 Bot script based on Valve's default AI. | ||
|
||
It can provide a good practice environment for players who cannot compete online, in order to improve their own game level. | ||
|
||
## Features | ||
(work in process) | ||
|
||
## Install | ||
|
||
### Play online | ||
#### Way 1 | ||
|
||
#### Method 1 | ||
1. Open steam workshop link https://steamcommunity.com/sharedfiles/filedetails/?id=855965029 and then subscribe. Then your steam will auto download this project to your computer. | ||
2. Open Dota2 and create a lobby. | ||
3. Select Local Host or Valve Dedicated Server closest to your region. | ||
4. Check Fill empty slot with bot checkbox. | ||
5. From Radiant or Dire Team drop down select Browse on Workshop.... | ||
6. From the Workshop Script List choose my script name "Ranked Matchmaking AI" in advance lobby setting. Or the other script if you want to play another script by clicking SUBSCRIBE BUTTON if you haven't subscribed or USE if you've subscribed the script. | ||
7. Click OK and then start the game. | ||
#### Way 2 | ||
|
||
#### Method 2 | ||
1. Open Dota2 | ||
2. Start Solo Bot match or Cooperation Bot match. | ||
3. From the Workshop Script List choose my script name "Ranked Matchmaking AI" in setting. | ||
4. Click Play and then start the game. | ||
|
||
### Play offline | ||
#### Way 1 (With steam) | ||
|
||
#### Method 1 (With steam) | ||
1. Subscribe first then you can get my script from this path Steam\SteamApps\workshop\content\570\. | ||
(If you have problems of downloading from steam, you can also download it from github: | ||
https://github.com/adamqqqplay/dota2ai/archive/master.zip) | ||
2. Copy 855965029 folder to Steam\SteamApps\common\dota 2 beta\game\dota\scripts\vscripts\ and rename the folder name to bots. Then you can start Solo Bot match by choosing Default Bot or my script name if you're online. | ||
#### Way 2 (No steam) | ||
|
||
#### Method 2 (Without steam) | ||
View this link to get detail infomation: | ||
https://steamcommunity.com/workshop/filedetails/discussion/855965029/1489987634016938096/ | ||
https://steamcommunity.com/workshop/filedetails/discussion/855965029/2217311444342267217/ | ||
## Participate in | ||
|
||
## Contributing in this project | ||
Welcome everyone to improve this project! This project is mainly developed using Lua language. | ||
1. Login Github. | ||
2. Fork this project. | ||
3. Create your feature brache. (git checkout -b new-feature) | ||
4. Commit your change. (git commit -m 'Added some features or fixed a bug or change a text') | ||
5. Push the change to origin repository. (git push origin new-feature) | ||
6. Then go to the github site and launch the pull request under the new-feature branch of the git remote repository. | ||
If you have any questions or suggestions or tips, please feel free to ask Questions and everyone will communicate. | ||
We use both normal Lua and Mirana to develop this project. The Mirana compiler can be found at [Mirana](https://github.com/AaronSong321/Mirana). Mirana is an extension to Lua, supporting lambda expressions and other features. It supports all the syntax of Lua and compiles to Lua. For files written in Mirana, DON'T modify the Lua directly since the modifications are discarded after recompilation. | ||
### Refer Link | ||
Here are some helpful information for developers. | ||
https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting | ||
http://docs.moddota.com/lua_bots/ | ||
http://dev.dota2.com/forumdisplay.php?f=497 | ||
http://dota2.gamepedia.com/Cheats#Hero_names | ||
中文参考资料: | ||
https://tieba.baidu.com/p/4909536751 | ||
http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html | ||
|
||
If you have any questions or suggestions or tips, please feel free to ask questions. | ||
|
||
We use both normal **Lua** and **Mirana** to develop this project. The Mirana compiler can be found at [Mirana](https://github.com/AaronSong321/Mirana). Mirana is an extension to Lua, supporting lambda expressions and other features. It supports all the syntax of Lua and compiles to Lua. For files written in Mirana, DON'T modify the Lua directly since the modifications are discarded after recompilation. | ||
|
||
### Reference | ||
Here are some helpful information for developers. | ||
|
||
- https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting | ||
|
||
- http://docs.moddota.com/lua_bots/ | ||
|
||
- http://dev.dota2.com/forumdisplay.php?f=497 | ||
|
||
- http://dota2.gamepedia.com/Cheats#Hero_names | ||
|
||
## Feedback | ||
You can open issues on github, or leave comment in steam workshop: | ||
http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/ | ||
|
||
## License | ||
GPL v3 | ||
|
||
|
@@ -67,11 +84,17 @@ GPL v3 | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
# Ranked Matchmaking AI | ||
该项目是基于Valve默认AI的改进的Dota2 Bot脚本。它能为无法在线游戏的玩家提供一个良好的练习环境,以提高自己的游戏水平。(中文说明在后面) | ||
该项目是基于Valve默认AI的改进的Dota2 Bot脚本。 | ||
|
||
它能为无法在线游戏的玩家提供一个良好的练习环境,以提高自己的游戏水平。 | ||
|
||
## 特性 | ||
(待更新) | ||
|
||
## 安装 | ||
|
||
### 在线游戏 | ||
|
||
#### 方式1 | ||
1. 打开Steam创意工坊链接https://steamcommunity.com/sharedfiles/filedetails/?id=855965029 订阅本项目。然后你的Steam会自动下载这个项目到你的电脑。 | ||
2. 打开Dota2并创建一个游戏大厅。 | ||
|
@@ -80,21 +103,26 @@ GPL v3 | |
5. 从天辉或夜魇下拉菜单中选择.... | ||
6. 在高级房间设置中的创意工坊脚本列表中选择本项目的名称“Ranked Matchmaking AI”。 或者如果您希望通过点击订阅按钮播放另一个脚本(如果您尚未订阅)或使用其他脚本(如果您订阅了该脚本)。 | ||
7. 单击确定,然后开始游戏。 | ||
|
||
#### 方式2 | ||
1. 打开Dota2 | ||
2. 选择机器人练习模式或合作对抗机器人 | ||
3. 从创意工坊脚本列表中选择本项目“Ranked Matchmaking AI” | ||
4. 单击开始匹配,然后开始游戏 | ||
|
||
### 离线游戏 | ||
#### 方式1 (有steam) | ||
|
||
#### 方式1 (通过steam) | ||
1. 首先订阅本项目然后找到以下目录中 Steam\SteamApps\workshop\content\570\ | ||
(如果你无法从steam上下载本项目,那么可以从github上下载 https://github.com/adamqqqplay/dota2ai/archive/master.zip) | ||
2. 将855965029文件夹复制到Steam\SteamApps\common\dota 2 beta\game\dota\scripts\vscripts\并将文件夹名称重命名为bots。则可以通过选择默认机器人或本脚本来启动机器人练习赛(如果您在线)。 | ||
|
||
#### 方式2 (没有steam) | ||
查看以下链接来获取详细信息: | ||
https://steamcommunity.com/workshop/filedetails/discussion/855965029/1489987634016938096/ | ||
https://steamcommunity.com/workshop/filedetails/discussion/855965029/2217311444342267217/ | ||
## Participate in | ||
|
||
## 参与贡献本项目 | ||
欢迎所有人参与到本项目的开发中来!本项目主要使用Lua语言进行开发。 | ||
参与方法和步骤如下: | ||
1. 登录 https://github.com | ||
|
@@ -103,20 +131,32 @@ https://steamcommunity.com/workshop/filedetails/discussion/855965029/22173114443 | |
4. 提交您的改动 (git commit -m 'Added some features or fixed a bug or change a text') | ||
5. 将您的改动记录提交到远程 git 仓库 (git push origin new-feature) | ||
6. 然后到 github 网站的该 git 远程仓库的 new-feature 分支下发起 Pull Request | ||
如果你有任何疑问或者建议、技巧,欢迎提出Issues,大家一起交流。 | ||
这个项目由Lua和Mirana共同写成。Mirana编译器可以在[Mirana](https://github.com/AaronSong321/Mirana)找到。Mirana是Lua的扩展,包含lambda表达式等功能。它支持所有Lua的语法且以Lua为目标语言。对于由Mirana写成的源码,直接修改Lua会导致修改在重新编译后丢失。 | ||
|
||
如果你有任何疑问或者建议,欢迎随时交流。 | ||
|
||
这个项目由**Lua**和**Mirana**共同写成。Mirana编译器可以在[Mirana](https://github.com/AaronSong321/Mirana)找到。Mirana是Lua的扩展,包含lambda表达式等功能。它支持所有Lua的语法且以Lua为目标语言。对于由Mirana写成的源码,直接修改Lua会导致修改在重新编译后丢失。 | ||
|
||
### 参考资料 | ||
以下是一些对开发者有用的参考资料 | ||
https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting (中文页面右上角点击国旗可切换,但英文版更齐全,右上角search可搜索任何资料) | ||
http://docs.moddota.com/lua_bots/ | ||
http://dev.dota2.com/forumdisplay.php?f=497 | ||
http://dota2.gamepedia.com/Cheats#Hero_names | ||
中文参考资料: | ||
https://tieba.baidu.com/p/4909536751 | ||
http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html | ||
以下是一些对开发者有用的参考资料 | ||
|
||
- https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting (中文页面右上角点击国旗可切换,但英文版更齐全,右上角search可搜索任何资料) | ||
|
||
- http://docs.moddota.com/lua_bots/ | ||
|
||
- http://dev.dota2.com/forumdisplay.php?f=497 | ||
|
||
- http://dota2.gamepedia.com/Cheats#Hero_names | ||
|
||
中文参考资料: | ||
|
||
- https://tieba.baidu.com/p/4909536751 | ||
|
||
- http://www.adamqqq.com/ai/dota2-ai-devlopment-tutorial.html | ||
|
||
## 反馈 | ||
你可以在Github上发起issue, 或在steam创意工坊中留言: | ||
http://steamcommunity.com/workshop/filedetails/discussion/855965029/1334600128974492030/ | ||
|
||
## 开源协议 | ||
GPL v3 | ||
|
||
|
@@ -130,6 +170,8 @@ GPL v3 | |
# Donate | ||
If you like this project, you can support the development team through Paypal or Alipay. | ||
|
||
Payment address: [email protected] | ||
Any contribution will help our development, thanks a lot! | ||
|
||
Paypal/Alipay payment email: [email protected] | ||
|
||
![avatar](https://image-10026452.cos.ap-shanghai.myqcloud.com/alipay1542723302162.jpg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters