EvilEngine/PICK: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 15:
The asset data starts with an 8-byte header:
 
===zAssetPickupTable===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || unsigned intuint || '''Magic''' -|| 0x5049434B ("PICK")
|-
| 0x04 || unsigned intuint || '''Count''' -|| amountAmount of entries
|}
 
After the header is the entries themselves. Each entry has the following format:
 
===zAssetPickup===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || unsigned intuint || '''pickupHash'''. || Used by [[PKUP]] assets to define pickup type.
|-
| 0x04 || unsigned charbyte || '''pickupType'''. || Usually 0xCD.
|-
| 0x05 || unsigned charbyte || '''pickupIndex'''. || Usually 0xCD.
|-
| 0x06 || unsigned shortushort || '''pickupFlags'''. || Usually 0x0000.
|-
| 0x08 || unsigned intuint || '''quantity'''. || Usually 1.
|-
| 0x0C || unsigned int ([[MODL|Model]] [[AssetID]]) || '''modelID''' ||
|-
| 0x10 || unsigned int ([[AssetID]]) || '''animID'''. || Usually 0.
|-
|}
2,079

edits