-
Member
Is there any gudie or project about navigation/Pathfinding in retail.
Hi guys,
I want to add the function about auto navigation/Pathfinding in my bot.
Is there any guide or project can be study.
I found some bot like Zzubot, but it seems that it does not support retail.
Thanks in advance.
-
-
Contributor
most wont support retail since any open source one stopped updating it after wdb6 or so but u can modify the casclib or find a dif reader / or as dark said rip mesh from a private sever and use theirs
-
Contributor
You can also update this with a little bit of work but not too much:
TheNoobBot/meshReader at master . mmalka/TheNoobBot . GitHub
Almost all the new file formats are referenced here:
Marlamin (Martin Benjamins) / Repositories . GitHub
The other nice thing is you can debug this easily. You can see exactly where your file reader is failing and why.
Good Luck
-
Member
Thanks above all, i'll study them first.
-
Member
Originally Posted by
charles420
most wont support retail since any open source one stopped updating it after wdb6 or so but u can modify the casclib or find a dif reader / or as dark said rip mesh from a private sever and use theirs
Hi,
Do you mean I can download the MPQ from prifate server even the server is not CASC file system? I get the "mmtile" follow this link: https://drewkestell.us/Article/6/Chapter/20 in a private server with TBC version 2.4.
My question is can I use the "mmtile" in retail server?
Thanks in advance.
-
Member
Originally Posted by
aeo
Hi,
Thanks for your good infromation.
As my poor knowledge about the navigation, I can't sure if my understanding is correct or not, I guess "Marlamin project" is to get the map data(CASC file system) from wow, and "thenoobbot" is to read the map data and calculate waypoints form start to end position.
Thanks and any help is appreciate.
-
Contributor
you need to read the game data with CASC explorer. Once you have the game data open you then need to parse the actual terrain data and grab all the verticies and triangles. Once you have all the data you can then pass it to reclass with a bunch of configurations to generate meshes for each tile. You would need to also have some way to read the maps db as well but i think that also exists in marlamins repos.
-
Member
HI,
So sorry for my type error , it should be classic TBC while not retail.
I can't sure if there's any difference between classic TBC and retail
I download an CSAC explorer, it seems that it can "open storage"now ,but I don't know what next step should I do, which tool or project I should to use.
CSAC.jpg
Last edited by bigofsmall; 07-22-2021 at 11:29 AM.
-
Contributor
Did you even click the links I posted? The answer is in there:
TheNoobBot/meshReader/CascLib at master . mmalka/TheNoobBot . GitHub
if you already have a bot with movement and other functionality in place to use nav meshes this should be a somewhat trivial task with just some reading and learning.
-
Member
Originally Posted by
aeo
I'm reading the code and meet some problem, however I'll try to find the reason.
Thanks.
-
Active Member
Relatively easy method to get starting is
1. Get wow export tool
2. Extract the tiles you want
3. Import them in Blender and then export as one obj file per map
4. Import this file in recast demo app
5. Experiment with parameters and create navmesh and test path finding
With this method you can get familiar with the navmesh creation process and learn impact of the parameters on the navmesh.
Here you can learn more about these parameters.
Also, try to study the source code for the recast demo tool.
Most if not all of the pathfinding code in the emulators are base on this demo app which changed it a bit too meet their demands.
This way you will learn the basics you need instead of just using some random code written by others
Cons:
1. Object file does not include liquids mesh.
-
Post Thanks / Like - 2 Thanks
Corthezz,
_chase (2 members gave Thanks to InnerSilence for this useful post)