PDA

View Full Version : Format of the grid table?


Windcatcher
02-15-2003, 10:19 AM
I was wondering if any of the devs could post what kind of data is expected to be in the grid table. Basically I'm looking for a thorough explanation (if it isn't already posted elsewhere), because I had a wild thought...

When capturing spawn data, we wind up with a lot of duplicates. I was wondering if the admin tool could make use of this data to automatically figure out waypoints, and give the user a way to either change their order or delete suprious ones, then automatically fill in pathing information for a given mob. Since the spawn data has full x,y,z values, it seems theoretically possible. After putting in the new feature in 3.4 of the tool, I realized that with certain mobs you could see their track throughout the zone. Some points would be spurious, as they would result in the mob interacting with players or other NPCs, but it seems that the user could take all of the points, tweak their order, unflag the ones that don't make sense, all the while having the tool show the path the NPC would take. When the user is done they could click a "make path" button and the tool could wipe any existing path for that spawn group and put in the new one.

Thoughts?

DeletedUser
02-15-2003, 02:33 PM
Here is the format for the grid table:

id = integer that is the grid number.
type = integer that is the type of grid (random/patrol, just like the command's #)
type2 = pause type (just like the command's #)
wp1...wp50 = text

the wp1...wp50 store each waypoint. They go in an easy format

xposition yposition zposition pause

The 3 positions are floats. pause is an integer.
They have a space between them.

example:
100.93 218.31 -103.20 25

That would be:
x=100.93
y=218.31
z= -103.20
pause = 25

Hope that helps.

just_add_water
02-16-2003, 08:29 AM
That would be VERY VERY cool and insanely helpful.

Windcatcher
02-16-2003, 09:33 AM
Go get version 3.7 of the admin tool. It has all the goodies and bugfixes.

WC