OBD:BINA/OBJC/PATR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
{{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }} | {{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }} | ||
{{OBDtr2|0x24 | char[32] |FFC800| Floor1_Stk_1 | patrol path name }} | {{OBDtr2|0x24 | char[32] |FFC800| Floor1_Stk_1 | patrol path name }} | ||
{{OBDtr| 0x44 | int32 |C800C8| 04 00 00 00 | 4 | | {{OBDtr| 0x44 | int32 |C800C8| 04 00 00 00 | 4 | number of path points (grey outline) }} | ||
{{OBDtr| 0x48 | int16 |C87C64| 00 00 | 0 | patrol path ID }} | {{OBDtr| 0x48 | int16 |C87C64| 00 00 | 0 | patrol path ID }} | ||
{{OBDtr| 0x4A | int16 |B0C3D4| 01 00 | 1 | | {{OBDtr| 0x4A | int16 |B0C3D4| 01 00 | 1 | "return to nearest"? }} | ||
{{OBDtrBK|1=First | {{OBDtrBK|1=First path point (grey outline)}} | ||
{{OBDtr| 0x00 | int32 |E7CEA5| 13 00 00 00 | 19 | | {{OBDtr| 0x00 | int32 |E7CEA5| 13 00 00 00 | 19 | path point type; the following types are possible (values in dec): | ||
Line 70: | Line 70: | ||
{{OBDtr| 0x08 | float |EBEBEB| 00 00 A0 42 | 80.000000 | unknown; character roation on the y-axis in degrees? }} | {{OBDtr| 0x08 | float |EBEBEB| 00 00 A0 42 | 80.000000 | unknown; character roation on the y-axis in degrees? }} | ||
|} | |} | ||
;Path points | |||
:A path point always has 20 bytes but the last 16 bytes have different meaning (including being ignored completly) depending on the point's type. | |||
:A path can have at most 64 points. | |||
Revision as of 14:50, 17 June 2008
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | object collection |
0x04 | int32 | B4 1F 00 00 | 8116 | size of the complete patrol path part from this postion in bytes |
0x08 | int32 | 27 00 00 00 | 39 | object collection version |
0x0C | int32 | 78 00 00 00 | 120 | size of the following element in bytes |
First element (black outline) | ||||
0x00 | char[4] | 52 54 41 50 | PATR | patrol path |
0x04 | int32 | 6F 1A 00 00 | 6767 | old file ID |
0x08 | int32 | 00 00 00 00 | 0 | unknown |
0x0C | float | 08 AB 20 44 | 642.672363 | x-position of the patrol path start point |
0x10 | float | E7 26 87 41 | 16.893995 | y-position (height) of the patrol path start point |
0x14 | float | 6C CD BD C3 | -379.604858 | z-position of the patrol path start point |
0x18 | float | 00 00 00 00 | 0.000000 | rotation on the x-axis in degrees |
0x1C | float | 00 00 00 00 | 0.000000 | rotation on the y-axis in degrees |
0x20 | float | 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees |
0x24 | char[32] | Floor1_Stk_1 | patrol path name | |
0x44 | int32 | 04 00 00 00 | 4 | number of path points (grey outline) |
0x48 | int16 | 00 00 | 0 | patrol path ID |
0x4A | int16 | 01 00 | 1 | "return to nearest"? |
First path point (grey outline) | ||||
0x00 | int32 | 13 00 00 00 | 19 | path point type; the following types are possible (values in dec):
|
0x04 | int16 | 58 02 | 600 | sleep time in 1/60 seconds |
0x06 | int16 | CB 00 | 203 | flag ID |
0x08 | float | 00 00 A0 42 | 80.000000 | unknown; character roation on the y-axis in degrees? |
- Path points
- A path point always has 20 bytes but the last 16 bytes have different meaning (including being ignored completly) depending on the point's type.
- A path can have at most 64 points.
- Bluebox screenshots
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
PART << Other OBJC >> PWRU |
PATR : Patrol path |
[[OBD:File types/{{{family}}}|{{{family}}} file]] |