OBD:AKVA: Difference between revisions
| No edit summary | m (hot stuff) | ||
| Line 1: | Line 1: | ||
| {{OBD_File_Header|align=center|type=AKVA|prev=AKOT|next=BINA|name=BNV Node Array|family=Level|onistuff=akva}} | |||
| ---- | |||
| :BNVs are volumes that have a pathfinding grid assigned to them. | |||
| :The grid itself is in the RAW, while its overall parameters are in the DAT. | |||
| Line 29: | Line 28: | ||
| | BGCOLOR="#00FFFF" | 1E 01 00 00 | | BGCOLOR="#00FFFF" | 1E 01 00 00 | ||
| | 286 | | 286 | ||
| | ALIGN=LEFT | 286 packages follow ( | | ALIGN=LEFT | 286 packages (BNVs) follow; first package (BNV) outlined in black | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000" | ||
| | COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF"> | | COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">First package (BNV) detailed below</FONT> | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#FFC8C8" | 00 00 00 00 | | BGCOLOR="#FFC8C8" | 00 00 00 00 | ||
| Line 39: | Line 38: | ||
| | BGCOLOR="#FFFFC8" | 00 00 00 00 | | BGCOLOR="#FFFFC8" | 00 00 00 00 | ||
| | 0 | | 0 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | BNV's ID | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#C8FFC8" | 00 00 00 00 | | BGCOLOR="#C8FFC8" | 00 00 00 00 | ||
| Line 63: | Line 62: | ||
| | BGCOLOR="#C87C64" | C9 00 00 00 | | BGCOLOR="#C87C64" | C9 00 00 00 | ||
| | 201 | | 201 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | size of the pathfinding grid along x : 201 tiles  | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#B0C3D4" | 16 00 00 00 | | BGCOLOR="#B0C3D4" | 16 00 00 00 | ||
| | 22 | | 22 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | size of the pathfinding grid along z : 22 tiles  | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#E7CEA5" | A0 3A 47 00 | | BGCOLOR="#E7CEA5" | A0 3A 47 00 | ||
| | 47 3A A0 | | 47 3A A0 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | offset of the [[OBD:AKVA0|pathfinding grid data]] in the RAW file | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#FFDDDD" | F7 01 00 00 | | BGCOLOR="#FFDDDD" | F7 01 00 00 | ||
| | 503 | | 503 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | offset of the [[OBD:AKVA0|pathfinding grid data]] in the RAW file (in bytes) | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#64AAAA" | 00 00 80 40 | | BGCOLOR="#64AAAA" | 00 00 80 40 | ||
| | 4.000000 | | 4.000000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | tile size of the pathfinding grid | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#EBEBEB" | 00 00 20 41 | | BGCOLOR="#EBEBEB" | 00 00 20 41 | ||
| | 10.000000 | | 10.000000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | xmin | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#8C8CCC" | 00 00 58 C1 | | BGCOLOR="#8C8CCC" | 00 00 58 C1 | ||
| | -13.500000 | | -13.500000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | ymin | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#FF00C8" | 00 80 2A C4 | | BGCOLOR="#FF00C8" | 00 80 2A C4 | ||
| | -682.000000 | | -682.000000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | zmin | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#F0F096" | 00 40 47 44 | | BGCOLOR="#F0F096" | 00 40 47 44 | ||
| | 797.000000 | | 797.000000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | xmax | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#00C864" | 00 00 22 42 | | BGCOLOR="#00C864" | 00 00 22 42 | ||
| | 40.500000 | | 40.500000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | ymax | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#00C8FF" | 00 00 19 C4 | | BGCOLOR="#00C8FF" | 00 00 19 C4 | ||
| | 612.000000 | | 612.000000 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | zmax | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#C80040" | FE FF | | BGCOLOR="#C80040" | FE FF | ||
| Line 115: | Line 114: | ||
| | BGCOLOR="#C8C864" | 00 00 00 00 | | BGCOLOR="#C8C864" | 00 00 00 00 | ||
| | 0 | | 0 | ||
| | ALIGN=LEFT |  | | ALIGN=LEFT | BNV's ID again | ||
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| | BGCOLOR="#0096C8" | 00 00 00 00 | | BGCOLOR="#0096C8" | 00 00 00 00 | ||
| Line 153: | Line 152: | ||
| | ALIGN=LEFT | unknown | | ALIGN=LEFT | unknown | ||
| |} | |} | ||
| ;xmin, ymin, zmin, xmax, ymax, zmax | |||
| :BNVs are axis-aligned boxes, so the coordinates of two opposed corners define a BNV completely. | |||
| :It makes sense to specify a "minimal" corner and a "maximal" corner, in that order. | |||
| ;Still unknown and probably important | |||
| :The grid usually "bleeds" outside the (x,z) extent of the BNV. | |||
| :The amount of bleeding is defined by the grid's size (in tiles) and by the size of a tile. | |||
| :The only unknown is the offset of the grid with respect to the center of the BNV's base. | |||
| :I suppose it's specified by some of the unknown floats. Didn't check. | |||
| :I don't remember seeing a ''rotated'' BNV, but there could be some of those. | |||
| ::[[User:Geyser|geyser]] 20:02, 28 December 2006 (CET) | |||
| ---- | |||
| {{OBD_File_Footer|align=center|type=AKVA|prev=AKOT|next=BINA|name=BNV Node Array|family=Level|onistuff=akva}} | |||
Revision as of 19:02, 28 December 2006
| 
 |  |   | 
