OBD:BINA/OBJC/FURN: Difference between revisions

m
added family to footer template call
No edit summary
 
m (added family to footer template call)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Furniture.BINA
{{OBD OBJC Header | align=center | type=FURN | prev=FLAG | next=MELE | name=Furniture | stuff=b_fu}}




<CENTER>[[OBD:BINA/Flag|<==]] <FONT SIZE=5>Furniture.BINA</FONT> [[OBD:BINA/Neutral|==>]]</CENTER>
[[Image:bin_r_fu.gif]]




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_fu.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | objects }}
{{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        | object list version }}
{{OBDtr| 0x0C | int32    |00FFFF| 74 00 00 00 | 116        | size of the following element in bytes }}
{{OBDtrBK}}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 4E 52 55 46 | FURN      | furniture }}
{{OBDtr| 0x04 | int32    |FFFFC8| F5 0E 00 00 | 3829      | old file ID }}
{{OBDtr| 0x08 | int32    |C8FFC8| 08 00 00 00 | 8          | unknown }}
{{OBDtr| 0x0C | float    |C8FFFF| 9C C4 7A C2 | -62.692001 | x-position of the furniture }}
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 E8 C1 | -29.000000 | y-position (height) of the furniture }}
{{OBDtr| 0x14 | float    |C8FFFF| 33 B3 D8 42 | 108.349998 | z-position of the furniture }}
{{OBDtr| 0x18 | float    |FFC8FF| A2 85 35 43 | 181.522003 | rotation on the x-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 }}
{{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 }}
|}




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
;NOTE
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
:CJBO'''Furniture'''.OBJC files are an old development relic, because the furniture is "baked" into the level model.
| WIDTH=15% | <B>Hex</B>
: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).
| WIDTH=15% | <B>Translation</B>
:There ''is'' a separation between "furniture" and other parts of the environment (quads are flagged as glass/furniture/etc.).
| WIDTH=70% | <B>Meaning</B>
:The furniture [[OBD:OFGA|OFGA]] files aren't a part of the regular Oni files. They are stored in the unused [[level0_Tools]] files.
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 43 4A 42 4F
| OBJC
| ALIGN=LEFT | object
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 60 A7 00 00
| 42848
| ALIGN=LEFT | 42848 bytes is the length of the following furniture part from this position
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 27 00 00 00
| 39
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 74 00 00 00
| 116
| ALIGN=LEFT | 116 bytes (7.25 lines) is the lenght of the following package (area edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 4E 52 55 46
| FURN
| ALIGN=LEFT | furniture
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | F5 0E 00 00
| 3829
| ALIGN=LEFT | old file ID
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 08 00 00 00
| 8
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 9C C4 7A C2
| -62.692001
| ALIGN=LEFT | x-position of the furniture
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 E8 C1
| -29.000000
| ALIGN=LEFT | y-position (height) of the furniture
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 33 B3 D8 42
| 108.349998
| ALIGN=LEFT | z-position of the furniture
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | A2 85 35 43
| 181.522003
| ALIGN=LEFT | rotation on the x-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | B0 02 B2 43
| 356.020996
| ALIGN=LEFT | rotation on the y-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 2F 1D 32 43
| 178.113998
| ALIGN=LEFT | rotation on the z-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>_tctf_bigvan</TT>
| ALIGN=LEFT | name of the furniture type
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" COLSPAN=2 | not used
| ALIGN=LEFT | name of the locklight tag
|}




This file is an old relict and therefore completely useless. You can set all to zero. Oni doesn't need it. All furnitures are an integral part of the level model. Maybe it was used during the development of Oni to build the level.
;Tool Mode dialog


[[Image:Tool dialog - Furniture Properties.png]]


<CENTER>[[OBD:BINA/Flag|<==]] <FONT SIZE=5>Furniture.BINA</FONT> [[OBD:BINA/Neutral|==>]]</CENTER>


{{OBD OBJC Footer | type=FURN | prev=FLAG | next=MELE | name=Furniture | family=Level}}


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Furniture.BINA
{{OBD}}