EvilEngine/DSTR: Difference between revisions
Content added Content deleted
Battlepedia>Seil (→Format) |
Battlepedia>Seil (→Format) |
||
Line 13: | Line 13: | ||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x54 || ? |
| 0x54 || ? || '''animSpeed''' || null |
||
|- |
|- |
||
| |
| 0x58 || ? || '''initAnimState''' || null |
||
|- |
|- |
||
| |
| 0x5C || int || '''health''' || always 1 |
||
|- |
|- |
||
| |
| 0x60 || [[AssetID]]? || '''spawnItemID''' || null |
||
|- |
|- |
||
| |
| 0x64 || int || '''dflags''' || hit mask? |
||
|- |
|- |
||
| |
| 0x68 || byte || '''collType''' || usually 0 or 2 |
||
|- |
|- |
||
| |
| 0x69 || byte || '''fxType''' || usually 0, 1, or 2 |
||
|- |
|- |
||
| |
| 0x6A || short || '''pad''' || padding |
||
|- |
|- |
||
| 0x6C || float || ''' |
| 0x6C || float || '''blast_radius''' || |
||
|- |
|- |
||
| 0x70 || float || ''' |
| 0x70 || float || '''blast_strength''' || |
||
|- |
|- |
||
| 0x74 || [[AssetID]] ([[SHRP|Shrapnel]]) || ''' |
| 0x74 || [[AssetID]] ([[SHRP|Shrapnel]]) || '''shrapnelID_destroy''' || |
||
|- |
|- |
||
| 0x78 || [[AssetID]] ([[SHRP|Shrapnel]]) || ''' |
| 0x78 || [[AssetID]] ([[SHRP|Shrapnel]]) || '''shrapnelID_hit''' || |
||
|- |
|- |
||
| 0x7C || [[AssetID]] ([[SFX]]) || ''' |
| 0x7C || [[AssetID]] ([[SFX]]) || '''sfx_destroy''' || |
||
|- |
|- |
||
| 0x80 || [[AssetID]] ([[SFX]]) || ''' |
| 0x80 || [[AssetID]] ([[SFX]]) || '''sfx_hit''' || |
||
|- |
|- |
||
| 0x84 || [[AssetID]] ([[MODL|Model]]) || ''' |
| 0x84 || [[AssetID]] ([[MODL|Model]]) || '''hitModel''' || |
||
|- |
|- |
||
| 0x88 || [[AssetID]] ([[MODL|Model]]) || ''' |
| 0x88 || [[AssetID]] ([[MODL|Model]]) || '''destroyModel''' || |
||
|- |
|- |
||
! colspan=" |
! colspan="4" | Events |
||
|- |
|- |
||
| 0x8C || Event[numberOfEvents] || '''[[Events]]''' |
| 0x8C || Event[numberOfEvents] || '''[[Events]]''' || |
||
|} |
|} |
||
Revision as of 08:46, 15 February 2019
DSTR | |
---|---|
Destructible Object | |
Type | Placeable |
This asset defines an entry for a destructible object.
Format
Destructables are placeable assets, so they start with their 0x54 byte header, then are followed by:
Note: the asset ID at 0x50 (in the Placeable header) refers to an animation.
Offset | Type | Variable | Description |
---|---|---|---|
0x54 | ? | animSpeed | null |
0x58 | ? | initAnimState | null |
0x5C | int | health | always 1 |
0x60 | AssetID? | spawnItemID | null |
0x64 | int | dflags | hit mask? |
0x68 | byte | collType | usually 0 or 2 |
0x69 | byte | fxType | usually 0, 1, or 2 |
0x6A | short | pad | padding |
0x6C | float | blast_radius | |
0x70 | float | blast_strength | |
0x74 | AssetID (Shrapnel) | shrapnelID_destroy | |
0x78 | AssetID (Shrapnel) | shrapnelID_hit | |
0x7C | AssetID (SFX) | sfx_destroy | |
0x80 | AssetID (SFX) | sfx_hit | |
0x84 | AssetID (Model) | hitModel | |
0x88 | AssetID (Model) | destroyModel | |
Events | |||
0x8C | Event[numberOfEvents] | Events |