EvilEngine/DEST
This asset defines an entry for a destructible object.
DEST | |
---|---|
Destructible | |
Type | Binary |
Games used | The SpongeBob SquarePants Movie The Incredibles |
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | id | MINF_AssetID |
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 | uint | soundgroupidleID | SoundGroup used when idle |
0x20 | float | respawn | |
0x24 | char | target_priority | Always 1 in TSSM |
0x25 | char[3] | null | padding |
0x28 | uint | percent | Usually 1 in TSSM |
0x2C | AssetID | modelID | Changes the destructible's model into this model when destroyed. |
0x30 | AssetID | shrapnelID | Shrapnel used when destroyed |
0x34 | AssetID | shrapnelhitID | Shrapnel used when hit |
0x38 | AssetID | soundgroupidleID | SoundGroup used when idling |
0x3C | AssetID | soundgroupfxID | |
0x40 | AssetID | soundgrouphitID | SoundGroup used when hit |
0x44 | AssetID | soundgroupfxIDswitch | |
0x48 | AssetID | soundgrouphitIDswitch | |
0x4C | AssetID | rumbleIDhit | effect:Rumble |
0x50 | AssetID | rumbleIDswitch | effect:Rumble |
0x54 | uint | fx_flags | sfx flags |
0x58 | uint | nanimations | Set to 1 enables animation |
0x5C | AssetID | animationID | Usually 0xFDFDFDFD in TSSM: 31, 32 and 63 in The Incredibles |