OBD:BINA/OBJC/PWRU: 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=center|type=PWRU|prev=PATR|next=SNDG|name=Powerup|onistuff=b_pu}}
{{OBD OBJC Header | align=center | type=PWRU | prev=PATR | next=SNDG | name=Powerup}}
----
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_pu.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
[[image:bin_r_pu.gif]]
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
 
| WIDTH=15% | <B>Hex</B>
 
| WIDTH=15% | <B>Translation</B>
{{Table}}
| WIDTH=70% | <B>Meaning</B>
{{OBDth}}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | object collection }}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x04 | int32    |FFFF00| 18 02 00 00 | 536       | size of the complete combat part from this postion in bytes }}
| OBJC
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39         | unknown; do not change it }}
| ALIGN=LEFT | object
{{OBDtr| 0x0C | int32    |00FFFF| 28 00 00 00 | 40         | size of the following element in bytes }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtrBK}}
| BGCOLOR="#FFFF00" | 18 02 00 00
{{OBDtr| 0x00 | char[4]  |FFC8C8| 55 52 57 50 | PWRU       | power-up }}
| 536
{{OBDtr| 0x04 | int32    |FFFFC8| AC 1C 00 00 | 7340       | old file ID }}
| ALIGN=LEFT | 536 bytes is the length of the following power-up part from this position
{{OBDtr| 0x08 | int32    |C8FFC8| 00 00 00 00 | 0         | unknown }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x0C | float    |C8FFFF| E8 92 77 44 | 990.295410 | x-position of the power-up }}
| BGCOLOR="#00FF00" | 27 00 00 00
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 D8 41 | 27.000000 | y-position (height) of the power-up }}
| 39
{{OBDtr| 0x14 | float    |C8FFFF| 71 DD 98 43 | 305.730010 | z-position of the power-up }}
| ALIGN=LEFT | identification number for the weapon classes; in every level the same; do not change it
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the x-axis in degrees }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x1C | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the y-axis in degrees }}
| BGCOLOR="#00FFFF" | 28 00 00 00
{{OBDtr| 0x20 | float    |FFC8FF| 00 00 00 00 | 0.000000   | rotation on the z-axis in degrees }}
| 40
{{OBDtr| 0x24 | char[4]  |FFC800| 41 4D 4D 42 | AMMB       | power-up type; the following types are possible:
| ALIGN=LEFT | 40 bytes (2.5 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>
:AMMB - ammo (red clip)
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:AMME - energy cell (green clip)
| BGCOLOR="#FFC8C8" | 55 52 57 50
:HYPO - hypo
| PWRU
:SHLD - force shield
| ALIGN=LEFT | power-up
:INVI - phase cloak
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:ALSI - lsi (level specific item)
| BGCOLOR="#FFFFC8" | AC 1C 00 00
 
| 7340
 
| ALIGN=LEFT | unknown
}}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | E8 92 77 44
| 990.295410
| ALIGN=LEFT | x-position of the power-up
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 D8 41
| 27.000000
| ALIGN=LEFT | y-position (height) of the power-up
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 71 DD 98 43
| 305.730010
| ALIGN=LEFT | z-position of the power-up
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| ALIGN=LEFT | rotation on the x-axis in degrees
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| 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" | 41 4D 4D 42
| AMMB
| ALIGN=LEFT | name of the power-up type; the following power-up types are possible:<BR><BR>AMMB - ammo (red clip)<BR>AMME - energy cell (green clip)<BR>HYPO - hypo<BR>SHLD - force shield<BR>INVI - phase cloak<BR>ALSI - lsi<BR><BR>
|}
|}
----
 
----
 
{{OBD OBJC Header|align=center|type=PWRU|prev=PATR|next=SNDG|name=Powerup|onistuff=b_pu}}
;Bluebox screenshot
 
No screenshot available.
 
 
{{OBD OBJC Footer | type=PWRU | prev=PATR | next=SNDG | name=Powerup}}

Revision as of 10:39, 25 September 2007

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


Bin r pu.gif


Offset Type Raw Hex Value Description
0x00 char[4] 43 4A 42 4F OBJC object collection
0x04 int32 18 02 00 00 536 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 28 00 00 00 40 size of the following element in bytes
First element (black outline)
0x00 char[4] 55 52 57 50 PWRU power-up
0x04 int32 AC 1C 00 00 7340 old file ID
0x08 int32 00 00 00 00 0 unknown
0x0C float E8 92 77 44 990.295410 x-position of the power-up
0x10 float 00 00 D8 41 27.000000 y-position (height) of the power-up
0x14 float 71 DD 98 43 305.730010 z-position of the power-up
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 char[4] 41 4D 4D 42 AMMB power-up type; the following types are possible:


AMMB - ammo (red clip)
AMME - energy cell (green clip)
HYPO - hypo
SHLD - force shield
INVI - phase cloak
ALSI - lsi (level specific item)



Bluebox screenshot

No screenshot available.


ONI BINARY DATA
AKVA << Other file types >> CBPI
BINA : Binary data
TMBD << Other BINA >> ONIE
OBJC : Objects
PATR << Other OBJC >> SNDG
PWRU : Powerup
[[OBD:File types/{{{family}}}|{{{family}}} file]]