Dota 2 Navigation Meshes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "=== Building the NavMesh === Required Tool: [http://d.pr/f/KfvO GNVTool 1.0 by Penguinwizzard (linux only atm)] This tool converts netpbm formats to valve's GNV format. It als...")
 
No edit summary
Line 1: Line 1:
=== Building the NavMesh ===
=== Building the NavMesh ===


Required Tool: [http://d.pr/f/KfvO GNVTool 1.0 by Penguinwizzard (linux only atm)]
Required Tool: [http://d.pr/f/QBVI GNVTool 1.0 by Penguinwizzard]


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


[http://netpbm.sourceforge.net/doc/directory.html list of software that support pbm files or converts to pbm format]
[http://netpbm.sourceforge.net/doc/directory.html 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'

Revision as of 01:43, 3 January 2014

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'