Compile and Run

From Valve Developer Community
< Ru‎ | Dota 2 Workshop Tools‎ | Level Design
Revision as of 10:15, 11 August 2014 by Justincase (talk | contribs) (Не)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Нажмите "Build", чтобы начать компилировать вашу карту.

Пора скомпилировать и поиграть в вашу карту. Нажмите F9 или перейдите File -> Build Map для открытия окна Build Map. Такое же окно вы можете увидеть справа.


If you wish to have your map launch automatically when it's done being built, check the "Load in engine after building" and "Bring engine to front" check boxes. Also, since this is the first version of your map, check the "Create minimap on load" check box so that it auto-creates a minimap image for you. Click Build to begin compiling your map.


Once the map is compiled it can be run in game. If you've checked "Load in engine after building" this will automatically load the map in game. If not, there's some steps on how to do this:


  1. Откройте консоль нажатием на `. Обычно на клавиатуре она располагается над кнопкой Tab .
  2. Введите в консоль "dota_launch_custom_game my_addon_name my_map_name". Замените: my_addon_name на имя вашего аддона,а my_map_name на имя вашей карты.
  3. Нажмите Enter


Запуск карты с помощью консоли.

В игре повторно откройте консоль и введите "jointeam good", так как аддон еще не создан, это требуется для получения команды.


You've completed your first simple map and, with that, completed the introduction to Hammer and its Tile Editor. You can return to the Level Design section to browse the rest of the Hammer documentation and tutorials. Additional information and advanced Tile Editor concepts can be found in the Tile Editor documentation.


Tip.pngСовет:In the Build Map dialog (F9) clicking the Settings button gives a choice on which map components you'd like to compile. Later on, you may encounter cases where you haven't made any changes to the world geometry since your last map compile, so you don't want to spend time recompiling World. In that case, you'd just toggle off its check box.


Note.pngПримечание:The compile process takes your .vmap file contained in content/dota_addons/your_addon_name/maps/your_map_name.vmap and packages it into a .vpk file contained in game/dota_addons/your_addon_name/maps/your_map_name.vpk