OBD:BINA/OBJC/WEAP: Difference between revisions

m
added family to footer template call
No edit summary
 
m (added family to footer template call)
 
(11 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]] >> Weapon.BINA
{{OBD OBJC Header|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon|stuff=b_we}}




<CENTER>[[OBD:BINA/Turret|<==]] <FONT SIZE=5>Weapon.BINA</FONT> [[OBD:BINA/Combat|==>]]</CENTER>
----
----
[[Image:Bin r we.gif]]


 
{{Table}}
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_we.gif
{{OBDth}}
 
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC       | objects }}
 
{{OBDtr| 0x04 | int32    |FFFF00| 50 00 00 00 | 80         | size of the complete list from this position in bytes }}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{OBDtr| 0x08 | int32    |00FF00| 24 00 00 00 | 36         | object list version }}
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
{{OBDtr| 0x0C | int32    |00FFFF| 44 00 00 00 | 68         | size of the following element in bytes }}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | char[4] |FFC8C8| 50 41 45 57 | WEAP     | weapon }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x04 | int32  |FFFFC8| 41 20 00 00 | 8257     | object ID }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x08 | int32  |C8FFC8| 00 00 00 00 | 0         | object flags }}
| BGCOLOR="#FF0000" | 43 4A 42 4F
{{OBDtr| 0x0C | float  |C8FFFF| 0C 6E DA 41 | 27.303734 | x-position of the weapon }}
| OBJC
{{OBDtr| 0x10 | float  |C8FFFF| 00 00 50 C1 | -13.000000| y-position (height) of the weapon }}
| ALIGN=LEFT | object
{{OBDtr| 0x14 | float  |C8FFFF| 33 E2 A3 43 | 327.767181| z-position of the weapon }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
{{OBDtr| 0x18 | float  |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x-axis in degrees }}
| BGCOLOR="#FFFF00" | 50 00 00 00
{{OBDtr| 0x1C | float  |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the y-axis in degrees }}
| 80
{{OBDtr| 0x20 | float  |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }}
| ALIGN=LEFT | 80 bytes is the length of the following weapon part from this position
{{OBDtr2| 0x24| char[32]|FFC800| "w3_phr"    | link by name to global weapon class w3_phr.[[OBD:ONWC|ONWC]] }}
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 24 00 00 00
| 36
| 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" | 44 00 00 00
| 68
| ALIGN=LEFT | 68 bytes (4.25 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" | 50 41 45 57
| WEAP
| ALIGN=LEFT | weapon
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 41 20 00 00
| 8257
| 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" | 0C 6E DA 41
| 27.303734
| ALIGN=LEFT | x-position of the weapon
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00 50 C1
| -13.000000
| ALIGN=LEFT | y-position (height) of the weapon
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 33 E2 A3 43
| 327.767181
| ALIGN=LEFT | z-position of the weapon
|- 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" COLSPAN=2 | <TT>w3_phr</TT>
| ALIGN=LEFT | name of the weapon type (03787-w3_phr.[[OBD:ONWC|ONWC]] of level 0); the following weapon types are possible:<BR><BR>w1_tap - Equalizer (pistol)<BR>w2_sap - Black Adder (submachine gun)<BR>w3_phr - Plasma Riffle<BR>w4_psm - Phase Stream Projector<BR>w5_sbg - Superball Gun<BR>w6_vdg - Van de Graff<BR>w7_scc - Scramble Cannon<BR>w8_mbo - Mercury Bow<BR>w9_scr - Screaming Cannon<BR>w10_sni - Fireworks (Mukade's gun)<BR>w11_ba1 - Wave Motion Cannon (Barabas's gun)<BR><BR>
|}
|}


----
----
{{OBD OBJC Footer|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon|family=Level}}


<CENTER>[[OBD:BINA/Turret|<==]] <FONT SIZE=5>Weapon.BINA</FONT> [[OBD:BINA/Combat|==>]]</CENTER>
{{OBD}}
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> [[OBD:BINA|BINA]] >> Weapon.BINA