Giter Club home page Giter Club logo

ameisennavmeshgen's Introduction

AmeisenNavmeshGen

Navmeshgenerator for WoW 3.3.5a 12340.

This is my attempt to create a navigation system using recast & detour for my WoW Bot.

Feature checklist

Essential:

  • ✔️ ADT parsing
  • ✔️ Basic world geometry export
  • ❌ M2/WMO geometry export
  • ❌ Direct Navmesh export

Optional:

  • ❌ MPQ reading

How to use this

1. Export World folder from WoW's MPQ's using an MPQ editor or similar

2. Change the input_directory to the place where you exported the World folder

std::string input_directory = "F:\\WoW Mapping stuff";

Your structure should look like this:

"C:\FOLDER_YOU_SELECTED\World\maps\MAPNAME"

"C:\FOLDER_YOU_SELECTED\World\wmo\MAPNAME"

-> then your input_directory is "C:\FOLDER_YOU_SELECTED"

3. Change the export_directory to a place where the *.obj files will be dumped

std::string export_directory = "X:\NavmeshExport";

4. Pass filepaths into this array sample_adts

std::string maps_to_read[] = {
	"Azeroth"
};

5. Adjust the export dimension (you can export full map by starting at 1 and ending at 64 but do'nt try to open that map with recastDemo, it will crash)

constexpr int MAP_X_START = 32;
constexpr int MAP_X_END = 32;
constexpr int MAP_Y_START = 48;
constexpr int MAP_Y_END = 48;

6. Open the *.obj with RecastDemo or do something else with them

Credits

Without them this project would not exist.

❤️ wowdev wiki guys: https://wowdev.wiki/ADT/v18#ADT_files_and_blocks

❤️ Recast & Detour: https://github.com/recastnavigation/recastnavigation

Screenshots

Some screenshots from the RecastDemo:

alt text

alt text

ameisennavmeshgen's People

Contributors

jnnshschl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.