Code Monkey home page Code Monkey logo

5v5dota2ai-addon's Introduction

The DotA 2 AI 5v5 Framework project

General disclaimer: this project is not affiliated with Valve. It's an academic research project.

About

A 5v5 framework developed by Kalle Lindqvist and Dennis Nilsson, an extension of a previous 1v1 framework developed by Tobias Mahlmann.

Goals of this project

To provide a framework able to to run 5v5 matches with bots in DotA 2. One team controlled by usermade bots competing against the in-game DotA 2 bots.

Submit the framework to competitions held by organizations such as the conference on games (COG) and foundations of digital games conference (FDG).

Using the framework

  • Download DotA 2
  • Download workshop tools for DotA2 (DLC)
  • Download the 5v5 framework
  • Copy the framework files located in the Dota2 AI Addon folder and put them in SteamLibrary/steamapps/common/dota 2 beta
  • Run DotA 2 workshop tools, click play and select workshop tools
  • Load the dota2ai project in the workshop tools
  • Run the Python client, start it by running framework.py in the Dota2 AI Framework folder - src folder - (python framework.py in a command prompt/terminal)
  • Open vConsole in the workshop tool
  • Run the following command in vConsole to launch the mod: dota_launch_custom_game dota2ai dota

By performing these steps the framework will launch a game filled with bots. Both teams are controlled by custom bots, which you can change by editing the settings.json file in the framework You can find examples for controlling the bots in the Dota 2 AI framework/src folder. The example script currently shows a minimal bot implementation

Generating Documentation

The project uses pdoc to generate the API documentation found in the Documentation/api directory.

Future work

Implement functionality that supports 5v5 matches where all bots are controlled by user developed scripts.

5v5dota2ai-addon's People

Contributors

aeau avatar ellakk avatar jbargu avatar joonasmelin avatar lightbringer avatar nczempin avatar paleez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

5v5dota2ai-addon's Issues

help

How does this work about " Load the dota2ai project in the workshop tools" in the "Using the framework" catalog, can you tell me? thank you!

Problem when execute ''python framework.py''

Hi, I encounter an issue when following your readme.md. After running ''python framework.py --bot BotExample'', an issue happends. The command line is: 'TypeError: 'type' object is not subscriptable' . This error happends in file 5v5dota2ai-framework-master\src\game\post_data_interfaces\IPlayerHero.py, line 9 : abilities: dict[str, IAbility].

I want to know whether there exists any problem in my configuration or there's some bugs in the framework codes. Hope to get response. Thank you very much

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.