Ru/Dota 2 Workshop Tools/Level Design/Dota/Minimap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Частичный перевод)
 
Line 8: Line 8:


* In Hammer, add two "dota_minimap_boundary" entities. One at each corner of the map to define the XY bounds. The delta in height on the Z axis between them determines the depth of the image captured.
* In Hammer, add two "dota_minimap_boundary" entities. One at each corner of the map to define the XY bounds. The delta in height on the Z axis between them determines the depth of the image captured.
* Compile and launch the map.
* Скомпилируйте и запустите карту
* Type ''dota_minimap_create'' at the console.
* Введите ''dota_minimap_create'' в консоль.
* An image will be generated and placed in the ''/materials/overviews'' directory with the same name as the map.
* An image will be generated and placed in the ''/materials/overviews'' directory with the same name as the map.
* Minimap settings are located in ''/resource/overviews/'' inside a text file with the same name as the map and image.
* Настройки миникарты находятся внутри текстового файла, который расположен по адресу ''/resource/overviews/'' , этот фаил имеет такое же имя как у карты и изображения миникарты.  


{{note|Minimap settings affect the dynamic icons, not the image itself. To change the image edit the image directly.}}
{{note|Minimap settings affect the dynamic icons, not the image itself. To change the image edit the image directly.}}

Revision as of 20:26, 10 August 2014

Миникарта представляет собой изображение, которое генерируется из определенной точки обзора, направленной сверху-вниз высоко над картой. Изображение и можно редактировать вручную. Изображение не является динамическим и после изменения архитектуры карты его требуется пересоздать. Динамические объекты такие как тавера (башни) или юниты накладываются поверх изображения карты.

Автоматическое создание изображения миникарты

To automatically generate a minimap image in the Compile Map (F9) dialog by tick the "Create minimap on load" check box. Обратите внимание, что при создании нового изображения миникарты, будь то автоматическое создание или создание вручную, текущее изображение миникарты будет перезаписано.

Создание изображения миникарты вручную

  • In Hammer, add two "dota_minimap_boundary" entities. One at each corner of the map to define the XY bounds. The delta in height on the Z axis between them determines the depth of the image captured.
  • Скомпилируйте и запустите карту
  • Введите dota_minimap_create в консоль.
  • An image will be generated and placed in the /materials/overviews directory with the same name as the map.
  • Настройки миникарты находятся внутри текстового файла, который расположен по адресу /resource/overviews/ , этот фаил имеет такое же имя как у карты и изображения миникарты.
Note.pngПримечание:Minimap settings affect the dynamic icons, not the image itself. To change the image edit the image directly.