Navmesh to OpenFormats Exporter

Rate:
Downloads: 14
Views: 926
Comments: 0
Category: Tools
Upload by: LeetSombrero

Description

So, evidently there has never been a proper way to export .YNV navmeshes to .ONV format. The reverse has been possible thanks to OpenMapTools 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, PM 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
Show Full Description

Rating

0
5
4
3
2
1
Your rate

Write comment:

Please enter review or comment.
Please choose a name.
Email invalid.

All version

2.0 (current)

11 downloads , 2.06MB 15:08 20/02/2021

6 downloads , 1.91MB 15:08 20/02/2021