![]() |
|
|
#51 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
my problem is in index1...8 ? it's 8 integers pointing to 8 nodes. which nodes? what does the index shows? node number ? what ?
|
|
|
|
|
#52 |
|
Архивный участник
Join Date: Feb 2006
Posts: 88
|
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... |
|
|
|
|
#53 |
|
Архивный участник
Join Date: Nov 2005
Posts: 85
|
new geo 23_18 generated by hd generator -pathnode work great... no problems :-)
|
|
|
|
|
#54 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
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.
|
|
|
|
|
#55 |
|
Архивный участник
Join Date: Feb 2006
Posts: 88
|
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
|
|
|
|
|
#56 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
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 |
|
|
|
|
#57 |
|
Архивный участник
Join Date: Feb 2006
Posts: 88
|
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 |
|
|
|
|
#58 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
yes but we first need to answer this question and THEN link the nodes, i think it will have better results
|
|
|
|
|
#59 |
|
Архивный участник
Join Date: Jul 2006
Posts: 1
|
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. ) |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|