OBD:OFGA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (changed family)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> OFGA
{{OBD_File_Header | type=OFGA | prev=OBOA | next=ONCC | name=Object Furn Geom Array | family=Level | align=center}}




<CENTER>[[OBD:OBOA|<==]] <FONT SIZE=5>OFGA</FONT> [[OBD:ONCC|==>]]<BR>
[[Image:ofga_a.gif]]
<FONT SIZE=2>Object Furn Geom Array - Level 0 file</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/ofga_a.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | res_id  |FF0000| 01 C5 02 00 | 709        | 00709-.OFGA }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0          | level 0 }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead        | unused }}
{{OBDtr| 0x18 | link    |00FFFF| 00 00 00 00 |unused      | link to an [[OBD:ENVP|ENVP]] file }}
{{OBDtr| 0x1C | int32    |FF00FF| 05 00 00 00 | 5          | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | bool32  |FFC8C8| 00 80 01 00 | 00 80 01 00 | same flags as used by [[OBD:AGQG|gunk quads]]; used at import time for geometry that needs to be baked into the environment }}
{{OBDtr| 0x04 | link  |FFFFC8| 01 C6 02 00 | 710    | link to 00710-.[[M3GM]]}}
{{OBDtr| 0x08 | link  |C8FFC8| 00 00 00 00 | 0      | link to an old [[OBD:OBLS|OBLS]] file, never used in Oni }}
|}




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
;Usage
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
:OFGA instances are mostly used by the level editing tool. In game they're rarely used, only to get the bounding box of the geometry.
| WIDTH=15% | <B>Hex</B>
| WIDTH=15% | <B>Translation</B>
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 C5 02 00
| 709
| ALIGN=LEFT | 00709-.OFGA
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 00
| 0
| ALIGN=LEFT | level 0
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| ALIGN=LEFT | [[OBD:ENVP|ENVP]] link
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 05 00 00 00
| 5
| ALIGN=LEFT | 5 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 80 01 00
| 0x18000
| ALIGN=LEFT | bitset - unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 01 C6 02 00
| 710
| ALIGN=LEFT | link to 00710-.[[OBD:M3GM|M3GM]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 00 00
| 0
| ALIGN=LEFT | OBLS link (never used?)
|}
 


<HR>
<CENTER>[[OBD:OBOA|<==]] <B>OFGA</B> [[OBD:ONCC|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=OFGA | prev=OBOA | next=ONCC | name=Object Furn Geom Array | family=Level}}


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

Latest revision as of 21:27, 9 December 2023

ONI BINARY DATA
OBOA << Other file types >> ONCC
OFGA : Object Furn Geom Array
switch to XML:OFGA page
Overview @ Oni Stuff
OBD.png


Ofga a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 C5 02 00 709 00709-.OFGA
0x04 lev_id 01 00 00 00 0 level 0
0x08 char[16] AD DE dead unused
0x18 link 00 00 00 00 unused link to an ENVP file
0x1C int32 05 00 00 00 5 array size
First element (black outline)
0x00 bool32 00 80 01 00 00 80 01 00 same flags as used by gunk quads; used at import time for geometry that needs to be baked into the environment
0x04 link 01 C6 02 00 710 link to 00710-.M3GM
0x08 link 00 00 00 00 0 link to an old OBLS file, never used in Oni


Usage
OFGA instances are mostly used by the level editing tool. In game they're rarely used, only to get the bounding box of the geometry.


ONI BINARY DATA
OBOA << Other file types >> ONCC
OFGA : Object Furn Geom Array
Level file