Ni worked on it some time ago. If you are interested:
At the end I can tell you, it's worthless, you can edit and move the map files, but if the navemesh files doesn't fit the map files you will get strange errors, blocked invisible paths and flying characters. If Joymax don't release their tools or a person with high knowldegde on reverse enginnery do a tool for manage the navemesh and the map files you won't succeed at editing maps.
Let me explain better, you need to edit the map files .m, .o and something else i dont remember right now. with those files u generate the navmesh files and another bunch of files and thats just to move things around and having a consistent map (collision + view wise).
To be able to insert new objects, you need to edit or add the model files .bsr,.bsm,etc, including writing exporters from the modeller app to sro files and do the above all over again.
And the pk2 reader/writer its just to add files to the pk2 wont help you with the rest and doing this by hand its just plain stupid.
But if someone want to dive into this stuff i recommend u read about matrix and transformations, basic knowledge of algebra and trigonometry is a must known
Well navmesh just define the walkable areas of the map, jmx have 2 version of it 1 for dungeons (.dat) and another one for outdoors (.nvm).
Collision u do it like u would do with any game, check if you collide with the model or not but theres alot of info out the in the internet and bunch of libraries to do it too. But in the end all ends too the basic intersection tests, aabbs/lines/triangles/planes/segments all those algorithm are in the internet also.
Another important issue is taking into account orientation and position of the model in the world.
Well navmesh just define the walkable areas of the map, jmx have 2 version of it 1 for dungeons (.dat) and another one for outdoors (.nvm).
Collision u do it like u would do with any game, check if you collide with the model or not but theres alot of info out the in the internet and bunch of libraries to do it too. But in the end all ends too the basic intersection tests, aabbs/lines/triangles/planes/segments all those algorithm are in the internet also.
Another important issue is taking into account orientation and position of the model in the world.
I don't want to be too cheeky, but I'd be happy if you could share some information about the way you did it with your emulator.
which algorithm did you use?
how did you work with the navmesh files? did you decrypted the files and stored it somewhere?
if so, can you share such thing or the program you used to get all of the information?
I know I'm asking much, but I am completely lost and I could really use some help here
Thansk for your reply btw
Edit:
Just noticed your posts on the other thread.. now I feel silly xD
didn't know it was such a big secret, never mind then.. thanks for the information of course!
Well i wont write all the details about it. Just points some stuff.
Well first the navmesh is just a mesh, mesh is a surface subdivided into smaller polygons mainly triangles/quads, its used for AI path finding applications. How to get from point A to point B.
So for the navigation part , AI just use any path finding algorithm, like A* (google it) with each quad vertex as a node for example and u just transverse the generated graph . But for non-AI what i used is just intersect the motion segment (src,dst) with the polygons, that means finding the quad where ur at and moving to the next quad adjacent that intersects the segment, and since ur always moving in a straight line its simple.
That kinda resume it all, in overall, atleast what i did.
Collision wise is more like testing if you collide with each model or not.
About the files i just load them into memory and fit the data to my needs, i didnt want to write a converter kekeke.
How i got the info, hex editor + some experience xD, in the end i wrote my own app to display stuff bcz its easier and theres tons of WTF information out there and bunch of files to just inspect them 1 by 1 =P
Well i wont write all the details about it. Just points some stuff.
Well first the navmesh is just a mesh, mesh is a surface subdivided into smaller polygons mainly triangles/quads, its used for AI path finding applications. How to get from point A to point B.
So for the navigation part , AI just use any path finding algorithm, like A* (google it) with each quad vertex as a node for example and u just transverse the generated graph . But for non-AI what i used is just intersect the motion segment (src,dst) with the polygons, that means finding the quad where ur at and moving to the next quad adjacent that intersects the segment, and since ur always moving in a straight line its simple.
That kinda resume it all, in overall, atleast what i did.
Collision wise is more like testing if you collide with each model or not.
About the files i just load them into memory and fit the data to my needs, i didnt want to write a converter kekeke.
How i got the info, hex editor + some experience xD, in the end i wrote my own app to display stuff bcz its easier and theres tons of WTF information out there and bunch of files to just inspect them 1 by 1 =P
**[S]Need for Speed Wold Acc** 12/26/2010 - Trading - 6 Replies Need for Speed: World Account
Hallo e*pvp com:cool:
ich möchte gerne meinen schon etwas älteren NFS:W Account
verkaufen.Dies ist meine erste Auktion und leider habe ich auch keine Erfahrung damit.
Informationen:
New Wold 2 P-server 05/10/2010 - Metin2 Private Server - 4 Replies Ich habe mit den clite gedownloadet und mein Pc sagt Viren ist das normal ich denke nicht ich habe es von der orginal Hp gedownloadet mhh aber wen es geht schickt ihr mir noch mal link damit ich weis das es echt die richtige ist aber das viren proplem könnt ihr mir dabei helfen
Wold of Cerberus 03/15/2010 - Metin2 Trading - 6 Replies Hi Leute, hier verkauf ich meinen Wold of Cerberus Account.
Daten des Krieger (Mental)
Lvl 86Krieger:
5P´s, 1M
Verwandlung G1 Führung G1
Er hat ein KG
Jetzt zum EQ
Magni+9
I Wold like to join E*PvP 07/01/2009 - Say Hello - 5 Replies Sup im Titrin im from canada and i would like to join E*PvP :cool:
Sun wold sro 06/29/2009 - SRO Private Server - 1 Replies Have european char's?