OBD:BINA/OBJC/PWRU: Difference between revisions

From OniGalore
< OBD:BINA‎ | OBJC
Jump to navigation Jump to search
No edit summary
 
m (fixed Stuff link)
(8 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]] >> PowerUp.BINA
{{OBD OBJC Header | align=center | type=PWRU | prev=PATR | next=SNDG | name=Powerup | stuff=b_pu}}




<CENTER>[[OBD:BINA/Patrol_Path|<==]] <FONT SIZE=5>PowerUp.BINA</FONT> [[OBD:BINA/Sound|==>]]</CENTER>
[[image:bin_r_pu.gif]]




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_pu.gif
{{Table}}
{{OBDth}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | objects }}
{{OBDtr| 0x04 | int32    |FFFF00| 18 02 00 00 | 536        | size of the complete power-up part from this position in bytes }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object list version }}
{{OBDtr| 0x0C | int32    |00FFFF| 28 00 00 00 | 40        | size of the following element in bytes }}
{{OBDtrBK}}
{{OBDtr| 0x00 | char[4]  |FFC8C8| 55 52 57 50 | PWRU      | power-up }}
{{OBDtr| 0x04 | int32    |FFFFC8| AC 1C 00 00 | 7340      | old file ID }}
{{OBDtr| 0x08 | int32    |C8FFC8| 00 00 00 00 | 0          | unknown }}
{{OBDtr| 0x0C | float    |C8FFFF| E8 92 77 44 | 990.295410 | x-position of the power-up }}
{{OBDtr| 0x10 | float    |C8FFFF| 00 00 D8 41 | 27.000000  | y-position (height) of the power-up }}
{{OBDtr| 0x14 | float    |C8FFFF| 71 DD 98 43 | 305.730010 | z-position of the power-up }}
{{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 | char[4]  |FFC800| 41 4D 4D 42 | AMMB      | power-up type; the following types are possible:




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
:AMMB - ammo (red clip)
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
:AMME - energy cell (green clip)
| WIDTH=15% | <B>Hex</B>
:HYPO - hypo
| WIDTH=15% | <B>Translation</B>
:SHLD - force shield
| WIDTH=70% | <B>Meaning</B>
:INVI - phase cloak
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
:ALSI - [[LSI]] (level specific item)
| BGCOLOR="#FF0000" | 43 4A 42 4F
 
| OBJC
 
| ALIGN=LEFT | object
}}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 18 02 00 00
| 536
| ALIGN=LEFT | 536 bytes is the length of the following power-up 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" | 28 00 00 00
| 40
| 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>
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 55 52 57 50
| PWRU
| ALIGN=LEFT | power-up
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| 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>
|}
|}




<CENTER>[[OBD:BINA/Patrol_Path|<==]] <FONT SIZE=5>PowerUp.BINA</FONT> [[OBD:BINA/Sound|==>]]</CENTER>
;Bluebox screenshot
 
No screenshot available.
 


{{OBD OBJC Footer | type=PWRU | prev=PATR | next=SNDG | name=Powerup}}


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

Revision as of 21:06, 26 May 2020

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 objects
0x04 int32 18 02 00 00 536 size of the complete power-up part from this position in bytes
0x08 int32 27 00 00 00 39 object list version
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]]