OBD:OFGA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (changed family)
 
Line 1: Line 1:
{{OBD_File_Header | type=OFGA | prev=OBOA | next=ONCC | name=Object Furn Geom Array | family=Global | align=center}}
{{OBD_File_Header | type=OFGA | prev=OBOA | next=ONCC | name=Object Furn Geom Array | family=Level | align=center}}




[[image:ofga_a.gif]]
[[Image:ofga_a.gif]]




Line 23: Line 23:




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


{{OBD}}
{{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