Dota 2 Navigation Meshes

From Valve Developer Community
Jump to: navigation, search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

Building the NavMesh

Required Tool: GNVTool 1.0 by Penguinwizzard

This tool converts netpbm formats to valve's GNV format. It also converts GNV to pbm files.

netpbms are 1 bit bimap files. Dota 2 uses white for walkable, and black for not walkable

Usage: 'GNVtool.exe tognv source.pbm target.gnv offsetx offsety'

offsetx and offsety are offets by 64 units (offsetx|y * 64). Your pbm dimensions must be divisible by 8 or the grid gets sheared.

list of software that support pbm files or converts to pbm format

You can view your navmesh in game by doing 'dota_gridnav_show 1'