EvilEngine/PKUP

From Heavy Iron Modding
(Redirected from PKUP)

PKUP
Pickup
TypeEntity
Base Type0x04
Games usedNight of 100 Frights

Battle for Bikini Bottom

The SpongeBob SquarePants Movie
Source codezEntPickup.h

Format

Pickups are entity 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
  • 0xBC - Scooby snack
  • 0xEC - Scooby snack box
  • 0x28 - Clue
  • 0x5C - Savepoint
  • 0x80 - Shovel
  • 0x86 - Snackgate

Events

  • Mount
  • Pickup
  • Drop pickup