EvilEngine/DEST

Revision as of 22:37, 15 September 2022 by Seil (talk | contribs) (Seil moved page DEST to EvilEngine/DEST)

This asset defines an entry for a destructible asset.

DEST
Destructible
TypeBinary
Games usedThe SpongeBob SquarePants Movie

The Incredibles
Rise of the Underminer

Ratatouille Prototype

Format

xDestructibleAsset

Offset Type Variable Description
0x00 AssetID id MINF
0x04 uint nstates Number of States. Always 1 in TSSM
0x08 uint hit_points Always 1 in TSSM
0x0C uint hit_filter Always 2 in TSSM
0x10 uint launch_flag
0x14 uint behaviour Always 11 in TSSM
0x18 uint flags
0x1C AssetID soundgroupidleID SoundGroup used when idle
0x20 float respawn
0x24 char target_priority Always 1 in TSSM
0x25 char[3] null padding
0x28 xDestructibleAssetState

xDestructibleAssetState

Offset Type Variable Description
0x00 uint percent Usually 1 in TSSM
0x04 AssetID modelID Changes the destructible's model into this model when destroyed.
0x08 AssetID shrapnelID Shrapnel used when destroyed
0x0C AssetID shrapnelhitID Shrapnel used when hit
0x10 AssetID soundgroupidleID SoundGroup used when idle
0x14 AssetID soundgroupfxID
0x18 AssetID soundgrouphitID SoundGroup used when hit
0x1C AssetID soundgroupfxIDswitch
0x20 AssetID soundgrouphitIDswitch
0x24 AssetID rumbleIDhit effect:Rumble
0x28 AssetID rumbleIDswitch effect:Rumble
0x2C uint fx_flags
0x30 xDestructibleAssetAttachedAnimList

xDestructibleAssetAttachedAnimList

Offset Type Variable Description
0x00 uint nanimations number of animations?
0x04 AssetID animationIDs Usually 0xFDFDFDFD in TSSM: 31, 32 and 63 in The Incredibles