OBD:BINA/OBJC/FURN: Difference between revisions
Jump to navigation
Jump to search
m (design) |
m (added family to footer template call) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD OBJC Header | align=center | type=FURN | prev=FLAG | next=MELE | name=Furniture}} | {{OBD OBJC Header | align=center | type=FURN | prev=FLAG | next=MELE | name=Furniture | stuff=b_fu}} | ||
[[ | [[Image:bin_r_fu.gif]] | ||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | ||
{{OBDtr| 0x04 | int32 |FFFF00| 60 A7 00 00 | 42848 | size of the complete | {{OBDtr| 0x04 | int32 |FFFF00| 60 A7 00 00 | 42848 | size of the complete furniture part from this position in bytes }} | ||
{{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | | {{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} | ||
{{OBDtr| 0x0C | int32 |00FFFF| 74 00 00 00 | 116 | size of the following element in bytes }} | {{OBDtr| 0x0C | int32 |00FFFF| 74 00 00 00 | 116 | size of the following element in bytes }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
Line 21: | Line 21: | ||
{{OBDtr| 0x1C | float |FFC8FF| B0 02 B2 43 | 356.020996 | rotation on the y-axis in degrees }} | {{OBDtr| 0x1C | float |FFC8FF| B0 02 B2 43 | 356.020996 | rotation on the y-axis in degrees }} | ||
{{OBDtr| 0x20 | float |FFC8FF| 2F 1D 32 43 | 178.113998 | rotation on the z-axis in degrees }} | {{OBDtr| 0x20 | float |FFC8FF| 2F 1D 32 43 | 178.113998 | rotation on the z-axis in degrees }} | ||
{{OBDtr2|0x24 | char[32] |FFC800| _tctf_bigvan | furniture type name (reference to an [[OBD: | {{OBDtr2|0x24 | char[32] |FFC800| _tctf_bigvan | furniture type name (reference to an [[OBD:OFGA|OFGA]] file) }} | ||
{{OBDtr2|0x44 | char[48] |C800C8| unused | locklight tag name }} | {{OBDtr2|0x44 | char[48] |C800C8| unused | locklight tag name }} | ||
|} | |} | ||
Line 27: | Line 27: | ||
;NOTE | ;NOTE | ||
:CJBO'''Furniture'''.OBJC files are an old development | :CJBO'''Furniture'''.OBJC files are an old development relic, because the furniture is "baked" into the level model. | ||
:Oni still parses these files (see | :Oni still parses these files (see debugger.txt file in your Oni folder), but you can disable them and use their raw/separate file data part in whichever way you like (e.g. to create a larger list of characters, flags, trigvolumes, whatever). | ||
:There ''is'' a separation between "furniture" and other parts of the environment (quads are flagged as glass/furniture/etc). | :There ''is'' a separation between "furniture" and other parts of the environment (quads are flagged as glass/furniture/etc.). | ||
:The furniture [[OBD: | :The furniture [[OBD:OFGA|OFGA]] files aren't a part of the regular Oni files. They are stored in the unused [[level0_Tools]] files. | ||
; | ;Tool Mode dialog | ||
[[Image:Tool dialog - Furniture Properties.png]] | |||
{{OBD OBJC Footer | type=FURN | prev=FLAG | next=MELE | name=Furniture | family=Level}} | |||
{{OBD | {{OBD}} |
Latest revision as of 21:18, 9 December 2023
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | objects |
0x04 | int32 | 60 A7 00 00 | 42848 | size of the complete furniture part from this position in bytes |
0x08 | int32 | 27 00 00 00 | 39 | object list version |
0x0C | int32 | 74 00 00 00 | 116 | size of the following element in bytes |
First element (black outline) | ||||
0x00 | char[4] | 4E 52 55 46 | FURN | furniture |
0x04 | int32 | F5 0E 00 00 | 3829 | old file ID |
0x08 | int32 | 08 00 00 00 | 8 | unknown |
0x0C | float | 9C C4 7A C2 | -62.692001 | x-position of the furniture |
0x10 | float | 00 00 E8 C1 | -29.000000 | y-position (height) of the furniture |
0x14 | float | 33 B3 D8 42 | 108.349998 | z-position of the furniture |
0x18 | float | A2 85 35 43 | 181.522003 | rotation on the x-axis in degrees |
0x1C | float | B0 02 B2 43 | 356.020996 | rotation on the y-axis in degrees |
0x20 | float | 2F 1D 32 43 | 178.113998 | rotation on the z-axis in degrees |
0x24 | char[32] | _tctf_bigvan | furniture type name (reference to an OFGA file) | |
0x44 | char[48] | unused | locklight tag name |
- NOTE
- CJBOFurniture.OBJC files are an old development relic, because the furniture is "baked" into the level model.
- Oni still parses these files (see debugger.txt file in your Oni folder), but you can disable them and use their raw/separate file data part in whichever way you like (e.g. to create a larger list of characters, flags, trigvolumes, whatever).
- There is a separation between "furniture" and other parts of the environment (quads are flagged as glass/furniture/etc.).
- The furniture OFGA files aren't a part of the regular Oni files. They are stored in the unused level0_Tools files.
- Tool Mode dialog
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
FLAG << Other OBJC >> MELE |
FURN : Furniture |
Level file |