Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.10.2005, 05:29   #1
fflam
Архивный участник
 
Join Date: Jun 2005
Posts: 46
Default what geodata is used for.

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.
fflam is offline  
Old 01.10.2005, 06:17   #2
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

I had to edit the link because... well lets just say I've known people that run these sites and I know the seedy shit they pull sometimes.
flakka is offline  
Old 01.10.2005, 07:42   #3
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

fflam: the pathfinding is managed with pathnode.bin file.
Geodatas validates positions, and obstacles.
elcapo is offline  
Old 01.10.2005, 17:23   #4
fflam
Архивный участник
 
Join Date: Jun 2005
Posts: 46
Default

yes the data is stored and used formt eh pathnode.bin file. but the raw data has to be taken and created from somethign on server start up. if not then even if you changed the geodata then npc's would still try to pat though points that you have made impassable. example. npcs stay out of houses that are scattered about the landscape. but walk right though buildings that thay added in teh leto lizzard man area.
fflam is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:07.