Using Navigation Meshes to find path?
Hey, how would I go about using Navigation Meshes ( https://developer.valvesoftware.com/...igation_Meshes ) to find a path, that entity could use. Say, on dust2 from CT to A.
I have done quite a lot of searching but I didn't have any luck. Need this just for CS:GO if it matters. |
Re: Using Navigation Meshes to find path?
This can be userful for you perhaps:
https://github.com/KitRifty/sourcepawn-navmesh |
Re: Using Navigation Meshes to find path?
copy-paste (with slight changes) from sm_navmesh_buildpath
PHP Code:
|
Re: Using Navigation Meshes to find path?
Thanks. Right now I am having a problem with the navmesh plugin, already created an issue at github. If anyone feels like helping, here's the 'error':
http://i.imgur.com/oq1WE9X.png |
Re: Using Navigation Meshes to find path?
Quote:
This can be userful to you: Quote:
|
Re: Using Navigation Meshes to find path?
Quote:
In the navmesh plugin, there's this: Code:
for (new iDirection = 0; iDirection < NAV_DIR_COUNT; iDirection++) |
Re: Using Navigation Meshes to find path?
It could be the case...
Afterall CS:GO perhaps implemented some new .nav file features which might be misreaded as connections by plugin or something that causes loop to bug out? You could try maybe open .nav file in notepad++ or something and compare difference? By running nav_generate on two different games on very same map? |
Re: Using Navigation Meshes to find path?
I have gotten .nav file for dust2 from CS:S, and it loaded there perfectly. I don't think any even had more connections than 10. Pretty confident it is something to do with cs:go's nav file now. Opening either .nav file in notepad++ (or any text editor i used) doesn't work out, just gives random 'signs' altho there might be few words like "Above pit" "Bombsite a".
I have googled around to see how I could read nav files but I couldn't find anything. |
Re: Using Navigation Meshes to find path?
any progress on this? im getting stuck on the same problem
|
Re: Using Navigation Meshes to find path?
Has any progress been made on this issue?
|
All times are GMT -4. The time now is 19:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.