EvilEngine/TPIK
TPIK | |
---|---|
Pickup Types | |
Type | Binary |
Games used | The Incredibles Ratatouille Prototype |
A pickup types is an asset which usually has only one instance in the entire game (in boot.hip) and defines information regarding DYNA pickups used in Incredibles and ROTU.
Format
The asset data starts with a 16-byte header:
Offset | Type | Description |
---|---|---|
0x00 | Asset ID | this asset |
0x04 | int | unknown |
0x08 | int | unknown |
0x0C | int | amount of entries |
After the header is the entries themselves. Each entry is 0x38 bytes long and has the following format:
Offset | Type | Description |
---|---|---|
0x00 | Asset ID | pickupHash. Used by DYNA pickup assets to define pickup type. |
0x04 | AssetID (Model) | pickup model |
0x08 | AssetID (Model) | ring model |
0x0C | Vector3 | unknown. possibly pickup or ring model scale |
0x18 | Vector3 | ring color (R, G, B) (0-1) |
0x24 | null | unknown |
0x28 | null | unknown |
0x2C | AssetID (SGRP) | pickup sound |
0x30 | AssetID (SGRP) | pickup denied sound |
0x34 | byte | unknown |
0x35 | byte | unknown |
0x36 | byte | unknown |
0x37 | byte | unknown |