OBD:BINA/OBJC/CONS: Difference between revisions
Jump to navigation
Jump to search
m (deleted sentences) |
m (changed "position of unknown" to "position of console") |
||
Line 15: | Line 15: | ||
{{OBDtr| 0x004 | int32 |FFFFC8| 57 12 00 00 | 5463 | old file ID }} | {{OBDtr| 0x004 | int32 |FFFFC8| 57 12 00 00 | 5463 | old file ID }} | ||
{{OBDtr| 0x008 | int32 |C8FFC8| 08 00 00 00 | 8 | unknown }} | {{OBDtr| 0x008 | int32 |C8FFC8| 08 00 00 00 | 8 | unknown }} | ||
{{OBDtr| 0x00C | float |C8FFFF| 71 0C 6C 44 | 944.194396| x-position of | {{OBDtr| 0x00C | float |C8FFFF| 71 0C 6C 44 | 944.194396| x-position of the console }} | ||
{{OBDtr| 0x010 | float |C8FFFF| 00 00 D8 C1 | -27.000000| y-position (height) of | {{OBDtr| 0x010 | float |C8FFFF| 00 00 D8 C1 | -27.000000| y-position (height) of the console }} | ||
{{OBDtr| 0x014 | float |C8FFFF| 68 05 EB 41 | 29.377639 | z-position of | {{OBDtr| 0x014 | float |C8FFFF| 68 05 EB 41 | 29.377639 | z-position of the console }} | ||
{{OBDtr| 0x018 | float |FFC8FF| 42 FD 17 38 | 0.000036 | rotation on the x-axis in degrees }} | {{OBDtr| 0x018 | float |FFC8FF| 42 FD 17 38 | 0.000036 | rotation on the x-axis in degrees }} | ||
{{OBDtr| 0x01C | float |FFC8FF| 00 00 87 43 | 270.000000| rotation on the y-axis in degrees }} | {{OBDtr| 0x01C | float |FFC8FF| 00 00 87 43 | 270.000000| rotation on the y-axis in degrees }} | ||
Line 33: | Line 33: | ||
:0x10 - unknown, never used | :0x10 - unknown, never used | ||
:0x20 - use punch animation (KONOKOconsole_punch.[[OBD:TRAM|TRAM]]) | :0x20 - use punch animation (KONOKOconsole_punch.[[OBD:TRAM|TRAM]]) | ||
:0x40 - alarm console flag; AI can search for the console and use it ON ITS OWN (no scripting) when certain conditions ([[OBD:BINA/OBJC/CMBT#Alarm part|CMBT]] alarm behavior) are | :0x40 - alarm console flag; AI can search for the console and use it ON ITS OWN (no scripting) when certain conditions ([[OBD:BINA/OBJC/CMBT#Alarm part|CMBT]] alarm behavior) are met | ||
:0x80 - unknown, never used | :0x80 - unknown, never used | ||
Revision as of 19:07, 21 September 2007
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x000 | char[4] | 43 4A 42 4F | OBJC | object collection |
0x004 | int32 | 4C 0E 00 00 | 5463 | size of the complete combat part from this postion in bytes |
0x008 | int32 | 27 00 00 00 | 39 | unknown; do not change it |
0x00C | int32 | 48 01 00 00 | 328 | size of the following element in bytes |
First element (black outline) | ||||
0x000 | char[4] | 53 4E 4F 43 | CONS | console |
0x004 | int32 | 57 12 00 00 | 5463 | old file ID |
0x008 | int32 | 08 00 00 00 | 8 | unknown |
0x00C | float | 71 0C 6C 44 | 944.194396 | x-position of the console |
0x010 | float | 00 00 D8 C1 | -27.000000 | y-position (height) of the console |
0x014 | float | 68 05 EB 41 | 29.377639 | z-position of the console |
0x018 | float | 42 FD 17 38 | 0.000036 | rotation on the x-axis in degrees |
0x01C | float | 00 00 87 43 | 270.000000 | rotation on the y-axis in degrees |
0x020 | float | 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees |
0x024 | char[63] | console_data | console type name (reference to 00761-console_data.CONS of level 0) | |
0x063 | int16 | 01 00 | 1 | console ID |
0x065 | bitset16 | 08 00 | 8 | console options; the following bits are possible:
|
0x067 | char[63] | _con_INFO | "console deactivated" texture name (reference to 00800-_CON_INFO.TXMP of level 0) | |
0x0A6 | char[63] | _con_INFO | "console activated" texture name (reference to 00800-_CON_INFO.TXMP of level 0) | |
0x0E5 | char[63] | _con_INFO | "console used" texture name (reference to 00800-_CON_INFO.TXMP of level 0) | |
0x124 | int16 | 01 00 | 1 | amount of console events |
First event (grey outline) | ||||
0x126 | int16 | 01 00 | 1 | console event type; the following types are possible (values in dec):
|
0x128 | char[32] | level3c | console event parameter (see below); here, string to be fed to the script engine |
- Console events
- 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.
- Bluebox screenshot
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]] |