Code dota 2 bot commands
lsd / dota-2-console-commands. markdown
DOTA2 console commands
The most useful command here is probably dota_force_right_click_attack 1
More will be added as they come. The essentials DO NOT require sv_cheats
and as far as I know do not violate any official competition rules.
Turn on console
- In steam, right cilck on “Dota 2” > properties
- Click on Set Launcher Options and add – console
- Save and start game. The default hotkey is ““ (backtick)
Other Launcher Options
Other useful SET LAUNCH OPTIONS
- -window to open in windowed mode
- -w
to set window width
– h
to set window height
For what these do, see the list below.
- dota_disable_range_finder 0
- dota_player_units_auto_attack 0
- dota_force_right_click_attack 1
Various commands (original post)
List from the dev. dota2.com (where it was copied from GosuGamers)
dota_minimap_hero_size 700 – will make the size of the hero on the minimap as big as you want. (Default 600)
dota_disable_range_finder 0 – By default you only see the range of spells when you hover your mouse on the spell
icon. With this set to 0 it will show you the range when you actually click to use
the spell on someone. (Default 1)
dota_always_show_player_names – 0 will disable, 1 will enable player name on top of health bars. (Default 0)
dota_hud_healthbars – 1 will make your health smoother without the lines you see on health bars
(the blocks in the health that divides at around 200 life per block).
3 will enable it back on and 0 will make all health bars disappear,
the others do nothing apparently. (Default 3)
dota_unit_use_player_color – Colors player either individually or an unified color by team.
1 Enables individual colors, 0 Team color. (Default 1)
dota_player_units_auto_attack – 0 will stop auto-attacking and only attacks IF you click to attack, whereas 1 will
auto-attack at all possible times. Default = 1.
dota_camera_accelerate 49 – Make the camera stop exactly where you want it, 0 will make you unable to move
your camera. Code dota 2 bot commands (Default unknown)
dota_force_right_click_attack 1 – Enable right-click deny (your creeps HP must be dota_health_per_vertical_marker 250 – This will determine how much health you wish to divide the vertical lines
by. In the demonstration value it will draw a line each 200 health, but you
can choose your own value. (default 250)
Opposing team color combination:
The RGB for the enemy team is dota_enemy_color_r , dota_enemy_color_g , dota_enemy_color_b
(ie: dota_enemy_color_r 1). Below are some colors the enemy team can be:
- R, G, B all 0: Black
- R, G, B all 1: White
- R 1, G 0, B 0: * Red
- R 1, G 1, B 0: Yellow
- R 1, G 0, B 1: Fuchsia
- R 0, G 1, B 1: Cyan
The RGB for the friendly team is dota_friendly_color_r , dota_friendly_color_g , dota_friendly_color_b (ie: dota_friendly_color_r 1). Same colors as above.
To change Avatar
Get into a practice game with bots and type one of the following command in console
and then leave the match:
- dota_set_avatar 0 – Default
- dota_set_avatar 1 – Crystal Maiden
- dota_set_avatar 2 – Kunkka
- dota_set_avatar 3 – Faceless Void
- dota_set_avatar 4 – Furion
- dota_set_avatar 5 – Yurnero
- dota_set_avatar 6 – Bloodseeker
- dota_set_avatar 7 – Lich
- dota_set_avatar 8 – Axe
- dota_set_avatar 9 – Pudge
- dota_set_avatar 10 – Puck

