EvilEngine/DEST: Difference between revisions
Content added Content deleted
EnergyDrink (talk | contribs) No edit summary |
No edit summary |
||
Line 10:
{{AutoAssetInfobox}}
This asset defines an entry for a destructible
==Format==
===xDestructibleAsset===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 || uint || '''nstates''' || Number of States. Always 1 in TSSM
Line 31 ⟶ 32:
| 0x18 || uint || '''flags''' ||
|-
| 0x1C ||
|-
| 0x20 || float || '''respawn''' ||
Line 39 ⟶ 40:
| 0x25 || char[3] || null || padding
|-
| 0x28 ||
|}
===xDestructibleAssetState===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x2C || uint || '''fx_flags''' ||
|-
| 0x30 || xDestructibleAssetAttachedAnimList || ||
|}
===xDestructibleAssetAttachedAnimList===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|}
|
Revision as of 16:22, 12 July 2022
DEST | |
---|---|
Destructible | |
Type | Binary |
Games used | The SpongeBob SquarePants Movie The Incredibles |
This asset defines an entry for a destructible asset.
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 |