OBD:OFGA: Difference between revisions

m
...
m (image link)
m (...)
 
(7 intermediate revisions by 3 users not shown)
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 9: Line 9:
{{OBDtr| 0x00 | res_id  |FF0000| 01 C5 02 00 | 709        | 00709-.OFGA }}
{{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| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0          | level 0 }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead        | unused }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead        | padding }}
{{OBDtr| 0x18 | link    |00FFFF| 00 00 00 00 |unused      | link to an [[OBD:ENVP|ENVP]] file }}
{{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 }}
{{OBDtr| 0x1C | uint32   |FF00FF| 05 00 00 00 | 5          | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | bool32   |FFC8C8| 00 80 01 00 | 01 80 00 00 | identifier for the link below; it's a bitset collection; the following identifiers are used (values in hex):
{{OBDtr| 0x00 | uint32   |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 }}
|}


00 80 01 00 - console stuff and other stuff


00 06 00 00 - console collision part (just a rectangular parallelepiped with the rough dimension of the console)
;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.


00 00 00 00 - "other" stuff, e.g. doors
}}
{{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 OBLS file, never used in Oni }}
|}


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


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

edits