Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Dota 2 Autoexec Script Anita (Octavia, u/iheartdisraptor)
- // Credits to Filk for an earlier version and various Reddit threads on autoexec scripts.
- // Reddit thread: http://www.reddit.com/r/DotA2/comments/1pwvut/enhanced_autoexec_script_with_useful_variables
- // This script belongs to the community. Feel free to extend and rerelease this script.
- // Directions:
- // 1. Enable the Dota 2 console: http://www.hattongames.com/2012/03/how-to-enable-the-console-in-dota-2
- // 2. Place script in <Steam folder>/SteamApps/common/dota 2 beta/dota/cfg.
- // 3. For changes to take effect, restart Dota or enter "exec autoexec.cfg" into the console.
- // Notes:
- // Some keys may not work until you unbind them in the GUI settings (top left corner of start screen).
- // Many console variables are boolean (0 means off and 1 means on), so they can be enabled/disabled that way.
- // To disable a line, use // at the beginning of the line.
- // Changelog:
- // 1.3, 13.11.11
- // - Added advanced spectator controls with F7 (enabled by default or entering spectator_controls in console)
- // - Moved reload autoexec button to F10
- // - Combined debug output into a toggle button (F11)
- // - Improved cheats
- // - Combined cheat keys into a toggle button (F8)
- // - Added free_camera and fixed_camera bound to toggle on KP_DIVIDE
- // - Added controls for setting camera distance (-/+/* on keypad)
- // - Added options for the courier message, including no message
- // - dota_range_display now defaults to 1300 (XP range)
- // - Improved organization, documentation, and comments
- // 1.2, 13.11.05
- // - Added net graph positioning for 1920x1080
- // - Added keys to enable/disable debug output
- // - Added key to exec autoexec.cfg
- // - Improved organization and comments
- // - Fixed "unknown command 's'" bug
- // - Moved alias to before drills
- // 1.1, 13.11.04
- // - Added right click deny (credits to Jakeyzz)
- // - Added minimap icon scaling by heroes distance from each other (credits to gramathy)
- // 1.0, 13.11.04
- // - Initial version
- // Console variables //////////////////////////////////////////////////////////////////////////////////////////////////
- // Miscellaneous variables //
- // Enable console on game launch. This allows you to use the console without specifying the -console launch option.
- // This method is preferable if you don't want the console to open automatically at startup (what -console does).
- con_enable 1
- // When enabled, displays debug output
- //developer 0
- // Enable cheats in local lobbies
- sv_cheats 1
- // When range finder is disabled, the range of a skill is shown with a green arrow when active
- dota_disable_range_finder 0
- // Set a static range indicator to 1200 units (only works in practice lobbies)
- dota_range_display 1300
- // When enabled, right clicking an allied creep can deny it
- dota_force_right_click_attack 0
- // Minimap variables //
- // Set the delay between a c;ommand and clicking the minimap
- dota_minimap_misclick_time 0.20
- // Set the the size of minimap icons
- dota_minimap_hero_size 800
- // Minimap icon scaling //
- // Minimap icon scaling by heroes proximity to each other
- // When heroes are close together, their icons will be reduced in size on the minimap so that you can more easily see
- // who is there from the minimap. Without this, icons close together will overlap more and its hard to tell who is
- // there by looking at the minimap.
- // Enable minimap icon scaling
- dota_minimap_hero_scalar 1
- // Proximity in pixels to begin scaling (default 12)
- dota_minimap_hero_scalar_distance 20
- // Minimum scaled size (default 500)
- dota_minimap_hero_scalar_minimum 600
- // Net graph variables //
- // The net graph shows ping and FPS in the top right corner. If you don't use one of the resolutions defined below,
- // you will have to experiment with the values to position the graph correctly.
- // Enable the net graph on start (default 0)
- net_graph 1
- // When enabled, font size is proportional to screen resolution
- net_graphproportionalfont 0
- // Vertical height of the graph in pixels
- net_graphheight 40
- // Position the net graph for 1920x1200 resolution (16:10 aspect ratio)
- net_graphinsetbottom 450 // Distance in pixels from the bottom of the screen
- net_graphinsetleft 650 // Distance in pixels from the left side of the screen
- // Position the net graph for 1920x1080 resolution (16:9 aspect ratio)
- //net_graphinsetbottom 445
- //net_graphinsetleft 750
- // Health bar variables //
- // Fade time on damage received reduced to half duration
- dota_health_hurt_decay_time_max 0.4 // default 0.8
- dota_health_hurt_decay_time_min 0.15 // default 0.3
- dota_health_hurt_delay 0.05 // default 0.1
- dota_pain_decay 0.4 // default 0.8
- dota_pain_factor 1.5 // default 3
- dota_pain_fade_rate 1.5 // default 3
- dota_pain_multiplier 0.4 // default 0.8
- // Set health points per vertical marker in health bars (default 250)
- dota_health_per_vertical_marker 250
- // Custom key controls ////////////////////////////////////////////////////////////////////////////////////////////////
- // NOTE: Key control settings through the UI will always override those in autoexec.cfg. If something doesn't work, it's
- // likely because you have it bound through the UI. Try changing the UI binding to get it to work.
- // Camera focus controls //
- // Center the camera on the top rune
- alias "focus_on_top_rune" "dota_camera_setpos -2273.898682 1232.745483 982.072876; bind F2 focus_on_bot_rune"
- // Center the camera on the bot rune
- alias "focus_on_bot_rune" "dota_camera_setpos 3035.773438 -2972.680176 966.072937; bind F2 focus_on_hero"
- // Center the camera on the hero
- alias "focus_on_hero" "+dota_camera_follow; -dota_camera_follow; +dota_camera_follow; -dota_camera_follow; bind F2 focus_on_top_rune"
- // Bind keys to center the camera on the hero with a single button press
- bind "F1" "focus_on_hero"
- // Do the same using the legacy key from HoN
- //bind "c" "focus_on_hero"
- // Bind a key to cycle between runes and hero
- bind "F2" "focus_on_top_rune"
- // Courier controls //
- // Various messages (enable one by uncommenting it while disabling the rest by commenting them)
- alias "quick_courier_msg" "say_team Using the courier! Share if needed."
- //alias "quick_courier_msg" "say_team The courier is coming to me! Please wait."
- //alias "quick_courier_msg" "" // Uncomment this to display no message
- // Courier deliver items with speed boost and a message for teammates
- alias "quick_courier" "dota_courier_deliver; quick_courier_msg;dota_select_courier;dota_ability_execute 5;+dota_camera_follow"
- // Bind a key to have the courier deliver items with speed boost
- bind "x" "quick_courier"
- // Seven chat wheels //
- // Setup seven chat wheels bound to s, y, u, i, h, j, k (generated with http://chudooder.github.io/dota2chatwheel)
- // that are organized logically (except for 's', which contains often used responses. Change the bindings as needed.
- // Often used responses
- bind "s" "+chatwheel; chat0"
- alias chat0 "chat_wheel_phrase_0 8;chat_wheel_phrase_1 1;chat_wheel_phrase_2 2;chat_wheel_phrase_3 5;chat_wheel_phrase_4 12;chat_wheel_phrase_5 57;chat_wheel_phrase_6 6;chat_wheel_phrase_7 7;"
- // Positioning related responses
- bind "y" "+chatwheel; chat1"
- alias chat1 "chat_wheel_phrase_0 14;chat_wheel_phrase_1 15;chat_wheel_phrase_2 16;chat_wheel_phrase_3 19;chat_wheel_phrase_4 20;chat_wheel_phrase_5 21;chat_wheel_phrase_6 22;chat_wheel_phrase_7 23;"
- // Spells and runes responses
- bind "u" "+chatwheel; chat2"
- alias chat2 "chat_wheel_phrase_0 25;chat_wheel_phrase_1 26;chat_wheel_phrase_2 27;chat_wheel_phrase_3 28;chat_wheel_phrase_4 30;chat_wheel_phrase_5 31;chat_wheel_phrase_6 32;chat_wheel_phrase_7 33;"
- // Ganking, pushing, and detection responses
- bind "i" "+chatwheel; chat3"
- alias chat3 "chat_wheel_phrase_0 34;chat_wheel_phrase_1 35;chat_wheel_phrase_2 36;chat_wheel_phrase_3 37;chat_wheel_phrase_4 38;chat_wheel_phrase_5 39;chat_wheel_phrase_6 41;chat_wheel_phrase_7 42;"
- // Laning responses
- bind "h" "+chatwheel; chat4"
- alias chat4 "chat_wheel_phrase_0 44;chat_wheel_phrase_1 45;chat_wheel_phrase_2 46;chat_wheel_phrase_3 59;chat_wheel_phrase_4 48;chat_wheel_phrase_5 49;chat_wheel_phrase_6 50;chat_wheel_phrase_7 51;"
- // Flavor responses 1
- bind "j" "+chatwheel; chat5"
- alias chat5 "chat_wheel_phrase_0 53;chat_wheel_phrase_1 0;chat_wheel_phrase_2 54;chat_wheel_phrase_3 60;chat_wheel_phrase_4 61;chat_wheel_phrase_5 62;chat_wheel_phrase_6 63;chat_wheel_phrase_7 64;"
- // Flavor responses 2
- bind "k" "+chatwheel; chat6"
- alias chat6 "chat_wheel_phrase_0 65;chat_wheel_phrase_1 66;chat_wheel_phrase_2 67;chat_wheel_phrase_3 68;chat_wheel_phrase_4 69;chat_wheel_phrase_5 70;chat_wheel_phrase_6 55;chat_wheel_phrase_7 56;"
- // Cheat controls //
- // Disable cheats by default
- disable_cheats
- // Turn on/off cheats (see below)
- bind "F8" "cheat_keys_on"
- // Here is a list of the commands created by enabling cheats (F8)
- // ...
- // The following are aliases used to implement cheat keys (see above)
- // Turn on/off wtf mode (no cooldowns or manacost) (binds to =, -)
- alias "cheats_wtf" "say_team 'wtf'; dota_ability_debug_enable; dota_ability_debug 1"
- alias "cheats_unwtf" "say_team 'unwtf'; dota_ability_debug_disable; dota_ability_debug 0"
- // Fully restore the currently selected unit (binds to [)
- alias "cheats_refresh" "say_team 'refresh'; dota_hero_refresh; dota_dev hero_refresh"
- // Destroy all wards (binds to ])
- alias "cheats_killwards" "say_team 'killwards'; dota_killwards; dota_dev killwards"
- // Spawn neutrals in the jungle (binds to \)
- alias "cheats_spawnneutrals" "say_team 'spawnneutrals'; dota_spawn_neutrals"
- // Level up your hero to max level (binds to ,)
- alias "cheats_lvlup25" "say_team 'lvlup 25'; dota_hero_level 25; dota_dev hero_level 25"
- // Max level for all bots (binds to .)
- alias "cheats_levelbots25" "say_team 'levelbots 25'; dota_bot_give_level 25"
- // Give max gold (binds to /)
- alias "cheats_gold99999" "say_team 'gold 99999'; dota_give_gold 99999; dota_dev player_givegold 99999"
- // Create aliases to turn off and turn cheats. Note: this uses F8 in definition, if you want to change it you must change
- // it in the next two lines as well as below.
- alias "enable_cheats" "sv_cheats 1; bind = cheats_wtf; bind - cheats_unwtf; bind [ cheats_refresh; bind ] cheats_killwards; bind \ cheats_spawnneutrals; bind , cheats_lvlup25; bind . cheats_levelbots25; bind / cheats_gold99999"
- alias "disable_cheats" "bind = .; bind - .; bind [ .; bind ] .; bind \ .; bind , .; bind . .; bind / ."
- alias "cheat_keys_on" "echo Cheat keys on; enable_cheats; bind F8 cheat_keys_off"
- alias "cheat_keys_off" "echo Cheat keys off; disable_cheats; bind F8 cheat_keys_on"
- // Always on cheat controls //
- // These cheats don't echo to the console or team chat, and therefore don't need to be enabled/disabled.
- // These all require sv_cheats to be set, therefore they always attempt to set it first.
- // Teleport hero to the current mouse position (requires sv_cheats 1 in a local lobby)
- bind "l" "sv_cheats 1; dota_dev hero_teleport"
- // Increase game speed (requires sv_cheats 1 in a local lobby)
- bind "'" "sv_cheats 1; incrementvar host_timescale 1 12 11"
- // Turn on or off free camera mode. Use mouse to turn and arrow keys to travel.
- alias "free_camera" "sv_cheats 1; noclip 1; dota_hud_healthbars 0; bind kp_divide fixed_camera"
- alias "fixed_camera" "sv_cheats 1; noclip 0; dota_hud_healthbars 1; bind kp_divide free_camera"
- bind "kp_divide" "free_camera"
- // Change camera distance by zooming out
- bind "kp_plus" "sv_cheats 1; incrementvar dota_camera_distance 134 3134 200; focus_on_hero"
- // Change camera distance by zooming in
- bind "kp_minus" "sv_cheats 1; incrementvar dota_camera_distance 134 3134 -200; focus_on_hero"
- // Reset camera distance
- bind "kp_multiply" "sv_cheats 1; dota_camera_distance 1134; focus_on_hero"
- // Advanced spectator controls //
- // by Anita (Octavia, u/iheartdisraptor)
- // Spectator controls in options will override these controls; if something doesn't work you must disable or change it in options.
- // This script belongs to the community. Feel free to extend and rerelease this script.
- // Directions:
- // 1. Enable the Dota 2 console: http://www.hattongames.com/2012/03/how-to-enable-the-console-in-dota-2
- // 2. Add this script to <Steam folder>/SteamApps/common/dota 2 beta/dota/cfg/autoexec.cfg.
- // 3. Restart Dota 2 or open the console and enter "exec autoexec.cfg".
- // 4. Review the key bindings below and change/disable in the UI options any spectator keys that conflict.
- // 5. Open a game in DotaTV or a replay and hit F7 to enable the controls.
- // Known issues:
- // - Controls set in the UI options (top left corner) will override these controls and must be changed/disabled
- // - Controls do not work during the drafting phase (UI still works)
- // - When using free camera and disabled UI bindings sometimes cause the game to not accept key presses. You must restart Dota to fix this.
- // Changelog:
- // 1.2, 13.11.13
- // - F6 additional display mode that shows minimap but disables the rest of the UI
- // 1.1, 13.11.12
- // - F6 also disables stats dropdown and replay panels
- // - F6 cycles between disabling replay UI, full UI, and none
- // 1.0, 13.11.11
- // - Initial version
- // The following are the key bindings created by pressing F7 (defined below):
- // F7 : Enable advanced spectator controls
- // 1-5 : Select Radiant heroes
- // QWERTY : Select Dire heroes
- // ASDFK : Select camera mode (directed, free, hero chase, player perspective, and directed player perspective accordingly)
- // Z : Rewind 10 seconds
- // X : Decelerate replay speed
- // C : Accelerate replay speed
- // V : Restore replay speed to normal (1x)
- // G : Select hero under mouse
- // N : Normal camera distance (1134) (you may have to move the camera for this to take effect)
- // M : Far camera distance (you may have to move the camera for this to take effect)
- // < : Zoom camera in
- // > : Zoom camera out
- // / : Free camera mode (allows turning of the camera; use in conjunction with hero chase and camera zoom in/out)
- // L : Toggle shoulder view
- // P : Toggle autospeed (directed camera only)
- // F6 : Toggle UI display
- // space : Pause
- // backspace : Clear chat (useful when seeking since replays tend to output all chat when seeking)
- // Clear chat (useful when seeking through replays since all chat tends to display itself in its entirety)
- bind "backspace" "chat_clear"
- // Enable spectator mode (special spectator commands listed above) with F7
- // If you use this in a normal game, you will have to disconnect/reconnect to fix your controls.
- bind F7 "spectator_enable"
- // Enable/disable the UI (credits to Cyborgmatt)
- bind "F6" "ui_mode"
- // Aliases used for implementing advanced spectator controls. See above.
- alias "spectator_enable" "developer 1; echo Enabling advanced spectator controls; say_team Enabling advanced spectator controls. Warning: You must disconnect/reconnect to undo this.; spectator_bind_heroes; spectator_bind_modes; spectator_bind_controls"
- // For 1080p, render_crop_height should be 166 and render_y_inset or else restoring the UI will not work quite right (you can change this below)
- // For 1200p, render_crop_height should be 148 and render_y_inset or else restoring the UI will not work quite right (you can change this below)
- alias "ui_mode" "ui_noreplay"
- alias "ui_noreplay" "echo Disabling replay UI; developer 0; dota_sf_hud_stats_dropdown 0; dota_sf_hud_force_spec -1; alias ui_mode ui_none"
- alias "ui_none" "echo Disabling UI; sv_cheats 1; dota_sf_hud_stats_dropdown 0; dota_sf_hud_force_spec -1; dota_sf_hud_actionpanel 0; dota_sf_hud_channelbar 0; dota_sf_hud_chat 0; dota_sf_hud_inventory 0; dota_sf_hud_top 0; dota_hud_healthbars 0; dota_no_minimap 1; cl_drawhud 0; dota_render_crop_height 0; dota_render_y_inset 0; developer 0; net_graph 0; alias ui_mode ui_full"
- alias "ui_full" "echo Enabling UI; sv_cheats 1; dota_sf_hud_stats_dropdown -1; dota_sf_hud_force_spec 0; dota_sf_hud_actionpanel 1; dota_sf_hud_channelbar 1; dota_sf_hud_chat 1; dota_sf_hud_inventory 1; dota_sf_hud_top 1; dota_hud_healthbars 1; dota_no_minimap 0; cl_drawhud 1; dota_render_crop_height 148; dota_render_y_inset 31; alias ui_mode ui_noreplay"alias "spectator_bind_heroes" "bind 1 dota_spectator_hero_index0; bind 2 dota_spectator_hero_index1; bind 3 dota_spectator_hero_index2; bind 4 dota_spectator_hero_index3; bind 5 dota_spectator_hero_index4; bind q dota_spectator_hero_index5; bind w dota_spectator_hero_index6; bind e dota_spectator_hero_index7; bind r dota_spectator_hero_index8; bind t dota_spectator_hero_index9"
- alias "spectator_bind_modes" "bind a dota_spectator_mode0; bind s dota_spectator_mode1; bind d dota_spectator_mode2; bind f dota_spectator_mode3; bind k dota_spectator_mode4; bind l dota_spectator_shoulder_toggle; bind p dota_spectator_autospeed_toggle"
- alias "spectator_bind_controls" "bind z dota_spectator_rewind; bind x dota_spectator_decreasereplayspeed; bind c dota_spectator_increasereplayspeed; bind v dota_spectator_resetreplayspeed; bind space dota_spectator_pausetoggle; bind n dota_camera_distance_normal; bind m dota_camera_distance_far; bind , spectator_zoom_in; bind . spectator_zoom_out; bind / dota_free_camera1; bind g dota_spectator_select_under_mouse"
- alias "dota_free_camera0" "echo Free camera disabled; dota_free_camera 0; dota_hud_healthbars 1; bind / dota_free_camera1"
- alias "dota_free_camera1" "echo Free camera enabled; dota_free_camera 1; dota_hud_healthbars 0; bind / dota_free_camera0"
- alias "spectator_zoom_out" "echo Zooming out by 200 units; sv_cheats 1; incrementvar dota_camera_distance 134 6134 200"
- alias "spectator_zoom_in" "echo Zooming in by 200 units; sv_cheats 1; incrementvar dota_camera_distance 134 6134 -200"
- alias "dota_spectator_hero_index0" "echo Selecting hero Radiant blue; dota_spectator_hero_index 0"
- alias "dota_spectator_hero_index1" "echo Selecting hero Radiant teal; dota_spectator_hero_index 1"
- alias "dota_spectator_hero_index2" "echo Selecting hero Radiant purple; dota_spectator_hero_index 2"
- alias "dota_spectator_hero_index3" "echo Selecting hero Radiant yellow; dota_spectator_hero_index 3"
- alias "dota_spectator_hero_index4" "echo Selecting hero Radiant orange; dota_spectator_hero_index 4"
- alias "dota_spectator_hero_index5" "echo Selecting hero Dire pink; dota_spectator_hero_index 5"
- alias "dota_spectator_hero_index6" "echo Selecting hero Dire dark yellow; dota_spectator_hero_index 6"
- alias "dota_spectator_hero_index7" "echo Selecting hero Dire light blue; dota_spectator_hero_index 7"
- alias "dota_spectator_hero_index8" "echo Selecting hero Dire dark green; dota_spectator_hero_index 8"
- alias "dota_spectator_hero_index9" "echo Selecting hero Dire brown; dota_spectator_hero_index 9"
- alias "dota_spectator_mode0" "echo Using directed camera; dota_spectator_mode 0"
- alias "dota_spectator_mode1" "echo Using free camera; dota_spectator_mode 1"
- alias "dota_spectator_mode2" "echo Using hero chase; dota_spectator_mode 2"
- alias "dota_spectator_mode3" "echo Using player perspective; dota_spectator_mode 3; dota_spectator_directed_player_perspective 0"
- alias "dota_spectator_mode4" "echo Using directed player perspective; dota_spectator_mode 3; dota_spectator_directed_player_perspective 1"
- alias "dota_camera_distance_normal" "echo Setting normal camera distance; dota_camera_distance 1134 +dota_camera_follow; -dota_camera_follow; +dota_camera_follow; -dota_camera_follow"
- alias "dota_camera_distance_far" "echo Setting far camera distance; dota_camera_distance 1900; +dota_camera_follow; -dota_camera_follow; +dota_camera_follow; -dota_camera_follow"
- alias "dota_spectator_autospeed_toggle" "echo Toggling directed autospeed; toggle dota_spectator_autospeed 0 1; dota_spectator_resetreplayspeed"
- alias "dota_spectator_shoulder_toggle" "echo Toggling directed shoulder view; toggle dota_spectator_shoulder_view 0 1"
- // Miscellaneous controls //
- // Bind a key to toggle health per marker in health bars between 150 and 250.
- // 150 results in one bar per 200 magic damage assuming base 25% magic resistance (all heroes but Meepo and Visage).
- // Add additional numbers to dota_health_per_vertical_marker to extend the list of possible values.
- bind "F3" "toggle dota_health_per_vertical_marker 150 250"
- // Bind a key toggle the net graph
- alias "show_net_graph" "net_graph 1; bind F5 hide_net_graph"
- alias "hide_net_graph" "net_graph 0; bind F5 show_net_graph"
- bind "F5" "hide_net_graph"
- // F7 enables spectator controls, see above
- // F8 enables cheat controls, see above
- // Reload this configuration script after it has been modified
- //bind "F10" "exec autoexec.cfg; echo Reloaded autoexec.cfg; say_team Reloaded autoexec.cfg."
- bind "F10" "exec autoexec.cfg; echo Reloaded autoexec.cfg"
- // Bind F11 to enable/disable developer debug output
- alias "developer_on" "developer 1; echo Debug output enabled.; bind F11 developer_off"
- alias "developer_off" "developer 0; echo Debug output disabled.; bind F11 developer_on"
- bind F11 "developer_on"
- // Display ping in the top right corner for a few seconds
- bind "p" "say_team -ping; dota_ping"
- // Use the mouse to voice chat during drafting (during which the normal PTT key doesn't work)
- bind "mouse5" "+voicerecord"
- // Aliases ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Aliases for creating allies //
- // Create Sven to act as a punching bag and to test magic immunity vs skills
- alias "create_sven" "dota_create_unit sven; dota_bot_give_level 25; dota_bot_give_item item_heart; dota_bot_give_item item_black_king_bar; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart"
- // Create a practice meepo
- alias "create_meepo" "dota_hero_level 25; dota_dev player_givegold 99999; dota_create_item item_power_treads; dota_create_item item_blink; dota_create_item item_ring_of_basilius; dota_create_item item_ultimate_scepter; dota_create_item item_courier; dota_create_item item_flying_courier"
- // Alias for creating enemies //
- // Create an enemy Nature's Prophet to run around placing wards
- alias "create_enemy_np" "dota_create_unit furion enemy; dota_bot_give_level 25; dota_bot_give_item item_travel_boots; dota_bot_give_item item_cyclone; give_bots_wards; give_bots_wards; give_bots_wards; give_bots_wards; give_bots_wards; dota_bot_give_item item_sange_and_yasha; dota_bot_give_item item_ancient_janggo"
- // Create an enemy Sven as a punching bag and BKB tester
- alias "create_enemy_sven" "dota_create_unit sven enemy; dota_bot_give_level 25; dota_bot_give_item item_heart; dota_bot_give_item item_black_king_bar; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart"
- // Create a Roshan
- alias "create_roshan" "dota_create_unit roshan enemy"
- // Miscellaneous aliases //
- // Pause aliases
- alias "pause_kb" "say can we pause please? need to fix keyboard; dota_pause"
- alias "pause_mouse" "say can we pause please? need to fix mouse; dota_pause"
- alias "pause_wc" "say can we pause please? need to use bathroom; dota_pause"
- alias "pause_door" "say can we pause please? someone's banging on the door; dota_pause"
- alias "pause_cat" "say can we pause please? cat puked something awful; dota_pause"
- // A message to use when being a benevolent captain
- alias "say_captain" "say_team what roles do you want? what heroes can you play? no guarantees but it helps to know. also suggest bans as we go."
- // Launch a single player bot game without having to connect to the Dota 2 network
- alias "start_bot_game" "sv_cheats 1; sv_lan 1; dota_start_ai_game 1; dota_bot_set_difficulty 2; map dota"
- // Launch a single player game without bots. After the game loads, you will have to open the console and enter
- // "jointeam good" or "jointeam bad" to go to the pick screen.
- alias "start_empty_game" "sv_cheats 1; sv_lan 1; map dota"
- // Shortcut aliases //
- // These aliases are used in other commands either for clarity or because command lengths are limited.
- alias "give_wards" "dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; "
- // Give 10 of each ward type to bots
- alias "give_bots_wards" "dota_bot_give_item item_ward_sentry; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_sentry; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_sentry; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_sentry; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_sentry; dota_bot_give_item item_ward_observer;"
- // Give 10 observer wards to player
- alias "give_observer_wards" "dota_create_item item_ward_observer; dota_create_item item_ward_observer; dota_create_item item_ward_observer; dota_create_item item_ward_observer; dota_create_item item_ward_observer"
- // Give 50 observer wards to player
- alias "give_more_observer_wards" "give_observer_wards; give_observer_wards; give_observer_wards; give_observer_wards; give_observer_wards"
- // Give 10 observer wards to bots
- alias "give_bots_observer_wards" "dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_observer; dota_bot_give_item item_ward_observer"
- // Give 50 observer wards to bots
- alias "give_bots_more_observer_wards" "give_bots_observer_wards; give_bots_observer_wards; give_bots_observer_wards; give_bots_observer_wards; give_bots_observer_wards"
- // Give an upgraded courier
- alias "give_courier" "dota_create_item item_courier; dota_create_item item_flying_courier"
- // Practice drills ////////////////////////////////////////////////////////////////////////////////////////////////////
- // Give 10 of each ward type to player. Used by the drills below.
- alias "give_wards" "dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; dota_create_item item_ward_sentry; dota_create_item item_ward_observer; "
- // Sets up your hero for warding practice.
- // Gives you 50 of each type of ward and mobility. It also sets the range display (circle around hero)
- // to the reveal range of sentries. Use the teleport cheat to place your hero on top of your sentries
- // to see how far they reveal.
- alias "drill_wards" "drill_wards_msg; sv_cheats 1; dota_creeps_no_spawning_enable; dota_ability_debug_enable; drill_wards_upgrade_hero; dota_range_display 800"
- alias "drill_wards_msg" "say_team Drill: Wards."
- alias "drill_wards_upgrade_hero" "dota_hero_level 25; dota_dev player_givegold 99999; dota_create_item item_travel_boots; dota_create_item item_quelling_blade; give_wards; give_wards; give_wards; give_wards; give_wards; dota_create_item item_rapier; dota_create_item item_rapier"
- // Gives your hero items for running juke paths. Use in conjunction with TheParadoxataur's juke path map:
- // http://www.reddit.com/r/DotA2/comments/182ggn/map_of_juke_paths_hiding_spots/
- alias "drill_juke" "drill_juke_msg; sv_cheats 1; dota_creeps_no_spawning_enable; dota_ability_debug_enable; drill_juke_upgrade_hero"
- alias "drill_juke_msg" "say_team Drill: Juke paths."
- alias "drill_juke_upgrade_hero" "dota_hero_level 25; dota_dev player_givegold 99999; dota_create_item item_travel_boots; dota_create_item item_quelling_blade; dota_create_item item_cyclone; dota_create_item item_sange_and_yasha; dota_create_item item_ancient_janggo; dota_ability_debug_enable;dota_creeps_no_spawning_enable"
- // Sets up stacking and pulling practice. Gives you a quelling blade for cutting trees for chain pulling and warding.
- // Creates a tanky Sven to be positioned in front of the T1 tower so that it never dies.
- alias "drill_stackpull" "drill_stackpull_msg; sv_cheats 1; dota_start_game; drill_stackpull_upgrade_hero; drill_stackpull_create_sven; dota_range_display 800"
- alias "drill_stackpull_msg" "say_team Drill: Stacking and pulling."
- alias "drill_stackpull_upgrade_hero" "dota_create_item item_tpscroll; dota_create_item item_tpscroll; dota_create_item item_quelling_blade; give_wards"
- alias "drill_stackpull_create_sven" "dota_create_unit sven; dota_bot_give_level 25; dota_bot_give_item item_travel_boots; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart"
- // Gives you items for practicing Meepo blinking and other micro
- alias "drill_meepo" "drill_meepo_msg; sv_cheats 1; drill_meepo_upgrade_hero"
- alias "drill_meepo_msg" "say_team Drill: Meepo skills."
- alias "drill_meepo_upgrade_hero" "dota_hero_level 25; dota_dev player_givegold 99999; dota_create_item item_power_treads; dota_create_item item_blink; dota_create_item item_ring_of_basilius; dota_create_item item_ultimate_scepter; dota_create_item item_courier; dota_create_item item_flying_courier"
- // Sets up practicing for Pudge hooking
- alias "drill_pudge" "drill_pudge_msg; sv_cheats 1; drill_pudge"
- alias "drill_pudge_msg" "say_team Drill: Pudge skills."
- // Sets up commands for spawning creeps under towers to practice tower lasthitting.
- // '[' will spawn a melee, ']' will spawn a ranged, and '\' will spawn a siege
- alias "drill_tower_lasthit" "drill_tower_lasthit_msg; sv_cheats 1; dota_creeps_no_spawning_enable; bind [ drill_tower_melee; bind ] drill_tower_ranged; bind \ drill_tower_siege"
- alias "drill_tower_lasthit_msg" "say_team Drill: Lasthit under towers."
- // Create an enemy melee creep
- alias "drill_tower_melee" "dota_create_unit npc_dota_creep_badguys_melee enemy"
- // Create an enemy ranged creep
- alias "drill_tower_ranged" "dota_create_unit npc_dota_creep_badguys_ranged enemy"
- // Create an enemy siege creep
- alias "drill_tower_siege" "dota_create_unit npc_dota_badguys_siege enemy"
- // Creates an enemy Furion to be used for testing tower ranges (vision and reveal).
- alias "drill_tower_range" "drill_tower_range_msg; sv_cheats 1; dota_creeps_no_spawning_enable; dota_ability_debug_enable; drill_tower_range_enemy_np; drill_tower_range_upgrade_hero"
- alias "drill_tower_range_msg" "say_team Drill: Tower range."
- alias "drill_tower_range_enemy_np" "dota_create_unit furion enemy; dota_bot_give_level 25; dota_bot_give_item item_heart; dota_bot_give_item item_invis_sword; give_bots_more_observer_wards; dota_bot_give_item item_heart; dota_bot_give_item item_heart; dota_bot_give_item item_heart;"
- alias "drill_tower_range_upgrade_hero" "dota_hero_level 25; dota_dev player_givegold 99999; dota_create_item item_heart; dota_create_item item_invis_sword; give_more_observer_wards; dota_create_item item_heart; dota_create_item item_heart; dota_create_item item_heart;"
- // Unused/old commands ////////////////////////////////////////////////////////////////////////////////////////////////
- // Create a Nature's Prophet to run around placing wards
- //alias "create_np" "dota_create_unit furion; dota_bot_give_level 25; dota_bot_give_item item_travel_boots; dota_bot_give_item item_cyclone; give_bots_wards; give_bots_wards; give_bots_wards; give_bots_wards; give_bots_wards; dota_bot_give_item item_sange_and_yasha; dota_bot_give_item item_ancient_janggo"
- // local cheats (sv_cheats 1)
- //bind "[" "say_team refresh; "
- //bind "]" "say_team killwards; "
- //bind "\" "say_team spawnneutrals; "
- //bind "," "say_team lvlup 25; dota_dev hero_level 25"
- //bind "." "say_team levelbots 25; dota_bot_give_level 25"
- //bind "/" "say_team gold 99999; dota_dev player_givegold 99999"
- // Hold F1, F2, and F3 to display range indicators (only works in practice lobbies)
- //bind "F1" "+range1"
- //alias "+range1" "dota_range_display 600"
- //alias "-range1" "dota_range_display 0"
- //bind "F2" "+range2"
- //alias "+range2" "dota_range_display 900"
- //alias "-range2" "dota_range_display 0"
- //bind "F3" "+range3"
- //alias "+range3" "dota_range_display 1200"
- //alias "-range3" "dota_range_display 0"
- // Manually adjust range indicator (only works in practice lobbies)
- //bind [ "incrementvar dota_range_display 0 1200 -100"
- //bind ] "incrementvar dota_range_display 0 1200 100"
- // Center camera on top/bot rune
- //bind "F4" "dota_camera_setpos -2273.898682 1232.745483 982.072876"
- //bind "F5" "dota_camera_setpos 3035.773438 -2972.680176 966.072937"
- //alias "spectate_directed" "dota_spectator_mode 0; echo Directed Camera; bind k spectate_player; bind l spectate_free"
- //alias "spectate_free" "dota_spectator_mode 1; echo Free Camera; bind k spectate_directed; bind l spectate_chase"
- //alias "spectate_chase" "dota_spectator_mode 2; echo Hero Chase; bind k spectate_free; bind l spectate_player"
- //alias "spectate_player" "dota_spectator_mode 3; echo Player Perspective; bind k spectate_chase; bind l spectate_directed"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement