OBD:BINA/OBJC/FURN: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
mNo edit summary
m (design)
Line 1: Line 1:
{{OBD OBJC Header|align=right|type=FURN|prev=FLAG|next=MELE|name=Furniture|onistuff=b_fu}}
{{OBD OBJC Header | align=center | type=FURN | prev=FLAG | next=MELE | name=Furniture}}
 
 
[[image:bin_r_fu.gif]]
 
 
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | object collection }}
{{OBDtr| 0x04 | int32    |FFFF00| 60 A7 00 00 | 42848      | size of the complete combat part from this postion in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | unknown; do not change it }}
{{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:M3GM|M3GM]] file)  }}
{{OBDtr2|0x44 | char[48]  |C800C8| unused                  | locklight tag  name }}
|}
 
 
;NOTE
;NOTE
:CJBO'''Furniture'''.OBJC files are apparently defunct.
:CJBO'''Furniture'''.OBJC files are an old development relict, because the furniture is "baked" into the level model.
:You can use their RAW/SEP part in whichever way you like
:Oni still parses these files (see error txt file in your Oni folder), but you can disable them and use their RAW/SEP part in whichever way you like (e.g. to create a larger collection of characters/flags/trigvolumes/whatever).
:(e.g. to create a larger collection of characters/flags/trigvolumes/whatever)
:There ''is'' a separation between "furniture" and other parts of the environment (quads are flagged as glass/furniture/etc).
:Furniture placement etc was probably fine-tuneable ''via'' CJBO'''Furniture'''.OBJC at some point
:The furniture [[OBD:M3GM|M3GM]] files aren't a part of the regular Oni files. They are stored in the unused "Level0_Tools" files, which are only inluded in Oni 1.1 (currently we only know the German "Big Blue Box" Collection for Mac that contains Oni 1.1).
:Right now the pieces of furniture are "baked" into the level model.
:There ''is'' a separation between "furniture" and other parts of the environment
:(quads are flagged as glass/furniture/etc)
:but it looks like this particular OBJC is just no longer parsed by Oni.
{{OBD TXT|size=190|onistuff=bina_furniture}}
(the overview can help track down the furniture/glass flag)




----
;Bluebox screenshot
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_fu.gif


http://ssg.oni2.net/subfold/bluebox/images/223_furniture_properties.jpg


{|{{OBDtable}}
:Umdrehen = turn around
|align=center|
:Speichern = save
{|{{OBDtable}}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
! WIDTH=15% |Raw hex
! WIDTH=15% |Value
!Meaning
|-
| BGCOLOR="#FFC8C8" | 4E 52 55 46
| FURN
| ALIGN=LEFT | furniture
|-
| BGCOLOR="#FFFFC8" | F5 0E 00 00
| 3829
| ALIGN=LEFT | old file ID
|-
| BGCOLOR="#C8FFC8" | 08 00 00 00
| 8
| ALIGN=LEFT | unknown
|-
| BGCOLOR="#C8FFFF" | 9C C4 7A C2
| -62.692001
| ALIGN=LEFT | x-position of the furniture
|-
| BGCOLOR="#C8FFFF" | 00 00 E8 C1
| -29.000000
| ALIGN=LEFT | y-position (height) of the furniture
|-
| BGCOLOR="#C8FFFF" | 33 B3 D8 42
| 108.349998
| ALIGN=LEFT | z-position of the furniture
|-
| BGCOLOR="#FFC8FF" | A2 85 35 43
| 181.522003
| ALIGN=LEFT | rotation on the x-axis in degrees
|-
| BGCOLOR="#FFC8FF" | B0 02 B2 43
| 356.020996
| ALIGN=LEFT | rotation on the y-axis in degrees
|-
| BGCOLOR="#FFC8FF" | 2F 1D 32 43
| 178.113998
| ALIGN=LEFT | rotation on the z-axis in degrees
|-
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>_tctf_bigvan</TT>
| ALIGN=LEFT | link by name to something very old
|-
| BGCOLOR="#C800C8" COLSPAN=2 | not used
| ALIGN=LEFT | name of the locklight tag
|}
|}




----
{{OBD OBJC Footer | type=FURN | prev=FLAG | next=MELE | name=Furniture}}
----
{{OBD TXT|align=center|size=190|onistuff=bina_furniture}}
----
----
{{OBD OBJC Footer|align=right|type=FURN|prev=FLAG|next=MELE|name=Furniture|onistuff=b_fu}}

Revision as of 06:58, 22 September 2007

ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
FLAG << Other OBJC >> MELE
FURN : Furniture
XML tutorial
Overview @ Oni Stuff
OBD.png


Bin r fu.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC object collection
0x04 int32 60 A7 00 00 42848 size of the complete combat part from this postion in bytes
0x08 int32 27 00 00 00 39 unknown; do not change it
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 M3GM file)
0x44 char[48] unused locklight tag name


NOTE
CJBOFurniture.OBJC files are an old development relict, because the furniture is "baked" into the level model.
Oni still parses these files (see error txt file in your Oni folder), but you can disable them and use their RAW/SEP part in whichever way you like (e.g. to create a larger collection 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 M3GM files aren't a part of the regular Oni files. They are stored in the unused "Level0_Tools" files, which are only inluded in Oni 1.1 (currently we only know the German "Big Blue Box" Collection for Mac that contains Oni 1.1).


Bluebox screenshot

223_furniture_properties.jpg

Umdrehen = turn around
Speichern = save


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
FLAG << Other OBJC >> MELE
FURN : Furniture
[[OBD:File types/{{{family}}}|{{{family}}} file]]