EvilEngine/PKUP: Difference between revisions

Content added Content deleted
Battlepedia>Igorseabra4
No edit summary
Battlepedia>Igorseabra4
No edit summary
Line 1: Line 1:
Power Up/Item
Power Up/Item
===Format===
===Format===
Pickups are [[Placeable Asset|placeable assets]], so they start with their 0x54 byte header, then are followed by:

{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Description
|-
! colspan="3" | Header
|-
| 0x00 || int || '''Asset ID'''
|-
| 0x04 || byte || '''Asset type'''. Always 0x04
|-
| 0x05 || byte || '''Number of Events'''
|-
| 0x06 || short || '''Flags'''
|-
! colspan="3" | Pickup
|-
| 0x08 || byte || Unknown - Always 1 or 0.
|-
| 0x09 || byte || Type
|-
| 0x0A || byte || Unknown - Always 0.
|-
| 0x0B || byte || Unknown - Always 2 or 0.
|-
| 0x0C || int || Unknown - 0.
|-
| 0x10 || int || Unknown - 0.
|-
! colspan="3" | Transform
|-
| 0x14 || Vector3 || Rotation
|-
| 0x20 || Vector3 || Position
|-
| 0x2C || Vector3 || Scale - Always (1, 1, 1).
|-
| 0x38 || Vector4 || Color - Always (1, 1, 1, 1).
|-
| 0x48 || float || Unknown - Always 255.
|-
|-
! colspan="3" | Pickup info stuff
! colspan="3" | Pickup info stuff
|-
| 0x4C || int || MINF ID - Always 0x94E25463, which is the ID for pickups.MINF.
|-
| 0x50 || int || Unknown - Always 0
|-
|-
| 0x54 || int || PickupTable Entry - ID to an entry in boot.HIP/PickupTable.
| 0x54 || int || PickupTable Entry - ID to an entry in boot.HIP/PickupTable.
Line 50: Line 12:
| 0x58 || short || Unknown - Always 0, 1, 2, or 3
| 0x58 || short || Unknown - Always 0, 1, 2, or 3
|-
|-
| 0x5A ||short || Unknown - Always 4
| 0x5A || short || Unknown - Always 4
|}
|}


Note: the model asset ID for all PKUPs is 0x94E25463, which is the ID for pickups.MINF.
===Types===

* 0x81 - Blue shiny object
===Types (0x09)===
* 0xCB - Purple shiny object
* 0x10 - Artwork
* 0x13 - Underwear
* 0x24 - Sock
* 0x2E - Golden underwear
* 0x27 - Steering wheel
* 0x34 - Green shiny object
* 0x34 - Green shiny object
* 0x3B - Yellow shiny object
* 0x3B - Yellow shiny object
* 0x3E - Red shiny object
* 0x3E - Red shiny object
* 0x13 - Underwear
* 0xDD - Golden spatula
* 0x24 - Sock
* 0x2E - Golden underwear
* 0x40 - SpongeBall
* 0x40 - SpongeBall
* 0x81 - Blue shiny object
* 0x27 - Steering wheel
* 0xBB - Power crystal
* 0xBB - Power crystal
* 0xCB - Purple shiny object
* 0x10 - Artwork
* 0xDD - Golden spatula


===Events===
===Events===