EvilEngine/TRWT
(Redirected from TRWT)
TRWT | |
---|---|
ThrowableTable | |
Type | Base |
Base Type | 0x00 |
Games used | The Incredibles Rise of the Underminer |
Format
ThrowableTable are base assets, so they start with their 0x8 byte header, then are followed by:
class ThrowableTableAsset : public xTableAsset
{
public:
ThrowableTableAssetRow rows[0];
};
xTableAsset
class xTableAsset : public xBaseAsset
{
public:
unsigned int version;
unsigned int numRows;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | u32 | version | Always 3 |
0x0C | u32 | numRows | Number of rows. |
ThrowableTableAssetRow
class ThrowableTableAssetRow
{
public:
unsigned int model;
unsigned int type;
unsigned int shrapnel;
signed int damage;
float damageRadius;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | AssetID | model | Model_AssetID |
0x04 | u32 | type | |
0x08 | AssetID | shrapnel | Shrapnel_AssetID |
0x0C | s32 | damage | |
0x10 | f32 | damageRadius | not present in version 2 (prototypes) |