EvilEngine/PKUP: Difference between revisions
Content added Content deleted
m (7 revisions imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|PKUP}}<nowiki/> |
|||
|subtitle=Pickup |
|||
{{#vardefine:name|Pickup}}<nowiki/> |
|||
|type=[[Entity]] |
|||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
|||
|objectid=0x04 |
|||
{{#vardefine:basetype|0x04}}<nowiki/> |
|||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie |
|||
{{#vardefine:games|Scooby BFBB TSSM}}<nowiki/> |
|||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEntPickup.h zEntPickup.h]}}<nowiki/> |
|||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
===Format=== |
===Format=== |
||
Line 54: | Line 58: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Revision as of 23:28, 25 May 2021
PKUP | |
---|---|
Pickup | |
Type | Entity |
Base Type | 0x04 |
Games used | Night of 100 Frights The SpongeBob SquarePants Movie |
Source code | zEntPickup.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 |
|
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