1,535
edits
Battlepedia>Seil (→Format) |
m (Seil moved page DSTR to EvilEngine/DSTR) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|DSTR}}<nowiki/>
{{#vardefine:name|Destructible Object}}<nowiki/>
{{#vardefine:type|[[Entity]]}}<nowiki/>
{{#vardefine:basetype|0x1B}}<nowiki/>
{{#vardefine:games|Scooby BFBB}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEntDestructObj.h zEntDestructObj.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
This asset defines an entry for a destructible object.
==Format==
Destructables are [[
Note: the asset ID at 0x50 (in the Placeable header) refers to an [[ANIM|animation]].
Line 15 ⟶ 20:
! Offset !! Type !! Variable !! Description
|-
| 0x54 ||
|-
| 0x58 ||
|-
| 0x5C || unsigned int || '''health''' || always 1
|-
| 0x60 || [[AssetID]]
|-
| 0x64 || unsigned int || '''dflags''' || hit mask?
|-
| 0x68 ||
|-
| 0x69 ||
|-
| 0x6A ||
|-
| 0x6C || float || '''blast_radius''' ||
Line 35 ⟶ 40:
| 0x70 || float || '''blast_strength''' ||
|-
| 0x74 || [[AssetID]] ([[SHRP|Shrapnel]]) || '''shrapnelID_destroy''' || '''Not present in Scooby'''
|-
| 0x78 || [[AssetID]] ([[SHRP|Shrapnel]]) || '''shrapnelID_hit''' || '''Not present in Scooby'''
|-
| 0x7C || [[AssetID]] ([[SFX]]) || '''sfx_destroy''' || '''Not present in Scooby'''
|-
| 0x80 || [[AssetID]] ([[SFX]]) || '''sfx_hit''' || '''Not present in Scooby'''
|-
| 0x84 || [[AssetID]] ([[MODL|Model]]) || '''hitModel''' || '''Not present in Scooby'''
|-
| 0x88 || [[AssetID]] ([[MODL|Model]]) || '''destroyModel''' || '''Not present in Scooby'''
|-
! colspan="4" | Events
Line 51 ⟶ 56:
| 0x8C || Event[numberOfEvents] || '''[[Events]]''' ||
|}
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|