Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Training Mission: Camp Warding Console Settings by Anita (Octavia, u/iheartdisraptor)
- // 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. Download and save this script as
- // <Steam folder>/SteamApps/common/dota 2 beta/dota/cfg/tm_camp_warding_console.cfg.
- // 3. Download and save tm_camp_warding.txt as
- // <Steam folder>/SteamApps/common/dota 2 beta/dota/scripts/tutorial/tm_camp_warding.txt.
- // 4. In autoexec.cfg add "exec tm_camp_warding_console.cfg".
- // 5. Start Dota 2, open the console (~ by default), and enter "tm_camp_warding".
- // Changelog:
- // 1.0-6.79, 13.11.18
- // - Initial version
- // Controls //
- // Rebind these as necessary (e.g. if they conflict with your settings)
- // Besides the training mission, these controls will work in a practice lobby if you want to
- // look for warding spots on your own.
- // [ : Toggle near/far camera distance
- // ] : Display spawn boxes
- // \ : Teleport hero to mouse position
- // F6 : Toggle UI
- // mouse4 : Teleport hero to mouse position
- // Toggle normal and far camera distance
- bind [ tm_toggle_camera_distance
- // Display spawn boxes
- bind ] spawn_boxes
- // Teleport hero to the current mouse position with keyboard or mouse buttons
- bind \ "tm_teleport"
- bind mouse4 tm_teleport // will not override game controls
- // Toggle display of the HUD (various modes)
- bind F6 toggle_ui
- // Aliases for controls //
- // Spawn neutrals if their boxes are clear and say as much
- alias tm_spawn_neutrals "say_team Spawning neutrals; tutorial_cheats; dota_spawn_neutrals"
- // Toggle the distance of the camera between normal and far
- alias tm_toggle_camera_distance tm_camera_far
- alias tm_camera_far "say_team A bird's eye view.; tutorial_cheats; dota_camera_distance 1534; tm_hero_focus; alias tm_toggle_camera_distance tm_camera_normal"
- alias tm_camera_normal "say_team A down-to-earth view.; tutorial_cheats; dota_camera_distance 1134; tm_hero_focus; alias tm_toggle_camera_distance tm_camera_far"
- alias tm_hero_focus "+dota_camera_follow; -dota_camera_follow; +dota_camera_follow; -dota_camera_follow"
- // Kill all wards on the map and say as much
- alias tm_kill_wards "say_team All wards, all away.; tutorial_cheats; dota_killwards; dota_dev killwards"
- // Teleport hero to current mouse position
- alias tm_teleport "say_team Sproink! Teleported.; tutorial_cheats; dota_dev hero_teleport; dota_stop; dota_hold"
- // HUD toggling //
- // Toggle HUD mode
- alias toggle_ui ui_noreplay
- // Disable the replay UI. Only useful in a replay or DotaTV.
- alias ui_noreplay "say_team Getting rid of replay UI.; developer 0; dota_sf_hud_stats_dropdown 0; dota_sf_hud_force_spec -1; alias toggle_ui ui_some"
- // Disable all of the UI except the minimap and the hero portrait.
- alias ui_some "say_team Getting rid of some 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 1; dota_sf_hud_inventory 0; dota_sf_hud_top 0; dota_hud_healthbars 0; dota_no_minimap 0; cl_drawhud 1; dota_render_crop_height 0; dota_render_y_inset 0; developer 0; net_graph 0; alias toggle_ui ui_none"
- // Disable all of the UI
- alias ui_none "say_team Getting rid of all 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 toggle_ui ui_full"
- // Reenable all of the UI. For 1080p, render_crop_height should be 166 else restoring the UI will
- // not work quite right (you can change this below). For 1200p, render_crop_height should be 148.
- alias ui_full "say_team Restoring the 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 3; dota_no_minimap 0; cl_drawhud 1; dota_render_crop_height 148; dota_render_y_inset 31; alias toggle_ui ui_noreplay"
- // Spawn box display //
- // Radiant ancients
- alias spawn_radiant_ancients "box -3520.0 -256.0 522.0 -2560.0 768.0 522.0; box -3520.0 768.0 266.0 -2560.0 -256.0 266.0; box -3520.0 -256.0 522.0 -3520.0 768.0 266.0; box -2560.0 768.0 522.0 -2560.0 -256.0 266.0; box -2560.0 -256.0 522.0 -3520.0 -256.0 266.0; box -3520.0 768.0 522.0 -2560.0 768.0 266.0"
- // Radiant medium camp near mid T1
- alias spawn_radiant_medium1 "box -1024.0 -2368.0 394.0 64.0 -2368.0 138.0; box 64.0 -3456.0 394.0 -1024.0 -3456.0 138.0; box -1024.0 -3456.0 394.0 64.0 -2368.0 394.0; box -1024.0 -2368.0 138.0 64.0 -3456.0 138.0; box 64.0 -2368.0 394.0 64.0 -3456.0 138.0; box -1024.0 -3456.0 394.0 -1024.0 -2368.0 138.0"
- // Radiant hard camp near rune
- alias spawn_radiant_hard1 "box 1088.0 -4544.0 522.0 2304.0 -3200.0 522.0; box 1088.0 -3200.0 266.0 2304.0 -4544.0 266.0; box 2304.0 -3200.0 522.0 2304.0 -4544.0 266.0; box 1088.0 -4544.0 522.0 1088.0 -3200.0 266.0; box 1088.0 -3200.0 522.0 2304.0 -3200.0 266.0; box 2304.0 -4544.0 522.0 1088.0 -4544.0 266.0"
- // Radiant medium camp near rune
- alias spawn_radiant_medium2 "box 2688.0 -2944.0 266.0 3776.0 -4096.0 266.0; box 2688.0 -4096.0 522.0 3776.0 -2944.0 522.0; box 3776.0 -4096.0 522.0 2688.0 -4096.0 266.0; box 2688.0 -2944.0 522.0 3776.0 -2944.0 266.0; box 3776.0 -2944.0 522.0 3776.0 -4096.0 266.0; box 2688.0 -4096.0 522.0 2688.0 -2944.0 266.0"
- // Radiant easy pull camp
- alias spawn_radiant_easy "box 3776.0 -5312.0 522.0 2240.0 -5312.0 266.0; box 2240.0 -4288.0 522.0 3776.0 -4288.0 266.0; box 2240.0 -5312.0 522.0 2240.0 -4288.0 266.0; box 3776.0 -4288.0 522.0 3776.0 -5312.0 266.0; box 2240.0 -4288.0 266.0 3776.0 -5312.0 266.0; box 2240.0 -5312.0 522.0 3776.0 -4288.0 522.0"
- // Radiant hard camp near mid T2 (1)
- alias spawn_radiant_hard2_1 "box -1728.0 -4224.0 586.0 -1344.0 -3520.0 586.0; box -1728.0 -3520.0 138.0 -1344.0 -4224.0 138.0; box -1728.0 -3520.0 586.0 -1344.0 -3520.0 138.0; box -1344.0 -4224.0 586.0 -1728.0 -4224.0 138.0; box -1728.0 -4224.0 586.0 -1728.0 -3520.0 138.0; box -1344.0 -3520.0 586.0 -1344.0 -4224.0 138.0"
- // Radiant hard camp near mid T2 (2)
- alias spawn_radiant_hard2_2 "box -1344.0 -3520.0 586.0 -704.0 -3520.0 138.0; box -704.0 -4480.0 586.0 -1344.0 -4480.0 138.0; box -704.0 -3520.0 586.0 -704.0 -4480.0 138.0; box -1344.0 -4480.0 586.0 -1344.0 -3520.0 138.0; box -1344.0 -4480.0 586.0 -704.0 -3520.0 586.0; box -1344.0 -3520.0 138.0 -704.0 -4480.0 138.0"
- // Dire ancients
- alias spawn_dire_ancients "box 3904.0 -1536.0 138.0 4928.0 -2560.0 138.0; box 3904.0 -2560.0 394.0 4928.0 -1536.0 394.0; box 4928.0 -2560.0 394.0 3904.0 -2560.0 138.0; box 3904.0 -1536.0 394.0 4928.0 -1536.0 138.0; box 3904.0 -2560.0 394.0 3904.0 -1536.0 138.0; box 4928.0 -1536.0 394.0 4928.0 -2560.0 138.0"
- // Dire hard camp near mid T2
- alias spawn_dire_hard1 "box 448.0 2816.0 522.0 1664.0 3776.0 522.0; box 448.0 3776.0 266.0 1664.0 2816.0 266.0; box 448.0 3776.0 522.0 1664.0 3776.0 266.0; box 1664.0 2816.0 522.0 448.0 2816.0 266.0; box 1664.0 3776.0 522.0 1664.0 2816.0 266.0; box 448.0 2816.0 522.0 448.0 3776.0 266.0"
- // Dire medium camp near top T2
- alias spawn_dire_medium1 "box 0.0 4096.0 522.0 0.0 3200.0 266.0; box -832.0 3200.0 522.0 -832.0 4096.0 266.0; box -832.0 3200.0 522.0 0.0 4096.0 522.0; box -832.0 4096.0 266.0 0.0 3200.0 266.0; box -832.0 4096.0 522.0 0.0 4096.0 266.0; box 0.0 3200.0 522.0 -832.0 3200.0 266.0"
- // Dire medium camp near rune
- alias spawn_dire_medium2 "box -1920.0 3136.0 138.0 -960.0 2304.0 138.0; box -1920.0 2304.0 394.0 -960.0 3136.0 394.0; box -1920.0 3136.0 394.0 -960.0 3136.0 138.0; box -960.0 2304.0 394.0 -1920.0 2304.0 138.0; box -960.0 3136.0 394.0 -960.0 2304.0 138.0; box -1920.0 2304.0 394.0 -1920.0 3136.0 138.0"
- // Dire hard pull camp
- alias spawn_dire_hard2 "box -5056.0 3264.0 522.0 -5056.0 4352.0 266.0; box -3712.0 4352.0 522.0 -3712.0 3264.0 266.0; box -3712.0 3264.0 522.0 -5056.0 3264.0 266.0; box -5056.0 4352.0 522.0 -3712.0 4352.0 266.0; box -5056.0 4352.0 266.0 -3712.0 3264.0 266.0; box -5056.0 3264.0 522.0 -3712.0 4352.0 522.0"
- // Dire easy pull camp
- alias spawn_dire_easy "box -3456.0 3968.0 522.0 -3456.0 4928.0 266.0; box -2688.0 4928.0 522.0 -2688.0 3968.0 266.0; box -2688.0 3968.0 522.0 -3456.0 3968.0 266.0; box -3456.0 4928.0 522.0 -2688.0 4928.0 266.0; box -3456.0 4928.0 266.0 -2688.0 3968.0 266.0; box -3456.0 3968.0 522.0 -2688.0 4928.0 522.0"
- // Draw all spawn boxes
- alias spawn_boxes "tutorial_cheats; say_team There they are!; spawn_radiant_ancients; spawn_radiant_medium1; spawn_radiant_hard1; spawn_radiant_medium2; spawn_radiant_easy; spawn_radiant_hard2_1; spawn_radiant_hard2_2; spawn_dire_ancients; spawn_dire_hard1; spawn_dire_medium1; spawn_dire_medium2; spawn_dire_hard2; spawn_dire_easy"
- // Debug controls //
- alias tutorial_cheats "dota_tutorial_game 0; sv_cheats 1; tutorial_mode"
- alias tutorial_mode tutorial_off
- alias tutorial_on "dota_tutorial_game 1"
- alias tutorial_off "dota_tutorial_game 0"
- alias set_tutorial_on "alias tutorial_mode tutorial_on"
- alias set_tutorial_off "alias tutorial_mode tutorial_off"
- set_tutorial_off
- //bind p "tutorial_cheats; dota_camera_distance 100; dota_camera_getpos"
- // Start the training mission //
- alias tm_camp_warding "developer 0; set_tutorial_on; toggleconsole; dota_tutorial_start tm_camp_warding"
- alias drill_wards "echo You can now use the tutorial commands in a practice lobby; set_tutorial_off"
- // Hide console output
- //developer 0
- // Show the loading screen
- //toggleconsole
- // Start the tutorial
- //dota_tutorial_start tm_camp_warding
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement