EvilEngine/PKUP: Difference between revisions

m
Seil moved page PKUP to EvilEngine/PKUP
Battlepedia>Igorseabra4
No edit summary
m (Seil moved page PKUP to EvilEngine/PKUP)
 
(9 intermediate revisions by 4 users not shown)
Line 1:
<onlyinclude>
Power Up/Item
{{#vardefine:typeid|PKUP}}<nowiki/>
{{#vardefine:name|Pickup}}<nowiki/>
{{#vardefine:type|[[Entity]]}}<nowiki/>
{{#vardefine:basetype|0x04}}<nowiki/>
{{#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===
Pickups are [[Placeable AssetEntity|placeableentity assets]], so they start with their 0x54 byte header, then are followed by:
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
! colspan="34" | Pickup info stuff
|-
| 0x54 || int || PickupTable'''pickupHash''' Entry -|| ID to an entry in boot.HIP/PickupTable.
|-
| 0x58 || short || Unknown'''pickupFlags''' - Always 0, 1, 2, or 3||
*0 - None
*1 - Reappear after collecting
*2 - Enabled on start
*3 - Both
|-
| 0x5A || short || Unknown'''pickupValue''' -|| AlwaysUsed for Scooby Snack count in Snack Gates; 4 in most other pickup types
|}
 
Line 31 ⟶ 45:
* 0xCB - Purple shiny object
* 0xDD - Golden spatula
* 0xBC - Scooby snack
* 0xEC - Scooby snack box
* 0x28 - Clue
* 0x5C - Savepoint
* 0x80 - Shovel
* 0x86 - Snackgate
 
===Events===
Line 36 ⟶ 56:
* Pickup
* Drop pickup
 
{{Assets}}
{{AutoGameNavs}}
 
[[Category:Asset]]