OBD:BINA/OBJC/DOOR: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
m (fixed typo)
No edit summary
Line 9: Line 9:
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | object collection }}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | object collection }}
{{OBDtr| 0x04 | int32    |FFFF00| 15 19 00 00 | 14344    | size of the complete door part from this postion in bytes }}
{{OBDtr| 0x04 | int32    |FFFF00| 15 19 00 00 | 14344    | size of the complete door part from this postion in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | unknown; do not change it }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object collection version }}
{{OBDtr| 0x0C | int32    |00FFFF| FC 00 00 00 | 252      | size of the following element in bytes }}
{{OBDtr| 0x0C | int32    |00FFFF| FC 00 00 00 | 252      | size of the following element in bytes }}
{{OBDtrBK}}
{{OBDtrBK}}

Revision as of 14:08, 2 January 2008

ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
CONS << Other OBJC >> FLAG
DOOR : Door
XML tutorial
Overview @ Oni Stuff
OBD.png


Bin r do.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC object collection
0x04 int32 15 19 00 00 14344 size of the complete door part from this postion in bytes
0x08 int32 27 00 00 00 39 object collection version
0x0C int32 FC 00 00 00 252 size of the following element in bytes
First element (black outline)
0x00 char[4] 52 4F 4F 44 DOOR door
0x04 int32 57 12 00 00 6421 old file ID
0x08 int32 08 00 00 00 8 unknown
0x0C float 00 00 4F 43 207.000000 x-position of the bottom of the door
0x10 float 00 00 D8 42 108.000000 y-position (height) of the bottom of the door
0x14 float 98 7F CC C3 -408.996826 z-position of the bottom of the door
0x18 float 00 00 00 00 0.000000 rotation on the x-axis in degrees
0x1C float 67 85 25 3D 0.040410 rotation on the y-axis in degrees
0x20 float 00 00 00 00 0.000000 rotation on the z-axis in degrees
0x24 char[63] TCdouble door type name (reference to 00957-TCdouble.DOOR of level 0)
0x63 int16 01 00 1 door ID
0x65 int16 00 00 0 unknown
0x67 bitset16 15 00 21, 0 door options; the following bits are possible:


0x0100 - door locked
0x0200 - unknown
0x0400 - unknown
0x0800 - unknown
0x1000 - require player to press action to open door
0x2000 - unknown
0x4000 - unknown
0x8000 - double door
0x0001 - unknown
0x0002 - one way door (one side locked, other side unlocked)
0x0004 - reverse of the one way door (now the other side is locked)
0x0008 - unknown
0x0010 - unknown
0x0020 - unknown
0x0040 - unknown
0x0080 - unknown


0x69 float 00 00 4F 43 207.000000 x-position of the center of the door
0x6D float 00 00 F6 42 123.000000 y-position (height) of the center of the door
0x71 float 98 7F CC C3 -408.996826 z-position of the center of the door
0x75 float 00 00 61 44 900.000000 activation radius
0x79 char[63] _DOOR_RL_FLOOR3 first door texture (reference to 00216-_DOOR_RL_FLOOR3.TXMP)
0xA8 char[68] unused second door texture (reference to a TXMP file)


Bluebox screenshot

221_door_properties.jpg


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
CONS << Other OBJC >> FLAG
DOOR : Door
[[OBD:File types/{{{family}}}|{{{family}}} file]]