OBD:BINA/OBJC/WEAP: Difference between revisions
Jump to navigation
Jump to search
m (formatting) |
m (added family to footer template call) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD OBJC Header|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon| | {{OBD OBJC Header|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon|stuff=b_we}} | ||
---- | ---- | ||
---- | ---- | ||
[[Image:Bin r we.gif]] | |||
{{Table}} | {{Table}} | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | ||
{{OBDtr| 0x04 | int32 |FFFF00| 50 00 00 00 | 80 | size of the complete | {{OBDtr| 0x04 | int32 |FFFF00| 50 00 00 00 | 80 | size of the complete list from this position in bytes }} | ||
{{OBDtr| 0x08 | | {{OBDtr| 0x08 | int32 |00FF00| 24 00 00 00 | 36 | object list version }} | ||
{{OBDtr| 0x0C | int32 |00FFFF| 44 00 00 00 | 68 | size of the following element in bytes }} | {{OBDtr| 0x0C | int32 |00FFFF| 44 00 00 00 | 68 | size of the following element in bytes }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr| 0x00 | char[4] |FFC8C8| 50 41 45 57 | WEAP | weapon }} | {{OBDtr| 0x00 | char[4] |FFC8C8| 50 41 45 57 | WEAP | weapon }} | ||
{{OBDtr| 0x04 | int32 |FFFFC8| 41 20 00 00 | 8257 | | {{OBDtr| 0x04 | int32 |FFFFC8| 41 20 00 00 | 8257 | object ID }} | ||
{{OBDtr| 0x08 | | {{OBDtr| 0x08 | int32 |C8FFC8| 00 00 00 00 | 0 | object flags }} | ||
{{OBDtr| 0x0C | float |C8FFFF| 0C 6E DA 41 | 27.303734 | x-position of the weapon }} | {{OBDtr| 0x0C | float |C8FFFF| 0C 6E DA 41 | 27.303734 | x-position of the weapon }} | ||
{{OBDtr| 0x10 | float |C8FFFF| 00 00 50 C1 | -13.000000| y-position (height) of the weapon }} | {{OBDtr| 0x10 | float |C8FFFF| 00 00 50 C1 | -13.000000| y-position (height) of the weapon }} | ||
Line 23: | Line 22: | ||
{{OBDtr| 0x1C | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the y-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| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }} | ||
{{ | {{OBDtr2| 0x24| char[32]|FFC800| "w3_phr" | link by name to global weapon class w3_phr.[[OBD:ONWC|ONWC]] }} | ||
|} | |} | ||
---- | ---- | ||
---- | ---- | ||
{{OBD OBJC Footer|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon|family=Level}} | |||
{{OBD}} | |||
{{OBD OBJC Footer|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon}} |
Latest revision as of 21:23, 9 December 2023
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | char[4] | 43 4A 42 4F | OBJC | objects |
0x04 | int32 | 50 00 00 00 | 80 | size of the complete list from this position in bytes |
0x08 | int32 | 24 00 00 00 | 36 | object list version |
0x0C | int32 | 44 00 00 00 | 68 | size of the following element in bytes |
First element (black outline) | ||||
0x00 | char[4] | 50 41 45 57 | WEAP | weapon |
0x04 | int32 | 41 20 00 00 | 8257 | object ID |
0x08 | int32 | 00 00 00 00 | 0 | object flags |
0x0C | float | 0C 6E DA 41 | 27.303734 | x-position of the weapon |
0x10 | float | 00 00 50 C1 | -13.000000 | y-position (height) of the weapon |
0x14 | float | 33 E2 A3 43 | 327.767181 | z-position of the weapon |
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[32] | "w3_phr" | link by name to global weapon class w3_phr.ONWC |
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
TURR << Other OBJC >> CHAR |
WEAP : Weapon |
Level file |