EvilEngine/DEST: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10:
{{AutoAssetInfobox}}
 
This asset defines an entry for a destructible objectasset.
 
==Format==
===xDestructibleAsset===
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uint[[AssetID]] || '''id''' || MINF_AssetID[[MINF]]
|-
| 0x04 || uint || '''nstates''' || Number of States. Always 1 in TSSM
Line 31 ⟶ 32:
| 0x18 || uint || '''flags''' ||
|-
| 0x1C || uint[[AssetID]] || '''soundgroupidleID''' || SoundGroup used when idle
|-
| 0x20 || float || '''respawn''' ||
Line 39 ⟶ 40:
| 0x25 || char[3] || null || padding
|-
| 0x28 || uintxDestructibleAssetState || '''percent''' || Usually 1 in TSSM
|}
 
===xDestructibleAssetState===
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x2C0x00 || [[AssetID]]uint || '''modelIDpercent''' || ChangesUsually the1 destructible's model into this model whenin destroyed.TSSM
|-
| 0x300x04 || [[AssetID]] || '''shrapnelIDmodelID''' || ShrapnelChanges usedthe destructible's model into this model when destroyed.
|-
| 0x340x08 || [[AssetID]] || '''shrapnelhitIDshrapnelID''' || Shrapnel used when hitdestroyed
|-
| 0x380x0C || [[AssetID]] || '''soundgroupidleIDshrapnelhitID''' || SoundGroupShrapnel used when idlinghit
|-
| 0x3C0x10 || [[AssetID]] || '''soundgroupfxIDsoundgroupidleID''' || SoundGroup used when idle
|-
| 0x400x14 || [[AssetID]] || '''soundgrouphitIDsoundgroupfxID''' || SoundGroup used when hit
|-
| 0x440x18 || [[AssetID]] || '''soundgroupfxIDswitchsoundgrouphitID''' || SoundGroup used when hit
|-
| 0x480x1C || [[AssetID]] || '''soundgrouphitIDswitchsoundgroupfxIDswitch''' ||
|-
| 0x4C0x20 || [[AssetID]] || '''rumbleIDhitsoundgrouphitIDswitch''' || {{SlashTrick|DYNA/effect:Rumble}}
|-
| 0x500x24 || [[AssetID]] || '''rumbleIDswitchrumbleIDhit''' || {{SlashTrick|DYNA/effect:Rumble}}
|-
| 0x540x28 || uint[[AssetID]] || '''fx_flagsrumbleIDswitch''' || sfx flags{{SlashTrick|DYNA/effect:Rumble}}
|-
| 0x2C || uint || '''fx_flags''' ||
|-
| 0x30 || xDestructibleAssetAttachedAnimList || ||
|}
 
===xDestructibleAssetAttachedAnimList===
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x580x00 || uint || '''nanimations''' || Setnumber toof 1 enables animationanimations?
|-
| 0x5C0x04 || [[AssetID]] || '''animationIDanimationIDs''' || Usually 0xFDFDFDFD in TSSM: 31, 32 and 63 in The Incredibles
|}