EvilEngine/TPIK
TPIK | |
---|---|
Pickup Types | |
Type | Base |
Base Type | 0x00 |
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[edit]
Pickup types are base assets, so they start with their 0x8 byte header, then are followed by:
xTableAsset[edit]
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | uint | version | |
0x0C | uint | numRows | Number of entries. |
After the header is the entries themselves. Each entry is 0x38 bytes long and has the following format:
TableEntry[edit]
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | AssetID | typeHash | Used by DYNA pickup assets to define pickup type. |
0x04 | AssetID | modelID | |
0x08 | AssetID | pulseModelID | |
0x0C | float | pulseTime | |
0x10 | float | pulseAddScale | |
0x14 | float | pulseMoveDown | |
0x18 | Vector3 | red/green/blue | |
0x24 | uint | color | |
0x28 | AssetID | flyingSoundGroupID | |
0x2C | AssetID | usedSoundGroupID | |
0x30 | AssetID | cantUseSoundGroupID | |
0x34 | byte | healthGain | |
0x35 | byte | powerGain | |
0x36 | byte | saveFlag | |
0x37 | byte | bInitialized |