OBD:OBOA
Main Page >> Oni Binary Data >> File Types >> OBOA File
Starting Object Array - Level File
Hex | Translation | Meaning |
01 55 02 00 | 597 | 00597-.OBOA |
01 00 00 06 | 3 | level 3 |
AD DE | dead | not used |
62 00 | 98 | 98 packages follow (one package is edged in black) |
Below follows the first package. | ||
01 56 02 00 | 598 | link to 00598-.M3GA |
00 00 00 00 | not used | link to a OBAN file |
00 00 00 00 | not used | link to a ENVP file |
00 | 0 | unknown |
12 | 18 | unknown |
00 | 0 | unknown |
00 | 0 | unknown |
46 | 70 | unknown |
89 | 137 | unknown |
00 | 0 | unknown |
00 | 0 | unknown |
01 | 1 | unknown |
00 | 0 | unknown |
00 | 0 | unknown |
00 | 0 | unknown |
00 00 00 00 | 0 | unknown |
FF FF 00 00 | not used | object ID; only used if the object has an OBAN link |
00 00 4F 43 | 207.000000 | initial x-position |
1F 05 F6 42 | 123.010002 | initial y-position (height) |
98 7F CC C3 | -408.996826 | initial z-position |
F2 04 35 3F | 0.707107 | x component of the initial rotation quaternion |
74 BC 82 B9 | -0.000249 | y component of the initial rotation quaternion |
74 BC 82 B9 | -0.000249 | z component of the initial rotation quaternion |
F3 04 35 3F | 0.707107 | w component of the initial rotation quaternion |
00 00 80 3F | 1.000000 | initial scale of the object |
FC FF 7F 3F | 0.999999 | m11 element of the initial position transform matrix |
00 00 00 00 | 0.000000 | m21 element of the initial position transform matrix |
8A E3 38 BA | -0.000705 | m31 element of the initial position transform matrix |
8A E3 38 BA | -0.000705 | m12 element of the initial position transform matrix |
2E DE 4C 32 | 1.192488e-8 | m22 element of the initial position transform matrix |
FC FF 7F BF | -0.999999 | m32 element of the initial position transform matrix |
C9 F5 13 2D | 8.410557e-12 | m13 element of the initial position transform matrix |
00 00 80 3F | 1.000000 | m23 element of the initial position transform matrix |
2B DE 4C 32 | 1.192487e-8 | m33 element of the initial position transform matrix |
00 00 4F 43 | 207.000000 | m14 element of the initial position transform matrix (x-position) |
1F 05 F6 42 | 123.000000 | m24 element of the initial position transform matrix (y-position, height) |
98 7F CC C3 | -408.996826 | m34 element of the initial position transform matrix (z-position) |
object_door_1 | name of the object | |
L3_Gunk.ENV | unknown; maybe an old development relict |
Elements m41, m42, m43, m44 of both transform matrices are missing. m41, m42 and m43 are the projection transform coefficients and they are not needed so they are 0.0 and the m44 element is always 1.0 for a transform matrix. (column major transform matrices like in Open GL, for Direct 3D they need to be transposed)
The initial position transform is used the place the object in the environment. For object that have an animation attached to them this is also the starting position of the animation sequence. The initial x,y and z position value together with the initial rotation quaternion and the initial scale factor contain basically the same information as the initial transform matrix and combining them in a transform matrix should result in the initial transform matrix (less the differences due to floating point computation errors)
Main Page >> Oni Binary Data >> File Types >> OBOA File