m (OBJC means "Objects", not "Object Collection") |
m (added family to footer template call) |
||
| (One intermediate revision by the same user 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}} | ||
| Line 27: | Line 27: | ||
---- | ---- | ||
---- | ---- | ||
{{OBD OBJC Footer|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon}} | {{OBD OBJC Footer|align=center|type=WEAP|prev=TURR|next=CHAR|name=Weapon|family=Level}} | ||
{{OBD}} | {{OBD}} | ||
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 |

