This is a navmesh-powered navigation and pathfinding plugin for MacroQuest "Next". Navigation is based on the RecastNavigation library.
This project consists of two parts: The MacroQuest Plugin (MQ2Nav.dll), and the Mesh Generator (MeshGenerator.exe)
The MeshGenerator tool is used for generating and editing the properties of navmeshes
- See the wiki for some screenshots and features
-
Visual Studio 2019 (16.10+)
-
MacroQuest (next)
- Note: Support for MacroQuest2 legacy is discontinued and will no longer be receiving updates
MQ2Nav is a unique plugin. The project files have a lot of parts, so unless you know what you are doing, you usually do not want to add it to your solution. Insteada, you can open up the MQ2Nav.sln file and build it on its own. Make sure that you build the core distribution in MacroQuest.sln first.
- Check out the sources into /plugins/MQ2Nav. MQ2Nav should be placed in the /plugins folder in the root of the checkout. This folder is dedicated to your plugins.
- Open MacroQuest.sln and build
- Open MQ2Nav/MQ2Nav.sln and select the configuration (most people will want Release)
- build MQ2Nav.dll: select the Win32 architecture and build
- build MeshGenerator.exe: select the x64 architecture and build
The first time you build, you'll build the vcpkg dependencies.
This plugin makes use of the following libraries:
- EQEmu zone-utilities
- imgui
- google protocol buffers
- glm
- rapidjson
- RecastNavigation
- SDL2 (for the mesh generator)
- zlib
Contributions are welcome! Feel free to open pull requests or report issues.
See the wiki for more info
Loading into a zone with MQ2Nav loaded will generate a config file with a list of dynamic objects that can be consumed by MeshGenerator to add that extra geometry to the navmesh. These kinds of objects include some POK stones, for example. Doors are filtered out of the list, but there may be some false positives.