OBD:BINA/OBJC/CONS
Jump to navigation
Jump to search
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | object collection |
0x04 | int32 | 4C 0E 00 00 | 5463 | size of the complete combat part from this postion in bytes |
0x08 | int32 | 27 00 00 00 | 39 | unknown; do not change it |
0x0C | int32 | 48 01 00 00 | 328 | size of the following element in bytes |
First element (black outline) | ||||
0x00 | char[4] | 53 4E 4F 43 | CONS | console |
0x04 | int32 | 57 12 00 00 | 5463 | old file ID |
0x08 | int32 | 08 00 00 00 | 8 | unknown |
0x0C | float | 71 0C 6C 44 | -223.332321 | x-position of unknown |
0x10 | float | 00 00 D8 C1 | 17.832436 | y-position (height) of unknown |
0x14 | float | 68 05 EB 41 | -116.511253 | z-position of unknown |
0x18 | float | 42 FD 17 38 | 0.000000 | rotation on the x-axis in degrees |
0x1C | float | 00 00 87 43 | 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[64] | Stand_and_Fire | space for notes | |
0x64 | int32 | 00 00 00 00 | 0 | combat ID (looked up from Character.BINA) |
- Example used is CJBOConsole.BINA from level3_Final
- First console object (black outline) listed below
|
- Console events
- The number of events is specified at 0x124, first event starts at 0x126
- Event consists of a short (event type) and of a parameter (either another short or a 32-byte string)
- (see below for the event types and the corresponding parameters)
- If necessary (i.e., if there are no events, of if there is an even number of script events),
- the CONS object is completed to a 4-byte multiple size by means of another (null) short.
- Console event ID - description - event parameter type
- 0x01 - execute script - char[32]
- 0x02 - activate turret - short
- 0x03 - deactivate turret - short
- 0x04 - activate console - short
- 0x05 - deactivate console - short
- 0x06 - activate alarm - short
- 0x07 - deactivate alarm - short
- 0x08 - activate trigger - short
- 0x09 - deactivate trigger - short
- 0x0A - lock door - short
- 0x0B - unlock door - short
- Console options bitset
- 0x01 - unknown, never used
- 0x02 - unknown, never used
- 0x04 - unknown, never used
- 0x08 - console active at level load
- 0x10 - unknown, never used
- 0x20 - use punch animation (??? geyser); KONOKOconsole_punch animation is used, maybe relict of multiplayer Loser
- 0x40 - alarm console flag, AI2 can search for and use this console ON ITS OWN (no scripting) when certain conditions (CMBT alarm behavior) are met
- 0x80 - unknown, never used
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
CMBT << Other OBJC >> DOOR |
CONS : Console |
[[OBD:File types/{{{family}}}|{{{family}}} file]] |