Exporting Navigation Meshes to Open Formats 2.0

Developers Model Resource


Description


Exporting Navigation Meshes to Open Formats

So, evidently there has never been a proper way to export .YNV navmeshes to .ONV format. The reverse has been possible for some time. This command line tool aims to fill in the gap. You will need to install OFIO plugin for 3DS Max to work with ONV files. UPDATE: Everything is almost ship-shape as of v1.0, except for portals and navpoints. Regarding navpoints, there is some trouble exporting them from OFIO when done modeling. Portals might be doable, but I do not fully understand the syntax of the portals section in ONV files. If anyone is able to assist, please message me. Powered by CodeWalker. This would have been impossible without CodeWalker Core. Requirements: 1. Latest .NET Core 3.1 Runtime, if not already installed. 2. Autodesk 3DS Max 2012 or higher 3. OpenFormats I/O plugin for 3DS Max Usage: There are several ways to run the script: 1. Open ONV_Exporter_GUI.exe and use the interface 2. Run the included batch_exec.bat and pass in your import and export directories. For instance: batch_exec.bat C:/path/to/sourceDirectory C:/path/to/destinationDirectory 3. Run executable in command line. Program accepts two parameters, path/to/sourceYNV and path/to/destinationONV. For instance: ONV_Exporter.exe C:/path/to/sourceYNV C:/path/to/destinationONV Caveats: 1. Portals are not yet exported. (WIP) 2. Nav points (cover points) are exported, but not properly exported by OFIO. Changelog 0.1.0: First release 1.0.0: Full release, added sector tree data 1.0.1: Removed unnecessary conversions/calculations. Theoretically more precise now. 1.1.0: Included a bulk export hack and some instructions 2.0.0: Added a GUI and a batch conversion script
First Upload: November 11, 2024 Last Updated: November 11, 2024


0 Comments