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

From Valve Developer Community
Jump to navigation Jump to search
m (1 revision: Dota 2 Workshop Tools docs)
Line 12: Line 12:
* Compile and launch the map.
* Compile and launch the map.
* Type ''dota_minimap_create'' at the console.
* Type ''dota_minimap_create'' at the console.
* An image will be generated and placed in the ''/materials/overviews'' directory with the same name as the map.
* Изображение будет создано и размещено в ''/materials/overviews'' с тем же именем, что и карта.
* Minimap settings are located in ''/resource/overviews/'' inside a text file with the same name as the map and image.
* Minimap settings are located in ''/resource/overviews/'' inside a text file with the same name as the map and image.



Revision as of 20:28, 10 August 2014

The minimap in Dota 2 is an image generated from a top-down perspective, high above the map. This image can be edited but is not dynamic and will need to be re-exported to support changes in geometry to the map. Dynamic objects such as tower locations or units are dynamic and projected on top of this image.


Automatically Creating a Minimap Image

To automatically generate a minimap image in the Compile Map (F9) dialog by tick the "Create minimap on load" check box. Note that when generating a new minimap image, whether automatically or manually, it will overwrite your existing minimap image.


Manually Creating a Minimap Image

  • 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.
  • Изображение будет создано и размещено в /materials/overviews с тем же именем, что и карта.
  • Minimap settings are located in /resource/overviews/ inside a text file with the same name as the map and image.
Note.pngNote:Minimap settings affect the dynamic icons, not the image itself. To change the image edit the image directly.