EvilEngine/TRWT: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
No edit summary
Line 10: Line 10:
{{AutoAssetInfobox}}
{{AutoAssetInfobox}}


==Format==
ThrowableTable are base assets, so they start with their 0x8 byte header, then are followed by:
===xTableAsset===
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
Line 15: Line 18:
| 0x08 || uint || '''version''' ||
| 0x08 || uint || '''version''' ||
|-
|-
| 0x0C || uint || '''numRows''' || Number of Entries
| 0x0C || uint || '''numRows''' || Number of rows.
|}

===ThrowableTableAssetRow===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|-
| 0x10 || uint || '''model''' || Model_AssetID
| 0x00 || [[AssetID]] || '''model''' || Model_AssetID
|-
|-
| 0x14 || uint || '''type''' ||
| 0x04 || uint || '''type''' ||
|-
|-
| 0x18 || uint || '''shrapnel''' || Shrapnel_AssetID
| 0x08 || [[AssetID]] || '''shrapnel''' || Shrapnel_AssetID
|-
|-
| 0x1C || int || '''damage''' ||
| 0x0C || int || '''damage''' ||
|-
|-
| 0x20 || float || '''damageRadius''' ||
| 0x10 || float || '''damageRadius''' ||
|}
|}



Revision as of 04:05, 7 September 2022

TRWT
ThrowableTable
TypeBase
Base Type0x00
Games usedThe Incredibles
Rise of the Underminer

Format

ThrowableTable are base assets, so they start with their 0x8 byte header, then are followed by:

xTableAsset

Offset Type Variable Description
0x08 uint version
0x0C uint numRows Number of rows.

ThrowableTableAssetRow

Offset Type Variable Description
0x00 AssetID model Model_AssetID
0x04 uint type
0x08 AssetID shrapnel Shrapnel_AssetID
0x0C int damage
0x10 float damageRadius