OBD:BINA/OBJC/CONS: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 61: Line 61:
| bgcolor="#C87C64" | 08 00
| bgcolor="#C87C64" | 08 00
| 8
| 8
| align="LEFT" | unknown
| align="LEFT" | console options; it is a bitset, see below
|-
|-
| colspan="2" bgcolor="#B0C3D4" | <tt>_con_INFO</tt>
| colspan="2" bgcolor="#B0C3D4" | <tt>_con_INFO</tt>
Line 74: Line 74:
| bgcolor="#64AAAA" | 01 00
| bgcolor="#64AAAA" | 01 00
| 1
| 1
| align="LEFT" | unknown
| align="LEFT" | amount of blocks that follow
|-
| colspan="3" |'''first block'''
|-
|-
| bgcolor="#EBEBEB" | 01 00
| bgcolor="#EBEBEB" | 01 00
| 1
| 1
| align="LEFT" | unknown
| align="LEFT" | block option ID; see below
|-
|-
| colspan="2" bgcolor="#8C8CCC" | <tt>level3c</tt>
| colspan="2" bgcolor="#8C8CCC" | <tt>level3c</tt>
| align="LEFT" | script function called up when the console is used
| align="LEFT" | script function called up when the console is used
|-
| colspan="3" |'''end of the first block'''
|-
|}
|}
|}
|}
 
;block option IDs
:01 - execute script - this one is "32 byte string", rest is "short"
:02 - activate turret
:03 - deactivate turret
:04 - activate console
:05 - deactivate console
:06 - activate alarm
:07 - deactivate alarm
:08 - activate trigger
:09 - deactivate trigger
:0a - lock door
:0b - unlock door
;console options
:00 -  console deactivated
:01 -  unknown
:02 -  unknown
:04 -  unknown
:08 -  console activated
:10 -  unknown
:20 -  use punch animation
:40 -  unknown
:80 -  unknown


----
----

Revision as of 18:48, 3 December 2006

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




bin_r_co.gif


Hex Translation Meaning
53 4E 4F 43 CONS console
57 12 00 00 5463 old file ID
08 00 00 00 8 unknown
71 0C 6C 44 944.194396 x-position of the spawn point of the console
00 00 D8 C1 -27.000000 y-position (height) of the spawn point of the console
68 05 EB 41 29.377639 z-position of the spawn point of the console
42 FD 17 38 0.000036 rotation on the x-axis in degrees
00 00 87 43 270.000000 rotation on the y-axis in degrees
00 00 00 00 0.000000 rotation on the z-axis in degrees
console_data link by name to global console class (console_data.CONS)
01 00 1 console ID
08 00 8 console options; it is a bitset, see below
_con_INFO "console deactivated" texture : link by name to global texture _CON_INFO.TXMP
_con_INFO "console activated" texture : link by name to global texture _CON_INFO.TXMP
_con_INFO "console used" texture : link by name to global texture _CON_INFO.TXMP
01 00 1 amount of blocks that follow
first block
01 00 1 block option ID; see below
level3c script function called up when the console is used
end of the first block
block option IDs
01 - execute script - this one is "32 byte string", rest is "short"
02 - activate turret
03 - deactivate turret
04 - activate console
05 - deactivate console
06 - activate alarm
07 - deactivate alarm
08 - activate trigger
09 - deactivate trigger
0a - lock door
0b - unlock door
console options
00 - console deactivated
01 - unknown
02 - unknown
04 - unknown
08 - console activated
10 - unknown
20 - use punch animation
40 - unknown
80 - unknown


Template:OBD TXT



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]]