Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ [Q] Why mobs almost always "lost" paths? AI or HEX (https://postpacific.mmorpg-game.online/showthread.php?t=3740)

Mirror 23.03.2006 13:41

my problem is in index1...8 ? it's 8 integers pointing to 8 nodes. which nodes? what does the index shows? node number ? what ?

Xellos 23.03.2006 15:47

its an ONEdimensional array

node[0] <-- the empty thing
node[1] <-- here starts the first real node
node[2]
node[3]
node[4]
...
node[2345623]

===

when node1 is:
x = 23476
y = 76542
z = -3600
index1 = 1 ---> node[1]
index2 = 3 ---> node[3]
index3 = 7 ---> node[7]
index4 = 9 ---> node[9]
index5 = 0 - nothing
index6 = 0 - nothing
index7 = 0 - nothing
index8 = 0 - nothing

the index is directly used as the index into this array...

cool_santino 23.03.2006 15:56

new geo 23_18 generated by hd generator -pathnode work great... no problems :-)

Mirror 23.03.2006 15:58

ok so hm for big areas without obstacles we place no nodes ? i saw in that hdinside pathnode that for such areas there existed every 256 units i think and an X type link of their corners.

Xellos 23.03.2006 16:20

yes, only few nodes for such areas and a node every 2 subcells around obstacles

nice to view ingame... all the wooden arrows with the numbers ;)

Mirror 23.03.2006 16:24

so we still don't know what is the third number in .idx, first two numbers is grid of geo every 2 subcells, making them 128*128 per geo. but third number is still a mystery

edit : and it just dawned to me that we can add things in the end of pathnode.bin since there is no hierarchy, no need to rebuild for areas that haven't changed

edit2 : and one more question xellos, how near should the player/mob be to the node coords so it is considered that it is ON the node so it can follow the path-link to the next one ? i mean how big is the radius of each node..it's area

Xellos 23.03.2006 17:20

that's another question
how does the l2server determines the nearest node

but i guess that this is the prob with some maps and new build pathnodes

Mirror 23.03.2006 17:34

yes but we first need to answer this question and THEN link the nodes, i think it will have better results :)

NoICE 10.07.2006 17:57

I tried once to make a map on UT engine... it was small map, two rooms connected with hallway...
when i pressed "Build pathnode" it tooks on my athlon 1700+ at least 10 minutes. The engine calculates all things around etc.

If you want to know if pathnode have radius, run UE editor and place one, select propertioes of it... you will see what it exactly have.
(i can't, i dont have UE engine installed right now. )


All times are GMT. The time now is 16:41.