![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 46
|
ok first off this is more for people wrighting a emu then server mods, and second lets all get on the same page.
~~~~~~some reading so i dont have to explain it all~~~~~~ http://w ww.gamedev.net/reference/articles/article2003.asp http://w ww.gamasutra.com/features/19970801/pathfinding.htm http://w ww.gamasutra.com/features/20020405/smith_01.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ok as all of you who read the links above (or at least glanced at them) should know im descusing geodata's possable use in npc (and even pc) pathfinding. ok so im goign to jump right into it. now we all know that geodata is made up of a big grid (as review its a 256x256 grid with each grid containing a sub grid of 8x8 to make a total grid of 2048x2048 squares). now if you read any of the posts above you will notice each one says inorder to make something to find a path from point A to point B you need to break up your area into a grid. simple right? then how would one do it with a game as big as l2? then it hit me. the geodata is allredey a grid why not use that!?!? now i know what your thinking. what about the diffrent headder types? each file is not one uniform grid. well does it really need to be? if you read the 3rd link you can just make those 00 type headders as big sectors in your pathnodeing program. becuse we know that all the data in those type of headders are the same (ok so not exactley the same but we know its an open area) why proccess the data more then once when you dont have to? just thought id post my ideas here so i dotn lose track of them. hope this is of some help to others. |
|
|
|
|