Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

sourcenav

1.0.0 • Public • Published

A Source Engine navigation mesh file parser written in Javascript.

sourcenav

A Source Engine bot Nav file parser written in Javascript. This was written for CS:GO but will likely work with little or no modification for other Source titles. The specifics of the .nav format were reverse engineered using the information on Valve's wiki as a starting point. For more information on Source's Navigation Meshes see Valve's wiki: https://developer.valvesoftware.com/wiki/Navigation_Meshes

Disclaimer

This project was heavily inspired by gonav the GO language version of the same idea. Thankz mrazza for open sourcing it.

Usage

  • npm install sourcenav to install the pcakge
  • $(npm bin)/sourcenav parse <file.nav> parses the nav file

Limitation

This library only works with the NAV Format version 16

License

MIT

Keywords

none

Install

npm i sourcenav

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.72 kB

Total Files

5

Last publish

Collaborators

  • avatar