OBD:BINA/OBJC/FLAG: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
No edit summary
m (added family to footer template call)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Flag.BINA
{{OBD OBJC Header | align=center | type=FLAG | prev=DOOR | next=FURN | name=Flag | stuff=b_fl}}




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




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_fl.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC        | objects }}
{{OBDtr| 0x04 | int32    |FFFF00| C8 91 00 00 | 37320        | size of the complete flag part from this position in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39          | object list version }}
{{OBDtr| 0x0C | int32    |00FFFF| AC 00 00 00 | 172          | size of the following element in bytes }}
{{OBDtrBK}}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 47 41 4C 46 | FLAG        | flag }}
{{OBDtr| 0x04 | int32    |FFFFC8| 34 1A 00 00 | 6708        | old file ID }}
{{OBDtr| 0x08 | int32    |C8FFC8| 00 00 00 00 | 0            | unknown }}
{{OBDtr| 0x0C | float    |C8FFFF| A0 1A F0 41 | 30.013000    | x-position of the flag }}
{{OBDtr| 0x10 | float    |C8FFFF| 31 08 58 C1 | -13.501999  | y-position (height) of the flag }}
{{OBDtr| 0x14 | float    |C8FFFF| AA 51 C9 C3 |-402.638000  | z-position of the flag }}
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000    | rotation on the x-axis in degrees }}
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 00 00 | 0.000000    | rotation on the y-axis in degrees }}
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000    | rotation on the z-axis in degrees }}
{{OBDtr| 0x24 | color    |FFC800| 00 FF 00 FF |0, 255, 0, 255| flag color (blue, green, red); transparency }}
{{OBDtr| 0x28 | char[2]  |C800C8| 58 4D      | MX          | flag prefix ? }}
{{OBDtr| 0x2A | int16    |C87C64| 00 00      | 0            | flag ID }}
{{OBDtr2|0x2C | char[128]|B0C3D4| unused                    | space for notes }}
|}
 
 
;Trimmed flag lists (scripter-friendly)
:[http://geyser.oni2.net/OBD/BINA/OBJC/FLAG/ HERE]




{| width="100%" cellspacing="1" cellpadding="2" bgcolor="#000000" border=1
;Tool Mode dialog
|- bgcolor="#FFDDBB" align="CENTER"
| width="15%" | '''Hex'''
| width="15%" | '''Translation'''
| width="70%" | '''Meaning'''
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FF0000" | 43 4A 42 4F
| OBJC
| align="LEFT" | object
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFFF00" | C8 91 00 00
| 37320
| align="LEFT" | 37320 bytes is the length of the following flag part from this position
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FF00" | 27 00 00 00
| 39
| align="LEFT" | identification number for the weapon classes; in every level the same; do not change it
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#00FFFF" | AC 00 00 00
| 172
| align="LEFT" | 172 bytes (10.75 lines) is the lenght of the following package (area edged in black)
|- bgcolor="#000000" align="CENTER" valign="TOP"
| colspan="3" | <font size="2" color="#FFFFFF">Below follows the first package.</font>
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFC8C8" | 47 41 4C 46
| FLAG
| align="LEFT" | flag
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFFFC8" | 34 1A 00 00
| 6708
| align="LEFT" | olf file ID
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C8FFC8" | 00 00 00 00
|
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C8FFFF" | A0 1A F0 41
| 30.013000
| align="LEFT" | x-position of the flag
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C8FFFF" | 31 08 58 C1
| -13.501999
| align="LEFT" | y-position (height) of the flag
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C8FFFF" |
AA 51 C9 C3
| -402.638000
| align="LEFT" | z-position of the flag
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFC8FF" | 00 00 00 00
| 0.000000
| align="LEFT" | rotation on the x-axis in degrees
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFC8FF" | 00 00 00 00
| 0.000000
| align="LEFT" | rotation on the y-axis in degrees
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFC8FF" | 00 00 00 00
| 0.000000
| align="LEFT" | rotation on the z-axis in degrees
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFC800" | 00
| 0
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C800C8" | FF
| 255
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#C87C64" | 00
| 0
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#B0C3D4" | FF
| 255
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#E7CEA5" | 58
| 88
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#FFDDDD" | 4D
| 77
| align="LEFT" | unknown
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| bgcolor="#64AAAA" | 00 00
| 0
| align="LEFT" | flag ID
|- bgcolor="#FFEEDD" align="CENTER" valign="TOP"
| colspan="2" bgcolor="#EBEBEB" | not used
| align="LEFT" | space for notes (128 characters possible)
|}


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


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


{{OBD OBJC Footer | type=FLAG | prev=DOOR | next=FURN | name=Flag | family=Level}}


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

Latest revision as of 21:18, 9 December 2023

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


Bin r fl.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC objects
0x04 int32 C8 91 00 00 37320 size of the complete flag part from this position in bytes
0x08 int32 27 00 00 00 39 object list version
0x0C int32 AC 00 00 00 172 size of the following element in bytes
First element (black outline)
0x00 char[4] 47 41 4C 46 FLAG flag
0x04 int32 34 1A 00 00 6708 old file ID
0x08 int32 00 00 00 00 0 unknown
0x0C float A0 1A F0 41 30.013000 x-position of the flag
0x10 float 31 08 58 C1 -13.501999 y-position (height) of the flag
0x14 float AA 51 C9 C3 -402.638000 z-position of the flag
0x18 float 00 00 00 00 0.000000 rotation on the x-axis in degrees
0x1C float 00 00 00 00 0.000000 rotation on the y-axis in degrees
0x20 float 00 00 00 00 0.000000 rotation on the z-axis in degrees
0x24 color 00 FF 00 FF 0, 255, 0, 255 flag color (blue, green, red); transparency
0x28 char[2] 58 4D MX flag prefix ?
0x2A int16 00 00 0 flag ID
0x2C char[128] unused space for notes


Trimmed flag lists (scripter-friendly)
HERE


Tool Mode dialog

Tool dialog - Flag Properties.png


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
DOOR << Other OBJC >> FURN
FLAG : Flag
Level file