EvilEngine/DEST: Difference between revisions
Content added Content deleted
EnergyDrink (talk | contribs) No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
{{AutoAssetInfobox}} |
{{AutoAssetInfobox}} |
||
This asset defines an entry for a destructible |
This asset defines an entry for a destructible asset. |
||
==Format== |
==Format== |
||
===xDestructibleAsset=== |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x00 || |
| 0x00 || [[AssetID]] || '''id''' || [[MINF]] |
||
|- |
|- |
||
| 0x04 || uint || '''nstates''' || Number of States. Always 1 in TSSM |
| 0x04 || uint || '''nstates''' || Number of States. Always 1 in TSSM |
||
Line 31: | Line 32: | ||
| 0x18 || uint || '''flags''' || |
| 0x18 || uint || '''flags''' || |
||
|- |
|- |
||
| 0x1C || |
| 0x1C || [[AssetID]] || '''soundgroupidleID''' || SoundGroup used when idle |
||
|- |
|- |
||
| 0x20 || float || '''respawn''' || |
| 0x20 || float || '''respawn''' || |
||
Line 39: | Line 40: | ||
| 0x25 || char[3] || null || padding |
| 0x25 || char[3] || null || padding |
||
|- |
|- |
||
| 0x28 || |
| 0x28 || xDestructibleAssetState || || |
||
|} |
|||
===xDestructibleAssetState=== |
|||
{| class="wikitable" |
|||
! 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''' || {{SlashTrick|DYNA/effect:Rumble}} |
||
|- |
|- |
||
| |
| 0x28 || [[AssetID]] || '''rumbleIDswitch''' || {{SlashTrick|DYNA/effect:Rumble}} |
||
|- |
|||
| 0x2C || uint || '''fx_flags''' || |
|||
|- |
|||
| 0x30 || xDestructibleAssetAttachedAnimList || || |
|||
|} |
|||
===xDestructibleAssetAttachedAnimList=== |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|- |
||
| |
| 0x00 || uint || '''nanimations''' || number of animations? |
||
|- |
|- |
||
| |
| 0x04 || [[AssetID]] || '''animationIDs''' || Usually 0xFDFDFDFD in TSSM: 31, 32 and 63 in The Incredibles |
||
|} |
|} |
||