[Code] Parsing NAV Files
1 Attachment(s)
Hey guys,
Been a while since I've been able to provide something cool to the community, so without further delay I will show you how to parse the navigation mesh for source maps. If you are wondering why someone would want to parse the navigation mesh, it contains graphed information about walkable areas of the level. It also provides a means to connect these areas together, connect ladders to walkable areas, mark hiding spots within these areas, sniper spots within these areas, encounter areas with T distance, and likely other data I have yet to uncover. I plan to update this article and the files attached with the article as I figure out anything new. I have a feeling that the "unk01" value inside NavMeshArea is actually something to do with Sniper Spots (since I don't recall mapping that data yet) My hope is that someone (*cough* Necavi) will take this information and give it some life in the SourcePawn context. It could be the beginning of some incredible innovations. Github: https://github.com/AnthonyIacono/War...ree/master/Nav |
Re: [Code] Parsing NAV Files
I agree :) This will open a lot of doors for other stuff.
|
Re: [Code] Parsing NAV Files
This seems very interesting.
|
Re: [Code] Parsing NAV Files
I'll probably start porting it tonight.
|
Re: [Code] Parsing NAV Files
Quote:
|
Re: [Code] Parsing NAV Files
that was my initial use case as well. Like how CS:GO is doing it with their DM mode.
|
Re: [Code] Parsing NAV Files
The only use I can see for this would be to change things on the fly. Otherwise, it'd just be better to use the in-game nav editor to update it.
|
Re: [Code] Parsing NAV Files
Powerlord - nah, I wouldn't use this to edit a .nav file - just use it to find and use spots defined in the .nav file.
|
Re: [Code] Parsing NAV Files
Quote:
|
Re: [Code] Parsing NAV Files
It would be nice to see what people manage to do with this as it opens the way to a ton of new cool stuff.
Also, glad I could help (in a manner). ;) |
| All times are GMT -4. The time now is 23:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.