- BNVs are volumes that have a pathfinding grid assigned to them.
- The grid itself is in the RAW, while its overall parameters are in the DAT.
 
| Hex | Translation | Meaning | 
| 01 4E 02 00 | 590 | 00590-.AKVA | 
| 01 00 00 06 | 3 | level 3 | 
| AD DE | dead | not used | 
| 1E 01 00 00 | 286 | 286 packages (BNVs) follow; first package (BNV) outlined in black | 
| First package (BNV) detailed below | ||
| 00 00 00 00 | 0 | unknown | 
| 00 00 00 00 | 0 | BNV's ID | 
| 00 00 00 00 | 0 | unknown | 
| 06 00 00 00 | 6 | unknown | 
| FF FF FF FF | unknown | unknown | 
| FF FF FF FF | unknown | unknown | 
| FF FF FF FF | unknown | unknown | 
| C9 00 00 00 | 201 | size of the pathfinding grid along x : 201 tiles | 
| 16 00 00 00 | 22 | size of the pathfinding grid along z : 22 tiles | 
| A0 3A 47 00 | 47 3A A0 | offset of the pathfinding grid data in the RAW file | 
| F7 01 00 00 | 503 | offset of the pathfinding grid data in the RAW file (in bytes) | 
| 00 00 80 40 | 4.000000 | tile size of the pathfinding grid | 
| 00 00 20 41 | 10.000000 | xmin | 
| 00 00 58 C1 | -13.500000 | ymin | 
| 00 80 2A C4 | -682.000000 | zmin | 
| 00 40 47 44 | 797.000000 | xmax | 
| 00 00 22 42 | 40.500000 | ymax | 
| 00 00 19 C4 | 612.000000 | zmax | 
| FE FF | 64534 | unknown | 
| FE FF | 64534 | unknown | 
| 00 00 00 00 | 0 | BNV's ID again | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 04 00 00 00 | 4 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
| 00 00 00 00 | 0.000000 | unknown | 
- xmin, ymin, zmin, xmax, ymax, zmax
- BNVs are axis-aligned boxes, so the coordinates of two opposed corners define a BNV completely.
- It makes sense to specify a "minimal" corner and a "maximal" corner, in that order.
- Still unknown and probably important
- The grid usually "bleeds" outside the (x,z) extent of the BNV.
- The amount of bleeding is defined by the grid's size (in tiles) and by the size of a tile.
- The only unknown is the offset of the grid with respect to the center of the BNV's base.
- I suppose it's specified by some of the unknown floats. Didn't check.
- I don't remember seeing a rotated BNV, but there could be some of those.
- geyser 20:02, 28 December 2006 (CET)
 
| ONI BINARY DATA | 
|---|
| AKOT << Other file types >> BINA | 
| AKVA : BNV Node Array | 
| Level file |