EvilEngine/PKUP: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
Battlepedia>Igorseabra4
No edit summary
Line 15: Line 15:
| 0x54 || int || '''pickupHash''' || ID to an entry in boot.HIP/PickupTable.
| 0x54 || int || '''pickupHash''' || ID to an entry in boot.HIP/PickupTable.
|-
|-
| 0x58 || short || '''pickupFlags''' || Always 0, 1, 2, or 3
| 0x58 || short || '''pickupFlags''' ||
*0 - None
*1 - Reappear after collecting
*2 - Enabled on start
*3 - Both
|-
|-
| 0x5A || short || '''pickupValue''' || Always 4
| 0x5A || short || '''pickupValue''' || Used for Scooby Snack count in Snack Gates; 4 in most other pickup types
|}
|}



Revision as of 08:15, 23 July 2019

PKUP
Pickup
TypePlaceable

Format

Pickups are placeable assets, so they start with their 0x54 byte header, then are followed by:

Offset Type Variable Description
Pickup info stuff
0x54 int pickupHash ID to an entry in boot.HIP/PickupTable.
0x58 short pickupFlags
  • 0 - None
  • 1 - Reappear after collecting
  • 2 - Enabled on start
  • 3 - Both
0x5A short pickupValue Used for Scooby Snack count in Snack Gates; 4 in most other pickup types

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

Types (0x09)

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

Events

  • Mount
  • Pickup
  • Drop pickup