Advertisement
AnitaOctavia

Spawn Boxes by Anita

Nov 17th, 2013
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.79 KB | None | 0 0
  1. // Spawn Boxes by Anita (Octavia, u/iheartdisraptor)
  2. // Draws spawn boxes in game. Only works in a local lobby.
  3. // This script belongs to the community. Feel free to extend and rerelease this script.
  4. // Credits to devilesk for providing the exact box coordinates.
  5.  
  6. // Directions:
  7. // 1. Enable the Dota 2 console: http://www.hattongames.com/2012/03/how-to-enable-the-console-in-dota-2
  8. // 2. Save script as <Steam folder>/SteamApps/common/dota 2 beta/dota/cfg/spawn_boxes.cfg.
  9. // 3. Enter a game as a local practice lobby.
  10. // 4. In autoexec.cfg add "exec spawn_boxes.cfg".
  11. // 5. For changes to take effect, restart Dota 2 or enter "exec autoexec.cfg" into the console.
  12. //    - or -
  13. //    Open the console (~ by default) and enter "exec spawn_boxes.cfg".
  14.  
  15. // Changelog:
  16. // 1.0-6.79, 13.11.17
  17. // - Separated and labeled each box
  18. // - Exact coordinates
  19. // - Initial version
  20.  
  21. // Press a button to draw the boxes. They will appear for a minute or so.
  22. // Change this binding as needed!
  23. bind F4 "exec spawn_boxes.cfg"
  24.  
  25. // Radiant ancients
  26. box -3520.0 -256.0 522.0 -2560.0 768.0 522.0
  27. box -3520.0 768.0 266.0 -2560.0 -256.0 266.0
  28. box -3520.0 -256.0 522.0 -3520.0 768.0 266.0
  29. box -2560.0 768.0 522.0 -2560.0 -256.0 266.0
  30. box -2560.0 -256.0 522.0 -3520.0 -256.0 266.0
  31. box -3520.0 768.0 522.0 -2560.0 768.0 266.0
  32.  
  33. // Radiant medium camp near mid T1
  34. box -1024.0 -2368.0 394.0 64.0 -2368.0 138.0
  35. box 64.0 -3456.0 394.0 -1024.0 -3456.0 138.0
  36. box -1024.0 -3456.0 394.0 64.0 -2368.0 394.0
  37. box -1024.0 -2368.0 138.0 64.0 -3456.0 138.0
  38. box 64.0 -2368.0 394.0 64.0 -3456.0 138.0
  39. box -1024.0 -3456.0 394.0 -1024.0 -2368.0 138.0
  40.  
  41. // Radiant hard camp near rune
  42. box 1088.0 -4544.0 522.0 2304.0 -3200.0 522.0
  43. box 1088.0 -3200.0 266.0 2304.0 -4544.0 266.0
  44. box 2304.0 -3200.0 522.0 2304.0 -4544.0 266.0
  45. box 1088.0 -4544.0 522.0 1088.0 -3200.0 266.0
  46. box 1088.0 -3200.0 522.0 2304.0 -3200.0 266.0
  47. box 2304.0 -4544.0 522.0 1088.0 -4544.0 266.0
  48.  
  49. // Radiant medium camp near rune
  50. box 2688.0 -2944.0 266.0 3776.0 -4096.0 266.0
  51. box 2688.0 -4096.0 522.0 3776.0 -2944.0 522.0
  52. box 3776.0 -4096.0 522.0 2688.0 -4096.0 266.0
  53. box 2688.0 -2944.0 522.0 3776.0 -2944.0 266.0
  54. box 3776.0 -2944.0 522.0 3776.0 -4096.0 266.0
  55. box 2688.0 -4096.0 522.0 2688.0 -2944.0 266.0
  56.  
  57. // Radiant easy pull camp
  58. box 3776.0 -5312.0 522.0 2240.0 -5312.0 266.0
  59. box 2240.0 -4288.0 522.0 3776.0 -4288.0 266.0
  60. box 2240.0 -5312.0 522.0 2240.0 -4288.0 266.0
  61. box 3776.0 -4288.0 522.0 3776.0 -5312.0 266.0
  62. box 2240.0 -4288.0 266.0 3776.0 -5312.0 266.0
  63. box 2240.0 -5312.0 522.0 3776.0 -4288.0 522.0
  64.  
  65. // Dire ancients
  66. box 3904.0 -1536.0 138.0 4928.0 -2560.0 138.0
  67. box 3904.0 -2560.0 394.0 4928.0 -1536.0 394.0
  68. box 4928.0 -2560.0 394.0 3904.0 -2560.0 138.0
  69. box 3904.0 -1536.0 394.0 4928.0 -1536.0 138.0
  70. box 3904.0 -2560.0 394.0 3904.0 -1536.0 138.0
  71. box 4928.0 -1536.0 394.0 4928.0 -2560.0 138.0
  72.  
  73. // Dire hard camp near mid T2
  74. box 448.0 2816.0 522.0 1664.0 3776.0 522.0
  75. box 448.0 3776.0 266.0 1664.0 2816.0 266.0
  76. box 448.0 3776.0 522.0 1664.0 3776.0 266.0
  77. box 1664.0 2816.0 522.0 448.0 2816.0 266.0
  78. box 1664.0 3776.0 522.0 1664.0 2816.0 266.0
  79. box 448.0 2816.0 522.0 448.0 3776.0 266.0
  80.  
  81. // Dire medium camp near top T2
  82. box 0.0 4096.0 522.0 0.0 3200.0 266.0
  83. box -832.0 3200.0 522.0 -832.0 4096.0 266.0
  84. box -832.0 3200.0 522.0 0.0 4096.0 522.0
  85. box -832.0 4096.0 266.0 0.0 3200.0 266.0
  86. box -832.0 4096.0 522.0 0.0 4096.0 266.0
  87. box 0.0 3200.0 522.0 -832.0 3200.0 266.0
  88.  
  89. // Dire medium camp near rune
  90. box -1920.0 3136.0 138.0 -960.0 2304.0 138.0
  91. box -1920.0 2304.0 394.0 -960.0 3136.0 394.0
  92. box -1920.0 3136.0 394.0 -960.0 3136.0 138.0
  93. box -960.0 2304.0 394.0 -1920.0 2304.0 138.0
  94. box -960.0 3136.0 394.0 -960.0 2304.0 138.0
  95. box -1920.0 2304.0 394.0 -1920.0 3136.0 138.0
  96.  
  97. // Dire hard pull camp
  98. box -5056.0 3264.0 522.0 -5056.0 4352.0 266.0
  99. box -3712.0 4352.0 522.0 -3712.0 3264.0 266.0
  100. box -3712.0 3264.0 522.0 -5056.0 3264.0 266.0
  101. box -5056.0 4352.0 522.0 -3712.0 4352.0 266.0
  102. box -5056.0 4352.0 266.0 -3712.0 3264.0 266.0
  103. box -5056.0 3264.0 522.0 -3712.0 4352.0 522.0
  104.  
  105. // Dire easy pull camp
  106. box -3456.0 3968.0 522.0 -3456.0 4928.0 266.0
  107. box -2688.0 4928.0 522.0 -2688.0 3968.0 266.0
  108. box -2688.0 3968.0 522.0 -3456.0 3968.0 266.0
  109. box -3456.0 4928.0 522.0 -2688.0 4928.0 266.0
  110. box -3456.0 4928.0 266.0 -2688.0 3968.0 266.0
  111. box -3456.0 3968.0 522.0 -2688.0 4928.0 522.0
  112.  
  113. // Radiant hard camp near mid T2 (1)
  114. box -1728.0 -4224.0 586.0 -1344.0 -3520.0 586.0
  115. box -1728.0 -3520.0 138.0 -1344.0 -4224.0 138.0
  116. box -1728.0 -3520.0 586.0 -1344.0 -3520.0 138.0
  117. box -1344.0 -4224.0 586.0 -1728.0 -4224.0 138.0
  118. box -1728.0 -4224.0 586.0 -1728.0 -3520.0 138.0
  119. box -1344.0 -3520.0 586.0 -1344.0 -4224.0 138.0
  120.  
  121. // Radiant hard camp near mid T2 (2)
  122. box -1344.0 -3520.0 586.0 -704.0 -3520.0 138.0
  123. box -704.0 -4480.0 586.0 -1344.0 -4480.0 138.0
  124. box -704.0 -3520.0 586.0 -704.0 -4480.0 138.0
  125. box -1344.0 -4480.0 586.0 -1344.0 -3520.0 138.0
  126. box -1344.0 -4480.0 586.0 -704.0 -3520.0 586.0
  127. box -1344.0 -3520.0 138.0 -704.0 -4480.0 138.0
  128.  
  129. // The rest of the boxes bound the cliffs near the runes.
  130. // They're omitted as they are not useful to us.
  131.  
  132. //box 2432.0 -2432.0 394.0 2752.0 -2432.0 -54.0
  133. //box 2752.0 -3008.0 394.0 2432.0 -3008.0 -54.0
  134. //box 2752.0 -2432.0 394.0 2752.0 -3008.0 -54.0
  135. //box 2432.0 -3008.0 394.0 2432.0 -2432.0 -54.0
  136. //box 2432.0 -3008.0 394.0 2752.0 -2432.0 394.0
  137. //box 2432.0 -2432.0 -54.0 2752.0 -3008.0 -54.0
  138.  
  139. //box -4224.0 1792.0 458.0 -3136.0 2240.0 458.0
  140. //box -4224.0 2240.0 -54.0 -3136.0 1792.0 -54.0
  141. //box -4224.0 2240.0 458.0 -3136.0 2240.0 -54.0
  142. //box -3136.0 1792.0 458.0 -4224.0 1792.0 -54.0
  143. //box -3136.0 2240.0 458.0 -3136.0 1792.0 -54.0
  144. //box -4224.0 1792.0 458.0 -4224.0 2240.0 -54.0
  145.  
  146. //box 3200.0 -2368.0 394.0 3584.0 -1920.0 394.0
  147. //box 3200.0 -1920.0 -54.0 3584.0 -2368.0 -54.0
  148. //box 3200.0 -1920.0 394.0 3584.0 -1920.0 -54.0
  149. //box 3584.0 -2368.0 394.0 3200.0 -2368.0 -54.0
  150. //box 3584.0 -1920.0 394.0 3584.0 -2368.0 -54.0
  151. //box 3200.0 -2368.0 394.0 3200.0 -1920.0 -54.0
  152.  
  153. //box -1920.0 2752.0 458.0 -1920.0 2112.0 -54.0
  154. //box -2304.0 2112.0 458.0 -2304.0 2752.0 -54.0
  155. //box -2304.0 2112.0 458.0 -1920.0 2752.0 458.0
  156. //box -2304.0 2752.0 -54.0 -1920.0 2112.0 -54.0
  157. //box -2304.0 2752.0 458.0 -1920.0 2752.0 -54.0
  158. //box -1920.0 2112.0 458.0 -2304.0 2112.0 -54.0
  159.  
  160. //box -2368.0 2752.0 -54.0 -2304.0 2240.0 -54.0
  161. //box -2368.0 2240.0 458.0 -2304.0 2752.0 458.0
  162. //box -2368.0 2752.0 458.0 -2304.0 2752.0 -54.0
  163. //box -2304.0 2240.0 458.0 -2368.0 2240.0 -54.0
  164. //box -2304.0 2752.0 458.0 -2304.0 2240.0 -54.0
  165. //box -2368.0 2240.0 458.0 -2368.0 2752.0 -54.0
  166.  
  167. //box -4224.0 2304.0 -54.0 -3200.0 2240.0 -54.0
  168. //box -4224.0 2240.0 458.0 -3200.0 2304.0 458.0
  169. //box -3200.0 2240.0 458.0 -4224.0 2240.0 -54.0
  170. //box -4224.0 2304.0 458.0 -3200.0 2304.0 -54.0
  171. //box -4224.0 2240.0 458.0 -4224.0 2304.0 -54.0
  172. //box -3200.0 2304.0 458.0 -3200.0 2240.0 -54.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement