OBD:ONOA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> ONOA File
{{OBD_File_Header | type=ONOA | prev=ONMA | next=ONSA | name=Object Gunk Array | family=Level | align=center}}




<CENTER>[[OBD:ONMA|<==]] <FONT SIZE=5>ONOA File</FONT> [[OBD:ONSA|==>]]<BR>
[[image:onoa_a.gif]]
<FONT SIZE=2>Object Gunk Array - Level File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/onoa_a.gif
{{Table}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | res_id  |FF0000| 01 A0 02 00 | 672    | 00672-.ONOA }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3      | level 3 }}
{{OBDtr| 0x08 | char[20] |00FF00| AD DE      | dead  | unused }}
{{OBDtr| 0x0C | int32    |00FFFF| 22 01 00 00 | 290    | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | int32    |FFC8C8| 15 19 00 03 | 6421; 3| object ID (first 3 bytes); [[OBD:BINA/OBJC#OBJC types|object type]] (last byte) - the following object types exists:


:0x01 - character
:0x02 - patrol path
:0x03 - door
:0x04 - flag
:0x05 - furniture
:0x08 - particle
:0x09 - powerup
:0x0A - sound
:0x0B - trigger volume
:0x0C - weapon
:0x0D - trigger
:0x0E - turret
:0x0F - console
:0x10 - combat
:0x11 - melee
:0x12 - neutral
}}
{{OBDtr| 0x04 | link    |FFFFC8| 01 1A 02 00 | 673  | link to [[OBD:IDXA_ONOA|00673.IDXA]] }}
|}


<TABLE BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0>
<TR ALIGN=CENTER BGCOLOR="#FFDDBB"><TD WIDTH=15%><B>Hex</B></TD><TD WIDTH=15%><B>Translation</B></TD><TD WIDTH=70%><B>Meaning</B></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">01 A0 02 00</TD><TD>672</TD><TD ALIGN=LEFT>00672-.ONOA</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">01 00 00 06</TD><TD>3</TD><TD ALIGN=LEFT>level 3</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FF00">AD DE</TD><TD>dead</TD><TD ALIGN=LEFT>not used</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FFFF">22 01 00 00</TD><TD>290</TD><TD ALIGN=LEFT>290 packages follow (one package is edged in black)</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"><TD COLSPAN=3><FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT></TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8">15 19</TD><TD>6421</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">00</TD><TD>0</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFC8">03</TD><TD>3</TD><TD ALIGN=LEFT>unknown</TD></TR>
<TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#C8FFFF">01 1A 02 00</TD><TD>673</TD><TD ALIGN=LEFT>link to 00673-.[[OBD:IDXA|IDXA]]</TD></TR>
</TABLE>


Obviously not all object types have coresponding gunk quads. The only object types that are used in ONOA by the original levels are door, furniture, turret, trigger and console. In addition it appears that the engine only searches for door type.


<HR>
<CENTER>[[OBD:ONMA|<==]] <B>ONOA File</B> [[OBD:ONSA|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=ONOA | prev=ONMA | next=ONSA | name=Object Gunk Array | family=Level}}


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> ONOA File
{{OBD}}

Latest revision as of 00:18, 18 July 2010

ONI BINARY DATA
ONMA << Other file types >> ONSA
ONOA : Object Gunk Array
switch to XML:ONOA page
Overview @ Oni Stuff
OBD.png


Onoa a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 A0 02 00 672 00672-.ONOA
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead unused
0x0C int32 22 01 00 00 290 array size
First element (black outline)
0x00 int32 15 19 00 03 6421; 3 object ID (first 3 bytes); object type (last byte) - the following object types exists:
0x01 - character
0x02 - patrol path
0x03 - door
0x04 - flag
0x05 - furniture
0x08 - particle
0x09 - powerup
0x0A - sound
0x0B - trigger volume
0x0C - weapon
0x0D - trigger
0x0E - turret
0x0F - console
0x10 - combat
0x11 - melee
0x12 - neutral
0x04 link 01 1A 02 00 673 link to 00673.IDXA


Obviously not all object types have coresponding gunk quads. The only object types that are used in ONOA by the original levels are door, furniture, turret, trigger and console. In addition it appears that the engine only searches for door type.


ONI BINARY DATA
ONMA << Other file types >> ONSA
ONOA : Object Gunk Array
Level file