EvilEngine/DEST: Difference between revisions
Content added Content deleted
(ROTU and RatProto) |
No edit summary |
||
Line 109:
| 0x1C || uint || '''healthChance''' ||
|-
| 0x20 || uint || '''
|-
| 0x24 || uint || '''
|-
| 0x28 || uint || '''
|-
| 0x2C ||
|-
| 0x30 ||
|-
| 0x34 ||
|-
|
|-
| 0x39 || char[3] || null || padding
|-
| 0x38 || xDestructibleAssetState || ||
|
Revision as of 18:09, 7 December 2022
DEST | |
---|---|
Destructible | |
Type | Binary |
Games used | The SpongeBob SquarePants Movie The Incredibles |
This asset defines an entry for a destructible asset.
Format
The Spongebob SquarePants Movie and The Incredibles
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 |
Format
Rise of the Underminer and Ratatouille Prototype
xDestructibleAsset
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | AssetID | id | MINF |
0x04 | uint | nstates | Number of States |
0x08 | uint | hit_points | |
0x0C | uint | hit_filter | |
0x10 | uint | hit_filter_excluded | |
0x14 | uint | healthPoints | |
0x18 | uint | expPoints | |
0x1C | uint | healthChance | |
0x20 | uint | expChance | |
0x24 | uint | launch_flag | |
0x28 | uint | behaviour | |
0x2C | uint | flags | |
0x30 | AssetID | soundgroupidleID | SoundGroup used when idle |
0x34 | float | respawn | |
0x38 | char | target_priority | |
0x39 | char[3] | null | padding |
0x38 | xDestructibleAssetState |
xDestructibleAssetState
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | percent | |
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 |