Dota 2
How to create enemy hero with AI?
I'm trying to practise against a single AI bot which I want to choose the hero for. I can create a lobby and add an AI and then the game will pit me against a random enemy hero, but I want to control which enemy hero I practise against.

I've learned that I can start a game and use a command like "-createhero venge enemy" to spawn an enemy hero, but when I do that he has no AI and just stands there doing nothing.

So if I create a lobby and select an AI into an enemy slot then I can only play against a random bot. Or I can not select an AI into a slot but then when I spawn an enemy hero he just stands there.

So how do I start a game against a bot in such a way that I can choose which bot I want to practise against?
< >
Showing 1-6 of 6 comments
Tried creating an enemy hero, assuming control of them and then pinging a tower (which I've read is supposed to put them into push/defend mode) but that does nothing either, they still just stand there and do nothing.

Very frustrating.
CrazyIvanTR Jul 26, 2014 @ 4:07pm 
You need at least one active bot on any team for the other created heroes to play the game. So 1v1 against a bot of your own choosing does not seem possible.
Ok, thanks for the info.

Seems like one hell of an oversight though. They make a game where they recommend that you play against bots before trying against other players, but then give you no way to create even the simplest of practice sessions.
After some help from the http://dev.dota2.com/forumdisplay.php?f=290 forum I managed to come up with this method that works ok.

Click 'Play'
Click 'Create Local Lobby'
Click 'Edit Settings'
Select Game Mode '1v1 Solo Mid'
Check 'Enable Cheats'
Uncheck 'Fill empty slots with bots'
Set 'Bot Difficulty' to whatever you want. (Not sure this is necessary).
Click 'OK' to exit Lobby Settings.
Click 'Join Slot' for Radiant.
Click the down arrow next to the top Dire hero slot and select a bot difficulty.
Click 'Start Game'
On the Select Hero screen, _before_you_choose_your_own_hero_ enter '-createhero tidehunter enemy' in chat. (Obviously replace 'tidehunter' with whichever hero you want to fight).
Lock in your own hero and enter battle.

Use -allvision to show the whole map just to check your bot opponent is responding properly. Sometimes the bot will walk up and down the river once before coming to the middle lane (maybe he's looking for the runes or something I don't know), and on one occasion I've seen him just walk to the top tower and sit there doing nothing, (if that happens just exit, recreate the lobby and try again), but it seems to work properly most of the time.
Thx all
silver lining Jul 19, 2021 @ 10:03pm 
Originally posted by Neutrino:
After some help from the http://dev.dota2.com/forumdisplay.php?f=290 forum I managed to come up with this method that works ok.

Click 'Play'
Click 'Create Local Lobby'
Click 'Edit Settings'
Select Game Mode '1v1 Solo Mid'
Check 'Enable Cheats'
Uncheck 'Fill empty slots with bots'
Set 'Bot Difficulty' to whatever you want. (Not sure this is necessary).
Click 'OK' to exit Lobby Settings.
Click 'Join Slot' for Radiant.
Click the down arrow next to the top Dire hero slot and select a bot difficulty.
Click 'Start Game'
On the Select Hero screen, _before_you_choose_your_own_hero_ enter '-createhero tidehunter enemy' in chat. (Obviously replace 'tidehunter' with whichever hero you want to fight).
Lock in your own hero and enter battle.

Use -allvision to show the whole map just to check your bot opponent is responding properly. Sometimes the bot will walk up and down the river once before coming to the middle lane (maybe he's looking for the runes or something I don't know), and on one occasion I've seen him just walk to the top tower and sit there doing nothing, (if that happens just exit, recreate the lobby and try again), but it seems to work properly most of the time.
sadly, it seems like you can either add 5 bots or not add any....
still, thanks for your tutorial.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jul 26, 2014 @ 2:41pm
Posts: 6