EvilEngine/DSTR: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{AssetInfobox
{{AssetInfobox
|subtitle=Destructible Object
|subtitle=Destructible Object
|type=[[Placeable]]
|type=[[Entity]]
|objectid=0x1B
|objectid=0x1B
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>}}
|games=Night of 100 Frights<br>Battle for Bikini Bottom
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEntDestructObj.h zEntDestructObj.h]}}


This asset defines an entry for a destructible object.
This asset defines an entry for a destructible object.


==Format==
==Format==
Destructables are [[Placeable Asset|placeable assets]], so they start with their 0x54 byte header, then are followed by:
Destructables are [[Entity|entity assets]], so they start with their 0x54 byte header, then are followed by:


Note: the asset ID at 0x50 (in the Placeable header) refers to an [[ANIM|animation]].
Note: the asset ID at 0x50 (in the Placeable header) refers to an [[ANIM|animation]].