Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.03.2006, 13:41   #51
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

my problem is in index1...8 ? it's 8 integers pointing to 8 nodes. which nodes? what does the index shows? node number ? what ?
Mirror is offline  
Old 23.03.2006, 15:47   #52
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

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...
Xellos is offline  
Old 23.03.2006, 15:56   #53
cool_santino
Архивный участник
 
Join Date: Nov 2005
Posts: 85
Default

new geo 23_18 generated by hd generator -pathnode work great... no problems :-)
cool_santino is offline  
Old 23.03.2006, 15:58   #54
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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.
Mirror is offline  
Old 23.03.2006, 16:20   #55
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

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
Xellos is offline  
Old 23.03.2006, 16:24   #56
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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
Mirror is offline  
Old 23.03.2006, 17:20   #57
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

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
Xellos is offline  
Old 23.03.2006, 17:34   #58
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

yes but we first need to answer this question and THEN link the nodes, i think it will have better results
Mirror is offline  
Old 10.07.2006, 17:57   #59
NoICE
Архивный участник
 
Join Date: Jul 2006
Posts: 1
Default

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. )
NoICE 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 14:58.