Skip to content

sapphyrus/sourcenav.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

sourcenav.lua

A Source Engine navigation mesh parser written in Lua, intended for CS:GO (but will probably work for other source engine games too)

Based on sourcenav by thiagofelix and bot.nav by Cre3per

Dependencies:

Usage:

local sourcenav = require "sourcenav"

local f = io.open("de_mirage.nav", "rb")
local content = f:read("*all")
f:close()

local nav_mesh = sourcenav.parse(content)

print("Parsed " .. #nav_mesh.places .. " places, " .. #nav_mesh.areas .. " areas, " .. #nav_mesh.ladders .. " ladders.")

About

Source Engine navigation mesh parser written in Lua

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages