OBD:BINA/OBJC/PART: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
mNo edit summary
m (added family to footer template call)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{OBD OBJC Header|align=center|type=PART|prev=NEUT|next=PATR|name=Particle|onistuff=b_pa}}
{{OBD OBJC Header | align=center | type=PART | prev=NEUT | next=PATR | name=Particle | stuff=b_pa}}
----
----


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_pa.gif


[[Image:bin_r_pa.gif]]


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
 
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{Table}}
| WIDTH=15% | <B>Hex</B>
{{OBDth}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | objects }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x04 | int32    |FFFF00| 80 C1 00 00 | 49536     | size of the complete particle part from this position in bytes }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39         | object list version }}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x0C | int32    |00FFFF| A0 00 00 00 | 160       | size of the following element in bytes }}
| OBJC
{{OBDtrBK}}
| ALIGN=LEFT | object
{{OBDtr| 0x00 | char[4]  |FFC8C8| 54 52 41 50 | PART       | particle }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x04 | int32    |FFFFC8| 47 00 00 00 | 71         | object ID }}
| BGCOLOR="#FFFF00" | 80 C1 00 00
{{OBDtr| 0x08 | int32    |C8FFC8| 00 00 00 00 | 0         | object flags }}
| 49536
{{OBDtr| 0x0C | float    |C8FFFF| 14 0C 81 44 | 1032.377441| x-position of the particle }}
| ALIGN=LEFT | 49536 bytes is the length of the following particle part from this position
{{OBDtr| 0x10 | float    |C8FFFF| FD BF 7E 43 | 254.749954 | y-position (height) of the particle }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x14 | float    |C8FFFF| 89 0A E0 C1 | -28.005144 | z-position of the particle }}
| BGCOLOR="#00FF00" | 27 00 00 00
{{OBDtr| 0x18 | float    |FFC8FF| 3E 19 B2 42 | 89.049301 | rotation on the x-axis in degrees }}
| 39
{{OBDtr| 0x1C | float    |FFC8FF| 45 54 DA 3F | 1.705697   | rotation on the y-axis in degrees }}
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr2|0x24 | char[64] |FFC800| charge_medium           | particle type (reference to 05484-3RAPcharge_medium.[[OBD:BINA/PAR3|BINA]] of level 0) }}
| BGCOLOR="#00FFFF" | A0 00 00 00
{{OBDtr2|0x64 | char[48] |C800C8| BomberCharge01           | particle name }}
| 160
{{OBDtr| 0x94 | int16    |C87C64| 0D 00       | 13         | flags; unknown values }}
| ALIGN=LEFT | 160 bytes (10 lines) is the lenght of the following package (area edged in black)
{{OBDtr| 0x96 | float    |B0C3D4| 00 00 80 3F | 1.000000   | decal x scale }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x9A | float    |FFDDDD| 00 00 80 3F | 1.000000   | decal y scale }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
{{OBDtr| 0x9E |         |64AAAA|             |           | padding }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 54 52 41 50
| PART
| ALIGN=LEFT | particle
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 47 00 00 00
| 71
| ALIGN=LEFT | old file ID
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 14 0C 81 44
| 1032.377441
| ALIGN=LEFT | x-position of the particle
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | FD BF 7E 43
| 254.749954
| ALIGN=LEFT | y-position (height) of the particle
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 89 0A E0 C1
| -28.005144
| ALIGN=LEFT | z-position of the particle
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 3E 19 B2 42
| 89.049301
| ALIGN=LEFT | rotation on the x-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 45 54 DA 3F
| 1.705697
| ALIGN=LEFT | rotation on the y-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the z-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" COLSPAN=2 | <TT>charge_medium</TT>
| ALIGN=LEFT | name of the particle type (05484-3RAPcharge_medium.BINA of level 0)
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" COLSPAN=2 | <TT>BomberCharge01</TT>
| ALIGN=LEFT | name of the particle
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 0D 00
| 13
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" | 00 00 80 3F
| 1.000000
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | 00 00 80 3F
| 1.000000
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00
| 0
| ALIGN=LEFT | unknown, always zero; maybe only a filler
|}
|}
----
 
----
 
{{OBD OBJC Footer|align=center|type=PART|prev=NEUT|next=PATR|name=Particle|onistuff=b_pa}}
;Dialog from level0_Tools
 
[[Image:Tool dialog - Particle Properties.png]]
 
 
{{OBD OBJC Footer | type=PART | prev=NEUT | next=PATR | name=Particle | family=Level}}
 
{{OBD}}

Latest revision as of 21:19, 9 December 2023

ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
NEUT << Other OBJC >> PATR
PART : Particle
XML tutorial
Overview @ Oni Stuff
OBD.png


Bin r pa.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC objects
0x04 int32 80 C1 00 00 49536 size of the complete particle part from this position in bytes
0x08 int32 27 00 00 00 39 object list version
0x0C int32 A0 00 00 00 160 size of the following element in bytes
First element (black outline)
0x00 char[4] 54 52 41 50 PART particle
0x04 int32 47 00 00 00 71 object ID
0x08 int32 00 00 00 00 0 object flags
0x0C float 14 0C 81 44 1032.377441 x-position of the particle
0x10 float FD BF 7E 43 254.749954 y-position (height) of the particle
0x14 float 89 0A E0 C1 -28.005144 z-position of the particle
0x18 float 3E 19 B2 42 89.049301 rotation on the x-axis in degrees
0x1C float 45 54 DA 3F 1.705697 rotation on the y-axis in degrees
0x20 float 00 00 00 00 0.000000 rotation on the z-axis in degrees
0x24 char[64] charge_medium particle type (reference to 05484-3RAPcharge_medium.BINA of level 0)
0x64 char[48] BomberCharge01 particle name
0x94 int16 0D 00 13 flags; unknown values
0x96 float 00 00 80 3F 1.000000 decal x scale
0x9A float 00 00 80 3F 1.000000 decal y scale
0x9E padding


Dialog from level0_Tools

Tool dialog - Particle Properties.png


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
NEUT << Other OBJC >> PATR
PART : Particle
Level file