All Projects → ModDota → Dota2AIFramework

ModDota / Dota2AIFramework

Licence: other
General Framework for Dota 2 AI Competitions

Programming Languages

lua
6591 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Dota2AIFramework

Aurora
Unified lighting effects across multiple brands and various games.
Stars: ✭ 1,673 (+2324.64%)
Mutual labels:  dota-2
manta-config-engine-app
💀 This was a web-application to generate autoexec configurations. Killed by Valve.
Stars: ✭ 17 (-75.36%)
Mutual labels:  dota-2
listen-bot
a dota related discord bot
Stars: ✭ 23 (-66.67%)
Mutual labels:  dota-2
Onnxruntime
ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Stars: ✭ 5,910 (+8465.22%)
Mutual labels:  ai-framework
Merkurius
Portable Deep Learning Library for .NET
Stars: ✭ 1 (-98.55%)
Mutual labels:  ai-framework

DotA 2 AI Competition Framework

The purpose of this framework is to provide a platform for AI competitions in DotA 2. It handles AI setup as well as wrapping the regular DotA 2 lua API to prevent AI scripts from accessing data or performing actions, to emulate the AI playing as a human player.

Preview Video

Goals of the framework:

  • Encourage the development of Lua AI for dota custom games.
  • Provide a starting point for developers that want AI in their games.
  • Eventually having decent AI for bot matches.

Challenges

Different challenges will drive development in different directions. Therefore the AI framework provides different challenges for AI to deal with. The challenges currently supported are:

  • 1v1 Mid - Two AI face off 1v1 mid on identical heroes on the default dota map. The first AI to kill a tower or get two kills on the other AI wins.

Possible future challenges are:

  • Farm optimization challenge
  • Three versus three mid and jungle.
  • 1v1v1v1
  • Last hit challenge

Documentation

Framework AI only has access to a limited subset of the regular dota 2 lua AI. The available functions can be found here:

Using framework AI in a custom game

To use AI from this framework in a custom game, simply copy the entire scripts/vscripts/AI/ directory, then require AIManager in your gamemode. An existing AI can then be attached to an existing unit using:

AIManager:AttachAI( 'ai_name', unit )

This will load the AI named ai_name from AI/UserAI/ai_name and attach it to unit.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].