edge-blade / Dota-2-AI-Bot-Experiment

My Dota 2 Bot Script
GNU General Public License v3.0
11 stars 0 forks source link

Dota 2 AI Bot Experiment

Based on FuriousPuppy BotScript to try fixing bots and learn some Lua Scripting. No intent to profit or take advantage of the original source project.


Useful Bot Scripting Resources:

https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting - Extremely useful reference for checking on what functions Valve will call on the AI scripts

https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Scripting

https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Scripting/Abilities_Data_Driven

Useful Lua Scripting Resources:

https://devhints.io/lua


Reference to get a VPK.exe


Usage / Testing

Place all script files in Steam\SteamApps\common\dota 2 beta\game\dota\scripts\vscripts\bots, and select default bots in the practice.

If you would like a clean build (without all the other files that aren't necessary to run the bots) then:

  1. Open a PowerShell console
  2. Navigate to the project root directory
  3. Execute the build.ps1
  4. Copy the contents from the output folder off of root into your bots folder listed above

Basic Breakdown

I believe some of the generic bot scripts will affect NPCs that have AI that a standard player would control, so you may need to account for illusions and other creeps when aborting decision making in things like Item Purchasing for characters like Phantom Lancer, amoung others.

Key Files Dota 2 Will Reference

Util Files used by other scripts dynamically

Other